[issue10116] Sporadic failures in test_urllibnet

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: The www.example.com url was replaced by a local one in Issue36019, so this seems to complete what remained to do here. -- nosy: +iritkatriel resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue10116] Sporadic failures in test_urllibnet

2016-06-21 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue10116] Sporadic failures in test_urllibnet

2016-06-20 Thread Martin Panter
Martin Panter added the comment: It looks like Antoine’s second failure (test_getcode) should be fixed now that transient_internet() is used (Issue 12138). Looking at Antoine’s first failure, it will always be possible for it to fail depending on the conditions of the buildbot, internet, and

[issue10116] Sporadic failures in test_urllibnet

2014-10-24 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116 ___ ___

[issue10116] Sporadic failures in test_urllibnet

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Is it safe to assume that these failures have been resolved? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116

[issue10116] Sporadic failures in test_urllibnet

2011-01-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There are still sporadic failures: http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x/builds/684/steps/test/logs/stdio Of course, it seems to be because of stupid urllib wrapping the socket.error inside an IOError: Traceback

[issue10116] Sporadic failures in test_urllibnet

2010-12-14 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Sat, Nov 13, 2010 at 01:17:47PM +, Antoine Pitrou wrote: There are still sporadic failures such as: I have made a small change for this in r87260. -- ___ Python tracker

[issue10116] Sporadic failures in test_urllibnet

2010-11-13 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116 ___ ___

[issue10116] Sporadic failures in test_urllibnet

2010-11-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There are still sporadic failures such as: == ERROR: testURLread (test.test_urllibnet.URLTimeoutTest) --

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: New patch, sans trailing whitespace. Ahem. -- Added file: http://bugs.python.org/file19398/issue10116-nowhitespace.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Changes by Stephen Hansen me+pyt...@ixokai.io: Removed file: http://bugs.python.org/file19390/issue10116.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116 ___

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: committed/rejected - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116 ___ ___

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Let's try with the patch. r85893. (I'm afraid the pre-commit hook still rejected the file after applying the patch.) -- nosy: +georg.brandl resolution: - fixed status: open - pending ___ Python

[issue10116] Sporadic failures in test_urllibnet

2010-10-27 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: The attached patch wraps all the calls to the internet in support.transient_internet; I ran it against 3.x and it passed, and then I ran it for quite awhile with the -F option, and encountered one event that I believe would previously had

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: ixokai, A change made as part of issue10119 should have resolved this issue too. Please let me know if this can be closed. -- assignee: - orsenthil resolution: - fixed stage: - committed/rejected type: - behavior

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: I'll run the test in -F mode for a few hours to see if it comes up or not: but its hard for me to say one way or the other if anything has fixed or not fixed it, as the failure only came up every once in awhile. But I'll look. --

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: Okay, at -r85630 on branches/py3k, I ran: ./python.exe -m test.regrtest -uall -F test_urllibnet And after 158 retries, got the same error I had before: test test_urllibnet failed -- Traceback (most recent call last): File

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Stephen Hansen
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

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Rather than the hand-made _open_with_retry, I think it would be better to use support.transient_internet() (it's already used in other tests). Retrying is not very helpful if the other end is down. Also, EBADF (bad file descriptor) looks like a

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Issue10119 is related too and both I guess, is boiling down to httplib either not properly using an open socket or closing it prematurely. -- ___ Python tracker rep...@bugs.python.org