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

arm64 architecture downloads the amd64 binary #184

Open
libert-xyz opened this issue Feb 13, 2024 · 4 comments
Open

arm64 architecture downloads the amd64 binary #184

libert-xyz opened this issue Feb 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@libert-xyz
Copy link

Running a job in circleCI arm64 arch fails as codecov/upload downloads the binary for amd64

Detected linux Downloading https://cli.codecov.io/la****/linux/codecov

Log:

./"codecov" create-commit -t <redacted> /bin/bash: line 40: ./codecov: cannot execute binary file: Exec format error

@rohan-at-sentry
Copy link

@trent-codecov can you take a look here?

@thomasrockhu-codecov
Copy link
Contributor

@libert-xyz can you share the container/image you are using to run on?

@Jhuighuy
Copy link

Jhuighuy commented May 3, 2024

Hi @thomasrockhu-codecov

Facing exactly the same issue. I am using my custom image.

I guess the problem is that the Orb never detects the CPU architecture, and always downloads amd64 executable: linux or alpine. The fix should be pretty easy.

@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label May 7, 2024
@libert-xyz
Copy link
Author

@libert-xyz can you share the container/image you are using to run on?

Hi @thomasrockhu-codecov

I'm using ubuntu:20.04 arm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants