Repository navigation
Closed
Labels
OS-wasibuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
The wasm32-wasi 3.x buildbot worker seems to be affected by this LLVM (clang) performance issue: llvm/llvm-project#179695. Sometimes, the "Compile build Python" step is killed by a timeout.
Example of failure: the "Compile build Python" times out after 35 minutes 10 seconds.
clang -shared Modules/pyexpat.o -lm Modules/expat/libexpat.a -o Modules/pyexpat.cpython-316d-x86_64-linux-gnu.so
clang -shared Modules/_elementtree.o -o Modules/_elementtree.cpython-316d-x86_64-linux-gnu.so
command timed out: 1200 seconds without output running [b'python3', b'Tools/wasm/wasi.py', b'make-build-python'], attempting to kill
process killed by signal 9
program finished with exit code -1
"Compile build Python" uses clang -Og.
Linked PRs
- gh-151929: Get boot identifier and uptime in test.pythoninfo #152127
- [3.15] gh-151929: Get boot ID, machine ID and uptime in test.pythoninfo (GH-152127) #152134
- [3.14] gh-151929: Get boot ID, machine ID and uptime in test.pythoninfo (GH-152127) #152135
- gh-151929: Add pythoninfo commands to Platforms/WASI #152136
- [3.13] gh-151929: Get boot ID, machine ID and uptime in test.pythoninfo (#152127) #152137
- gh-151929: Get machine ID and uptime on Windows in pythoninfo #152146
- [3.15] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146) #152187
- gh-151929: Get uptime on BSD/macOS in pythoninfo #152189
- [3.14] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146) (#152187) #152193
- [3.13] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146) (#152187) (#152193) #152195
- [3.15] gh-151929: Get uptime on BSD/macOS in pythoninfo (GH-152189) #152196
- [3.14] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) #152197
- [3.13] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) (#152197) #152207
- gh-151929: Add pythoninfo-build command to Platforms/emscripten #152210
- [3.15] gh-151929: Add pythoninfo-build command to Platforms/emscripten (GH-152210) #152217
- [3.14] gh-151929: Add pythoninfo-build command to Platforms/emscripten (GH-152210) #152218
- [3.15] gh-151929: Add pythoninfo commands to Platforms/WASI (GH-152136) #152222
- [3.14] gh-151929: Add pythoninfo commands to Tools/wasm/wasi (#152136) #152224
- [3.13] gh-151929: Add pythoninfo commands to Tools/wasm/wasi.py (#152136) (#152224) #152226
Metadata
Metadata
Assignees
Labels
OS-wasibuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Activity
vstinner commentedon Jun 25, 2026
Just by reading "pythoninfo" of build 234 and build 250, it's not easy to guess if the machine has been rebooted and if it's running on the same machine.
So I modified pythoninfo to log the Linux boot ID, machine ID and the uptime.
I also prepared #152136 to add "Display build info of the build Python" (since "Display build info of the host/WASI Python" doesn't have access to the boot ID, machine ID or uptime).
I'm not sure if these additional information will be enough to debug such performance issue in the future, but it should help.
pythongh-151929: Get machine ID and uptime on Windows in pythoninfo
gh-151929: Get machine ID and uptime on Windows in pythoninfo (#152146)
[3.15] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#…
[3.14] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#…
gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189)
[3.13] gh-151929: Get machine ID and uptime on Windows in pythoninfo (#…
[3.14] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) (#1…
[3.15] gh-151929: Get uptime on BSD/macOS in pythoninfo (GH-152189) (#…
[3.13] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) (#1…
gh-151929: Add pythoninfo-build command to Platforms/emscripten (#152210
[3.15] gh-151929: Add pythoninfo-build command to Platforms/emscripten (
[3.14] gh-151929: Add pythoninfo-build command to Platforms/emscripten (
gh-151929: Add pythoninfo commands to Platforms/WASI (#152136)
[3.15] gh-151929: Add pythoninfo commands to Platforms/WASI (GH-152136)…
[3.14] gh-151929: Add pythoninfo commands to Tools/wasm/wasi (#152136) (
[3.13] gh-151929: Add pythoninfo commands to Tools/wasm/wasi.py (#152136
brettcannon commentedon Jun 29, 2026
As of https://buildbot.python.org/all/#/builders/2062/builds/295, the runs are back to taking around 20 minutes.