Resource not found error affecting code coverage results

Hi Team,

We are getting resource not found error while running on new sonarqube 8.9.9 developer edition below is the error and affecting mismatch in code coverage results

sonarqube task says file not found error:

Task :sonarqube 
**18:09:59** CodeNarc completed: (p1=0; p2=0; p3=0) 16ms 
**18:09:59** Metric 'test_success_density' is an internal metric computed by SonarQube. Provided value is ignored. 
**18:09:59** Resource not found: com.squaretrade.cappsbpm.implementation.email.util.FeignExceptionHandlerUtilTest 
**18:09:59** Resource not found: com.squaretrade.cappsbpm.implementation.email.service.CommunicationTransmissionEmailSenderImpTest 
**18:09:59** File not found: com/squaretrade/cappsbpm/service/CustomerCommunicationRuleService.java 
**18:09:59** File not found: com/squaretrade/cappsbpm/exception/SourceRootClientException.java 
**18:09:59** File not found: com/squaretrade/cappsbpm/consumer/ClaimApprovalEvent.java 
**18:09:59** File not found: com/squaretrade/cappsbpm/config/CamundaApiSecurityConfig.java 
**18:09:59** File not found: com/squaretrade/cappsbpm/featuretoggle/SendEmailFeatures.java

service1 - [77.3%] code coverage ( Old sonarqube)
service1 - [85.5%] code coverage ( new sonarqube)

service2 - [52.3%] code coverage failed (old sonarqube)
service2 - [80.1%] code coverage passed (new sonarqube)

mismatch on the code coverage results btw old (version 7.1) and new sonarqube (developer edition 8.9.9) - could you please help to figure out?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - 8.9.9
  • what are you trying to achieve - code coverage results matching with new one
  • what have you tried so far to achieve this - verified properties for sonarqube new one

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hello Team,

Do you have any updates on this request!!

Thanks,
Shiva

Hi,

Do those files exist? At those paths, relative to where analysis started from?

 
Ann