Reports are uploaded but not received

Description

I’m working on a PR to move from Travis to Github. I am almost done, one of the remaining issues is that coverage has decreased. I noticed that reports for jobs that were previously received are no longer received: that’s the case for instance for " Continuous Integration / PHPUnit on OCI8" and " Continuous Integration / PHPUnit on PDO_OCI (7.4)"

Repository

CI/CD

Github

Uploader

I am using the Codecov action

Commit SHAs

67cbfdc0ad6e1ae175da205f6d352c5b62611b99

Codecov YAML

comment: false
coverage:
  status:
    project:
      default:
        informational: true
    patch:
      default:
        informational: true

Codecov Output

bash codecov.sh -n  -F phpunit-oci8,php-7.4

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201009-048fee3


==> GitHub Actions detected.
    project root: .
    Fixing merge commit SHA
    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=923095
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=travis-to-gh&commit=67cbfdc0ad6e1ae175da205f6d352c5b62611b99&build=302988154&build_url=http%3A%2F%2Fgithub.com%2Fdoctrine%2Fdbal%2Factions%2Fruns%2F302988154&name=&tag=&slug=doctrine%2Fdbal&service=github-actions&flags=phpunit-oci8,php-7.4&pr=4310&job=&cmd_args=n,F
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=travis-to-gh&commit=67cbfdc0ad6e1ae175da205f6d352c5b62611b99&build=302988154&build_url=http%3A%2F%2Fgithub.com%2Fdoctrine%2Fdbal%2Factions%2Fruns%2F302988154&name=&tag=&slug=doctrine%2Fdbal&service=github-actions&flags=phpunit-oci8,php-7.4&pr=4310&job=&cmd_args=n,F
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-10-12/08D93337797922BBA4BC74202C117709/67cbfdc0ad6e1ae175da205f6d352c5b62611b99/e5f3b2ee-dc27-4c77-8220-a5d71689a278.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201012T214036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f272a141523ddefc1fb28f1946aa2a0a19003c4e205910e531c8ba19e894163
  % 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 98746    0     0  100 98746      0   379k --:--:-- --:--:-- --:--:--  378k
100 98746    0     0  100 98746      0   378k --:--:-- --:--:-- --:--:--  378k
    -> View reports at https://codecov.io/github/doctrine/dbal/commit/67cbfdc0ad6e1ae175da205f6d352c5b62611b99

Steps to Reproduce

  1. Clone my fork
  2. Open PR from my branch

Expected behavior: reports for Oracle should appear under the Build tab

Actual behavior: They don’t and Oracle-related classes are marked as uncovered

Flakiness? It happens all the time, but gets resolved if I remove the other jobs I added in the PR

Additional Information

The UI seems stuck on "Reports are queued for processing… Please review report with caution, it may change. "

The commits tab shows many commits as processing.

Hi @greg0ire, I’m not sure yet about the processing part, but I’m a little confused. Which builds are you expecting in this commit that aren’t shown here?

Also, is there a particular file/line that you are expecting different coverage on? I think it’ll make it more easy to either explain what’s happening or find a bug.

Thanks for your answer! I’m missing builds flagged with:

  • phpunit-oci8
  • phpunit-pdo-oci

I expect at least some coverage on Codecov (currently there is none). Thanks for your help!

Got it, hopefully last thing here, do you have a build URL to the build on GitHub actions that should have uploaded the report with those flags with that commit? Really appreciate it!

1 Like

Sure!

1 Like

Hi @greg0ire, looks like this is an issue on our side. It’s going to take some time to investigate and get a fix in. The main issue is that the repository is hitting a limit in number of uploads, so I would suggest, in the meantime if it’s possible, to add a step that uploads a few of the coverage reports to Codecov as a single step.

Thanks for your answer, I will try to do something with Workflow syntax for GitHub Actions - GitHub Docs, a feature I do not know yet, but which looks like it could help me with this.

EDIT: actually I can’t see how this will work with matrixes, so I think I will resort to something else, like maybe GitHub - actions/upload-artifact

Of course @greg0ire, I’ll update this thread when I get more details, but let me know if upload-artifact works for you.

It did work for me, thanks!

1 Like