Skip to content

"wasm32-wasi 3.x" buildbot times out on building Python #151929

Closed

Description

@vstinner

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

Activity

  1. vstinner commented on Jun 25, 2026

    @vstinner
    MemberAuthor

    So maybe something is wrong on "wasm32-wasi 3.15" worker?

    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.

  2. added 16 commits that reference this issue on Jun 25, 2026
  3. brettcannon commented on Jun 29, 2026

    @brettcannon
    Member

    As of https://buildbot.python.org/all/#/builders/2062/builds/295, the runs are back to taking around 20 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-wasibuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions