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.

Description

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:

CI/CD URL

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 https://docs.codecov.com/docs/supported-report-formats
[2023-02-19T08:13:21.948Z] ['info'] => Found 1 possible coverage files:
  cobertura.xml
[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: https://codecov.io/upload/v4?package=uploader-0.3.5&token=*******&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'] https://app.codecov.io/gitlab/rust-test-binary/test-binary/commit/dad06fe961c29f6c87390de03123ccf0d9445bfb
https://storage.googleapis.com/codecov/v4/raw/2023-02-19/C75E7D4D5CDCF8CF6F5EFE2210F07108/dad06fe961c29f6c87390de03123ccf0d9445bfb/1480736c-fec8-4708-affb-35feab353885.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230219T081322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d750185d84e605cf134b0738c547c69ae6a10eb7ae24013b6853b10cc33af57
[2023-02-19T08:13:22.256Z] ['info'] Uploading...
[2023-02-19T08:13:22.450Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/gitlab/rust-test-binary/test-binary/commit/dad06fe961c29f6c87390de03123ccf0d9445bfb"}

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