-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Hypervisor framework not avaiblable on macOS ARM64 runners for running docker containers #9460
Closed
4 of 13 tasks
Labels
Comments
Hey @romeroalx! |
TiagoMSSantos
added a commit
to TiagoMSSantos/MobileRT
that referenced
this issue
Apr 3, 2024
Summary: MacOS wasn't updated to v14 because it fails with error: ``` HVF error: HV_UNSUPPORTED qemu-system-aarch64-headless: failed to initialize HVF: Invalid argument WARNING | QEMU main loop exits abnormally with code 1 ``` This seems to be an architectural issue of macOS ARM64 image: actions/runner-images#9460 Test plan: * Pipeline passes
This was referenced Apr 5, 2024
wtto00
added a commit
to wtto00/test-github-action
that referenced
this issue
May 10, 2024
undergroundwires
added a commit
to undergroundwires/privacy.sexy
that referenced
this issue
May 13, 2024
The GitHub workflow for testing Docker builds on macOS was consistently failing. This commit downgrades the macOS version used for Docker tests to `macos-13`, which is the latest Intel-based macOS runner, instead of the ARM-based `macos-14` which `macos-latest` points to. This change is necessary because the hypervisor framework required for Docker is not supported on the ARM-based macOS runners provided by GitHub. This issue was causing failures when attempting to run Colima with QEMU using `-accel hvf`, which is unsupported on these runners. Switching to an Intel-based runner resolves this issue. Related issues: - actions/runner-images#9460 - actions/runner-images#9741 - abiosoft/colima#1023
undergroundwires
added a commit
to undergroundwires/privacy.sexy
that referenced
this issue
May 13, 2024
The GitHub workflow for testing Docker builds on macOS was consistently failing. This commit downgrades the macOS version used for Docker tests to `macos-13`, which is the latest Intel-based macOS runner, instead of the ARM-based `macos-14` which `macos-latest` points to. This change is necessary because the hypervisor framework required for Docker is not supported on the ARM-based macOS runners provided by GitHub. This issue was causing failures when attempting to run Colima with QEMU using `-accel hvf`, which is unsupported on these runners. Switching to an Intel-based runner resolves this issue. Related issues: - actions/runner-images#9460 - actions/runner-images#9741 - abiosoft/colima#1023
undergroundwires
added a commit
to undergroundwires/privacy.sexy
that referenced
this issue
May 13, 2024
The GitHub workflow for testing Docker builds on macOS was consistently failing. This commit downgrades the macOS version used for Docker tests to `macos-13`, which is the latest Intel-based macOS runner, instead of the ARM-based `macos-14` which `macos-latest` points to. This change is necessary because the hypervisor framework required for Docker is not supported on the ARM-based macOS runners provided by GitHub. This issue was causing failures when attempting to run Colima with QEMU using `-accel hvf`, which is unsupported on these runners. Switching to an Intel-based runner resolves this issue. Related issues: - actions/runner-images#9460 - actions/runner-images#9741 - abiosoft/colima#1023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When trying to run Docker on an ARM64 macOS runner either directly with Docker desktop or using Colima, in both cases it complains that the virtualization framework not being enabled, while it is enabled for the x86_64 macOS runners.
Colima will not start because it launches QEMU with
-accel hvf
. The output does not say that much, but when trying to launch QEMU manually with that option enabled, it saysError: HV_UNSUPPORTED
:I have tried to check manually the support but also throws an error
I have checked with the arm64 runners
macos-14
andmacos-13-xlarge
. However, the installation of Docker in both ways works fine on my personal M1 arm64 MAC, and also on the x86_64 macOS runners.Platforms affected
Runner images affected
Image version and build link
https://github.com/romeroalx/build-docker-images-arm64/actions/runs/8170604833/job/22337064074
https://github.com/romeroalx/build-docker-images-arm64/actions/runs/8170604827/job/22337064332
Is it regression?
no
Expected behavior
Actual behavior
Repro steps
The text was updated successfully, but these errors were encountered: