"Error Processing Reports" error for a simple example project (that has worked in the past)


I teach an introductory Software Development Methods & Tools course. I have a trivial java project in a that I have also used in past semesters (simple java project w/ github, travis, and codecov). However, it is not working this semester and I have so far been unable to resolve it.

It looks as if everything runs fine and uploads in the build log.

However, then the error, “There was an error processing coverage reports” shows up.

Thanks in advance to any tips/guidance that anyone may have.

Commit SHAs



A link to the repository in question

CI/CD or Build URL



Bash uploader being used follow (with token even though it is not needed)
$ bash <(curl -s https://codecov.io/bash) -t 6de8decf-bf7d-414d-b5a6-f5375e974d2f

Codecov Output

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

==> git version 2.27.0 found
==> curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets 
==> Travis CI detected.
    project root: .
    Yaml found at: codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + oraclejdk11
==> Reading reports
    + ./build/reports/jacoco/report.xml bytes=275
==> Appending adjustments
    -> No adjustments found
==> Gzipping contents
        4.0K	/tmp/codecov.ztn4fw.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=fix_blue_duck_quack&commit=0a595c9654432db7d2b0ddbe9ab460416a8606ad&build=81.1&build_url=&name=&tag=&slug=CS3250%2Fducksim&service=travis&flags=&pr=19&job=494364104&cmd_args=t
->  Pinging Codecov
->  Uploading to
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   432    0     0  100   432      0   2343 --:--:-- --:--:-- --:--:--  2347
    -> Reports have been successfully queued for processing at https://codecov.io/github/CS3250/ducksim/commit/0a595c9654432db7d2b0ddbe9ab460416a8606ad
Done. Your build exited with 0.

Expected Results

Report should be available/visible on codecov.io. The local version of the report is shown here:

Actual Results

The error, “There was an error processing coverage reports” appears on codecov.io when clicking on the URL from the build log.

@sgeinitz, looking at the raw report uploaded to Codecov

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.1//EN" "report.dtd"><report name="ducksim"><sessioninfo id="travis-job-6a57798a-62fb-4254-8636-acf323733871-1385bae2" start="1616976403398" dump="1616976405070"/></report><<<<<< EOF

is the entire file. We see this as an empty file, as there is no information to parse here. I would guess there is an issue with the way those tools are pulling coverage.

Thank you for the quick reply. It seems that jacoco was creating html reports but not the necessary xml reports. This seems to be a somewhat common problem with jacoco.

I was able to resolve it by modifying the build configuration file slightly.

1 Like