Coverage Reports uploaded, CI Passed, but Codecov site reporting "Error Processing"

Description

Very new Codecov user here. Set up Codecov App with GitHub, using GitHub actions to run a coverage report via pytest, following the guidelines for the recommended GitHub Action. Everything on the GitHub side seems fine. The report makes it to Codecov, looks like Codecov reads it. It produces a report for that commit, and it shows the “CI Passed” item for that commit. However, when I go to the overview, I see the ambiguous error message: “Coverage is either being processed, there has been no coverage report uploaded, or there was an error processing.” See screenshot:

As far as I can tell, it isn’t still “being processed,” and there has been a “coverage report uploaded” so this must mean there has been “an error processing” but I’m not given enough information to figure out what exactly the error is, nor how to remedy it.

Commit SHAs

Link to Codecov commit:

Repository

CI/CD or Build URL

Uploader

GitHub Actions, GitHub - codecov/codecov-action: GitHub Action that uploads coverage to Codecov

Codecov Output

Run codecov/codecov-action@v1
/usr/bin/bash codecov.sh -n  -F  -Q github-action -Z

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-1.0.2


==> git version 2.31.1 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
    Env vars used:
      -> GITHUB_ACTIONS:    true
      -> GITHUB_HEAD_REF:   
      -> GITHUB_REF:        refs/heads/main
      -> GITHUB_REPOSITORY: planetarypy/pvl
      -> GITHUB_RUN_ID:     837902165
      -> GITHUB_SHA:        8f35e6ae9f187bbc7e329d2cdab2e5b268164e74
      -> GITHUB_WORKFLOW:   Code Coverage
    project root: .
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
==> Running gcov in . (disable via -X gcov)
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./coverage.xml bytes=142717
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    -> No adjustments found
==> Gzipping contents
        12K	/tmp/codecov.zrNQtz.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=main&commit=8f35e6ae9f187bbc7e329d2cdab2e5b268164e74&build=837902165&build_url=http%3A%2F%2Fgithub.com%2Fplanetarypy%2Fpvl%2Factions%2Fruns%2F837902165&name=&tag=&slug=planetarypy%2Fpvl&service=github-actions&flags=&pr=&job=Code%20Coverage&cmd_args=n,F,Q,Z
->  Pinging Codecov
https://codecov.io/upload/v4?package=github-action-1.0.2&token=secret&branch=main&commit=8f35e6ae9f187bbc7e329d2cdab2e5b268164e74&build=837902165&build_url=http%3A%2F%2Fgithub.com%2Fplanetarypy%2Fpvl%2Factions%2Fruns%2F837902165&name=&tag=&slug=planetarypy%2Fpvl&service=github-actions&flags=&pr=&job=Code%20Coverage&cmd_args=n,F,Q,Z
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2021-05-13/48910132F5E97BE02F20390E6AC082B0/8f35e6ae9f187bbc7e329d2cdab2e5b268164e74/3a2e942e-c40c-414d-b1e6-0f6a7a148149.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T053727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3610e156b26dca113264b43b85bd8e2b6d3afc0d2f91fe1a1b1b6eead685337
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  9416    0     0  100  9416      0  60748 --:--:-- --:--:-- --:--:-- 60748
    -> Reports have been successfully queued for processing at https://codecov.io/github/planetarypy/pvl/commit/8f35e6ae9f187bbc7e329d2cdab2e5b268164e74```

@rbeyer, the commits on this repo are on main, but your default branch is master. You can change that in the settings page

Magic! That was it.

I’ll note that “main” is the name of the default branch as far as GitHub is concerned, so I’m not sure how “master” got set in Codecov. Maybe Codecov is assuming a default, when it really should be asking GitHub?

Thanks!

@rbeyer it could have previously just been in a strange state. I believe we do have main as the default now.