Commits upload successfully but not appearing in Commits or Coverage tabs

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.

Description

Running the uploader with Circle-CI, it reports a success URL. Following the link from the uploader shows a commit that gets processed and generates a report as expected, but the Commit and Coverage pages never get populated. The empty Coverage page has a message “There was a problem getting repo contents from your provider.”

CI/CD URL

Link to the CI/CD run.

Codecov Output

[2023-02-15T19:53:39.986Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.3.2
[2023-02-15T19:53:39.991Z] ['info'] => Project root located at: /home/circleci/spring5-mongo-recipe-app
[2023-02-15T19:53:39.993Z] ['info'] -> No token specified or token is empty
[2023-02-15T19:53:39.998Z] ['info'] Searching for coverage files...
[2023-02-15T19:53:40.052Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-02-15T19:53:40.052Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2023-02-15T19:53:40.052Z] ['info'] => Found 1 possible coverage files:
  target/site/jacoco/jacoco.xml
[2023-02-15T19:53:40.052Z] ['info'] Processing /home/circleci/spring5-mongo-recipe-app/target/site/jacoco/jacoco.xml...
[2023-02-15T19:53:40.057Z] ['info'] Detected CircleCI as the CI provider.
[2023-02-15T19:53:40.058Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=codecov-circleci-orb-3.2.4-uploader-0.3.2&token=*******&branch=master&build=3&build_url=https%3A%2F%2Fcircleci.com%2Fgh%2Fcjamesanderson%2Fspring5-mongo-recipe-app%2F3&commit=60e3ada0fe9bb3bc67ba4ae4a9c36a131776a34f&job=0&pr=&service=circleci&slug=cjamesanderson%2Fspring5-mongo-recipe-app&name=%24%7BCIRCLE_BUILD_NUM%7D&tag=&flags=&parent=
[2023-02-15T19:53:40.787Z] ['info'] https://app.codecov.io/github/cjamesanderson/spring5-mongo-recipe-app/commit/60e3ada0fe9bb3bc67ba4ae4a9c36a131776a34f
https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4DFEC1165B81DEA1C52580180969AB25/60e3ada0fe9bb3bc67ba4ae4a9c36a131776a34f/11161e53-8805-4a77-a3f0-bd842b5d633e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T195340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06c9c79b56bc5af9f35497d8c432e299563ca3336feb5e81a994504e0ce665a6
[2023-02-15T19:53:40.788Z] ['info'] Uploading...
[2023-02-15T19:53:40.985Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/cjamesanderson/spring5-mongo-recipe-app/commit/60e3ada0fe9bb3bc67ba4ae4a9c36a131776a34f"}

CircleCI received exit code 0

Expected Results

Commits should be listed on the Commits page and a coverage report should appear on the coverage page.

Actual Results

The Coverage page reports “There was a problem getting repo contents from your provider” and the Commits page remains empty even though commit success URLs work and generate reports.

Additional Information

Multiple commits have been uploaded and processed but fail to appear on the Coverage or Commits page of the repo: 1 2 3.

@canderson looks like this is a weird state of your repo. The default branch is main as denoted here, but it should be master. Changing that should fix your problem.

That was it. Thank you!

1 Like