Buildbot failure in Python on whole buildset
The Buildbot has detected a new failure on builder AMD64 Windows8.1 Refleaks 3.9 while building Python. Full details are available at: https://buildbot.python.org/all/#builders/6/builds/61
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: ware-win81-release
Build Reason: <unknown> Blamelist:
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
== Tests result: FAILURE then SUCCESS ==
395 tests OK.
10 slowest tests:
- test_cmd_line: 2 hour 59 min
- test_peg_generator: 1 hour 37 min
- test_mailbox: 1 hour 36 min
- test_asyncio: 1 hour 14 min
- test_pydoc: 34 min 12 sec
- test_wave: 31 min 35 sec
- test_multiprocessing_spawn: 28 min 41 sec
- test_venv: 27 min 44 sec
- test_concurrent_futures: 24 min 49 sec
- test_importlib: 22 min 30 sec
30 tests skipped: test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1 test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork test_multiprocessing_forkserver test_nis test_openpty test_ossaudiodev test_pipes test_poll test_posix test_pty test_pwd test_readline test_resource test_spwd test_syslog test_threadsignals test_wait3 test_wait4 test_xxtestfuzz test_zipfile64
4 re-run tests: test_ftplib test_mailbox test_regrtest test_subprocess
Total duration: 5 hour 33 min
Captured traceback
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_mailbox.py", line 410, in test_set_item self.assertEqual(len(self._box), 2) AssertionError: 3 != 2
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_subprocess.py", line 258, in test_check_output_timeout self.assertEqual(c.exception.output, b'BDFL') AssertionError: b'' != b'BDFL'
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 973, in _bootstrap_inner self.run() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 290, in run asyncore.loop(timeout=0.1, count=1) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 207, in loop poll_fun(timeout, map) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 150, in poll read(obj) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 87, in read obj.handle_error() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 413, in handle_error raise Exception Exception Warning -- threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 2) Warning -- Dangling thread: <_MainThread(MainThread, started 5316)> Warning -- Dangling thread: <test.test_ftplib.DummyTLS_FTPServer localhost:0 at 0xff1ebf3190> Warning -- threading._dangling was modified by test_ftplib Before: {<weakref at 0x000000FF1E8A3230; to '_MainThread' at 0x000000FF1C518320>} After: {<weakref at 0x000000FF1F0D0AD0; to 'DummyTLS_FTPServer' at 0x000000FF1EBF3190>, <weakref at 0x000000FF1F0D0E90; to '_MainThread' at 0x000000FF1C518320>}
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 903, in setUp self.client.auth() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ftplib.py", line 756, in auth self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 1040, in _create self.do_handshake() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() socket.timeout: _ssl.c:1112: The handshake operation timed out
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 83, in read obj.handle_read_event() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 380, in handle_read_event super(SSLConnection, self).handle_read_event() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 420, in handle_read_event self.handle_read() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asynchat.py", line 171, in handle_read self.found_terminator() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 127, in found_terminator method(arg) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 445, in cmd_auth self.secure_connection() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 327, in secure_connection socket = context.wrap_socket(self.socket, File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 987, in _create if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: OSError: [WinError 10038] An operation was attempted on something that is not a socket
Test report
Failed tests:
- test_ftplib
- test_regrtest
- test_subprocess
- test_mailbox
Sincerely, -The Buildbot
I didn't report these 4 race conditions in the Python 3.9 test suite on Windows.
1:42:38 load avg: 6.10 [106/425/1] test_mailbox failed (1 hour 36 min) -- running: test_cmd_line (1 hour 13 min), test_regrtest (1 hour 12 min), test_peg_generator (1 hour 27 min) beginning 6 repetitions 123456 .....test test_mailbox failed -- Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_mailbox.py", line 410, in test_set_item self.assertEqual(len(self._box), 2) AssertionError: 3 != 2
2:02:47 load avg: 7.87 [114/425/2] test_ftplib failed (39.4 sec) -- running: test_cmd_line (1 hour 33 min), test_regrtest (1 hour 32 min), test_codecs (10 min 12 sec) beginning 6 repetitions 123456 Exception in thread Thread-51: Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 83, in read obj.handle_read_event() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 380, in handle_read_event super(SSLConnection, self).handle_read_event() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 420, in handle_read_event self.handle_read() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asynchat.py", line 171, in handle_read self.found_terminator() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 127, in found_terminator method(arg) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 445, in cmd_auth self.secure_connection() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 327, in secure_connection socket = context.wrap_socket(self.socket, File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 987, in _create if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: OSError: [WinError 10038] An operation was attempted on something that is not a socket
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 973, in _bootstrap_inner self.run() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 290, in run asyncore.loop(timeout=0.1, count=1) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 207, in loop poll_fun(timeout, map) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 150, in poll read(obj) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\asyncore.py", line 87, in read obj.handle_error() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 413, in handle_error raise Exception Exception Warning -- threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 2) Warning -- Dangling thread: <_MainThread(MainThread, started 5316)> Warning -- Dangling thread: <test.test_ftplib.DummyTLS_FTPServer localhost:0 at 0xff1ebf3190> Warning -- threading._dangling was modified by test_ftplib Before: {<weakref at 0x000000FF1E8A3230; to '_MainThread' at 0x000000FF1C518320>} After: {<weakref at 0x000000FF1F0D0AD0; to 'DummyTLS_FTPServer' at 0x000000FF1EBF3190>, <weakref at 0x000000FF1F0D0E90; to '_MainThread' at 0x000000FF1C518320>} test test_ftplib failed -- Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_ftplib.py", line 903, in setUp self.client.auth() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ftplib.py", line 756, in auth self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host) File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 1040, in _create self.do_handshake() File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() socket.timeout: _ssl.c:1112: The handshake operation timed out
3:32:32 load avg: 9.53 [146/425/3] test_subprocess failed (3 min 43 sec) -- running: test_regrtest (3 hour 2 min), test_tk (44.5 sec) beginning 6 repetitions 123456 minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) a DOS box should flash briefly ... test test_subprocess failed -- Traceback (most recent call last): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_subprocess.py", line 258, in test_check_output_timeout self.assertEqual(c.exception.output, b'BDFL') AssertionError: b'' != b'BDFL'
3:45:02 load avg: 8.47 [176/425/4] test_regrtest crashed (Exit code 1) -- running: test_site (45.4 sec), test_multiprocessing_spawn (12 min 20 sec), test_importlib (1 min 50 sec) beginning 6 repetitions 123456 ....Timeout (3:15:00)! Thread 0x0000114c (most recent call first): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\subprocess.py", line 1479 in _readerthread File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 910 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 973 in _bootstrap_inner File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 930 in _bootstrap
Thread 0x000014fc (most recent call first): File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 1069 in _wait_for_tstate_lock File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\threading.py", line 1053 in join File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\subprocess.py", line 1508 in _communicate File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\subprocess.py", line 1134 in communicate File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\subprocess.py", line 507 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_regrtest.py", line 521 in run_command File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_regrtest.py", line 546 in run_python File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_regrtest.py", line 601 in run_tests File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\test_regrtest.py", line 615 in test_module_test File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\case.py", line 550 in _callTestMethod File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\case.py", line 593 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\case.py", line 653 in __call__ File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 122 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 84 in __call__ File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 122 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 84 in __call__ File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 122 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\unittest\suite.py", line 84 in __call__ File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\support\testresult.py", line 162 in run File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\support\__init__.py", line 1796 in _run_suite File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\support\__init__.py", line 1918 in run_unittest File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py", line 209 in _test_module File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\refleak.py", line 87 in dash_R File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py", line 232 in _runtest_inner2 File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py", line 270 in _runtest_inner File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py", line 153 in _runtest File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest.py", line 193 in runtest File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\runtest_mp.py", line 80 in run_tests_worker File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\main.py", line 658 in _main File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\main.py", line 638 in main File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\libregrtest\main.py", line 716 in main File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\regrtest.py", line 43 in _main File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\test\regrtest.py", line 47 in <module> File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\runpy.py", line 87 in _run_code File "D:\buildarea\3.9.ware-win81-release.refleak\build\lib\runpy.py", line 197 in _run_module_as_main
4 re-run tests: test_ftplib test_mailbox test_regrtest test_subprocess
Total duration: 5 hour 33 min Tests result: FAILURE then SUCCESS
participants (2)
-
buildbot@python.org
-
Victor Stinner