-
Notifications
You must be signed in to change notification settings - Fork 75
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
Does not support the Apple M1 arm64 platform #347
Comments
Thanks for reporting , @zenyui ! Can you provide the exact docker images and tags you tested with so we can reproduce ? The linux and alpine binaries are not interchangeable . |
ping @zenyui |
elaborating on my issue, here are steps to reproduce on both reproduce on debian:latest # start container
docker run -it debian bash
# inside of that container shell**
# install curl
apt-get update
apt-get install -y curl
# try to install codecov uploader
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
# run codecov
./codecov -t ${CODECOV_TOKEN} This outputs: /lib64/ld-linux-x86-64.so.2: No such file or directory reproduce on alpine:latest # boot shell
docker run -it alpine:latest sh
# then, inside of that container's shell
# install curl
apk add curl
# install codecov
curl -Os https://uploader.codecov.io/latest/alpine/codecov
chmod +x codecov
# run
./codecov -t ${CODECOV_TOKEN} this outputs: /lib/ld-musl-x86_64.so.1: No such file or directory |
Ugg. Wonder when that broke.
That's supposed to be static, hence the error. 👀 |
@zenyui I have been unable to reproduce this error, following your exact instructions. If you pin to a tag, do you get the same error? |
@drazisil-codecov I'll test with a specific tag. Perhaps worth noting - I'm on an M1 MacBook |
Highly worth noting. I don't think we have any way to build for M1. Do any CI providers support that arch yet? 👀 |
GitHub Actions: No - actions/runner-images#2187 |
@zenyui You are running the alpine and linux binaries on a M1? Does the MacOS binary work, at least? |
@drazisil-codecov to be clear - I'm running the commands inside docker containers on an M1 host, not directly on the host. FWIW, I encountered this issue trying to configure your new uploader to run from inside a docker container, as that's how I prefer to configure my CI (so I can test on my machine ahead of submitting to the CI). I'm unblocked for now as I am running your uploader directly on the github actions host, but it would be great to figure out what's going on here. |
@drazisil-codecov np, I've also encountered a few funny issues with the M1 at our company (we're a golang shop, and sometimes dependencies reach out to system c libraries, etc). I'm curious - what is your uploader doing that is platform specific? isn't it written in js? |
We are hard-coding node in, so it's a standalone static binary that should run anywhere, without the need to install node or other dependencies. |
A year later and hitting this issue while trying to get going with Codecov. Our self-hosted GH Actions runners run on arm64 (AWS graviton, not Apple Silicon) and x64 and produce a multi-arch manifest on Docker Hub. I'd like to be able to run Codecov to report on coverage in both images. Is arm64 support for the uploader still on the roadmap? |
There is also #523 and no news for months. Although Apple M1 has been launched 2.5 years ago. |
Thanks to years-no-activity: codecov/uploader#347 (comment)
Thanks to years-no-activity: codecov/uploader#347 (comment)
Thanks to years-no-activity: codecov/uploader#347 (comment)
Thanks to years-no-activity: codecov/uploader#347 (comment)
Thanks to years-no-activity: codecov/uploader#347 (comment)
Not yet supported on CircleCI, but coming soon https://circleci.canny.io/cloud-feature-requests/p/support-new-m1-arm-based-macs |
Thanks to years-no-activity: codecov/uploader#347 (comment)
Thanks to years-no-activity: codecov/uploader#347 (comment)
We released an |
@thomasrockhu-codecov Hi. I think As for now, CircleCI (which is your CI provider as well) conducts multiple brownouts of Intel macOS runners, which makes it impossible to natively run codecov on mac (other than building from source?) A workaround will be to run it with Rosetta softwareupdate --install-rosetta --agree-to-license
arch -x86_64 ./codecov I believe this issue must be re-opened. Related: codecov/feedback#51 |
Any updates here? |
Going to handle this issue here codecov/feedback#141 |
We have now moved our entire prod infra and github actions runners to Graviton 3, and this is a blocker for us using Codecov. |
Describe the bug
I followed the instructions for uploading from linux, and it seems the linux (and alpine) binaries are referencing a dependency that's missing in most common linux images. I understand that this could be a problem with my images, but I imagine you want to either fix the binary or provide instructions given this fails for Debian, Ubuntu, and Alpine.
To Reproduce
Boot a debian container running bash:
Then, inside of that shell:
You will get the error:
Expected behavior
I expect to run the codecov cli and see the help text
Screenshots
n/a
Additional context
I tried this on latest debian and
stretch
as well as Ubuntu and Alpine.The text was updated successfully, but these errors were encountered: