Skip to content

fix(rootfs): emulation-test flaked on a broken pipe from qemu -version - #534

Merged
zcsizmadia merged 1 commit into
mainfrom
fix/emulation-test-sigpipe
Oct 12, 2026
Merged

zcsizmadia merged 1 commit into
mainfrom
fix/emulation-test-sigpipe

Conversation

@zcsizmadia

Copy link
Copy Markdown
Collaborator

The arm64 rootfs job failed on #532 with write /dev/stdout: broken pipe right after printing the qemu version, and passed on the previous head with identical engine content.

docker run ... -version | head -1 lets head close the pipe while the docker CLI is still writing; with set -o pipefail that is a failure on some runs only. Capture the output, then take the first line. It is the only docker ... | head in guest/rootfs.

…u -version

docker run ... -version | head -1 closed the pipe while the docker CLI was
still writing the second line; under pipefail that failed some runs and
passed others (seen on the arm64 job of #532). Capture the output first.
@zcsizmadia
zcsizmadia merged commit 80512fb into main Oct 12, 2026
9 checks passed
@zcsizmadia
zcsizmadia deleted the fix/emulation-test-sigpipe branch October 12, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant