☠ Buildbot (Python): python/cpython - failed test (failure) (3.14)
The Buildbot has detected a new failure on builder AMD64 FreeBSD Refleaks 3.14 while building python/cpython. Full details are available at: https://buildbot.python.org/#/builders/1800/builds/810
Buildbot URL: https://buildbot.python.org/
Worker for this Build: ware-freebsd
Build Reason: <unknown> Blamelist: Cody Maloney <cmaloney@users.noreply.github.com>, Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/__init__.py", line 847, in gc_collect gc.collect() ResourceWarning: unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 12049), raddr=('127.0.0.1', 12050)> Task was destroyed but it is pending! task: <Task pending name='Task-553' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>> Warning -- Unraisable exception Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x83a36d3d0>: Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py", line 873, in __del__ _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=8> k
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/__init__.py", line 847, in gc_collect gc.collect() ResourceWarning: unclosed <socket.socket [closed] fd=4, family=2, type=1, proto=6>
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 99, in _worker ctx.initialize() ~~~~~~~~~~~~~~^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/concurrent/futures/interpreter.py", line 61, in initialize self.interp = interpreters.create() ~~~~~~~~~~~~~~~~~~~^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/concurrent/interpreters/__init__.py", line 65, in create id = _interpreters.create(reqrefs=True) concurrent.interpreters.InterpreterError: interpreter creation failed Traceback (most recent call last): File "<string>", line 11, in <module> executor.submit(func) ~~~~~~~~~~~~~~~^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 202, in submit raise self.BROKEN(self._broken) concurrent.futures.interpreter.BrokenInterpreterPool: A thread initializer failed, the thread pool is not usable anymore
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/test_httpservers.py", line 1140, in test_large_content_length_truncated self.assertEqual(res.read(), b'Hello World' + self.linesep) ~~~~~~~~^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 497, in read s = self.fp.read() File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/socket.py", line 725, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ ConnectionResetError: [Errno 54] Connection reset by peer
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/datetimetester.py", line 7307, in test_concurrent_initialization_subinterpreter rc, out, err = script_helper.assert_python_ok("-c", script) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/script_helper.py", line 182, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/script_helper.py", line 167, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/script_helper.py", line 80, in fail raise AssertionError(f"Process return code is {exitcode}\n" ...<10 lines>... f"---") AssertionError: Process return code is 1 command line: ['/buildbot/buildarea/3.14.ware-freebsd.refleak/build/python', '-X', 'faulthandler', '-I', '-c', "import _datetime\nif True:\n from concurrent.futures import InterpreterPoolExecutor\n\n def func():\n import _datetime\n print('a', end='')\n\n with InterpreterPoolExecutor() as executor:\n for _ in range(8):\n executor.submit(func)\n "]
Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 1371, in _find_and_load File "<frozen importlib._bootstrap>", line 1333, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1267, in _find_spec File "<frozen importlib._bootstrap_external>", line 1292, in find_spec File "<frozen importlib._bootstrap_external>", line 1266, in _get_spec File "<frozen importlib._bootstrap_external>", line 1384, in find_spec File "<frozen importlib._bootstrap_external>", line 166, in _path_isfile File "<frozen importlib._bootstrap_external>", line 158, in _path_is_mode_type File "<frozen importlib._bootstrap_external>", line 152, in _path_stat ValueError: embedded null byte Exception in initializer: RuntimeError: Failed to import encodings module
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/test_httpservers.py", line 1139, in test_large_content_length_truncated res = self.request('/cgi-bin/file1.py', 'POST', b'x', headers) File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/test_httpservers.py", line 131, in request self.connection.request(method, uri, body, headers) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 1358, in request self._send_request(method, url, body, headers, encode_chunked) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 1404, in _send_request self.endheaders(body, encode_chunked=encode_chunked) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 1353, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 1152, in _send_output self.send(chunk) ~~~~~~~~~^^^^^^^ File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/http/client.py", line 1077, in send self.sock.sendall(data) ~~~~~~~~~~~~~~~~~^^^^^^ BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last): File "/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/libregrtest/single.py", line 236, in _runtest_env_changed_exc return ResourceWarning: unclosed <socket.socket fd=5, family=2, type=1, proto=6, laddr=('127.0.0.1', 43677)>
Test report
Failed tests:
- test_httpservers
Failed subtests:
- test_concurrent_initialization_subinterpreter - test.datetimetester.ExtensionModuleTests_Fast.test_concurrent_initialization_subinterpreter
- test_large_content_length_truncated - test.test_httpservers.CGIHTTPServerTestCase.test_large_content_length_truncated
Test leaking resources:
- test_events: memory blocks
Sincerely, -The Buildbot
participants (1)
-
buildbot@python.org