[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2017-07-04 Thread STINNER Victor

STINNER Victor added the comment:

Duplicate of bpo-30319.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2017-07-04 Thread STINNER Victor

Changes by STINNER Victor :


--
resolution: out of date -> duplicate
superseder:  -> Change socket.close() to ignore ECONNRESET

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2016-12-05 Thread STINNER Victor

STINNER Victor added the comment:

I didn't look at buildbots recently, and I don't have access to FreeBSD, so I 
just close the issue :-/

--
resolution:  -> out of date
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2016-08-22 Thread Berker Peksag

Berker Peksag added the comment:

Here is another one on koobs-freebsd10: 
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/4809/steps/test/logs/stdio
 test_handle_accept was fine this time.

And this one is from koobs-freebsd9:

==
ERROR: test_handle_accept (test.test_asyncore.TestAPI_UseIPv6Select)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_asyncore.py", 
line 500, in tearDown
asyncore.close_all()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/asyncore.py", 
line 561, in close_all
x.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/asyncore.py", 
line 397, in close
self.socket.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/socket.py", line 
407, in close
self._real_close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/socket.py", line 
401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer

--

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/4705/steps/test/logs/stdio

--
components: +Tests
nosy: +berker.peksag
stage:  -> needs patch
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2016-08-17 Thread Martin Panter

Martin Panter added the comment:

I think I have seen these kind of errors pop up randomly on various tests on 
Free BSD buildbots (at least in the last few months or so).

Are the buildbots so overloaded that they drop localhost connections? Or are 
localhost TCP connections generally just that unreliable on Free BSD? Or is 
something else going on? I’m not faimilar with the OS.

This only seems to affect 3.6, not the equivalent 3.5 buildbot.

--
nosy: +martin.panter
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2016-08-17 Thread STINNER Victor

Changes by STINNER Victor :


--
nosy: +koobs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27784] Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

2016-08-17 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/4760/steps/test/logs/stdio

test_handle_accept (test.test_asyncore.TestAPI_UseIPv6Select) ... ERROR

==
ERROR: test_handle_accept (test.test_asyncore.TestAPI_UseIPv6Select)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_asyncore.py",
 line 500, in tearDown
asyncore.close_all()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/asyncore.py", 
line 561, in close_all
x.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/asyncore.py", 
line 397, in close
self.socket.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", 
line 407, in close
self._real_close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", 
line 401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer

--


0:15:27 [319/402/4] test_socketserver failed -- running: test_tokenize (190 
sec), test_datetime (279 sec), test_tools (194 sec)
(...)
test_TCPServer (test.test_socketserver.SocketServerTest) ... creating server
ADDR = ('127.0.0.1', 42875)
CLASS = 
server running
test client 0
test client 1
Exception in thread  serving:
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/threading.py", 
line 916, in _bootstrap_inner
self.run()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/threading.py", 
line 864, in run
self._target(*self._args, **self._kwargs)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
238, in serve_forever
self._handle_request_noblock()
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
319, in _handle_request_noblock
self.handle_error(request, client_address)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
317, in _handle_request_noblock
self.process_request(request, client_address)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
349, in process_request
self.shutdown_request(request)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
510, in shutdown_request
self.close_request(request)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 
514, in close_request
request.close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", 
line 407, in close
self._real_close()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", 
line 401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer

ERROR
/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/unittest/case.py:628: 
ResourceWarning: unclosed 
  outcome.errors.clear()
/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/unittest/case.py:628: 
ResourceWarning: unclosed 
  outcome.errors.clear()
(...)
==
ERROR: test_TCPServer (test.test_socketserver.SocketServerTest)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py",
 line 175, in test_TCPServer
self.stream_examine)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/support/__init__.py",
 line 1956, in decorator
return func(*args)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py",
 line 141, in run_server
testfunc(svrcls.address_family, addr)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py",
 line 153, in stream_examine
buf = data = receive(s, 100)
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py",
 line 46, in receive
raise RuntimeError("timed out on %r" % (sock,))
RuntimeError: timed out on 

--
Ran 25 tests in 25.825s

--
messages: 272910
nosy: haypo
priority: normal
severity: normal
status: open
title: Random failure of test_TCPServer() of 
test.test_socketserver.SocketServerTest and test_handle_accept() of 
test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: