Skip to content

gha: macOS-CMake / cmake + macos-14 + Core2 failure #15448

@jinseopkim0

Description

@jinseopkim0

e.g. https://github.com/googleapis/google-cloud-cpp/actions/runs/17540202806/job/49810506225

Run # Remove the older CMake version
  # Remove the older CMake version
  brew unlink cmake
  
  # Create a temporary local tap
  cd "/Users/runner/work/_temp"
  mkdir -p user/homebrew-tap/Formula
  cd user/homebrew-tap
  git init
  
  # Download the Homebrew formula for CMake==3.27.2
  curl -fsSL -o cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/fd21fcf239bcd0231c9fed5719403ec128151af4/Formula/c/cmake.rb
  mv cmake.rb ./Formula/
  
  git add .
  git commit -m "Add CMake formula"
  
  # Tap the local repository
  brew tap user/homebrew-tap "/Users/runner/work/_temp/user/homebrew-tap"
  
  # Install CMake from the local tap
  brew install --build-from-source user/homebrew-tap/cmake
  
  # Clean up the tap
  brew untap user/homebrew-tap
  cd "/Users/runner/work/_temp"
  rm -rf user
  shell: /opt/homebrew/bin/bash -e ***0***
  env:
    SCCACHE_GCS_BUCKET: cloud-cpp-community-gha-cache
    SCCACHE_GCS_KEY_PREFIX: sccache/macos-14
    SCCACHE_GCS_RW_MODE: READ_WRITE
    SCCACHE_IGNORE_SERVER_IO_ERROR: 1
    VCPKG_BINARY_SOURCES: x-gcs,gs://cloud-cpp-community-gha-cache/vcpkg-cache/macos-14,readwrite
    GHA_TEST_BUCKET: gcs-grpc-team-cloud-cpp-testing-bucket
    CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /Users/runner/work/google-cloud-cpp/google-cloud-cpp/gha-creds-9a8062ae6c3c63a5.json
    GOOGLE_APPLICATION_CREDENTIALS: /Users/runner/work/google-cloud-cpp/google-cloud-cpp/gha-creds-9a8062ae6c3c63a5.json
    GOOGLE_GHA_CREDS_PATH: /Users/runner/work/google-cloud-cpp/google-cloud-cpp/gha-creds-9a8062ae6c3c63a5.json
    CLOUDSDK_CORE_PROJECT: cloud-cpp-testing-resources
    CLOUDSDK_PROJECT: cloud-cpp-testing-resources
    GCLOUD_PROJECT: cloud-cpp-testing-resources
    GCP_PROJECT: cloud-cpp-testing-resources
    GOOGLE_CLOUD_PROJECT: cloud-cpp-testing-resources
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.11.9/arm64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
    CLOUDSDK_METRICS_ENVIRONMENT: github-actions-setup-gcloud
    CLOUDSDK_METRICS_ENVIRONMENT_VERSION: 2.2.1
Unlinking /opt/homebrew/Cellar/cmake/3.31.6... 13 symlinks removed.
hint: Using 'master' as the name for the initial branch. This default branch name
Initialized empty Git repository in /Users/runner/work/_temp/user/homebrew-tap/.git/
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
curl: (56) The requested URL returned error: 404
Error: Process completed with exit code 56.

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions