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

[CI][Release] macOS job is failed because of macos-latest change #41371

Closed
kou opened this issue Apr 24, 2024 · 1 comment
Closed

[CI][Release] macOS job is failed because of macos-latest change #41371

kou opened this issue Apr 24, 2024 · 1 comment

Comments

@kou
Copy link
Member

kou commented Apr 24, 2024

Describe the bug, including details regarding any error messages, version, and platform.

macos-latest is macos-14 not macos-12.

See also: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Example:

https://github.com/apache/arrow/actions/runs/8819910983/job/24212269544?pr=41359#step:4:18

Error: The current runner (macos--arm64) was detected as self-hosted because the platform does not match a GitHub-hosted runner image (or that image is deprecated and no longer supported).
In such a case, you should install Ruby in the $RUNNER_TOOL_CACHE yourself, for example using https://github.com/rbenv/ruby-build
You can take inspiration from this workflow for more details: https://github.com/ruby/ruby-builder/blob/master/.github/workflows/build.yml
$ ruby-build 2.7.8 /Users/runner/hostedtoolcache/Ruby/2.7.8/arm64
Once that completes successfully, mark it as complete with:
$ touch /Users/runner/hostedtoolcache/Ruby/2.7.8/arm64.complete
It is your responsibility to ensure installing Ruby like that is not done in parallel.

Component(s)

Continuous Integration, Release

@kou kou added the Type: bug label Apr 24, 2024
kou added a commit to kou/arrow that referenced this issue Apr 25, 2024
kou added a commit to kou/arrow that referenced this issue Apr 25, 2024
raulcd pushed a commit that referenced this issue Apr 25, 2024
### Rationale for this change

Ruby 2.7 doesn't exist on `macos-latest` (`macos-14`).

### What changes are included in this PR?

Use `ruby` as the Ruby version to use the latest Ruby.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #41371

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@raulcd raulcd added this to the 17.0.0 milestone Apr 25, 2024
@raulcd
Copy link
Member

raulcd commented Apr 25, 2024

Issue resolved by pull request 41379
#41379

@raulcd raulcd closed this as completed Apr 25, 2024
@raulcd raulcd changed the title [CI][Release] macOS job is failed because of mascos-latest change [CI][Release] macOS job is failed because of macos-latest change Apr 25, 2024
tolleybot pushed a commit to tmct/arrow that referenced this issue May 2, 2024
)

### Rationale for this change

Ruby 2.7 doesn't exist on `macos-latest` (`macos-14`).

### What changes are included in this PR?

Use `ruby` as the Ruby version to use the latest Ruby.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#41371

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this issue May 25, 2024
)

### Rationale for this change

Ruby 2.7 doesn't exist on `macos-latest` (`macos-14`).

### What changes are included in this PR?

Use `ruby` as the Ruby version to use the latest Ruby.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#41371

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
CurtHagenlocher pushed a commit to CurtHagenlocher/arrow that referenced this issue Jun 14, 2024
)

### Rationale for this change

Ruby 2.7 doesn't exist on `macos-latest` (`macos-14`).

### What changes are included in this PR?

Use `ruby` as the Ruby version to use the latest Ruby.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#41371

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants