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

Docker setup hangs forever on new macos-13 image #37

Closed
GlassOfWhiskey opened this issue Sep 13, 2024 · 20 comments · Fixed by #40
Closed

Docker setup hangs forever on new macos-13 image #37

GlassOfWhiskey opened this issue Sep 13, 2024 · 20 comments · Fixed by #40
Labels
bug Something isn't working good first issue Good for newcomers need-more-info Needs more info.

Comments

@GlassOfWhiskey
Copy link

The macos-13 runner image has recently been updated (see here and here). In particular, Homebrew has been updated to version 4.3.19, which implies that qemu installation has been updated form version 9.0.2 to version 9.1.0.
Since then, the colima start command hangs forever, waiting the ssh requirement. This causes all MacOS CI steps to be skipped or interrupted by the GitHub Actions runner.

@douglascamata
Copy link
Owner

@GlassOfWhiskey can you share the link to an action run so that I can check some logs?

@douglascamata douglascamata added bug Something isn't working good first issue Good for newcomers need-more-info Needs more info. labels Sep 13, 2024
@GlassOfWhiskey
Copy link
Author

Hi @douglascamata,
here it is
https://github.com/alpha-unito/streamflow/actions/runs/10847130661/job/30112570168?pr=459
I had to forcibly stop the workflow otherwise it goes into a skipped state and the logs are lost. However, no more logs are generated other than those you can see here in the link.

@GlassOfWhiskey
Copy link
Author

Sorry I see that logs are lost even if I forcibly stop the workflow. I paste theme hereunder for you to take a look. Here is the first Set up job log with the characteristics of the runner

 Current runner version: '2.319.1'
Operating System
  macOS
  13.6.9
  22G830
Runner Image
  Image: macos-13
  Version: 20240908.1
  Included Software: https://github.com/actions/runner-images/blob/macos-13/20240908.1/images/macos/macos-13-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20240908.1
Runner Image Provisioner
  2.0.384.1+6d6c56aa16f1b9c7dd7935df5d63980397e44def
GITHUB_TOKEN Permissions
  Contents: read
  Metadata: read
  Packages: read
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:692973e3d937129bcbf40652eb9f2f61becf3332)
Download action repository 'actions/setup-python@v5' (SHA:f677139bbe7f9c59b41e40162b753c062f5d49a3)
Download action repository 'actions/setup-node@v4' (SHA:1e60f620b9541d16bece96c5465dc8ee9832be0b)
Download action repository 'douglascamata/[email protected]' (SHA:c79edf628598b41022bc5eb67676d026dd1008cf)
Download action repository 'docker/setup-qemu-action@v3' (SHA:49b3bc8e6bdd4a60e6116a5414239cba5943d3cf)
Download action repository 'eWaterCycle/setup-apptainer@v2' (SHA:3ef0313712e4b523c4c04205ee726f16b3437da5)
Download action repository 'helm/[email protected]' (SHA:0025e74a8c7512023d06dc019c617aa3cf561fde)
Download action repository 'actions/upload-artifact@v4' (SHA:50769540e7f4bd5e21e526ee35c689e35e0d6874)
Complete job name: CWL conformance tests (macos-13, 3.12, v1.2, 76bdf9b55e2378432e0e6380ccedebb4a94ce483, docker_ent...

and here is the Install Docker logs, which refer to this Action

Run douglascamata/[email protected]
  with:
    upgrade-qemu: false
    lima: latest
    colima: latest
    colima-network-address: false
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
Run arch_name=$(uname -m)
  arch_name=$(uname -m)
  if [ "$arch_name" = "arm64" ]
  then
      echo "Detected M-series processor runner without nested virtualization support, exiting."
      exit 1
  else
      echo "Running on supported architecture: ${arch_name}"
  fi
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
Running on supported architecture: x86_64
Run echo "::group::Updating Homebrew"
  echo "::group::Updating Homebrew"
  brew update --preinstall
  echo "::endgroup::"
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
Updating Homebrew
  ==> Updating Homebrew...
  ==> Homebrew's analytics have entirely moved to our InfluxDB instance in the EU.
  We gather less data than before and have destroyed all Google Analytics data:
    https://docs.brew.sh/Analytics
  Please reconsider re-enabling analytics to help our volunteer maintainers with:
    brew analytics on
  ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
    https://github.com/Homebrew/brew#donations
  ==> Auto-updated Homebrew!
  Updated 3 taps (homebrew/bundle, homebrew/core and homebrew/cask).
  ==> New Formulae
  fatal
  ktor
  rpcsvc-proto
  ==> New Casks
  font-departure-mono
  parallels@19
  zen-browser
  You have 9 outdated formulae installed.
Run if [ $INPUT_LIMA == "latest" ]
  if [ $INPUT_LIMA == "latest" ]
  then
      LIMA_VERSION=$(gh release -R lima-vm/lima view --json tagName -q ".tagName")
  else
      LIMA_VERSION=$INPUT_LIMA
  fi
  
  echo "::group::Installing Lima version $LIMA_VERSION"
  curl -fsSL "[https://github.com/lima-vm/lima/releases/download/${LIMA_VERSION}/lima-${LIMA_VERSION:1}-$(uname](https://github.com/lima-vm/lima/releases/download/$%7BLIMA_VERSION%7D/lima-$%7BLIMA_VERSION:1%7D-$(uname) -s)-$(uname -m).tar.gz" | tar Cxzvm /usr/local
  echo "::endgroup::"
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    GH_TOKEN: ***
    INPUT_LIMA: latest
Installing Lima version v0.23.2
  x ./
  x ./bin/
  x ./share/
  x ./share/lima/
  x ./share/doc/
  x ./share/doc/lima/
  x ./share/doc/lima/README.zh.md
  x ./share/doc/lima/LICENSE
  x ./share/doc/lima/MAINTAINERS.md
  x ./share/doc/lima/README.md
  x ./share/doc/lima/README.ja.md
  x ./share/doc/lima/ROADMAP.md
  x ./share/doc/lima/VERSION
  x ./share/doc/lima/examples
  x ./share/doc/lima/templates
  x ./share/doc/lima/SECURITY.md
  x ./share/lima/lima-guestagent.Linux-x86_64
  x ./share/lima/lima-guestagent.Linux-riscv64
  x ./share/lima/examples
  x ./share/lima/lima-guestagent.Linux-armv7l
  x ./share/lima/templates/
  x ./share/lima/lima-guestagent.Linux-aarch64
  x ./share/lima/templates/podman-rootful.yaml
  x ./share/lima/templates/experimental/
  x ./share/lima/templates/buildkit.yaml
  x ./share/lima/templates/oraclelinux-9.yaml
  x ./share/lima/templates/oraclelinux-8.yaml
  x ./share/lima/templates/alpine-image.yaml
  x ./share/lima/templates/debian.yaml
  x ./share/lima/templates/rocky.yaml
  x ./share/lima/templates/alpine.yaml
  x ./share/lima/templates/k8s.yaml
  x ./share/lima/templates/apptainer.yaml
  x ./share/lima/templates/docker-rootful.yaml
  x ./share/lima/templates/debian-11.yaml
  x ./share/lima/templates/almalinux.yaml
  x ./share/lima/templates/faasd.yaml
  x ./share/lima/templates/ubuntu.yaml
  x ./share/lima/templates/fedora.yaml
  x ./share/lima/templates/README.md
  x ./share/lima/templates/almalinux-8.yaml
  x ./share/lima/templates/archlinux.yaml
  x ./share/lima/templates/rocky-8.yaml
  x ./share/lima/templates/rocky-9.yaml
  x ./share/lima/templates/opensuse.yaml
  x ./share/lima/templates/debian-12.yaml
  x ./share/lima/templates/podman.yaml
  x ./share/lima/templates/almalinux-9.yaml
  x ./share/lima/templates/docker.yaml
  x ./share/lima/templates/centos-stream.yaml
  x ./share/lima/templates/k3s.yaml
  x ./share/lima/templates/centos-stream-9.yaml
  x ./share/lima/templates/apptainer-rootful.yaml
  x ./share/lima/templates/vmnet.yaml
  x ./share/lima/templates/oraclelinux.yaml
  x ./share/lima/templates/ubuntu-lts.yaml
  x ./share/lima/templates/default.yaml
  x ./share/lima/templates/experimental/virtiofs-linux.yaml
  x ./share/lima/templates/experimental/gentoo.yaml
  x ./share/lima/templates/experimental/armv7l.yaml
  x ./share/lima/templates/experimental/9p.yaml
  x ./share/lima/templates/experimental/opensuse-tumbleweed.yaml
  x ./share/lima/templates/experimental/vnc.yaml
  x ./share/lima/templates/experimental/wsl2.yaml
  x ./share/lima/templates/experimental/u7s.yaml
  x ./share/lima/templates/experimental/vz.yaml
  x ./share/lima/templates/experimental/alsa.yaml
  x ./share/lima/templates/experimental/riscv64.yaml
  x ./share/lima/templates/experimental/rke2.yaml
  x ./share/lima/templates/experimental/net-user-v2.yaml
  x ./bin/docker.lima
  x ./bin/lima
  x ./bin/podman.lima
  x ./bin/nerdctl.lima
  x ./bin/kubectl.lima
  x ./bin/limactl
  x ./bin/apptainer.lima
Run if [ $INPUT_COLIMA == "latest" ]
  if [ $INPUT_COLIMA == "latest" ]
  then
      COLIMA_VERSION=$(gh release -R abiosoft/colima view --json tagName -q ".tagName")
  else
      COLIMA_VERSION=$INPUT_COLIMA
  fi
  
  echo "::group::Installing Colima version $COLIMA_VERSION"
  curl -LO [https://github.com/abiosoft/colima/releases/download/${COLIMA_VERSION}/colima-$(uname)-$(uname](https://github.com/abiosoft/colima/releases/download/$%7BCOLIMA_VERSION%7D/colima-$(uname)-$(uname) -m)
  
  # install in $PATH
  install colima-$(uname)-$(uname -m) /usr/local/bin/colima
  echo "::endgroup::"
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    GH_TOKEN: ***
    INPUT_COLIMA: latest
Installing Colima version v0.7.5
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100 8257k  100 8257k    0     0  16.6M      0 --:--:-- --:--:-- --:--:-- 16.6M
Run brew unlink python@3 || true
  brew unlink python@3 || true
  brew uninstall --ignore-dependencies python@3 || true
  brew install --overwrite --force python@3
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    HOMEBREW_NO_AUTO_UPDATE: 1
    HOMEBREW_NO_INSTALL_UPGRADE: 1
    HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
Unlinking /usr/local/Cellar/[email protected]/3.12.5... 13 symlinks removed.
Uninstalling /usr/local/Cellar/[email protected]/3.12.5... (3,260 files, 63.3MB)
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.6
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:8abd20343a066df8d2be5c81c4a2a968838003cf40da8838c052255747d704eb
==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im pip install -v --no-
==> Caveats
Python has been installed as
  /usr/local/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.6: 3,261 files, 63.4MB
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!

Run echo "::group::Installing QEMU, Docker client, and Docker Compose"
  echo "::group::Installing QEMU, Docker client, and Docker Compose"
  brew install docker docker-compose qemu 2>&1 | tee install.log
  echo "::endgroup::"
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    HOMEBREW_NO_AUTO_UPDATE: 1
    HOMEBREW_NO_INSTALL_UPGRADE: 1
    HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
Installing QEMU, Docker client, and Docker Compose
  Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
  Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker/manifests/27.2.1
  ==> Fetching dependencies for docker: docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/manifests/27.2.1
  ==> Fetching docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/blobs/sha256:4d749c41af20db8f943d3415cf57d55cc932f3301af10aca65cf8cda90e67b23
  ==> Fetching docker
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker/blobs/sha256:ca654cea409dc2f7a2344b92d1acc009b6a0c8b86459fef8b5cd5fe3f3d541c4
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-compose/manifests/2.29.3
  ==> Fetching docker-compose
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:c2450e1613f1794820acfe94fb10dc34da6510aaa0037bef79f3722b94ac4c63
  ==> Downloading https://ghcr.io/v2/homebrew/core/qemu/manifests/9.1.0
  ==> Fetching dependencies for qemu: capstone, dtc, libslirp, libssh, ncurses, snappy and vde
  ==> Downloading https://ghcr.io/v2/homebrew/core/capstone/manifests/5.0.3
  ==> Fetching capstone
  ==> Downloading https://ghcr.io/v2/homebrew/core/capstone/blobs/sha256:bcc3c9288b93bf10c8c10a08352bba47767bf1ffe147c9a6a5bb6e8567fb15de
  ==> Downloading https://ghcr.io/v2/homebrew/core/dtc/manifests/1.7.1
  ==> Fetching dtc
  ==> Downloading https://ghcr.io/v2/homebrew/core/dtc/blobs/sha256:299d6048d7cf4f916f32c11bf1eb9ef4c0d48213f76080ee9ac2abb42112a049
  ==> Downloading https://ghcr.io/v2/homebrew/core/libslirp/manifests/4.8.0
  ==> Fetching libslirp
  ==> Downloading https://ghcr.io/v2/homebrew/core/libslirp/blobs/sha256:9b05510f9439baf4f75d9d22e76cc06e98029706f624dbeb5c290e1003a317d6
  ==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.11.1
  ==> Fetching libssh
  ==> Downloading https://ghcr.io/v2/homebrew/core/libssh/blobs/sha256:09014e85c296ec5452ea0958b8169b5d0eee8534b6f4b7f1bdc6055dfb35607f
  ==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/manifests/6.5
  ==> Fetching ncurses
  ==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/blobs/sha256:d6316fb9989753d52db231cc4dfe20746c5e2b6dced2ba6136ad1f11e99814aa
  ==> Downloading https://ghcr.io/v2/homebrew/core/snappy/manifests/1.2.1
  ==> Fetching snappy
  ==> Downloading https://ghcr.io/v2/homebrew/core/snappy/blobs/sha256:80fa828013ffa932262d110a351fc4f28f44524cc783d23c15b61328182170ac
  ==> Downloading https://ghcr.io/v2/homebrew/core/vde/manifests/2.3.3
  ==> Fetching vde
  ==> Downloading https://ghcr.io/v2/homebrew/core/vde/blobs/sha256:e203e8f3933c5dcdc45cdaae85f63b31ecd38a86d90eb5f4f0c1fd7825ad2347
  ==> Fetching qemu
  ==> Downloading https://ghcr.io/v2/homebrew/core/qemu/blobs/sha256:16d1e1f7e8b1faff279e7aaeb9fd867edd71f5bbfedc866ded4f72c7cd8eaad7
  ==> Installing dependencies for docker: docker-completion
  ==> Installing docker dependency: docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/manifests/27.2.1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/9367c959881a99177bc7ba3102e4296be97dffb50244787892a84f8da6d62095--docker-completion-27.2.1.bottle_manifest.json
  ==> Pouring docker-completion--27.2.1.all.bottle.tar.gz
  🍺  /usr/local/Cellar/docker-completion/27.2.1: 10 files, 342.2KB
  ==> Installing docker
  ==> Pouring docker--27.2.1.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/docker/27.2.1: 14 files, 26.4MB
  ==> Pouring docker-compose--2.29.3.ventura.bottle.tar.gz
  ==> Caveats
  Compose is a Docker plugin. For Docker to find the plugin, add "cliPluginsExtraDirs" to ~/.docker/config.json:
    "cliPluginsExtraDirs": [
        "/usr/local/lib/docker/cli-plugins"
    ]
  ==> Summary
  🍺  /usr/local/Cellar/docker-compose/2.29.3: 8 files, 53.9MB
  ==> Installing dependencies for qemu: capstone, dtc, libslirp, libssh, ncurses, snappy and vde
  ==> Installing qemu dependency: capstone
  ==> Downloading https://ghcr.io/v2/homebrew/core/capstone/manifests/5.0.3
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/f77d59d4c25d40ffcd60c420fbcd75fc7821fdaec8c04b54dca354ecb3dd9384--capstone-5.0.3.bottle_manifest.json
  ==> Pouring capstone--5.0.3.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/capstone/5.0.3: 31 files, 22MB
  ==> Installing qemu dependency: dtc
  ==> Downloading https://ghcr.io/v2/homebrew/core/dtc/manifests/1.7.1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/9af2d1bdcb1bf2aa3d63869290ab4a3627ffd6cbabca2be328f51ec71bdd0150--dtc-1.7.1.bottle_manifest.json
  ==> Pouring dtc--1.7.1.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/dtc/1.7.1: 19 files, 552.5KB
  ==> Installing qemu dependency: libslirp
  ==> Downloading https://ghcr.io/v2/homebrew/core/libslirp/manifests/4.8.0
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/6d0118aaacae7b522b8c6fd6c5a20c3d5ed9e43c01253fb70ef514620a3bfedf--libslirp-4.8.0.bottle_manifest.json
  ==> Pouring libslirp--4.8.0.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/libslirp/4.8.0: 12 files, 372.9KB
  ==> Installing qemu dependency: libssh
  ==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.11.1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/3591f41514c0ebe698a36753dce13e71fa33363993429a04af0da249f1eea04c--libssh-0.11.1.bottle_manifest.json
  ==> Pouring libssh--0.11.1.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/libssh/0.11.1: 25 files, 1.4MB
  ==> Installing qemu dependency: ncurses
  ==> Downloading https://ghcr.io/v2/homebrew/core/ncurses/manifests/6.5
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/b2f8ce4e08b15832435170efd265346225ee388d5baab3d5c50e3a77c5673b5a--ncurses-6.5.bottle_manifest.json
  ==> Pouring ncurses--6.5.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/ncurses/6.5: 4,052 files, 9.6MB
  ==> Installing qemu dependency: snappy
  ==> Downloading https://ghcr.io/v2/homebrew/core/snappy/manifests/1.2.1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/b2e6bfcdbddf1d451a8dbbb6fc3c44a267b753ac1a889dbb0b9159bf31dacdd5--snappy-1.2.1.bottle_manifest.json
  ==> Pouring snappy--1.2.1.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/snappy/1.2.1: 19 files, 162.7KB
  ==> Installing qemu dependency: vde
  ==> Downloading https://ghcr.io/v2/homebrew/core/vde/manifests/2.3.3
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/4e9503141162571c2cd21e89a9e61f524a7403ffe5ffe269f4a39ce5aef9f210--vde-2.3.3.bottle_manifest.json
  ==> Pouring vde--2.3.3.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/vde/2.3.3: 67 files, 1MB
  ==> Installing qemu
  ==> Pouring qemu--9.1.0.ventura.bottle.tar.gz
  🍺  /usr/local/Cellar/qemu/9.1.0: 165 files, 633.3MB
  Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
  dependents or dependents with broken linkage!
  Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
  dependents or dependents with broken linkage!
  
  ==> Caveats
  ==> docker-compose
  Compose is a Docker plugin. For Docker to find the plugin, add "cliPluginsExtraDirs" to ~/.docker/config.json:
    "cliPluginsExtraDirs": [
        "/usr/local/lib/docker/cli-plugins"
    ]
Run mkdir -p ~/.docker/cli-plugins
  mkdir -p ~/.docker/cli-plugins
  ln -sfn "$(brew --prefix)/opt/docker-compose/bin/docker-compose" ~/.docker/cli-plugins/docker-compose
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
Run if grep -q "qemu 8.1.0 is already installed" install.log
  if grep -q "qemu 8.1.0 is already installed" install.log
  then
      echo "Detected broken QEMU bottle installed by brew, removing and reinstalling."
      brew reinstall qemu
  fi
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
Run CPU_COUNT=$(sysctl -n hw.ncpu)
  CPU_COUNT=$(sysctl -n hw.ncpu)
  MEMORY=$(sysctl hw.memsize | awk '{print $2/1024/1024/1024}')
  COLIMA_ARGS="--cpu $CPU_COUNT --memory $MEMORY"
  if [ $COLIMA_NETWORK_ADDRESS == "true" ]
  then
    COLIMA_ARGS="$COLIMA_ARGS --network-address"
  fi
  echo "::group::Starting Colima with args: $COLIMA_ARGS"
  colima start $COLIMA_ARGS
  echo "::endgroup::"
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.5/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.5/x64
    COLIMA_NETWORK_ADDRESS: false
Starting Colima with args: --cpu 4 --memory 14
  time="2024-09-13T14:38:38Z" level=info msg="starting colima"
  time="2024-09-13T14:38:38Z" level=info msg="runtime: docker"
  time="2024-09-13T14:38:39Z" level=info msg="creating and starting ..." context=vm
  time="2024-09-13T14:38:39Z" level=info msg="downloading disk image ..." context=vm
                                                                             0.6%
  #                                                                          1.7%
  ##                                                                         2.8%
  ##                                                                         3.9%
  ###                                                                        4.9%
  ####                                                                       5.8%
  ####                                                                       6.6%
  #####                                                                      7.4%
  #####                                                                      8.1%
  ######                                                                     8.8%
  ######                                                                     9.5%
  #######                                                                   10.3%
  ########                                                                  11.3%
  ########                                                                  12.0%
  #########                                                                 12.8%
  #########                                                                 13.1%
  ##########                                                                14.3%
  ##########                                                                15.1%
  ###########                                                               16.0%
  ############                                                              17.5%
  #############                                                             18.7%
  ##############                                                            19.9%
  ###############                                                           20.9%
  ###############                                                           21.9%
  ################                                                          23.0%
  #################                                                         24.1%
  ##################                                                        25.2%
  ##################                                                        26.2%
  ###################                                                       27.2%
  ####################                                                      28.3%
  #####################                                                     29.2%
  #####################                                                     30.3%
  ######################                                                    31.4%
  #######################                                                   32.6%
  ########################                                                  33.6%
  #########################                                                 34.7%
  #########################                                                 35.7%
  ##########################                                                36.6%
  ###########################                                               37.6%
  ###########################                                               38.6%
  ############################                                              39.6%
  #############################                                             40.6%
  ##############################                                            41.9%
  ##############################                                            43.0%
  ###############################                                           44.2%
  ################################                                          45.3%
  #################################                                         46.3%
  ##################################                                        47.5%
  ##################################                                        48.6%
  ###################################                                       49.6%
  ####################################                                      50.8%
  #####################################                                     51.4%
  ######################################                                    52.8%
  ######################################                                    53.9%
  #######################################                                   54.9%
  ########################################                                  56.0%
  #########################################                                 57.1%
  #########################################                                 58.2%
  ##########################################                                59.4%
  ###########################################                               60.5%
  ############################################                              61.7%
  #############################################                             62.8%
  #############################################                             63.8%
  ##############################################                            65.0%
  ###############################################                           66.3%
  ################################################                          67.6%
  #################################################                         69.1%
  ##################################################                        70.8%
  ####################################################                      72.4%
  #####################################################                     73.7%
  #####################################################                     74.9%
  ######################################################                    76.0%
  #######################################################                   77.3%
  ########################################################                  78.5%
  #########################################################                 79.7%
  ##########################################################                80.9%
  ###########################################################               82.1%
  ############################################################              83.4%
  #############################################################             84.9%
  #############################################################             86.0%
  ##############################################################            87.1%
  ###############################################################           88.2%
  ################################################################          89.3%
  #################################################################         90.4%
  #################################################################         91.4%
  ##################################################################        92.5%
  ###################################################################       93.1%
  ####################################################################      94.7%
  ####################################################################      95.8%
  #####################################################################     96.9%
  ######################################################################    98.1%
  #######################################################################   99.2%
  ######################################################################## 100.0%
  time="2024-09-13T14:38:56Z" level=info msg="Terminal is not available, proceeding without opening an editor"
  time="2024-09-13T14:38:56Z" level=info msg="Starting the instance \"colima\" with VM driver \"qemu\""
  time="2024-09-13T14:38:56Z" level=info msg="QEMU binary \"/usr/local/bin/qemu-system-x86_64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2024-09-13T14:38:56Z" level=info msg="Attempting to download the image" arch=x86_64 digest= location=/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw
  time="2024-09-13T14:38:56Z" level=info msg="Downloaded the image from \"/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw\""
  time="2024-09-13T14:38:58Z" level=info msg="[hostagent] hostagent socket created at /Users/runner/.colima/_lima/colima/ha.sock"
  time="2024-09-13T14:38:58Z" level=info msg="[hostagent] Using system firmware (\"/usr/local/share/qemu/edk2-x86_64-code.fd\")"
  time="2024-09-13T14:38:58Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.colima/_lima/colima/serial*.log\")"
  time="2024-09-13T14:38:58Z" level=info msg="SSH Local Port: 49250"
  time="2024-09-13T14:38:58Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T14:39:08Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T14:39:19Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T14:39:29Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T14:39:39Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""

@matiktli
Copy link

same for macos-12

Run douglascamata/setup-docker-macos-action@v1-alpha
Run arch_name=$(uname -m)
Running on supported architecture: x86_64
Run echo "::group::Updating Homebrew"
Updating Homebrew
Run if [ $INPUT_LIMA == "latest" ]
Installing Lima version v0.22.0
Run if [ $INPUT_COLIMA == "latest" ]
Installing Colima version v0.7.3
Run brew unlink python@3 || true
Unlinking /usr/local/Cellar/[email protected]/3.12.5... 13 symlinks removed.
Uninstalling /usr/local/Cellar/[email protected]/3.12.5... (3,264 files, 63.6MB)
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.


==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.6
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:594da1f2f1785d54cc85b646fe0520813071fc74fd7d6[10](https://github.com/uberkaretki/user-svc/actions/runs/10856681397/job/30131805231#step:3:11)f4ecad4b55ce842c0
==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im pip install -v --no-
==> Caveats
Python has been installed as
  /usr/local/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.6: 3,261 files, 63.6MB
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!

Run echo "::group::Installing QEMU, Docker client, and Docker Compose"
Installing QEMU, Docker client, and Docker Compose
Run mkdir -p ~/.docker/cli-plugins
Run if grep -q "qemu 8.1.0 is already installed" install.log
Run CPU_COUNT=$(sysctl -n hw.ncpu)
Starting Colima with args: --cpu 4 --memory 14
  time="2024-09-13T22:03:00Z" level=info msg="starting colima"
  time="2024-09-13T22:03:00Z" level=info msg="runtime: docker"
  time="2024-09-13T22:03:02Z" level=info msg="creating and starting ..." context=vm
  time="2024-09-13T22:03:02Z" level=info msg="downloading disk image ..." context=vm
                                                                             0.0%
                                                                             0.7%
                                                                             1.3%
  #                                                                          2.2%
  #                                                                          2.7%
  ##                                                                         3.3%
  ##                                                                         4.1%
  ###                                                                        4.7%
  ####                                                                       6.2%
  #####                                                                      7.4%
  ######                                                                     8.7%
  ######                                                                     9.4%
  #######                                                                   10.1%
  #######                                                                   10.8%
  ########                                                                  11.5%
  ########                                                                  12.3%
  #########                                                                 13.3%
  ##########                                                                15.1%
  ###########                                                               16.1%
  ############                                                              16.7%
  ############                                                              17.5%
  #############                                                             18.3%
  #############                                                             18.9%
  ##############                                                            19.5%
  ##############                                                            20.3%
  ###############                                                           20.9%
  ################                                                          22.5%
  #################                                                         [23](https://github.com/uberkaretki/user-svc/actions/runs/10856681397/job/30131805231#step:3:25).9%
  ##################                                                        25.6%
  ###################                                                       27.2%
  ####################                                                      28.6%
  #####################                                                     30.0%
  ######################                                                    31.2%
  #######################                                                   32.2%
  #######################                                                   33.3%
  ########################                                                  34.3%
  #########################                                                 35.4%
  ##########################                                                36.6%
  ###########################                                               38.0%
  ############################                                              39.1%
  ############################                                              40.2%
  ##############################                                            41.7%
  ###############################                                           43.1%
  ################################                                          44.6%
  #################################                                         45.9%
  #################################                                         47.2%
  ##################################                                        48.6%
  ###################################                                       49.5%
  ####################################                                      50.5%
  #####################################                                     51.5%
  #####################################                                     52.5%
  ######################################                                    53.5%
  #######################################                                   54.3%
  #######################################                                   55.3%
  ########################################                                  56.3%
  #########################################                                 57.4%
  ##########################################                                58.4%
  ##########################################                                59.5%
  ###########################################                               60.7%
  ############################################                              61.8%
  #############################################                             62.8%
  #############################################                             63.7%
  ##############################################                            64.6%
  ###############################################                           65.9%
  ################################################                          67.0%
  #################################################                         68.1%
  #################################################                         69.2%
  ##################################################                        70.3%
  ###################################################                       71.4%
  ####################################################                      72.4%
  ####################################################                      73.3%
  #####################################################                     74.2%
  #####################################################                     74.9%
  ######################################################                    75.9%
  #######################################################                   76.7%
  #######################################################                   77.7%
  ########################################################                  78.6%
  #########################################################                 79.3%
  #########################################################                 80.2%
  ##########################################################                80.9%
  ##########################################################                81.7%
  ###########################################################               82.8%
  ############################################################              83.8%
  #############################################################             85.2%
  ##############################################################            86.7%
  ###############################################################           87.9%
  ################################################################          89.2%
  ################################################################          90.1%
  #################################################################         91.1%
  ##################################################################        92.2%
  ###################################################################       93.2%
  ###################################################################       94.3%
  ####################################################################      95.6%
  #####################################################################     96.6%
  ######################################################################    97.9%
  #######################################################################  100.0%
  ######################################################################## 100.0%
  time="20[24](https://github.com/uberkaretki/user-svc/actions/runs/10856681397/job/30131805231#step:3:26)-09-13T22:03:20Z" level=info msg="Terminal is not available, proceeding without opening an editor"
  time="2024-09-13T22:03:20Z" level=info msg="Starting the instance \"colima\" with VM driver \"qemu\""
  time="2024-09-13T22:03:22Z" level=info msg="QEMU binary \"/usr/local/bin/qemu-system-x86_64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2024-09-13T22:03:22Z" level=info msg="Attempting to download the image" arch=x86_64 digest= location=/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b90051[71](https://github.com/uberkaretki/user-svc/actions/runs/10856681397/job/30131805231#step:3:76)81080ab06de3cdbc367f4848d10f18693ce3ce5.raw
  time="2024-09-13T22:03:22Z" level=info msg="Downloaded the image from \"/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw\""
  time="2024-09-13T22:03:24Z" level=info msg="[hostagent] hostagent socket created at /Users/runner/.colima/_lima/colima/ha.sock"
  time="2024-09-13T22:03:25Z" level=info msg="[hostagent] Using system firmware (\"/usr/local/share/qemu/edk2-x86_64-code.fd\")"
  time="2024-09-13T22:03:25Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.colima/_lima/colima/serial*.log\")"
  time="2024-09-13T22:03:25Z" level=info msg="SSH Local Port: 49217"
  time="2024-09-13T22:03:25Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T22:03:35Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T22:03:45Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-13T22:03:55Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""

I have tried setting up versions of colima and lima to the same as from my previous runs which worked, but this has not helped. Looking forward to a fix as this is currently a release blocker for me.

@douglascamata
Copy link
Owner

douglascamata commented Sep 14, 2024

I’m away from the computer until the beginning of the week, but I’ll have a deep look as soon as I can.

It will be fun to figure it out this time. 😅

We might have to let homebrew update and reinstall some dependencies. If you want you can try this solution by yourself in the meantime by removing the env vars I use to prevent homebrew from doing this.

@matiktli
Copy link

@douglascamata Thanks man! 👍
I have tried with following:

 build:
    runs-on: macos-12
    env:
      HOMEBREW_NO_INSTALL_UPGRADE: "0"
      HOMEBREW_NO_AUTO_UPDATE: "0"
      HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: "0"
    steps:
      - name: Setup Docker on macOS
        uses: douglascamata/setup-docker-macos-action@v1-alpha
        with:
          upgrade-qemu: true
          lima: v0.22.0
          colima: v0.7.3

And this also have not worked but at least seems it is not freeze anymore.

Output:

Run douglascamata/setup-docker-macos-action@v[1](https://github.com/uberkaretki/user-svc/actions/runs/10860815097/job/30141897128#step:3:1)-alpha
Run arch_name=$(uname -m)
Running on supported architecture: x86_64
Run echo "::group::Updating Homebrew"
Updating Homebrew
Run if [ $INPUT_LIMA == "latest" ]
Installing Lima version v0.22.0
Run if [ $INPUT_COLIMA == "latest" ]
Installing Colima version v0.7.3
Run brew unlink python@3 || true
Unlinking /usr/local/Cellar/[email protected]/3.12.5... [13](https://github.com/uberkaretki/user-svc/actions/runs/10860815097/job/30141897128#step:3:14) symlinks removed.
Uninstalling /usr/local/Cellar/[email protected]/3.12.5... (3,264 files, 63.6MB)
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.


==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.6
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:594da1f2f1785d54cc85b646fe052081[30](https://github.com/uberkaretki/user-svc/actions/runs/10860815097/job/30141897128#step:3:32)71fc74fd7d610f4ecad4b55ce842c0
==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im pip install -v --no-
==> Caveats
Python has been installed as
  /usr/local/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.6: 3,261 files, 63.6MB
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!

Run echo "::group::Installing QEMU, Docker client, and Docker Compose"
Installing QEMU, Docker client, and Docker Compose
Run mkdir -p ~/.docker/cli-plugins
Run brew upgrade qemu
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.


Warning: qemu 9.1.0 already installed
Warning: qemu 9.1.0 already installed
Run CPU_COUNT=$(sysctl -n hw.ncpu)
Starting Colima with args: --cpu 4 --memory 14
  time="2024-09-14T08:06:43Z" level=info msg="starting colima"
  time="2024-09-14T08:06:43Z" level=info msg="runtime: docker"
  time="2024-09-14T08:06:45Z" level=info msg="creating and starting ..." context=vm
  time="2024-09-14T08:06:45Z" level=info msg="downloading disk image ..." context=vm
                                                                             0.2%
  #                                                                          1.5%
  #                                                                          2.5%
  ##                                                                         3.7%
  ###                                                                        4.7%
  ###                                                                        5.2%
  #####                                                                      7.2%
  ######                                                                     9.1%
  #######                                                                   10.5%
  ########                                                                  12.2%
  #########                                                                 13.7%
  ##########                                                                15.1%
  ###########                                                               16.2%
  #############                                                             18.5%
  ##############                                                            20.0%
  ################                                                          22.3%
  #################                                                         24.1%
  ##################                                                        25.6%
  ###################                                                       27.4%
  ####################                                                      28.9%
  #####################                                                     30.3%
  #######################                                                   32.2%
  ########################                                                  33.8%
  #########################                                                 35.3%
  ##########################                                                36.9%
  ###########################                                               38.8%
  #############################                                             40.8%
  ##############################                                            42.5%
  ###############################                                           44.4%
  #################################                                         46.2%
  ##################################                                        47.9%
  ###################################                                       49.7%
  ####################################                                      51.3%
  ######################################                                    53.0%
  #######################################                                   54.6%
  ########################################                                  56.4%
  #########################################                                 58.2%
  ###########################################                               59.9%
  ############################################                              61.5%
  #############################################                             62.9%
  ##############################################                            64.3%
  ###############################################                           65.9%
  ################################################                          67.4%
  #################################################                         68.6%
  ##################################################                        69.8%
  ###################################################                       71.0%
  ####################################################                      72.2%
  ####################################################                      73.3%
  #####################################################                     74.5%
  ######################################################                    75.8%
  #######################################################                   77.1%
  ########################################################                  78.1%
  #########################################################                 79.4%
  ##########################################################                80.8%
  ###########################################################               82.2%
  ############################################################              83.5%
  #############################################################             85.0%
  ##############################################################            86.3%
  ###############################################################           87.6%
  ###############################################################           88.8%
  ################################################################          90.1%
  #################################################################         91.5%
  ##################################################################        93.0%
  ###################################################################       93.1%
  ####################################################################      95.0%
  #####################################################################     96.4%
  ######################################################################    98.0%
  #######################################################################   99.6%
  ######################################################################## 100.0%
  time="2024-09-14T08:06:56Z" level=info msg="Terminal is not available, proceeding without opening an editor"
  time="2024-09-14T08:06:56Z" level=info msg="Starting the instance \"colima\" with VM driver \"qemu\""
  time="2024-09-14T08:06:58Z" level=info msg="QEMU binary \"/usr/local/bin/qemu-system-x86_64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2024-09-14T08:06:58Z" level=info msg="Attempting to download the image" arch=x86_64 digest= location=/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw
  time="2024-09-14T08:06:58Z" level=info msg="Downloaded the image from \"/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw\""
  time="2024-09-14T08:07:00Z" level=info msg="[hostagent] hostagent socket created at /Users/runner/.colima/_lima/colima/ha.sock"
  time="2024-09-14T08:07:00Z" level=info msg="[hostagent] Using system firmware (\"/usr/local/share/qemu/edk2-x86_64-code.fd\")"
  time="2024-09-14T08:07:00Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.colima/_lima/colima/serial*.log\")"
  time="2024-09-14T08:07:00Z" level=info msg="SSH Local Port: 49219"
  time="2024-09-14T08:07:00Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:07:10Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:07:20Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:07:30Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:07:40Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:07:50Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:00Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:10Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:20Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:30Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:40Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:08:50Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:00Z" level=info msg="[hostagent] Driver stopped due to error: \"usernet unable to resolve IP for SSH forwarding\""
  time="2024-09-14T08:09:00Z" level=info msg="[hostagent] Shutting down the host agent"
  time="2024-09-14T08:09:00Z" level=warning msg="[hostagent] failed to exit SSH master" error="failed to execute `ssh -O exit -p 49219 127.0.0.1`, out=\"Control socket connect(/Users/runner/.colima/_lima/colima/ssh.sock): No such file or directory\\r\\n\": exit status 255"
  time="2024-09-14T08:09:00Z" level=info msg="[hostagent] Shutting down QEMU with ACPI"
  time="2024-09-14T08:09:00Z" level=warning msg="[hostagent] Failed to remove SSH binding for port 49219"
  time="2024-09-14T08:09:00Z" level=info msg="[hostagent] Sending QMP system_powerdown command"
  time="2024-09-14T08:09:00Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:10Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:20Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:30Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:40Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:09:50Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:01Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:11Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:21Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:31Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:[41](https://github.com/uberkaretki/user-svc/actions/runs/10860815097/job/30141897128#step:3:44)Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:10:51Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="[202](https://github.com/uberkaretki/user-svc/actions/runs/10860815097/job/30141897128#step:3:211)4-09-14T08:11:01Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:11:11Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:11:21Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:11:31Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:11:41Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:11:51Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:12:00Z" level=warning msg="[hostagent] QEMU did not exit in 3m0s, forcibly killing QEMU"
  time="2024-09-14T08:12:00Z" level=info msg="[hostagent] QEMU has exited, after killing forcibly" error="signal: killed"
  time="2024-09-14T08:12:00Z" level=fatal msg="exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see \"/Users/runner/.colima/_lima/colima/ha.stderr.log\")"
  time="2024-09-14T08:12:00Z" level=fatal msg="error starting vm: error at 'creating and starting': exit status 1"
  Error: Process completed with exit code 1.

@matiktli
Copy link

I have tried also the same but without specifying lima and colima version which resulted in:

Run douglascamata/setup-docker-macos-action@v1-alpha
Run arch_name=$(uname -m)
Running on supported architecture: x86_64
Run echo "::group::Updating Homebrew"
Updating Homebrew
Run if [ $INPUT_LIMA == "latest" ]
Installing Lima version v0.23.2
  x ./
  x ./bin/
  x ./share/
  x ./share/lima/
  x ./share/doc/
  x ./share/doc/lima/
  x ./share/doc/lima/README.zh.md
  x ./share/doc/lima/LICENSE
  x ./share/doc/lima/MAINTAINERS.md
  x ./share/doc/lima/README.md
  x ./share/doc/lima/README.ja.md
  x ./share/doc/lima/ROADMAP.md
  x ./share/doc/lima/VERSION
  x ./share/doc/lima/examples
  x ./share/doc/lima/templates
  x ./share/doc/lima/SECURITY.md
  x ./share/lima/lima-guestagent.Linux-x86_64
  x ./share/lima/lima-guestagent.Linux-riscv64
  x ./share/lima/examples
  x ./share/lima/lima-guestagent.Linux-armv7l
  x ./share/lima/templates/
  x ./share/lima/lima-guestagent.Linux-aarch64
  x ./share/lima/templates/podman-rootful.yaml
  x ./share/lima/templates/experimental/
  x ./share/lima/templates/buildkit.yaml
  x ./share/lima/templates/oraclelinux-9.yaml
  x ./share/lima/templates/oraclelinux-8.yaml
  x ./share/lima/templates/alpine-image.yaml
  x ./share/lima/templates/debian.yaml
  x ./share/lima/templates/rocky.yaml
  x ./share/lima/templates/alpine.yaml
  x ./share/lima/templates/k8s.yaml
  x ./share/lima/templates/apptainer.yaml
  x ./share/lima/templates/docker-rootful.yaml
  x ./share/lima/templates/debian-11.yaml
  x ./share/lima/templates/almalinux.yaml
  x ./share/lima/templates/faasd.yaml
  x ./share/lima/templates/ubuntu.yaml
  x ./share/lima/templates/fedora.yaml
  x ./share/lima/templates/README.md
  x ./share/lima/templates/almalinux-8.yaml
  x ./share/lima/templates/archlinux.yaml
  x ./share/lima/templates/rocky-8.yaml
  x ./share/lima/templates/rocky-9.yaml
  x ./share/lima/templates/opensuse.yaml
  x ./share/lima/templates/debian-12.yaml
  x ./share/lima/templates/podman.yaml
  x ./share/lima/templates/almalinux-9.yaml
  x ./share/lima/templates/docker.yaml
  x ./share/lima/templates/centos-stream.yaml
  x ./share/lima/templates/k3s.yaml
  x ./share/lima/templates/centos-stream-9.yaml
  x ./share/lima/templates/apptainer-rootful.yaml
  x ./share/lima/templates/vmnet.yaml
  x ./share/lima/templates/oraclelinux.yaml
  x ./share/lima/templates/ubuntu-lts.yaml
  x ./share/lima/templates/default.yaml
  x ./share/lima/templates/experimental/virtiofs-linux.yaml
  x ./share/lima/templates/experimental/gentoo.yaml
  x ./share/lima/templates/experimental/armv7l.yaml
  x ./share/lima/templates/experimental/9p.yaml
  x ./share/lima/templates/experimental/opensuse-tumbleweed.yaml
  x ./share/lima/templates/experimental/vnc.yaml
  x ./share/lima/templates/experimental/wsl2.yaml
  x ./share/lima/templates/experimental/u7s.yaml
  x ./share/lima/templates/experimental/vz.yaml
  x ./share/lima/templates/experimental/alsa.yaml
  x ./share/lima/templates/experimental/riscv64.yaml
  x ./share/lima/templates/experimental/rke2.yaml
  x ./share/lima/templates/experimental/net-user-v2.yaml
  x ./bin/docker.lima
  x ./bin/lima
  x ./bin/podman.lima
  x ./bin/nerdctl.lima
  x ./bin/kubectl.lima
  x ./bin/limactl
  x ./bin/apptainer.lima
  
Run if [ $INPUT_COLIMA == "latest" ]
  
Installing Colima version v0.7.5
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0 8257k    0 [13](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:14)771    0     0  24393      0  0:05:46 --:--:--  0:05:46 24393
  100 8257k  100 8257k    0     0  10.4M      0 --:--:-- --:--:-- --:--:-- 38.8M
Run brew unlink python@3 || true
  brew unlink python@3 || true
  brew uninstall --ignore-dependencies python@3 || true
  brew install --overwrite --force python@3
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    ECR_REPOSITORY: user-service
    ECR_REGISTRY: 010928206002.dkr.ecr.eu-west-2.amazonaws.com
    HOMEBREW_NO_INSTALL_UPGRADE: 1
    HOMEBREW_NO_AUTO_UPDATE: 1
    HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
  
Unlinking /usr/local/Cellar/[email protected]/3.12.5... 13 symlinks removed.
Uninstalling /usr/local/Cellar/[email protected]/3.12.5... (3,264 files, 63.6MB)
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.


==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.6
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:594da1f2f1785d54cc85b646fe0520813071fc74fd7d610f4ecad4b55ce842c0
==> Pouring [email protected]
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/[email protected]/3.12.6/bin/python3.12 -Im pip install -v --no-
==> Caveats
Python has been installed as
  /usr/local/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/[email protected]/libexec/bin
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/[email protected]/3.12.6: 3,261 files, 63.6MB
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!

Run echo "::group::Installing QEMU, Docker client, and Docker Compose"
Installing QEMU, Docker client, and Docker Compose
  Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
  Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
  Warning: qemu 9.1.0 is already installed and up-to-date.
  To reinstall 9.1.0, run:
    brew reinstall qemu
  Warning: qemu 9.1.0 is already installed and up-to-date.
  To reinstall 9.1.0, run:
    brew reinstall qemu
  
  Warning: You are using macOS 12.
  We (and Apple) do not provide support for this old version.
  It is expected behaviour that some formulae will fail to build in this old version.
  It is expected behaviour that Homebrew will be buggy and slow.
  Do not create any issues about this on Homebrew's GitHub repositories.
  Do not create any issues even if you think this message is unrelated.
  Any opened issues will be immediately closed without response.
  Do not ask for help from Homebrew or its maintainers on social media.
  You may ask for help in Homebrew's discussions but are unlikely to receive a response.
  Try to figure out the problem yourself and submit a fix as a pull request.
  We will review it but may or may not accept it.
  Warning: You are using macOS 12.
  We (and Apple) do not provide support for this old version.
  It is expected behaviour that some formulae will fail to build in this old version.
  It is expected behaviour that Homebrew will be buggy and slow.
  Do not create any issues about this on Homebrew's GitHub repositories.
  Do not create any issues even if you think this message is unrelated.
  Any opened issues will be immediately closed without response.
  Do not ask for help from Homebrew or its maintainers on social media.
  You may ask for help in Homebrew's discussions but are unlikely to receive a response.
  Try to figure out the problem yourself and submit a fix as a pull request.
  We will review it but may or may not accept it.
  
  
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker/manifests/27.2.1
  ==> Fetching dependencies for docker: docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/manifests/27.2.1
  ==> Fetching docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/blobs/sha256:4d749c41af20db8f943d3415cf57d55cc932f3301af10aca65cf8cda90e67b23
  ==> Fetching docker
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker/blobs/sha256:ca654cea409dc2f7a2344b92d1acc009b6a0c8b86459fef8b5cd5fe3f3d541c4
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-compose/manifests/2.[29](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:31).3
  ==> Fetching docker-compose
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:4dc9bb8001cc729c061e955b8b886f096ca943ef6c99eec3760e24ede6976a6c
  ==> Installing dependencies for docker: docker-completion
  ==> Installing docker dependency: docker-completion
  ==> Downloading https://ghcr.io/v2/homebrew/core/docker-completion/manifests/27.2.1
  Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/9367c959881a99177bc7ba3102e4296be97dffb50244787892a84f8da6d62095--docker-completion-27.2.1.bottle_manifest.json
  ==> Pouring docker-completion--27.2.1.all.bottle.tar.gz
  🍺  /usr/local/Cellar/docker-completion/27.2.1: 10 files, 342.2KB
  ==> Installing docker
  ==> Pouring docker--27.2.1.monterey.bottle.tar.gz
  🍺  /usr/local/Cellar/docker/27.2.1: 14 files, 26.4MB
  ==> Pouring docker-compose--2.29.3.monterey.bottle.tar.gz
  ==> Caveats
  Compose is a Docker plugin. For Docker to find the plugin, add "cliPluginsExtraDirs" to ~/.docker/config.json:
    "cliPluginsExtraDirs": [
        "/usr/local/lib/docker/cli-plugins"
    ]
  ==> Summary
  🍺  /usr/local/Cellar/docker-compose/2.29.3: 8 files, 54.2MB
  Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
  dependents or dependents with broken linkage!
  Warning: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
  dependents or dependents with broken linkage!
  
  ==> Caveats
  ==> docker-compose
  Compose is a Docker plugin. For Docker to find the plugin, add "cliPluginsExtraDirs" to ~/.docker/config.json:
    "cliPluginsExtraDirs": [
        "/usr/local/lib/docker/cli-plugins"
    ]
  
Run mkdir -p ~/.docker/cli-plugins
Run brew upgrade qemu
  
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.


Warning: qemu 9.1.0 already installed
Warning: qemu 9.1.0 already installed
Run CPU_COUNT=$(sysctl -n hw.ncpu)
Starting Colima with args: --cpu 4 --memory 14
  time="2024-09-14T08:15:04Z" level=info msg="starting colima"
  time="2024-09-14T08:15:04Z" level=info msg="runtime: docker"
  time="2024-09-14T08:15:06Z" level=info msg="creating and starting ..." context=vm
  time="2024-09-14T08:15:06Z" level=info msg="downloading disk image ..." context=vm
                                                                             0.0%
                                                                             1.1%
  #                                                                          2.1%
  ##                                                                         2.9%
  ##                                                                         3.8%
  ###                                                                        4.8%
  ####                                                                       5.6%
  ####                                                                       6.0%
  #####                                                                      7.6%
  ######                                                                     9.3%
  #######                                                                   11.0%
  #########                                                                 13.4%
  ##########                                                                15.1%
  ############                                                              16.7%
  #############                                                             18.5%
  ##############                                                            20.0%
  ###############                                                           21.6%
  ################                                                          23.2%
  #################                                                         24.6%
  ##################                                                        26.0%
  ###################                                                       27.3%
  ####################                                                      29.0%
  #####################                                                     [30](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:32).5%
  #######################                                                   31.9%
  ########################                                                  33.4%
  #########################                                                 34.8%
  ##########################                                                36.3%
  ###########################                                               37.7%
  ###########################                                               38.8%
  ############################                                              39.5%
  ##############################                                            [41](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:44).7%
  ###############################                                           43.5%
  ################################                                          45.2%
  #################################                                         46.6%
  ##################################                                        48.3%
  ###################################                                       49.9%
  #####################################                                     51.5%
  ######################################                                    53.0%
  #######################################                                   54.5%
  ########################################                                  56.1%
  #########################################                                 57.4%
  ##########################################                                58.9%
  ###########################################                               60.3%
  ############################################                              61.9%
  #############################################                             [63](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:67).5%
  ##############################################                            64.9%
  ###############################################                           66.2%
  ################################################                          67.5%
  #################################################                         68.7%
  ##################################################                        70.2%
  ###################################################                       71.4%
  ####################################################                      72.7%
  #####################################################                     74.4%
  ######################################################                    76.0%
  #######################################################                   77.6%
  #########################################################                 79.4%
  ##########################################################                80.6%
  ##########################################################                81.8%
  ###########################################################               [83](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:88).1%
  ############################################################              84.2%
  #############################################################             85.5%
  #############################################################             86.1%
  ##############################################################            [87](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:92).5%
  ################################################################          [89](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:94).0%
  #################################################################         [90](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:95).5%
  ##################################################################        [92](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:97).1%
  ###################################################################       [93](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:98).6%
  ####################################################################      [95](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:100).0%
  #####################################################################     [96](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:101).1%
  ######################################################################    [97](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:102).8%
  #######################################################################   [99](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:104).0%
  ######################################################################## [100](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:105).0%
  time="2024-09-14T08:15:17Z" level=info msg="Terminal is not available, proceeding without opening an editor"
  time="2024-09-14T08:15:18Z" level=info msg="Starting the instance \"colima\" with VM driver \"qemu\""
  time="2024-09-14T08:15:19Z" level=info msg="QEMU binary \"/usr/local/bin/qemu-system-x86_64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2024-09-14T08:15:19Z" level=info msg="Attempting to download the image" arch=x86_64 digest= location=/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b90051718[108](https://github.com/uberkaretki/user-svc/actions/runs/10860872403/job/30142029918#step:3:113)0ab06de3cdbc367f4848d10f18693ce3ce5.raw
  time="2024-09-14T08:15:19Z" level=info msg="Downloaded the image from \"/Users/runner/Library/Caches/colima/caches/e6a9564d615abecd0b900517181080ab06de3cdbc367f4848d10f18693ce3ce5.raw\""
  time="2024-09-14T08:15:21Z" level=info msg="[hostagent] hostagent socket created at /Users/runner/.colima/_lima/colima/ha.sock"
  time="2024-09-14T08:15:22Z" level=info msg="[hostagent] Using system firmware (\"/usr/local/share/qemu/edk2-x86_64-code.fd\")"
  time="2024-09-14T08:15:22Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.colima/_lima/colima/serial*.log\")"
  time="2024-09-14T08:15:22Z" level=info msg="SSH Local Port: 49219"
  time="2024-09-14T08:15:22Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:15:32Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:15:42Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-09-14T08:15:52Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""

@douglascamata
Copy link
Owner

@GlassOfWhiskey could you let me know please what were the versions of Lima, Colima and QEMU of your latest working build? I got hold of a computer and could make things almost work when downgrading QEMU to 9.0.2, but I've encountered a kernel panic inside the QEMU VM:

  [    0.014000] Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with apic=debug and send a report.  Then try booting with the 'noapic' option.

@GlassOfWhiskey
Copy link
Author

Hi @douglascamata,
here is one of the latest working GitHub Actions. Lima and Colima are the latest versions (v0.23.2 and v0.7.5, respectively), while qemu is v9.0.2.

@AlvoBen
Copy link

AlvoBen commented Sep 17, 2024

Hi, Are there any updates?

@Noam-Br
Copy link

Noam-Br commented Sep 18, 2024

Hi @douglascamata ,
Do you have an estimated time for when the fix will be added?

@AlvoBen
Copy link

AlvoBen commented Sep 18, 2024

Can you explain what is this PR about?
You removed support for macos machines?

@GlassOfWhiskey
Copy link
Author

Hi @AlvoBen,
this bug is preventing all our GitHub Actions from terminating correctly. So we decided to temporarily disable MacOS X CI to avoid keeping all the development process blocked. We will restore the MacOS X CI as soon as the bug is solved.
In this way,@douglascamata can investigate the bug properly and take the time to find a solution without the pressure of knowing that someone is blocked by this issue :)

@douglascamata
Copy link
Owner

Unfortunately I couldn’t find a solution yet. Still trying. It’s hard to figure out whether the problem is on QEMU, the kernel used by the Colima image, in something else that came in this macOS runner update, or a combination of all the previous options.

@CodePrometheus
Copy link

Unfortunately I couldn’t find a solution yet. Still trying. It’s hard to figure out whether the problem is on QEMU, the kernel used by the Colima image, in something else that came in this macOS runner update, or a combination of all the previous options.

@douglascamata I also encountered this problem, it seems that the service did not start. The strange thing is that it was working normally a week ago.

time="2024-09-19T05:04:40Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
time="2024-09-19T05:04:50Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
time="2024-09-19T05:05:00Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""

@douglascamata
Copy link
Owner

@CodePrometheus it started to freeze like this after Github updated the macos-13 image of the Action Runners.

@douglascamata
Copy link
Owner

I had some progress in this issue. In #40 I could fix it in macos-13 runners by pinning QEMU to 9.0.2. There's no solution yet for macos-12, but as it's an old version of macOS I am fine dropping support for it until a fix for that runner is found.

douglascamata added a commit that referenced this issue Sep 19, 2024
It seems like the most recent version of QEMU is causing the SSH server inside the Colima VM to not start, which hangs all builds (see #37). I'm not exactly sure why and debugging the situation inside the action runners is kinda difficult.

With this PR I am pinning QEMU to 9.0.2, which seems to work on the runner image `macos-13`. 

Unfortunately I couldn't make it work on the runner image `macos-12`. As this is a very old macOS version, I'm dropping support for it. If one day things get fixed, I might readd it as supported.
@douglascamata douglascamata reopened this Sep 19, 2024
@douglascamata
Copy link
Owner

@GlassOfWhiskey @CodePrometheus @Noam-Br @AlvoBen: the fix I mentioned in merge. Do you mind testing by pointing your action version directly to the latest commit in the main branch and let me know if it works? I had a few builds that passed in macos-13, but having the confirmation that it also works for you would be great. Thanks!

@AlvoBen
Copy link

AlvoBen commented Sep 19, 2024

Thank you @douglascamata! It's working!

@douglascamata
Copy link
Owner

Thanks for testing!

I've updated the v1-alpha release tag and pushed the tag v1-alpha.14, both with the fixes.

Closing this now. 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers need-more-info Needs more info.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants