⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️Hi! The buildbotaarch64 Debian Clang LTO + PGO 3.x has failed when building commit52cc4af. 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/1084/builds/2489) and take a look at the build logs.
- Check if the failure is related to this commit (52cc4af) 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/1084/builds/2489 Summary of the results of the build (if available): == Click to see traceback logsremote:Enumerating objects: 68, done.remote:Counting objects: 1% (1/68)remote:Counting objects: 2% (2/68)remote:Counting objects: 4% (3/68)remote:Counting objects: 5% (4/68)remote:Counting objects: 7% (5/68)remote:Counting objects: 8% (6/68)remote:Counting objects: 10% (7/68)remote:Counting objects: 11% (8/68)remote:Counting objects: 13% (9/68)remote:Counting objects: 14% (10/68)remote:Counting objects: 16% (11/68)remote:Counting objects: 17% (12/68)remote:Counting objects: 19% (13/68)remote:Counting objects: 20% (14/68)remote:Counting objects: 22% (15/68)remote:Counting objects: 23% (16/68)remote:Counting objects: 25% (17/68)remote:Counting objects: 26% (18/68)remote:Counting objects: 27% (19/68)remote:Counting objects: 29% (20/68)remote:Counting objects: 30% (21/68)remote:Counting objects: 32% (22/68)remote:Counting objects: 33% (23/68)remote:Counting objects: 35% (24/68)remote:Counting objects: 36% (25/68)remote:Counting objects: 38% (26/68)remote:Counting objects: 39% (27/68)remote:Counting objects: 41% (28/68)remote:Counting objects: 42% (29/68)remote:Counting objects: 44% (30/68)remote:Counting objects: 45% (31/68)remote:Counting objects: 47% (32/68)remote:Counting objects: 48% (33/68)remote:Counting objects: 50% (34/68)remote:Counting objects: 51% (35/68)remote:Counting objects: 52% (36/68)remote:Counting objects: 54% (37/68)remote:Counting objects: 55% (38/68)remote:Counting objects: 57% (39/68)remote:Counting objects: 58% (40/68)remote:Counting objects: 60% (41/68)remote:Counting objects: 61% (42/68)remote:Counting objects: 63% (43/68)remote:Counting objects: 64% (44/68)remote:Counting objects: 66% (45/68)remote:Counting objects: 67% (46/68)remote:Counting objects: 69% (47/68)remote:Counting objects: 70% (48/68)remote:Counting objects: 72% (49/68)remote:Counting objects: 73% (50/68)remote:Counting objects: 75% (51/68)remote:Counting objects: 76% (52/68)remote:Counting objects: 77% (53/68)remote:Counting objects: 79% (54/68)remote:Counting objects: 80% (55/68)remote:Counting objects: 82% (56/68)remote:Counting objects: 83% (57/68)remote:Counting objects: 85% (58/68)remote:Counting objects: 86% (59/68)remote:Counting objects: 88% (60/68)remote:Counting objects: 89% (61/68)remote:Counting objects: 91% (62/68)remote:Counting objects: 92% (63/68)remote:Counting objects: 94% (64/68)remote:Counting objects: 95% (65/68)remote:Counting objects: 97% (66/68)remote:Counting objects: 98% (67/68)remote:Counting objects: 100% (68/68)remote:Counting objects: 100% (68/68), done.remote:Compressing objects: 3% (1/33)remote:Compressing objects: 6% (2/33)remote:Compressing objects: 9% (3/33)remote:Compressing objects: 12% (4/33)remote:Compressing objects: 15% (5/33)remote:Compressing objects: 18% (6/33)remote:Compressing objects: 21% (7/33)remote:Compressing objects: 24% (8/33)remote:Compressing objects: 27% (9/33)remote:Compressing objects: 30% (10/33)remote:Compressing objects: 33% (11/33)remote:Compressing objects: 36% (12/33)remote:Compressing objects: 39% (13/33)remote:Compressing objects: 42% (14/33)remote:Compressing objects: 45% (15/33)remote:Compressing objects: 48% (16/33)remote:Compressing objects: 51% (17/33)remote:Compressing objects: 54% (18/33)remote:Compressing objects: 57% (19/33)remote:Compressing objects: 60% (20/33)remote:Compressing objects: 63% (21/33)remote:Compressing objects: 66% (22/33)remote:Compressing objects: 69% (23/33)remote:Compressing objects: 72% (24/33)remote:Compressing objects: 75% (25/33)remote:Compressing objects: 78% (26/33)remote:Compressing objects: 81% (27/33)remote:Compressing objects: 84% (28/33)remote:Compressing objects: 87% (29/33)remote:Compressing objects: 90% (30/33)remote:Compressing objects: 93% (31/33)remote:Compressing objects: 96% (32/33)remote:Compressing objects: 100% (33/33)remote:Compressing objects: 100% (33/33), done.remote:Total 35 (delta 33), reused 3 (delta 2), pack-reused 0From https://github.com/python/cpython * branch main -> FETCH_HEADNote:switching to '52cc4af6ae9002f11605f91b672746c127494efd'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name>Or undo this operation with: git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at 52cc4af6ae gh-111354: simplify detection of RESUME after YIELD_VALUE at except-depth 1 (#111459)Switched to and reset branch 'main'find:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directorymake[2]:[Makefile:2846: clean-retain-profile] Error 1 (ignored)Python/ceval_gil.c:429:1: warning: unused function 'current_thread_holds_gil' [-Wunused-function]current_thread_holds_gil(struct _gil_runtime_state *gil, PyThreadState *tstate)^1 warning generated.Python/optimizer.c:428:9: warning: variable 'reserved' set but not used [-Wunused-but-set-variable]int reserved=0;^1 warning generated../Modules/expat/xmlparse.c:3116:9: warning: code will never be executed [-Wunreachable-code] parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,^~~~~~./Modules/expat/xmlparse.c:3115:16: note: silence by adding parentheses to mark code as explicitly deadelseif (0&& parser->m_characterDataHandler)^/*DISABLESCODE*/ ( )./Modules/expat/xmlparse.c:4059:9: warning: code will never be executed [-Wunreachable-code] parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,^~~~~~./Modules/expat/xmlparse.c:4058:16: note: silence by adding parentheses to mark code as explicitly deadelseif (0&& parser->m_characterDataHandler)^/*DISABLESCODE*/ ( )2 warnings generated.Python/ceval_gil.c:429:1: warning: unused function 'current_thread_holds_gil' [-Wunused-function]current_thread_holds_gil(struct _gil_runtime_state *gil, PyThreadState *tstate)^1 warning generated.Python/optimizer.c:428:9: warning: variable 'reserved' set but not used [-Wunused-but-set-variable]int reserved=0;^1 warning generated.warning:warning: no profile data available for file "_freeze_module.c" [-Wprofile-instr-unprofiled]no profile data available for file "getpath_noop.c" [-Wprofile-instr-unprofiled]1 warning generated.1 warning generated.warning:no profile data available for file "_csv.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "rotatingtree.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_lsprof.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_xxsubinterpretersmodule.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_xxinterpchannelsmodule.c" [-Wprofile-instr-unprofiled]warning:no profile data available for file "_zoneinfo.c" [-Wprofile-instr-unprofiled]1 warning generated.1 warning generated../Modules/expat/xmlparse.c:3116:9: warning: code will never be executed [-Wunreachable-code] parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,^~~~~~./Modules/expat/xmlparse.c:3115:16: note: silence by adding parentheses to mark code as explicitly deadelseif (0&& parser->m_characterDataHandler)^/*DISABLESCODE*/ ( )./Modules/expat/xmlparse.c:4059:9: warning: code will never be executed [-Wunreachable-code] parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,^~~~~~./Modules/expat/xmlparse.c:4058:16: note: silence by adding parentheses to mark code as explicitly deadelseif (0&& parser->m_characterDataHandler)^/*DISABLESCODE*/ ( )2 warnings generated.warning:no profile data available for file "mmapmodule.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "syslogmodule.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "posixshmem.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_curses_panel.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_cursesmodule.c" [-Wprofile-instr-unprofiled]warning:no profile data available for file "_uuidmodule.c" [-Wprofile-instr-unprofiled]1 warning generated.1 warning generated.warning:no profile data available for file "_xxtestfuzz.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "xxsubtype.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "fuzzer.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_testclinic_limited.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_testimportmultiple.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_testsinglephase.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "_testmultiphase.c" [-Wprofile-instr-unprofiled]warning:1no profile data available for file "_ctypes_test.c" [-Wprofile-instr-unprofiled] warning generated.warning:no profile data available for file "xxlimited.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:no profile data available for file "xxlimited_35.c" [-Wprofile-instr-unprofiled]1 warning generated.1 warning generated.warning:no profile data available for file "_testclinic.c" [-Wprofile-instr-unprofiled]1 warning generated.warning:profile data may be out of date: of 3 functions, 1 has mismatched data that will be ignored [-Wprofile-instr-out-of-date]1 warning generated.make:*** [Makefile:2067: buildbottest] Error 3 |
Uh oh!
There was an error while loading.Please reload this page.
gen_close
needs to know whether aRESUME
follows aYIELD_VALUE
which is at except-depth 1, for an important optimization. Currently the compiler stores this information in the oparg ofYIELD_VALUE
, which requiresgen_close
to peek into the bytecode (which is unsafe in the debugger). This PR puts this information in the oparg of theRESUME
, and removes the oparg ofYIELD_VALUE
. The result is simpler and safer code in gen_close.It also removes an anomaly in the bytecode definitions, where we needed to add a meaningless assertion to make the code generator understand that YIELD_VALUE has an oparg even though it doesn't use it.
📚 Documentation preview 📚:https://cpython-previews--111459.org.readthedocs.build/