-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
colima start
no longer works on macos-12
runner 20230812.3
#8104
Comments
I could find this related issue on colima side: abiosoft/colima#614 It seems to be related to running this on M1 - did the runner's architecture change? |
Hello @joffrey-bion, thanks for reporting. |
|
Oh wait nevermind that, the new successful run is actually on runner image version |
Is there any way for me as a user to control the version of the runner image? Today the runners are back to |
@joffrey-bion, there is no way to select previous image version.
|
Thanks for the suggestion, I tried Note that during the reinstall of qemu, it doesn't seem to download a later version ("already downloaded"):
I will try the other suggestion. |
I was trying the other suggestion, and realized sometimes the job is running on |
Apologies for inconvenience, image rollout is in progress and runner's image version might be inconsistent |
No problem, I understand. I have prepended the following to my action:
At the moment I only saw runs on I'll report back when I get to run this on a new runner image. |
Your downgrade steps seem to work. I also tried below for latest
There are few threads about |
Thanks, indeed I could verify that it works with the workaround even on runner
Awesome, thanks for the heads up. Do you have an estimate on when the next release will likely happen? |
See actions/runner-images#8104. Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
@joffrey-bion, macos11 and macos12 rollouts with |
Thank you so much for your help and for the information 🙏 Have a nice day! |
Workaroundcat >entitlements.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
</plist>
EOF
codesign --sign - --entitlements entitlements.xml --force /usr/local/bin/qemu-system-x86_64 The proper fix is proposed here: |
I had the same issue on macOS Big Sur (11.7.8) and the workaround by @AkihiroSuda worked. Thanks! |
After all the fixes, this still isn't working on most runners, I assume that just takes time. |
@rfay could you please share the runner image version that was used in the builds that fail for you? Have you tried my workaround above? # Workaround for https://github.com/actions/runner-images/issues/8104
brew remove --ignore-dependencies qemu
curl -o ./qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb
brew install ./qemu.rb
# Then the usual
brew install docker
colima start |
Hi and thanks @joffrey-bion - 2.308.0 - See https://github.com/ddev/ddev/actions/runs/5979159856/job/16272595813 Runner Image: 20230818.2 No, I haven't tried the alternate qemu yet, as I've already done two PRs that temporarily fixed this, but it keeps breaking again. I'm waiting for it to stabilize. Following all the issues. |
I did with your workaround and it's working. I don't understand why the upstream fixes to qemu in homebrew didn't solve this. I know you'll keep us informed about updates to the runner image. |
Shall be fixed in the image as we rolled out the newer one to all the customers, let us know if something does not work for you. |
Still working on this. Just had complete failure on a runner with All
Example: https://github.com/ddev/ddev/actions/runs/6030400257/job/16362122432?pr=5309#step:9:95 I seem to be able to get this to start successfully now by adding a |
This still fails for me with following runner version:
|
It seems there were recent updates to brew qemu, which is the reason of qemu
|
Description
My docker setup action looks like this:
This all worked correctly 5 hours ago:
https://github.com/joffrey-bion/chrome-devtools-kotlin/actions/runs/5882244388/job/15952382762
But right now the
colima start
command fails:https://github.com/joffrey-bion/chrome-devtools-kotlin/actions/runs/5884334898/job/15960009886
Platforms affected
Runner images affected
Image version and build link
Runner image: macos-12
Runner version: 20230812.3
https://github.com/joffrey-bion/chrome-devtools-kotlin/actions/runs/5884334898/job/15960009886
Is it regression?
Yes, it worked in 20230803.1 (earlier today)
Expected behavior
colima start
succeeds and I can use the docker CLI.Actual behavior
colima start
fails with[hostagent] failed to open the QMP socket \"/Users/runner/.lima/colima/qmp.sock\", forcibly killing QEMU
Repro steps
Use a workflow with an action like this to setup docker and colima:
The text was updated successfully, but these errors were encountered: