This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author db3l
Recipients db3l, ned.deily, ronaldoussoren, vstinner
Date 2017-05-03.21:19:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493846392.0.0.270604930575.issue30225@psf.upfronthosting.co.za>
In-reply-to
Content
In running the test under a local build, the issue is very repeatable, but I believe it's actually due to slow process startup rather than a quick exit.

That is, adding a brief sleep after process creation and just before the Request() call seems to fix the problem.  I'm guessing the buildbot is sluggish enough that it just takes a bit longer for the process to start and be ready to be used.  

Whether or not that's purely a machine or test problem, or whether it means that perhaps subprocess.Popen() is returning sooner than it should with a process that isn't ready yet is unclear.  (Or even if subprocess can tell)

With the machine fairly idle, it looks like the minimum workable delay is about 200ms - probably something a bit longer would be safer under load, if looking for a quick workaround.
History
Date User Action Args
2017-05-03 21:19:52db3lsetrecipients: + db3l, ronaldoussoren, vstinner, ned.deily
2017-05-03 21:19:52db3lsetmessageid: <1493846392.0.0.270604930575.issue30225@psf.upfronthosting.co.za>
2017-05-03 21:19:51db3llinkissue30225 messages
2017-05-03 21:19:51db3lcreate