Message10965

Author shadowhawk100
Recipients shadowhawk100
Date 2016-10-12.22:02:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476309758.08.0.337896371464.issue2525@psf.upfronthosting.co.za>
In-reply-to
Content
I created this bug in RobotFramework:
https://github.com/robotframework/robotframework/issues/2457

After further investigation, it seems that this is actually a bug with Jython's implementation of Subprocess and not an issue with RobotFramework itself (see comments in github issue).

Basically, when using Subprocess to run a db-query script which generates 174 MB of stdout data piped directly to a file, Subprocess with stdout redirected to a file takes about 150 seconds to complete while the script normally completes in about 17 seconds in the shell or using Python System calls.

Jython's implementation of Subprocess when using file pipes needs to be fixed to pipe directly to a file instead of doing whatever it is doing now.

I'm kind of new to Jython and how exactly it does everything it does so I hope you'll excuse me if I misdiagnosed the cause a bit :) ... I am pretty sure this is a Jython problem though!
History
Date User Action Args
2016-10-12 22:02:38shadowhawk100setrecipients: + shadowhawk100
2016-10-12 22:02:38shadowhawk100setmessageid: <1476309758.08.0.337896371464.issue2525@psf.upfronthosting.co.za>
2016-10-12 22:02:37shadowhawk100linkissue2525 messages
2016-10-12 22:02:36shadowhawk100create