
The Buildbot has detected a new failure on builder ARM64 MacOS M1 Refleaks NoGIL 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/#/builders/1368/builds/2231
Buildbot URL: https://buildbot.python.org/
Worker for this Build: itamaro-macos-arm64-aws
Build Reason: <unknown> Blamelist: Inada Naoki <songofacandy@gmail.com>, Yuki Kobayashi <drsuaimqjgar@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/thread.py", line 99, in _worker ctx.initialize() ~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/interpreter.py", line 132, in initialize self.interpid = _interpreters.create(reqrefs=True) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ interpreters.InterpreterError: interpreter creation failed Timeout (0:45:00)! Thread 0x000000016ff97000 (most recent call first): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/thread.py", line 116 in _worker File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/threading.py", line 992 in run File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/threading.py", line 1041 in _bootstrap_inner File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/threading.py", line 1012 in _bootstrap
Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_concurrent_futures/executor.py", line 63, in test_map_timeout for i in self.executor.map(time.sleep, ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ [0, 0, 6], ^^^^^^^^^^ timeout=5): ^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/_base.py", line 613, in result_iterator yield _result_or_cancel(fs.pop(), end_time - time.monotonic()) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/_base.py", line 309, in _result_or_cancel return fut.result(timeout) ~~~~~~~~~~^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/_base.py", line 448, in result return self.__get_result() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/_base.py", line 393, in __get_result raise self._exception concurrent.futures.interpreter.BrokenInterpreterPool: A thread initializer failed, the thread pool is not usable anymore
Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/thread.py", line 99, in _worker ctx.initialize() ~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/concurrent/futures/interpreter.py", line 132, in initialize self.interpid = _interpreters.create(reqrefs=True) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ interpreters.InterpreterError: interpreter creation failed ERROR
Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_threading.py", line 1201, in test_start_new_thread_failed _, out, err = assert_python_ok("-u", "-c", code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/support/script_helper.py", line 182, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/support/script_helper.py", line 167, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/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 -6 (SIGABRT) command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-u', '-c', 'if 1:\n import resource\n import _thread\n\n def f():\n print("shouldn\'t be printed")\n\n limits = resource.getrlimit(resource.RLIMIT_NPROC)\n [_, hard] = limits\n resource.setrlimit(resource.RLIMIT_NPROC, (0, hard))\n\n try:\n _thread.start_new_thread(f, ())\n except RuntimeError:\n print(\'ok\')\n else:\n print(\'!skip!\')\n ']
Test report
Failed tests:
- test.test_concurrent_futures.test_interpreter_pool
Failed subtests:
- test_start_new_thread_failed - test.test_threading.ThreadTests.test_start_new_thread_failed
- test_map_timeout - test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_map_timeout
Sincerely, -The Buildbot