Skip to content

Conversation

@Jakio815
Copy link
Collaborator

@Jakio815 Jakio815 commented Dec 11, 2025

This PR adds a QEMU setup step to the docker-build job so that multi-architecture Docker builds (particularly linux/arm/v7) can run correctly in GitHub Actions.

Previously, the CI runner attempted to execute ARM binaries during the apk add phase of the RTI Dockerfile. Since QEMU/binfmt was not registered, ARM executables (notably BusyBox triggers) failed with:

execve: No such file or directory
ERROR: busybox-1.37.0-r29.trigger: exited with error 127

This caused the RTI image build to fail for linux/arm/v7 as mentioned in #550.

I enabled the github runner to register the required binfmt handlers so Buildx can emulate the linux/arm/v7.

@Jakio815 Jakio815 added the ci label Dec 11, 2025
@Jakio815 Jakio815 linked an issue Dec 11, 2025 that may be closed by this pull request
@Jakio815 Jakio815 changed the title Fix docker RTI build failures. Enable QEMU emulation in CI to fix multi-arch RTI Docker builds Dec 11, 2025
@Jakio815 Jakio815 mentioned this pull request Dec 11, 2025
2 tasks
@Jakio815
Copy link
Collaborator Author

Jakio815 commented Dec 11, 2025

The zephyr-tests are failing non-deterministically as mentioned in #551.
This PR only fixes the docker-build first.

Copy link
Member

@hokeun hokeun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thanks!

@Jakio815
Copy link
Collaborator Author

@edwardalee Could you please check? This is not urgent but annoying.

Copy link
Contributor

@edwardalee edwardalee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@edwardalee edwardalee added this pull request to the merge queue Dec 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 12, 2025
@Jakio815 Jakio815 added this pull request to the merge queue Dec 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 12, 2025
@Jakio815 Jakio815 added this pull request to the merge queue Dec 12, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 12, 2025
Enable QEMU emulation in CI to fix multi-arch RTI Docker builds
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 12, 2025
@edwardalee edwardalee added this pull request to the merge queue Dec 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI test on docker-build fails on linux/arm/v7

4 participants