Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing workflow builds #291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sgunes-wirepas
Copy link
Contributor

@sgunes-wirepas sgunes-wirepas commented Jan 30, 2025

There has been random segmentation faults while building docker images for different platforms. It might have something to do with "ubuntu-latest" runners starting to point to Ubuntu 24.04 instead of 22.04 in the past weeks. Builds for docker containers were okay around 3 weeks ago when there was still the warning for the 24.04 update (https://github.com/wirepas/gateway/actions).

Looks like we're not the only ones having this problem:
tonistiigi/binfmt#/215

docker/setup-qemu-action has been using an older version of QEMU (v7.0.0), and maybe there's some incompatibility between host/docker/qemu. I tried installing QEMU from the package manager (should be v8.2.2), and didn't have any build failures with that so far.

There has been random segmentation faults while building docker images
for different platforms.

docker/setup-qemu-action uses the tonistiigi/binfmt:latest image, which
hasn't been updated for a while and includes QEMU v7.0.0.

Installing the more recent QEMU version from Ubuntu package manager
seems to make the situation better.
@sgunes-wirepas sgunes-wirepas marked this pull request as ready for review January 30, 2025 15:59
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