Skip to content

GH-42136: [CI][Go][Java][JS] Use AMD64-based macOS explicitly - #42175

Merged
kou merged 6 commits into
apache:mainfrom
llama90:ARROW-42136
Jun 17, 2024
Merged

kou merged 6 commits into
apache:mainfrom
llama90:ARROW-42136

Conversation

@llama90

@llama90 llama90 commented Jun 17, 2024 •

Copy link
Copy Markdown
Contributor

Rationale for this change

To support AMD64-based macOS in CI jobs. We can no longer use macos-11 on GitHub Actions [1]. Since macos-latest operates based on ARM64 [2], we are changing to macos-12 to maintain an AMD64-based workflow.

What changes are included in this PR?

  • Updating CI jobs to support AMD64-based macOS (macos-12).
    • Go
    • Java
    • JS
  • Updating CI condition to trigger workflow
    • from github.event_name == 'push'
    • to ${{ !contains(github.event.pull_request.title, 'WIP') }}

Are these changes tested?

Yes. tested via CI.

Are there any user-facing changes?

No.

Comment thread .github/workflows/js.yml Outdated
name: AMD64 macOS 12 NodeJS ${{ matrix.node }}
runs-on: macos-12
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 90

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you reduce timeout to 30 or something?

https://github.com/apache/arrow/actions/runs/9550814670/job/26323703330?pr=42175 took 18m 51s.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it!

Comment thread .github/workflows/js.yml
name: AMD64 Windows NodeJS ${{ matrix.node }}
runs-on: windows-latest
if: github.event_name == 'push'
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you set timeout-minutes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added 45m! Workflow took 30m.

@llama90

llama90 commented Jun 17, 2024

Copy link
Copy Markdown
Contributor Author

@kou Thank you for your review! I reflected your feedback!

@kou

kou commented Jun 17, 2024

Copy link
Copy Markdown
Member

@zeroshade @lidavidm @domoritz Which of "ARM64" or "AMD64" do we want to use for Go/Java/JS CI on macOS?

@llama90

llama90 commented Jun 17, 2024

Copy link
Copy Markdown
Contributor Author

In my opinion, all kinds of languages need to support both architectures.

Once I finish this issue, I plan to propose a new issue for them. Additionally, some CIs need further enhancement (e.g., AMD64 macOS 12 with just JDK 12).

I would appreciate any feedback or suggestions on this matter.

@kou kou changed the title GH-42136: [CI][Go][Java][JS] Update Jobs for ARM64-based macOS GH-42136: [CI][Go][Java][JS] Use AMD64-based macOS explicitly Jun 17, 2024

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

OK. Let's discuss it on the new issue.

@kou

kou commented Jun 18, 2024

Copy link
Copy Markdown
Member

#42192 is the new issue.

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit cc560f1.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them.

@vibhatha

Copy link
Copy Markdown
Contributor

@github-actions crossbow submit -g java-jars

@github-actions

Copy link
Copy Markdown
Invalid group(s) {'java-jars'}. Must be one of {'java', 'go', 'conan', 'linux-amd64', 'wheel', 'example-cpp', 'integration', 'r', 'c-glib', 'example', 'packaging', 'example-python', 'linux-arm64', 'verify-rc', 'ruby', 'verify-rc-wheels', 'test', 'verify-rc-jars', 'linux', 'cpp', 'nightly-release', 'verify-rc-binaries', 'verify-rc-source-linux', 'vcpkg', 'conda', 'verify-rc-source-macos', 'fuzz', 'nightly', 'homebrew', 'python', 'verify-rc-source', 'nightly-tests', 'nightly-packaging'}
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/10054843645

@vibhatha

Copy link
Copy Markdown
Contributor

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 69869b7

Submitted crossbow builds: ursacomputing/crossbow @ actions-583b8dab7d

Task Status
java-jars GitHub Actions
test-conda-python-3.10-spark-v3.5.0 GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
test-conda-python-3.8-spark-v3.5.0 GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-java-macos-amd64 GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants