Github status check "No coverage information found on head", and PR comment missing

Please check the troubleshooting guide before creating a ticket.
All fields below are required.


Code coverage reports are being uploaded correctly to codecove, the website shows what seems to be correct data/reports, BUT the github status check state “No coverage information found on head” and the PR comment isn’t being added.

What is most bizarre is that doing identical changes to a fork of the project performs as-expected, with PR comments being added promptly etc.

As suggested elsewhere, I have removed the codecov app and then re-added it but this has been without success.

Commit SHAs



CI/CD or Build URL

Github Actions – Fix surefire configuration to allow jacoco to run correctly on JSS tests by MysterAitch · Pull Request #3208 · javaparser/javaparser · GitHub


Github Action

Codecov Output

Note that this is one of many uploads within the build matrix (27 in total:: JDK8-16 on ubuntu/mac/windows).

Run codecov/codecov-action@v1
    file: javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml
    fail_ci_if_error: false
    verbose: false
    flags: javaparser-symbol-solver,AlsoSlowTests,ubuntu-latest,jdk-8
    env_vars: OS,JDK
    OS: ubuntu-latest
    JDK: 8
    JAVA_HOME_8.0.282_x64: /opt/hostedtoolcache/jdk/8.0.282/x64
    JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.282/x64
    JAVA_HOME_8_0_282_X64: /opt/hostedtoolcache/jdk/8.0.282/x64
/usr/bin/bash -n  -F javaparser-symbol-solver,AlsoSlowTests,ubuntu-latest,jdk-8 -Q github-action -e OS,JDK -f javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml -C e9372bef21515cf89a3b710c39b3b6eca720f0d1

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

==> git version 2.31.0 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:   re_enable_jacoco_on_jss
      -> GITHUB_REF:        refs/pull/3208/merge
      -> GITHUB_REPOSITORY: javaparser/javaparser
      -> GITHUB_RUN_ID:     692910328
      -> GITHUB_SHA:        f2864337d7f496c8a6d4460d8e35f9086dbfe196
      -> GITHUB_WORKFLOW:   Build and test (using maven)
    project root: .
    Yaml found at: codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + OS
    + JDK
==> Reading reports
    + javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml bytes=5518572
==> Appending adjustments
    -> No adjustments found
==> Gzipping contents
        340K	/tmp/codecov.H5FrLF.gz
==> Uploading reports
    query: branch=re_enable_jacoco_on_jss&commit=e9372bef21515cf89a3b710c39b3b6eca720f0d1&build=692910328&,AlsoSlowTests,ubuntu-latest,jdk-8&pr=3208&job=Build%20and%20test%20%28using%20maven%29&cmd_args=n,F,Q,e,f,C
->  Pinging Codecov,AlsoSlowTests,ubuntu-latest,jdk-8&pr=3208&job=Build%20and%20test%20%28using%20maven%29&cmd_args=n,F,Q,e,f,C
->  Uploading to
  % 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  338k    0     0  100  338k      0  1685k --:--:-- --:--:-- --:--:-- 1685k
    -> Reports have been successfully queued for processing at

Expected Results

Github status checks to report coverage, and a PR comment to be posted.

Here are screenshots of a working example from an arbitrarily “old” PR (about two weeks ago):

Edit: New users aren’t able to include multiple screenshots. Here is a link: Fixed name resolution in casted lambda expressions by maartenc · Pull Request #3165 · javaparser/javaparser · GitHub

Actual Results

No PR comment being added. At the time of writing this, PR 3208 (linked to below) status checks completed over half an hour ago and I can see all uploads in the “build” tab – screenshots included within the PR.

“No coverage information on head” on the status check


Additional Information

Context: The JavaParser project has two parts – “core” and “symbol solver”.

It was noted recently that code coverage for the symbol solver section isn’t being reported – investigating this, it seems that it is a surefire error on our part (argline being overwritten).

Fixing this introduces a new problem of the PR comments not being shown, and the status checks reporting “No coverage information found on head”.

I am now (reasonably) confident that coverage reports are being produced correctly but the