Error processing coverage reports for SimpleCov results

So I’m new to CodeCov and probably making a simple mistake, but I cannot get the results file to process.

I’m coming from CircleCI and the results are being produced from the SimpleCov gem.

Circle CI passes and the uploader looks to be working ok, using the Codecov Orb:

 _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20200917-4e8f14b


==> Circle CI detected.
    project root: .
    Yaml found at: .codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + coverage/.resultset.json bytes=104736
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=master&commit=5ebd4e4fa547a3129528ea634b4b8fcce1ee67dc&build=30&build_url=&name=30&tag=&slug=CodeMeister%2Factiverecord_state_machine&service=circleci&flags=&pr=&job=0&cmd_args=f,t,n,F,Z
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=master&commit=5ebd4e4fa547a3129528ea634b4b8fcce1ee67dc&build=30&build_url=&name=30&tag=&slug=CodeMeister%2Factiverecord_state_machine&service=circleci&flags=&pr=&job=0&cmd_args=f,t,n,F,Z
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-09-24/21457504B573EDB91E65D986EE18A674/5ebd4e4fa547a3129528ea634b4b8fcce1ee67dc/18be69fe-2bb7-488e-ac1a-f4a8c36c2211.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200924%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200924T085003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e8d3f39f179ce473696f1a652dfd7116d0250dc24f760d69cb9b2c5394833ce
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5870    0     0  100  5870      0  19253 --:--:-- --:--:-- --:--:-- 19245
    -> View reports at https://codecov.io/github/CodeMeister/activerecord_state_machine/commit/5ebd4e4fa547a3129528ea634b4b8fcce1ee67dc

But I cannot get beyond There was an error processing coverage reports. with an empty list in the Please review the following uploads for clues:.

I’ve checked the results file on circleci and it looks as expected.

Tried uploading from circleci ssh using the bash script, and that worked too.

Any ideas what I can try next?

The latest report is:
https://codecov.io/github/CodeMeister/activerecord_state_machine/commit/5ebd4e4fa547a3129528ea634b4b8fcce1ee67dc

@CodeMeister is this a private repository? https://github.com/CodeMeister/activerecord_state_machine doesn’t seem to exist as a public repo.

AH, yes it is. Do you need access?

Actually, the SimpleCov results are generated by circleci and not in the repo.

Hi @CodeMeister, it looks like you are getting coverage now switching to the Codecov ruby gem, is this accurate?

@tom

Yes. I stopped using the ‘orb’ and used the Codecov gem instead - worked first time :slight_smile:

1 Like