Repository navigation
Fix 1940 - #1997
Merged
Merged
Fix 1940#1997
Conversation
…tu-24.04-arm, not under QEMU The 10 ARM64 wheel builds ran on ubuntu-latest (x86_64) inside the target containers under QEMU user-mode emulation. In the last 5 completed runs (2026-10-18) a build took 37-40 minutes median and up to 96 minutes, and PyPy builds have segfaulted under emulation (exit 139), hence the 9 attempts of 120 minutes each (crossbario#1947). The build job now runs on ubuntu-24.04-arm, with the same container images, Dockerfiles and build script - the same switch as zlmdb crossbario#183. The tonistiigi/binfmt, setup-qemu-action and qemu-user-static steps are removed (the qemu-user-static image is x86_64 only). Buildx stays, it builds the custom PyPy images. A new first step fails if the runner is not aarch64. `--platform linux/arm64` stays and now only asserts the image architecture. The retry wrapper stays, with 60 minutes and 3 attempts as in zlmdb, until native runs have been measured. This replaces the A/B trial proposed in crossbario#1940: zlmdb's native jobs since crossbario#183 (16 runs, 2026-10-15..17, 288 ubuntu-24.04-arm jobs) were all successful, with a median pickup wait of 4 s (p95 288 s, max 595 s) and a median job duration of 1.7 minutes. Not changed here (follow-ups): the QEMU workarounds in the PyPy Dockerfiles (PYPY_DISABLE_JIT etc.) and in build-arm64-wheel.sh (nh3, py-ubjson), and native smoke tests of the built wheels (zlmdb crossbario#171). Harness change only, no red/green pair. Not verifiable locally: asgard1 is x86_64, and an emulated build would be QEMU again. The YAML parses; ruff check and just check-typing cpy314 pass. Expected CI result: GREEN - all 10 ARM64 builds green in a few minutes each with no retries, wheels and file names unchanged; main, wheels, wheels-docker and wstest stay green. Note: This work was completed with AI assistance (Claude Code).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #1940