⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️Hi! The buildbotx86 Gentoo Installed with X 3.12 has failed when building commitd533ab1. What do you need to do: - Don't panic.
- Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1136/builds/320) and take a look at the build logs.
- Check if the failure is related to this commit (d533ab1) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/1136/builds/320 Failed tests: Failed subtests: - test_readinto_buffer_overflow - test.test_io.CMiscIOTest.test_readinto_buffer_overflow
- test_daemon_threads_shutdown_stderr_deadlock - test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock
- test_text_encoding - test.test_io.CMiscIOTest.test_text_encoding
- test_nonblock_pipe_write_bigbuf - test.test_io.PyMiscIOTest.test_nonblock_pipe_write_bigbuf
- test_daemon_threads_shutdown_stdout_deadlock - test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stdout_deadlock
- test_text_encoding - test.test_io.PyMiscIOTest.test_text_encoding
- test_nonblock_pipe_write_bigbuf - test.test_io.CMiscIOTest.test_nonblock_pipe_write_bigbuf
- test_nonblock_pipe_write_smallbuf - test.test_io.PyMiscIOTest.test_nonblock_pipe_write_smallbuf
- test_nonblock_pipe_write_smallbuf - test.test_io.CMiscIOTest.test_nonblock_pipe_write_smallbuf
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4269, intest_nonblock_pipe_write_bigbufself._test_nonblock_pipe_write(16*1024) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4308, in_test_nonblock_pipe_write received.append(rf.read())^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1068, inreadreturnself._read_unlocked(size)^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1080, in_read_unlocked chunk=self.raw.readall()^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1686, inreadall result+= chunkMemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4275, intest_nonblock_pipe_write_smallbufself._test_nonblock_pipe_write(1024) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4308, in_test_nonblock_pipe_write received.append(rf.read())^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1068, inreadreturnself._read_unlocked(size)^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1080, in_read_unlocked chunk=self.raw.readall()^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/_pyio.py", line1686, inreadall result+= chunkMemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4420, intest_text_encoding proc= assert_python_ok('-X','utf8=0','-c', code)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/support/script_helper.py", line166, inassert_python_okreturn _assert_python(True,*args,**env_vars)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/support/script_helper.py", line149, in_assert_python res, cmd_line= run_python_until_end(*args,**env_vars)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/support/script_helper.py", line134, inrun_python_until_end proc= subprocess.Popen(cmd_line,stdin=subprocess.PIPE,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line1026, in__init__self._execute_child(args, executable, preexec_fn, close_fds, File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line1906, in_execute_child part= os.read(errpipe_read,50000)^^^^^^^^^^^^^^^^^^^^^^^^^^^^MemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4269, intest_nonblock_pipe_write_bigbufself._test_nonblock_pipe_write(16*1024) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4308, in_test_nonblock_pipe_write received.append(rf.read())^^^^^^^^^MemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4301, in_test_nonblock_pipe_write wf.write(msg)BlockingIOError:[Errno 12] write could not complete without blockingTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4305, in_test_nonblock_pipe_writeself.assertEqual(e.args[0], errno.EAGAIN)AssertionError:12 != 11Traceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4437, intest_readinto_buffer_overflowself.assertRaises(ValueError, bufio.readinto, b) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/unittest/case.py", line778, inassertRaisesreturn context.handle('assertRaises', args, kwargs)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/unittest/case.py", line238, inhandle callable_obj(*args,**kwargs) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4434, inreadreturnb'x'*10**6~~~~~^~~~~~~MemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4269, intest_nonblock_pipe_write_bigbufself._test_nonblock_pipe_write(16*1024) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4294, in_test_nonblock_pipe_writewith rf, wf:BlockingIOError:[Errno 11] write could not complete without blockingTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4483, intest_daemon_threads_shutdown_stdout_deadlockself.check_daemon_threads_shutdown_deadlock('stdout') File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4467, incheck_daemon_threads_shutdown_deadlock res, _= run_python_until_end("-c", code)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/support/script_helper.py", line134, inrun_python_until_end proc= subprocess.Popen(cmd_line,stdin=subprocess.PIPE,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line1026, in__init__self._execute_child(args, executable, preexec_fn, close_fds, File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line1906, in_execute_child part= os.read(errpipe_read,50000)^^^^^^^^^^^^^^^^^^^^^^^^^^^^MemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4488, intest_daemon_threads_shutdown_stderr_deadlockself.check_daemon_threads_shutdown_deadlock('stderr') File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4467, incheck_daemon_threads_shutdown_deadlock res, _= run_python_until_end("-c", code)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/support/script_helper.py", line139, inrun_python_until_end out, err= proc.communicate()^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line1209, incommunicate stdout, stderr=self._communicate(input, endtime, timeout)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/subprocess.py", line2128, in_communicate data= os.read(key.fd,32768)^^^^^^^^^^^^^^^^^^^^^^MemoryErrorTraceback (most recent call last): File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4275, intest_nonblock_pipe_write_smallbufself._test_nonblock_pipe_write(1024) File"/buildbot/buildarea/cpython/3.12.ware-gentoo-x86.installed/build/target/lib/python3.12/test/test_io.py", line4308, in_test_nonblock_pipe_write received.append(rf.read())^^^^^^^^^MemoryError |
Uh oh!
There was an error while loading.Please reload this page.
This applies the same fix that was made for
locals()in#105715 tosys._getframe().f_localsas well. This is mostly relevant because pdb uses the latter, so this fix makes these comprehension locals (in module- or class-scope comprehensions) visible to pdb.I also made one small fix in passing to
PyFrame_FastToLocalsWithError; the assertion and the null check were in the wrong order, since the assertion would segfault before ever hitting the null check, iffwere null. (Of course if assertions are turned off, the order doesn't matter either way.)frame.f_localsfor list/dict/set comprehension in module/class scope doesn't contain iteration variables #108732