codecov / codecov-circleci-orb

MIT License
20 stars 42 forks source link

Uploader exit code 92 #210

Open timoffex opened 1 week ago

timoffex commented 1 week ago

My codecov/upload step from codecov/codecov@5.0.0 failed with the following message:

     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.0.17

==> Detected linux
 -> Downloading https://cli.codecov.io/latest/linux/codecov

Exited with code exit status 92

There is no more information. It only failed for one of many parallel runs, so I expect it'll work after rerunning (which unfortunately means rerunning the tests as well). Could the error message be made more clear / could the command be made more robust? Thank you!

quantizor commented 1 week ago

I'm seeing a little bit more (also using the new 5.0.0 orb):

     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.0.17

==> Detected linux
 -> Downloading https://cli.codecov.io/latest/linux/codecov
==> Finishing downloading linux:latest

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3187  100  3187    0     0  26719      0 --:--:-- --:--:-- --:--:-- 26558
gpg: directory '/home/circleci/.gnupg' created
gpg: keybox '/home/circleci/.gnupg/pubring.kbx' created
gpg: /home/circleci/.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
==> Verifying GPG signature integrity
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig

gpg: Signature made Fri 18 Oct 2024 09:02:53 AM PDT
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
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: 2703 4E7F DB85 0E0B BC2C  62FF 806B B28A ED77 9869
codecov: OK
==> CLI integrity verified
environment: line 4: $1: unbound variable

Exited with code exit status 1

Private repo so I can't share the job, sorry. Here's the relevant step:

- codecov/upload:
          files: /tmp/circleci-artifacts/*/coverage/coverage.json
          when: always

cc @thomasrockhu-codecov

thomasrockhu-codecov commented 1 week ago

on it, thanks @timoffex @quantizor

thomasrockhu-codecov commented 1 week ago

@timoffex how are you running the orb (i.e. what arguments are you using?)

timoffex commented 1 week ago

@timoffex how are you running the orb (i.e. what arguments are you using?)

It's always like this:

- codecov/upload: { flags: <<parameters.codecov_flags>> }

https://github.com/wandb/wandb/blob/09415ee47ab5add8f30941851ab9d1bc63091368/.circleci/config.yml#L113