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

Coverage upload failure "Failed to properly create commit" #1554

Open
efenderbosch-atg opened this issue Aug 22, 2024 · 2 comments
Open

Coverage upload failure "Failed to properly create commit" #1554

efenderbosch-atg opened this issue Aug 22, 2024 · 2 comments

Comments

@efenderbosch-atg
Copy link

Run codecov/codecov-action@v4
  with:
    flags: service
  env:
    JAVA_HOME: /home/runner/_work/_tool/Java_Temurin-Hotspot_jdk/21.0.4-7.0.LTS/arm64
    JAVA_HOME_21_ARM64: /home/runner/_work/_tool/Java_Temurin-Hotspot_jdk/21.0.4-7.0.LTS/arm64
    AWS_DEFAULT_REGION: us-east-1
    AWS_REGION: us-east-1
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    CODECOV_TOKEN: ***
evenName: pull_request
baseRef: example:main | headRef: example:WBPR-1620
evenName: pull_request
baseRef: example:main | headRef: example:WBPR-1620
evenName: pull_request
baseRef: example:main | headRef: example:WBPR-1620
==> linux OS detected
https://cli.codecov.io/latest/linux/codecov.SHA256SUM
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) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: Signature made Fri Aug 16 23:23:14 2024 UTC
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" [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: 2703 4E7F DB85 0E0B BC2C  62FF 806B B28A ED77 9869
==> Uploader SHASUM verified (eb902009cb800fdefbce291c1357953f80e29382f43c7a98cce3b57d2b4d8cec  codecov)
==> Running version latest
==> Running version v0.7.4
==> Running git config --global --add safe.directory /home/runner/_work/example/example
/usr/bin/git config --global --add safe.directory /home/runner/_work/example/example
==> Running command '/home/runner/_work/_actions/codecov/codecov-action/v4/dist/codecov create-commit'
/home/runner/_work/_actions/codecov/codecov-action/v4/dist/codecov create-commit --git-service github -C 48fefbb8713de766eca21d52c2b3d2aff1cdc5ba
/home/runner/_work/_actions/codecov/codecov-action/v4/dist/codecov: 1: Syntax error: ")" unexpected
Warning: Codecov: Failed to properly create commit: The process '/home/runner/_work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 2

We've recently moved to building on arm64 and the timing of this failure seems to line up.

@efenderbosch-atg
Copy link
Author

I broke out the use of codecov/codecov-action to a new job that uses amd64 GHA runners and this went away. So this looks like a bug w/ arm64 compatibility.

@efenderbosch-atg
Copy link
Author

Looks like this is sort of a known issue: #1531

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

1 participant