SonarQube Coverage Report Issue

Environment Information:

  • SonarQube Community Edition Version 8.9.11 (build 20241224)

  • Deployment: Docker

Problem Description:

I’ve generated generic test coverage data, and the logs show that sonar-scanner appears to have parsed it successfully. However, the coverage data consistently displays as 0% in the SonarQube web interface. This issue appears in both the Activity panel and the Measures → Coverage panel.

Log Information:

19:41:26.998 DEBUG: Sensors : Generic Coverage Report -> Zero Coverage Sensor
19:41:26.999 INFO: Sensor Generic Coverage Report
19:41:26.999 INFO: Parsing /builds/5vgXp7Ws/0/xxx/xxx/xxx/xxx/project/coverage/coverage-sonar.xml
19:41:27.042 INFO: Imported coverage data for 107 files
19:41:27.042 INFO: Sensor Generic Coverage Report (done) | time=43ms
19:41:27.042 INFO: Sensor Zero Coverage Sensor
19:41:27.043 INFO: Sensor Zero Coverage Sensor (done) | time=1ms

Hi,

Welcome to the community!

Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.

Your upgrade path is:

8.9 → 9.9.8 → -> 24.12 → 25.3

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.