Coverage uploaded from Gitlab MR still processing after 16 hours, "missing head commit", "no report uploaded"

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.


After happily resolving this similar issue on my repo, I tried to make another branch and MR.

With a single extra commit on it (a refactor that doesn’t change coverage, except perhaps slightly due to formatting), all CI jobs pass, including the coverage upload to Codecov. However:


Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

$ ./codecov -R $CI_PROJECT_DIR
[2023-02-19T08:13:21.791Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
  Codecov report uploader 0.3.5
[2023-02-19T08:13:21.793Z] ['info'] => Project root located at: /builds/rust-test-binary/test-binary
[2023-02-19T08:13:21.794Z] ['info'] ->  Token found by environment variables
[2023-02-19T08:13:21.820Z] ['info'] Searching for coverage files...
[2023-02-19T08:13:21.948Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-02-19T08:13:21.948Z] ['info'] If Codecov did not locate your files, please review
[2023-02-19T08:13:21.948Z] ['info'] => Found 1 possible coverage files:
[2023-02-19T08:13:21.949Z] ['info'] Processing /builds/rust-test-binary/test-binary/cobertura.xml...
[2023-02-19T08:13:21.978Z] ['info'] Detected GitLab CI as the CI provider.
[2023-02-19T08:13:21.981Z] ['info'] Pinging Codecov:*******&branch=improve-coverage&build=3796597854&build_url=&commit=dad06fe961c29f6c87390de03123ccf0d9445bfb&job=&pr=&service=gitlab&slug=rust-test-binary%2Ftest-binary&name=&tag=&flags=&parent=
[2023-02-19T08:13:22.255Z] ['info']
[2023-02-19T08:13:22.256Z] ['info'] Uploading...
[2023-02-19T08:13:22.450Z] ['info'] {"status":"success","resultURL":""}

Expected Results

I’d expect to see the coverage results at some point. I mean, I get that you might not give priority to personal projects on a free tier, so I figured I’d give it a day or so. But it also looks a bit like it’s stuck somehow…? (Also it’s not a big or complex project.)

Actual Results

Results are still processing after about 18 hours.

Thanks @detly, I think there may be a problem with the fix we made previously. It’s a US holiday today, I’ll get back to you later this week after I get a chance to sync with the product team.

@detly no answers yet, thanks for your patience. I suspect this has to do with our connection with GitLab. I’ll let you know if I have more answers.

I don’t mind leaving it alone for a bit, if it’d help. Otherwise let me know if you want me to do something like rerun the CI job.

I pushed another commit which seems to have kickstarted Codecov’s machinery again, and the Team Bot is working still, so :man_shrugging:

1 Like