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

Unknown system error on macos-13 runner #1549

Closed
viirya opened this issue Aug 17, 2024 · 12 comments
Closed

Unknown system error on macos-13 runner #1549

viirya opened this issue Aug 17, 2024 · 12 comments
Assignees

Comments

@viirya
Copy link

viirya commented Aug 17, 2024

Hi,

We have GitHub Actions CI pipelines on both macos-14 and macos-13 runners. But on macos-13 runner, we saw the following error:

Run codecov/codecov-action@v3
  with:
  env:
    RUST_VERSION: stable
    DYLD_LIBRARY_PATH: /usr/local/opt/openssl@3/lib:
    JAVA_HOME: /Users/runner/hostedtoolcache/Java_Zulu_jdk/17.0.12-7/x64
    JAVA_HOME_17_X64: /Users/runner/hostedtoolcache/Java_Zulu_jdk/17.0.12-7/x64
==> macos OS detected
https://uploader.codecov.io/latest/macos/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (75086ee436f6f74c4e8f65448eaa399e38bc93bb27a53d057b24b275b9f78c89  codecov)
==> Running version latest
==> Running version v0.8.0
/Users/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n  -Q github-action-3.1.6
Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:761:9)
    at ToolRunner.<anonymous> (/Users/runner/work/_actions/codecov/codecov-action/v3/webpack:/codecov-action/node_modules/@actions/exec/lib/toolrunner.js:413:1)

It looks like the architecture doesn't match. According to the docs, codecov-action supports macos, I'm wondering if it supports both 13 and 14 runners?

@zhongjiajie
Copy link

same here in apache/dolphinscheduler-sdk-python#150

@corhere
Copy link

corhere commented Sep 4, 2024

(System error -86 is -EBADARCH -- Bad CPU type in executable.)

It can be worked around by configuring the action to use v0.7.3 of the uploader, which was built for Intel macs.

with:
  version: v0.7.3

mhostetter added a commit to mhostetter/galois that referenced this issue Sep 5, 2024
mhostetter added a commit to mhostetter/galois that referenced this issue Sep 5, 2024
un-def added a commit to un-def/hererocks that referenced this issue Oct 14, 2024
un-def added a commit to luarocks/hererocks that referenced this issue Oct 14, 2024
@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Dec 2, 2024
@thomasrockhu-codecov
Copy link
Contributor

@viirya @zhongjiajie @corhere I realize it's been quite a long time on this issue. Are you experiencing this problem on v5?

@viirya
Copy link
Author

viirya commented Jan 15, 2025

We use tokenless uploading so currently we use v3. Does v5 support tokenless uploading?

@thomasrockhu-codecov
Copy link
Contributor

@viirya, tokens are always required for private repos

  1. Without forks, tokenless is only supported as an org-level setting for public repositories
  2. With forks, tokenless should be supported fully
  3. If (1) is not an option, I recommend using OIDC instead of a token, super easy to set up

@thomasrockhu-codecov
Copy link
Contributor

@viirya just wanted to message back and see if I can help here

@thomasrockhu-codecov
Copy link
Contributor

@viirya closing this out, if this is still a problem, please let me know

@viirya
Copy link
Author

viirya commented Jan 22, 2025

@viirya, tokens are always required for private repos

1. Without forks, tokenless is only supported as an org-level setting for public repositories
2. With forks, tokenless should be supported fully

Do you mean that if our repo allows contributors to fork and make PRs, it must have tokenless support (we currently use it)?

Our repo (https://github.com/apache/datafusion-comet) is an open source Apache project, so it is definitely not a private repo.

3. If (1) is not an option, I recommend using OIDC instead of a token, super easy to set up

So you mean to upgrade to v5 (no tokenless support), we must use OIDC?

@thomasrockhu-codecov
Copy link
Contributor

thomasrockhu-codecov commented Jan 24, 2025

Do you mean that if our repo allows contributors to fork and make PRs, it must have tokenless support (we currently use it)?

This should work as expected

Our repo (https://github.com/apache/datafusion-comet) is an open source Apache project, so it is definitely not a private repo.

Then no worries on that!

So you mean to upgrade to v5 (no tokenless support), we must use OIDC?

To be clear, v5 has tokenless support for forks. I mention OIDC because it seems that our users come across less issues and it's fairly easy to set up (adding permissions in the GitHub workflow and adding use_oidc: true as a Codecov argument)

@viirya
Copy link
Author

viirya commented Jan 24, 2025

Let me try to upgrade to v5 and see if tokenless is back on macos-13 runner. We can look at OIDC later.

@viirya
Copy link
Author

viirya commented Jan 25, 2025

v5 works with macos-13 runner without this issue.

@viirya
Copy link
Author

viirya commented Jan 25, 2025

Thank you @thomasrockhu-codecov

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

No branches or pull requests

4 participants