Codecov badge broke

Please check the troubleshooting guide before creating a ticket.
All fields below are required.

Description

Sometime around 6 months ago my Codecov badge broke and started displaying 0%. My coverage runs seem fine and still appear in the Codecov dashboard, so it appears that everything is running and generating fine. Just the badge has been stuck at 0% for ~6+ months.

Commit SHAs

Please include the commit SHA(s)

Repository

CI/CD or Build URL

Uploader

Python codecov==2.0.15

Codecov Output

$ codecov

284

285 _____ _

286 / ____| | |

287 | | ___ __| | ___ ___ _____ __

288 | | / _ \ / _ |/ _ / __/ _ \ \ / /

289 | || () | (| | __/ (| (_) \ V /

290 _____/ _|_|____/ _/

291 v2.0.15

292

293==> Detecting CI provider

294 Travis Detected

295==> Preparing upload

296==> Processing gcov (disable by -X gcov)

297 Executing gcov (find /home/travis/build/iamkubi/pydactyl -not -path ‘./bower_components/’ -not -path './node_modules/’ -not -path ‘./vendor/**’ -type f -name ‘*.gcno’ -exec gcov -pb {} +)

298==> Collecting reports

299 Generating coverage xml reports for Python

300 + /home/travis/build/iamkubi/pydactyl/coverage.xml bytes=30826

301==> Appending environment variables

302 + TRAVIS_OS_NAME

303 + TRAVIS_PYTHON_VERSION

304==> Uploading

305 .url https://codecov.io

306 .query commit=7923a599168202c7ff80da8adc706d29d9c1e031&branch=master&job=762049097&pr=false&service=travis&build=51.4&slug=iamkubi%2Fpydactyl&package=py2.0.15

307 Pinging Codecov…

308 Uploading to S3…

309Error: 400 Client Error: Bad Request for url: https://storage.googleapis.com/codecov/v4/raw/2021-03-09/13FB559AE196E4EF07527DE73A73FC15/7923a599168202c7ff80da8adc706d29d9c1e031/c2ef15d0-31c6-416f-846f-26a797c2730b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210309T013613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7977583fd4d5b081d5f8f05679cd66298cfd5f6e4c5f022d231645c0024283f7

310

311Tip: See an example python repo: GitHub - codecov/example-python: Python coverage example

312Support channels:

313 Email: hello@codecov.io

314 IRC: #codecov

315 Gitter: https://gitter.im/codecov/support

316 Twitter: @codecov

317

318

319Done. Your build exited with 0.

Expected Results

The badge shows the correct coverage metrics.

Actual Results

The badge (https://codecov.io/gh/iamkubi/pydactyl/branch/master/graph/badge.svg) shows 0%, while my Codecov dashboard (Codecov) correctly shows the coverage at 89%.

@iamkubi I’m actually seeing 74% now, is that correct?

Yep, fixed now, thanks.

1 Like