Missing part on code coverage

I have an old vb.net solution, and I created ci/cd pipelin over azure devops to implement the sonar on the project. But it is not scanning few file and getting below error:
“DEBUG: Did not find deterministic source path in ‘F:\Build\Agent1_work\3682\s\UnitTestCases\My Project\Settings.Designer.vb’. Will skip this coverage entry. Verify sonar.sources in .sonarqube\out\sonar-project.properties.”

Team need you support here to reflect the code coverage on the dashboard.
I attached the log for sonar analysis stage.
Logs.txt.zip (119.5 KB)

Refering topic : Missing part of code coverage. I am facing the same issue

Hi,

Welcome to the community!

I’ve never seen the “deterministic” message before, but let’s start with the dumb question: Does this exist?

Also, I tried to look at your logs, but you seem to have put in a Word document?

Text only please.

 
Thx,
Ann

logs.txt (974.2 KB)

Yes the file exists on the location. If there is any cmd if we can validate this thing I can also provide you the logs for that cmd as well.

Hi,

Thanks for the logs.

It seems that

Does not exist. The paths I see in your logs look like this:

Loading the SonarQube analysis config from F:\Build\Agent1\_work\3682\.sonarqube\conf\SonarQubeAnalysisConfig.xml

Note the difference between \Agent1_work\, from the error message, and \Agent1\_work\, from the log.

 
HTH,
Ann

I am not able to find the path difference which you mentioned. Even I ran the job again to check the difference in the latest logs it was not there.

Hi,

One version has a directory named Agent1_work and the other has a directory named Agent1 and inside that a subdirectory named _work.

 
HTH,
Ann