Please search for similar issues before creating a ticket.
All fields below are required.
Description
Codecov stopped working after switching from bash uploader to codecov uploader. =
Commit SHAs
Take a look at PR:
Repository
CI/CD or Build URL
Uploader
codecov uploader, codecov -Z -v -t $CODECOV_TOKEN
Codecov Output
#!/bin/bash -eo pipefail
cp -R /tmp/coverage/coverage-*.json .
codecov -Z -v -t $CODECOV_TOKEN
[2021-09-16T23:48:03.632Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.1.0
[2021-09-16T23:48:03.638Z] ['info'] => Project root located at: /root/repo
[2021-09-16T23:48:03.639Z] ['info'] -> Token found by arguments
[2021-09-16T23:48:03.639Z] ['verbose'] Start of network processing...
[2021-09-16T23:48:03.639Z] ['verbose'] Searching for files in /root/repo
[2021-09-16T23:48:03.653Z] ['info'] Searching for coverage files...
[2021-09-16T23:48:03.666Z] ['info'] => Found 8 possible coverage files:
coverage-0.json
coverage-1.json
coverage-2.json
coverage-3.json
coverage-4.json
coverage-5.json
coverage-6.json
coverage-7.json
[2021-09-16T23:48:03.666Z] ['verbose'] End of network processing
[2021-09-16T23:48:03.666Z] ['info'] Processing /root/repo/coverage-0.json...
[2021-09-16T23:48:03.668Z] ['info'] Processing /root/repo/coverage-1.json...
[2021-09-16T23:48:03.669Z] ['info'] Processing /root/repo/coverage-2.json...
[2021-09-16T23:48:03.670Z] ['info'] Processing /root/repo/coverage-3.json...
[2021-09-16T23:48:03.671Z] ['info'] Processing /root/repo/coverage-4.json...
[2021-09-16T23:48:03.672Z] ['info'] Processing /root/repo/coverage-5.json...
[2021-09-16T23:48:03.673Z] ['info'] Processing /root/repo/coverage-6.json...
[2021-09-16T23:48:03.674Z] ['info'] Processing /root/repo/coverage-7.json...
[2021-09-16T23:48:03.738Z] ['info'] Detected CircleCI as the CI provider.
[2021-09-16T23:48:03.738Z] ['verbose'] -> Using the following env variables:
[2021-09-16T23:48:03.738Z] ['verbose'] CI: true
[2021-09-16T23:48:03.738Z] ['verbose'] CIRCLECI: true
[2021-09-16T23:48:03.739Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.0&token=*******&branch=ci-improvements&build=87052&build_url=&commit=e46eca7c62d43ee66c63c8127cbebee3efb8273d&job=0&pr=&service=circleci&slug=Synthetixio/synthetix&name=&tag=&flags=&parent=
[2021-09-16T23:48:03.739Z] ['verbose'] Passed token was 36 characters long
[2021-09-16T23:48:03.739Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.1.0&branch=ci-improvements&build=87052&build_url=&commit=e46eca7c62d43ee66c63c8127cbebee3efb8273d&job=0&pr=&service=circleci&slug=Synthetixio/synthetix&name=&tag=&flags=&parent=
Content-Type: 'text/plain'
Content-Encoding: 'gzip'
X-Reduced-Redundancy: 'false'
[2021-09-16T23:48:04.174Z] ['verbose'] Returned upload url: https://codecov.io/github/Synthetixio/synthetix/commit/e46eca7c62d43ee66c63c8127cbebee3efb8273d
https://storage.googleapis.com/codecov/v4/raw/2021-09-16/C8DF28B81F114D84FE06059897392E8D/e46eca7c62d43ee66c63c8127cbebee3efb8273d/8535bef5-0c5e-403b-8f31-b2045ca3d4e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210916%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210916T234804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68b481fbc8050fcbe42a1bc97d9a0944e08b92a0c267476d5d120b6d28c9cb97
[2021-09-16T23:48:04.174Z] ['verbose'] https://storage.googleapis.com/codecov/v4/raw/2021-09-16/C8DF28B81F114D84FE06059897392E8D/e46eca7c62d43ee66c63c8127cbebee3efb8273d/8535bef5-0c5e-403b-8f31-b2045ca3d4e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210916%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210916T234804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68b481fbc8050fcbe42a1bc97d9a0944e08b92a0c267476d5d120b6d28c9cb97
Content-Type: 'text/plain'
Content-Encoding: 'gzip'
[2021-09-16T23:48:04.174Z] ['info'] Uploading...
[2021-09-16T23:48:04.386Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/Synthetixio/synthetix/commit/e46eca7c62d43ee66c63c8127cbebee3efb8273d"}
CircleCI received exit code 0
Expected Results
- Status checks to exist inside PR
- Message to be sent to the PR
Actual Results
- Status checks are missing inside PR
- Message with coverage is not sent to the PR
Additional Information
Codecov stopped working after switching from bash uploader to codecov uploader (codecov uploader PR hasn’t been merged yet to develop, it’s on feature branch but codecov stopped working on the whole repository)