New submission from Stephen Hansen <me+pyt...@ixokai.io>:

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.

----------
components: Tests
messages: 118772
nosy: ixokai
priority: normal
severity: normal
status: open
title: Sporadic failures in test_urllibnet
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to