Author vstinner
Recipients vstinner
Date 2017-04-28.13:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493386700.85.0.622931101422.issue30199@psf.upfronthosting.co.za>
In-reply-to
Content
It seems like test_asyncore_server() of test_ssl doesn't cleanup properly asyncore on FreeBSD, and so following unit tests can be impacted (and fail).

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

test_asyncore_server (test.test_ssl.ThreadedTests)
Check the example asyncore integration. ... 
 server:  new connection from 127.0.0.1:48985
 client:  sending b'FOO\n'...
 server:  read b'FOO\n' from client
 client:  read b'foo\n'
 client:  closing connection.
 server:  read b'over\n' from client
 client:  connection closed.
 cleanup: stopping server.
 cleanup: joining server thread.
 cleanup: successfully joined.
ok
...
Warning -- asyncore.socket_map was modified by test_ssl
  Before: {}
  After:  {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler 127.0.0.1:48985 at 0x80664c468>}

Maybe AsyncoreEchoServer.__exit__() should just ends with "asyncore.close_all(ignore_all=True)"?
History
Date User Action Args
2017-04-28 13:38:20vstinnersetrecipients: + vstinner
2017-04-28 13:38:20vstinnersetmessageid: <1493386700.85.0.622931101422.issue30199@psf.upfronthosting.co.za>
2017-04-28 13:38:20vstinnerlinkissue30199 messages
2017-04-28 13:38:20vstinnercreate