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 ixokai
Recipients ixokai
Date 2010-10-15.13:44:39
SpamBayes Score 0.00016872659
Marked as misclassified No
Message-id <1287150282.16.0.127032822399.issue10116@psf.upfronthosting.co.za>
In-reply-to
Content
Ever since running the snow leopard buildslave, I've had sporadic failures in test_urllibnet. At first I thought it was just a net glitch on my machine or something, as immediately re-running the tests made it go away: but this most recent one:

http://www.python.org/dev//buildbot/builders/x86%20Snow%20Leopard%203.1/builds/20/steps/test/logs/stdio

happened while I was very much monitoring and using the network on the machine for other purposes, and everything was fine in general.

So, I went and looked into test_urllibnet to try to figure out why, and I notice that some of the tests use code to retry on IOErrors, and some don't-- and this test that failed in particular is one that doesn't. 

So: anyone have a better idea of what's going wrong, or is it just that hey, the active network tests are a bit flaky and all should use _open_with_retry instead of just some as is the case now?

[If the latter, I can do a patch]

FWIW, I've only seen this on the 3.1 and 3.x buildslaves, but have seen it on both of those more then once. But I don't know that its a 3.x specific issue: those builds get run more often then the 2.7 one, so have more chances to run into a sporadic issue.
History
Date User Action Args
2010-10-15 13:44:42ixokaisetrecipients: + ixokai
2010-10-15 13:44:42ixokaisetmessageid: <1287150282.16.0.127032822399.issue10116@psf.upfronthosting.co.za>
2010-10-15 13:44:39ixokailinkissue10116 messages
2010-10-15 13:44:39ixokaicreate