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

ARM github runner is not working for codecov@v4.1.0 #1335

Open
slice-mrityunjoy opened this issue Mar 21, 2024 · 2 comments
Open

ARM github runner is not working for codecov@v4.1.0 #1335

slice-mrityunjoy opened this issue Mar 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@slice-mrityunjoy
Copy link

slice-mrityunjoy commented Mar 21, 2024

Description

I have tried to run codecov/codecov-action@v4.1.0 action using arm64 runner and got error while execution.

Test 1

Config

- name: Codecov Report
  uses: codecov/codecov-action@v4.1.0
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    url: ${{ vars.CODECOV_HOST_URL}}
    slug: ${{github.repository}}
    os: aarch64

Output

==> linux OS detected
https://cli.codecov.io/latest/linux/codecov.SHA256SUM
==> Running version latest
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 80########69: public key "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: Signature made Wed Feb 28 18:01:04 2024 UTC
gpg:                using RSA key 27#################69
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 270#######################9
==> Uploader SHASUM verified (5c8d8ce377f84c043d0ce41bebdc870ee6fb29c47791338899ddbe05bde97df0  codecov)
==> Running version v0.4.8
==> Running git config --global --add safe.directory /home/runner/_work/user-identity/user-identity
/usr/bin/git config --global --add safe.directory /home/runner/_work/user-identity/user-identity
==> Running command '/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov --enterprise-url https://app.codecov.sliceit.com create-commit'
/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov --enterprise-url https://app.codecov.sliceit.com create-commit --git-service github -C d8###############18 --slug Buddy-Git/user-identity
/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov: 1: Syntax error: "(" unexpected
Warning: Codecov: Failed to properly create commit: The process '/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov' failed with exit code 2

Test 2

Config

- name: Codecov Report
  uses: codecov/codecov-action@v4.1.0
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    url: ${{ vars.CODECOV_HOST_URL}}
    slug: ${{github.repository}}
    os: linux-arm64

Output

==> linux-arm64 OS provided
https://cli.codecov.io/latest/linux-arm64/codecov.SHA256SUM
==> Running version latest
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" imported
gpg: Total number processed: 1
gpg:               imported: 1

gpg: Signature made Wed Feb 28 18:01:11 2024 UTC
gpg:                using RSA key 270###################9869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 27###################69

==> Uploader SHASUM verified (382#################################0a6ff7  codecov)
==> Running version v0.4.8
==> Running git config --global --add safe.directory /home/runner/_work/user-identity/user-identity
/usr/bin/git config --global --add safe.directory /home/runner/_work/user-identity/user-identity
==> Running command '/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov --enterprise-url https://app.codecov.sliceit.com create-commit'
/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov --enterprise-url https://app.codecov.sliceit.com create-commit --git-service github -C 3a6c3b1bf3d5668a13e9b44963eb69526b5b087d --slug Buddy-Git/user-identity
Traceback (most recent call last):
  File "codecov_cli/main.py", line 16, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "codecov_cli/commands/staticanalysis.py", line 10, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "codecov_cli/services/staticanalysis/__init__.py", line 15, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "codecov_cli/services/staticanalysis/analyzers/__init__.py", line 2, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "codecov_cli/services/staticanalysis/analyzers/javascript_es6/__init__.py", line 5, in <module>
ImportError: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /tmp/_MEIsfxgSf/libstdc++.so.6)
[21863] Failed to execute script 'main' due to unhandled exception!
Warning: Codecov: Failed to properly create commit: The process '/home/runner/_work/_actions/codecov/codecov-action/v4.1.0/dist/codecov' failed with exit code 1
@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label Apr 23, 2024
@thomasrockhu-codecov
Copy link
Contributor

@slice-mrityunjoy, just curious, what OS are you running to help us debug?

@tania-pets
Copy link

Having the same issue on arm with Debian 12.

NAME="Debian GNU/Linux"
VERSION_ID="12"
==> Running command '/__w/_actions/codecov/codecov-action/v4/dist/codecov -v create-commit'
/__w/_actions/codecov/codecov-action/v4/dist/codecov -v create-commit --git-service github -Z
/__w/_actions/codecov/codecov-action/v4/dist/codecov: 1: Syntax error: ")" unexpected
Error: Codecov: Failed to properly create commit: The process '/__w/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 2

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

3 participants