Code coverage is 0 after upgrading from 8.9.10 to 9.9.2

Make sure to tell us:

  • What version are you upgrading from? 8.9.10
  • What’s the issue you’re facing?

We have upgraded our version from 8.9.10 to 9.9.2 , Code coverage was working fine for our users before upgrading , now the code coverage is showing 0. Our user were using Java 11 version but still facing this issue.


Can you please check the attached console log and assist us.
console_log.txt (2.3 MB)

Hi ,

Can anyone please check this issue

Hi,

This analysis log is not from 9.9.2:

Analyzing on SonarQube server 8.9.10

 
Ann

Hi @ganncamp,

Please find the log from 9.9.2 version
debugLogs.txt (2.3 MB)

Hi,

The log shows your JaCoCo report being read:

13:44:51  08:14:51.151 INFO: Sensor JaCoCo XML Report Importer [jacoco]
13:44:51  08:14:51.156 INFO: Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
13:44:51  08:14:51.156 DEBUG: Reading report '/home/jenkins/workspace/alfresco/edms-nonprod/buildJobs/pearson-dms-unzip-develop-SNAPSHOT/target/site/jacoco/jacoco.xml'
13:44:51  08:14:51.376 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=225ms

Can you verify that your report actually shows >0% coverage?

 
Ann

Hi @ganncamp ,

Yes still the report shows >0% coverage

Hi,

I meant, can you open your JaCoCo report, look in side it and verify that JaCoCo reports >0% coverage?

 
Thx,
Ann