-
-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_debuglevel from test_telnetlib.py fails #50997
Comments
test test_telnetlib failed -- Traceback (most recent call last):
File
"/home/LinuxDonald/Downloads/Python-3.1.1/Lib/test/test_telnetlib.py",
line 409, in test_debuglevel
self._test_debuglevel([a, EOF_sigil], b)
File
"/home/LinuxDonald/Downloads/Python-3.1.1/Lib/test/test_telnetlib.py",
line 389, in _test_debuglevel
txt = telnet.read_all()
File "/home/LinuxDonald/Downloads/Python-3.1.1/Lib/telnetlib.py", line
325, in read_all
self.fill_rawq()
File "/home/LinuxDonald/Downloads/Python-3.1.1/Lib/telnetlib.py", line
516, in fill_rawq
buf = self.sock.recv(50)
socket.error: [Errno 104] Connection reset by peer |
I think this is fixed by r74638 but it never triggered on my box (Ubuntu |
Fedora 11 64 Bit |
I can still reproduce this test failure after applying patch from |
This failure actually still happens quite regularly (on the buildbots Judging from a quick Google search, errno 104 (ECONNRESET) should be Besides, the test flow in test_telnetlib really is a mess (setUp and |
This patch fixes the issue. |
I still get 'Connection reset by peer' on OS/X 10.5.8 with this patch |
Antoine Pitrou: Besides, the test flow in test_telnetlib really is a Yes, I'm working on refactoring the test server and separating out |
The change in the patch worked for me on py3k on Ubuntu 9.10. It makes |
Please note that the Windows buildbot shows another error: ====================================================================== Traceback (most recent call last):
File
"E:\cygwin\home\db3l\buildarea\3.1.bolen-windows\build\lib\test\test_telnetlib.py",
line 409, in test_debuglevel
self._test_debuglevel([a, EOF_sigil], b)
File
"E:\cygwin\home\db3l\buildarea\3.1.bolen-windows\build\lib\test\test_telnetlib.py",
line 389, in _test_debuglevel
txt = telnet.read_all()
File
"E:\cygwin\home\db3l\buildarea\3.1.bolen-windows\build\lib\telnetlib.py", line
325, in read_all
self.fill_rawq()
File
"E:\cygwin\home\db3l\buildarea\3.1.bolen-windows\build\lib\telnetlib.py", line
516, in fill_rawq
buf = self.sock.recv(50)
socket.error: [Errno 10053] An established connection was aborted by the
software in your host machine According to a quick search on the Web, 10053 under Windows would be for |
Simplified tests attached. Instead of bulking up and testing the TCP Unless this blows up for anyone I'll check it in later today. |
With these test simplifications, it looks as though you could lose some Patch works fine for me on 64-bit Linux. I'll test it on OS X (10.5 and |
ran pyflakes and removed unused imports. |
The new patch works for me on 32-bit OS X 10.5. I think the approach of |
The most recent patch (http://bugs.python.org/file15278) works for |
The patch runs clean on my Gentoo buildbot, which otherwise fails Using minimal mocks with as few external dependencies as possible is |
committed in rev 76133 |
Jack, this failure is happening also in 3.1. I tried to merge the |
backported to maint via svnmerge in r76136. 3.1 and 3.x |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: