Results for MSBuild scan seem to be blank

SonarQube Version: Community Edition v10.6 (92116)
MS Build Scanner: SonarScanner for .NET v7.1
SCM: Perforce
.net Framework

Hi there! So we are trying to see what benefit we get out of the MSBuild scans during build times. To simplify the test we are running the following process:

  1. Sync from Perforce to local machine.
  2. Download .NET scanner from SonarScanner for .NET
  3. Copy the scanner into the P4 workspace where the build will be executed.
  4. Start the MSBuild scanner: sqs-msbuild\SonarScanner.MSBuild.exe begin /k:“test-Rule-MSbuild” /d:sonar.host.url=“http://localhost:9000” /d:sonar.token=“”
  5. Execute msbuild.exe ourproject.sln
  6. End Scanner once build finishes: sqs-msbuild\SonarScanner.MSBuild.exe end /d:sonar.token=“”

Our issue is that we are not sure what we should see inside the SQ console, which looks like this after the scan:

These are the logs from the ending command, which I assume is wrapping up all the logs and trying to send it to the server. From what I can tell it isn’t getting much. Any help/thoughts on things we could try or tweak in our process to get results from the MSbuild? Thanks!

Logs:

SonarScanner for MSBuild 7.1
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.


10:46:03.853  10:46:03.853  WARNING: File '<redacted>' is not located under the base directory 'D:\local_dev\workspace\test-job\Software\Projects\Windows' and will not be analyzed.
-- Many more warnings like the one above.


Calling the TFS Processor executable...
The TFS Processor has finished
Calling the SonarScanner CLI...
INFO: Scanner configuration file: D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\sonar-scanner-5.0.1.3006\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\sonar-project.properties
INFO: SonarScanner 5.0.1.3006
INFO: Java 17.0.11 Eclipse Adoptium (64-bit)
INFO: Windows 11 10.0 amd64
INFO: User cache: C:\Users\user1\.sonar\cache
INFO: Analyzing on SonarQube server 10.6.0.92116
INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=51ms
INFO: Server id: 147B411E-AZDlM_fXrIAVZqkxhNOl
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=25ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=33ms
INFO: Process project properties
INFO: Process project properties (done) | time=13ms
INFO: Project key: test-Rule-MSbuild
INFO: Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows
INFO: Working dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar
INFO: Load project settings for component key: 'test-Rule-MSbuild'
INFO: Load project settings for component key: 'test-Rule-MSbuild' (done) | time=11ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=41ms
INFO: Load active rules
INFO: Load active rules (done) | time=3494ms
INFO: Load analysis cache
INFO: Load analysis cache (404) | time=3ms
INFO: Preprocessing files...
INFO: 0 languages detected in 3 preprocessed files
INFO: Loading plugins for detected languages
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=0ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=14ms
INFO: Indexing files...
INFO: Project configuration:
INFO: Indexing files of module 'Mod1'
INFO:   Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\Mod1
INFO:   Source paths: mod1.natvis
INFO: Indexing files of module 'Mod2'
INFO:   Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\Mod2
INFO: 3 files indexed
INFO: ------------- Run sensors on module Mod1
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=12ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
INFO: Sensor Java Config Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor Java Config Sensor [iac] (done) | time=14ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=69ms
INFO: ------------- Run sensors on module Mod2
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
INFO: Sensor Java Config Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor Java Config Sensor [iac] (done) | time=1ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=4ms
INFO: Available processors: 32
INFO: Using 32 threads for analysis.
INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
  * The filename starts with "test"
  * The filename contains "test." or "tests."
  * Any directory in the file path is named: "doc", "docs", "test" or "tests"
  * Any directory in the file path has a name ending in "test" or "tests"

INFO: Using JGit to retrieve untracked files
WARN: Unable to retrieve git status
org.sonar.plugins.common.git.JgitSupplier$JgitInitializationException: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
        at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:40)
        at org.sonar.plugins.common.git.GitService.getUntrackedFilesFromJgit(GitService.java:121)
        at org.sonar.plugins.common.git.GitService.retrieveUntrackedFileNames(GitService.java:60)
        at org.sonar.plugins.common.git.GitTrackedFilePredicate.<init>(GitTrackedFilePredicate.java:37)
        at org.sonar.plugins.common.TextAndSecretsSensor.lambda$constructFilePredicate$2(TextAndSecretsSensor.java:177)
        at org.sonar.plugins.common.DurationStatistics.timed(DurationStatistics.java:78)
        at org.sonar.plugins.common.TextAndSecretsSensor.constructFilePredicate(TextAndSecretsSensor.java:176)
        at org.sonar.plugins.common.TextAndSecretsSensor.execute(TextAndSecretsSensor.java:116)
        at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
        at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)
        at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
        at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
        at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
        at org.sonarsource.scanner.cli.Main.main(Main.java:62)
Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:638)
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:602)
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)
        at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:37)
        ... 38 common frames omitted

WARN: Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
INFO: Sensor TextAndSecretsSensor [text] (done) | time=603ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=2ms
INFO: SCM Publisher is disabled
INFO: CPD Executor Calculating CPD for 0 files
INFO: CPD Executor CPD calculation finished (done) | time=0ms
INFO: Analysis report generated in 75ms, dir size=202.1 kB
INFO: Analysis report compressed in 17ms, zip size=19.6 kB
INFO: Analysis report uploaded in 14ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=test-Rule-MSbuild
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=4b6224bf-b9c0-4333-b441-79465a8ef6c4
INFO: Analysis total time: 5.404 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 6.411s
INFO: Final Memory: 12M/64M
INFO: ------------------------------------------------------------------------
The SonarScanner CLI has finished
10:46:11.393  Post-processing succeeded.

Hi,

Welcome to the community!

What do you see if you click on the Measures tab?

Also, can you share a full, debug job log starting from the begin command? Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them. To get a debug log, add the debug flag provided in the guide, to the begin command.

 
Thx,
Ann

Hi Ann!

Thanks for the reply! When I check the Measures tab all the different areas say “No Results”:

Here are the begin and end logs for a job with full debug on:

Begin:

D:\local_dev\workspace\test-job\Software\Projects\Windows>sqs-msbuild\SonarScanner.MSBuild.exe begin /k:"test-Rule-MSbuild" /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqa_3df1565c1897ae47c6e40dc6814d9ab4a8f2fa9c" /d:sonar.verbose=true
SonarScanner for MSBuild 7.1
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\SonarQube.Analysis.xml
Loading analysis properties from D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
09:53:26.075  09:53:26.06  Loading analysis properties from D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\SonarQube.Analysis.xml
09:53:26.076  09:53:26.069  Server Url: http://localhost:9000
09:53:26.076  09:53:26.069  Api Url: http://localhost:9000/api/v2
09:53:26.076  09:53:26.069  Is SonarCloud: False
09:53:26.076  09:53:26.075  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
09:53:26.078  Updating build integration targets...
09:53:26.081  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
09:53:26.082  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
09:53:26.083  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
09:53:26.083  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
09:53:26.084  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
09:53:26.084  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
09:53:26.085  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\ \AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
09:53:26.089  Installed SonarQube.Integration.targets to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\bin\targets
09:53:26.091  Creating config and output folders...
09:53:26.092  Creating directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf
09:53:26.093  Creating directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out
09:53:26.123  Downloading from http://localhost:9000/api/settings/values?component=unknown...
09:53:26.182  Response received from http://localhost:9000/api/settings/values?component=unknown...
09:53:26.183  Fetching server version...
09:53:26.185  Downloading from http://localhost:9000/api/v2/analysis/version...
09:53:26.19  Response received from http://localhost:9000/api/v2/analysis/version...
09:53:26.198  Checking if the server version is supported...
09:53:26.203  Checking validity of server license...
09:53:26.203  Downloading from http://localhost:9000/api/editions/is_valid_license...
09:53:26.205  Response received from http://localhost:9000/api/editions/is_valid_license...
09:53:26.226  SonarQube Community Edition detected, license is valid.
09:53:26.228  JreResolver: Resolving JRE path.
09:53:26.231  Downloading from http://localhost:9000/api/v2/analysis/jres?os=windows&arch=x64...
09:53:26.235  Response received from http://localhost:9000/api/v2/analysis/jres?os=windows&arch=x64...
09:53:26.307  JreResolver: Cache hit 'C:\Users\ \.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_extracted\jdk-17.0.11+9-jre/bin/java.exe'.
09:53:26.31  Fetching analysis configuration settings...
09:53:26.312  Fetching properties for project 'test-Rule-MSbuild'...
09:53:26.313  Downloading from http://localhost:9000/api/settings/values?component=test-Rule-MSbuild...
09:53:26.319  Response received from http://localhost:9000/api/settings/values?component=test-Rule-MSbuild...
09:53:26.326  Downloading from http://localhost:9000/api/languages/list...
09:53:26.329  Response received from http://localhost:9000/api/languages/list...
09:53:26.332  Fetching quality profile for project 'test-Rule-MSbuild'...
09:53:26.332  Downloading from http://localhost:9000/api/qualityprofiles/search?project=test-Rule-MSbuild...
09:53:26.382  Response received from http://localhost:9000/api/qualityprofiles/search?project=test-Rule-MSbuild...
09:53:26.387  Fetching rules for quality profile 'b6690f9b-3240-4a90-9d29-a83128fb4008'...
09:53:26.388  Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=b6690f9b-3240-4a90-9d29-a83128fb4008&p=1...
09:53:26.901  Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=b6690f9b-3240-4a90-9d29-a83128fb4008&p=1...
09:53:26.915  Local analyzer cache: C:\Users\ \AppData\Local\Temp\.sonarqube\resources
09:53:26.919  Writing Roslyn generated ruleset to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\Sonar-cs.ruleset...
09:53:26.926  Writing Roslyn generated ruleset to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\Sonar-cs-none.ruleset...
09:53:26.928  Provisioning analyzer assemblies for cs...
09:53:26.929  Installing required Roslyn analyzers...
09:53:26.929  Processing plugin: csharp version 9.27.0.93347
09:53:26.936  Cache hit: using plugin files from C:\Users\ \AppData\Local\Temp\.sonarqube\resources\0
09:53:26.937  Processing plugin: vbnet version 9.27.0.93347
09:53:26.937  Cache hit: using plugin files from C:\Users\ \AppData\Local\Temp\.sonarqube\resources\1
09:53:26.94  Writing Roslyn analyzer additional file to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\cs\SonarLint.xml...
09:53:26.941  Fetching quality profile for project 'test-Rule-MSbuild'...
09:53:26.943  Downloading from http://localhost:9000/api/qualityprofiles/search?project=test-Rule-MSbuild...
09:53:26.958  Response received from http://localhost:9000/api/qualityprofiles/search?project=test-Rule-MSbuild...
09:53:26.959  Fetching rules for quality profile 'c0ed280d-c352-4be1-b6ee-9b0cb504ae83'...
09:53:26.959  Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=c0ed280d-c352-4be1-b6ee-9b0cb504ae83&p=1...
09:53:27.193  Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=c0ed280d-c352-4be1-b6ee-9b0cb504ae83&p=1...
09:53:27.196  Local analyzer cache: C:\Users\ \AppData\Local\Temp\.sonarqube\resources
09:53:27.196  Writing Roslyn generated ruleset to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\Sonar-vbnet.ruleset...
09:53:27.197  Writing Roslyn generated ruleset to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\Sonar-vbnet-none.ruleset...
09:53:27.199  Provisioning analyzer assemblies for vbnet...
09:53:27.199  Installing required Roslyn analyzers...
09:53:27.199  Processing plugin: csharp version 9.27.0.93347
09:53:27.199  Cache hit: using plugin files from C:\Users\ \AppData\Local\Temp\.sonarqube\resources\0
09:53:27.201  Processing plugin: vbnet version 9.27.0.93347
09:53:27.202  Cache hit: using plugin files from C:\Users\ \AppData\Local\Temp\.sonarqube\resources\1
09:53:27.229  Writing Roslyn analyzer additional file to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\vbnet\SonarLint.xml...
09:53:27.232  Processing analysis cache
09:53:27.234  Incremental PR analysis: Base branch parameter was not provided.
09:53:27.234  Cache data is empty. A full analysis will be performed.
09:53:27.249  Pre-processing succeeded.

End:

D:\local_dev\workspace\test-job\Software\Projects\Windows>sqs-msbuild\SonarScanner.MSBuild.exe end /d:sonar.token="<redacted>"

SonarScanner for MSBuild 7.1
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
09:57:10.929  09:57:10.926  Uninstalling target: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\bin\targets\SonarQube.Integration.targets
09:57:10.929  09:57:10.929  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
09:57:10.93  Loading the SonarQube analysis config from D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\SonarQubeAnalysisConfig.xml
09:57:10.93  Not running under TeamBuild
09:57:10.93  Analysis base directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube
Build directory:
Bin directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\bin
Config directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf
Output directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out
Config file: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\SonarQubeAnalysisConfig.xml
09:57:10.935  Generating SonarQube project properties file to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\sonar-project.properties
09:57:11.258  Setting analysis property: sonar.visualstudio.enable=false
09:57:11.569  Using longest common projects path as a base directory: 'D:\local_dev\workspace\test-job\Software\Projects\Windows'.
09:57:11.573  09:57:11.573  WARNING: File 'D:\local_dev\workspace\test-job\Software\SourceCode\<filename>' is not located under the base directory 'D:\local_dev\workspace\test-job\Software\Projects\Windows' and will not be analyzed.
09:57:11.573  File was referenced by the following projects: 'D:\local_dev\workspace\test-job\Software\Projects\Windows\<project_name>.vcxproj'.
<many many more of these!>
09:57:12.027  Dumping content of sonar-project.properties
------------------------------------------------------------------------
sonar.projectKey=test-Rule-MSbuild
sonar.working.directory=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\.sonarqube\\out\\.sonar
sonar.projectBaseDir=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows
sonar.pullrequest.cache.basepath=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows

A6F474B3-C4F5-4A09-B606-8244289A8521.sonar.projectKey=test-Rule-MSbuild:A6F474B3-C4F5-4A09-B606-8244289A8521
A6F474B3-C4F5-4A09-B606-8244289A8521.sonar.projectName=
A6F474B3-C4F5-4A09-B606-8244289A8521.sonar.projectBaseDir=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\Messaging
A6F474B3-C4F5-4A09-B606-8244289A8521.sonar.sources=\
"D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\<filename>"

A6F474B3-C4F5-4A09-B606-8244289A8521.sonar.working.directory=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\.sonarqube\\out\\.sonar\\mod0
1DED6E88-3B7D-4290-B533-747AE9E605F7.sonar.projectKey=test-Rule-MSbuild:1DED6E88-3B7D-4290-B533-747AE9E605F7
1DED6E88-3B7D-4290-B533-747AE9E605F7.sonar.projectName=
1DED6E88-3B7D-4290-B533-747AE9E605F7.sonar.projectBaseDir=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\
1DED6E88-3B7D-4290-B533-747AE9E605F7.sonar.sources=\


<more mods loaded...>


1348AAD7-3127-45A5-B184-D6C8916F80E9.sonar.working.directory=D:\\local_dev\\workspace\\test-job\\Software\\Projects\\Windows\\.sonarqube\\out\\.sonar\\mod7
sonar.host.url=http://localhost:9000
sonar.visualstudio.enable=false

sonar.modules=A6F474B3-C4F5-4A09-B606-8244289A8521,1DED6E88-3B7D-4290-B533-747AE9E605F7,B6B23C58-0708-4316-92F5-18889AD47EE2,B57AC55D-6C82-466E-A697-049400747795,04CC5B28-7B58-4B23-A13A-CE5F06769035,EC8579CD-9F73-4F49-A5E5-6A8250FF7ACB,A9B38B28-D3C3-4DB8-A10F-A4325404A16E,1348AAD7-3127-45A5-B184-D6C8916F80E9


------------------------------------------------------------------------
09:57:12.03  Writing processing summary to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\ProjectInfo.log
Calling the TFS Processor executable...
Executing file D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\SonarScanner.MSBuild.TFSProcessor.exe
  Args: ConvertCoverage D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\conf\SonarQubeAnalysisConfig.xml D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\sonar-project.properties
  Working directory: D:\local_dev\workspace\test-job\Software\Projects\Windows
  Timeout (ms):-1
  Process id: 26944
Process returned exit code 0
The TFS Processor has finished
Setting the JAVA_HOME for the scanner cli to C:\Users\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_extracted\jdk-17.0.11+9-jre.
Calling the SonarScanner CLI...
Setting environment variable 'JAVA_HOME'. Value: C:\Users\.sonar\cache\4bafe2e94439c8193fc8c68247cb0dbaf4e80265b903288f63f128304f129bbe\OpenJDK17U-jre_x64_windows_hotspot_17.0.11_9.zip_extracted\jdk-17.0.11+9-jre
Executing file D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\sonar-scanner-5.0.1.3006\bin\sonar-scanner.bat
  Args: -Dsonar.scanAllFiles=true -Dproject.settings=D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\sonar-project.properties --from=ScannerMSBuild/7.1 --debug <sensitive data removed>
  Working directory: D:\local_dev\workspace\test-job\Software\Projects\Windows
  Timeout (ms):-1
  Process id: 28912
09:57:12.608 INFO: Scanner configuration file: D:\local_dev\workspace\test-job\Software\Projects\Windows\sqs-msbuild\sonar-scanner-5.0.1.3006\bin\..\conf\sonar-scanner.properties
09:57:12.615 INFO: Project root configuration file: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\sonar-project.properties
09:57:12.637 INFO: SonarScanner 5.0.1.3006
09:57:12.637 INFO: Java 17.0.11 Eclipse Adoptium (64-bit)
09:57:12.637 INFO: Windows 11 10.0 amd64
09:57:12.710 DEBUG: keyStore is :
09:57:12.710 DEBUG: keyStore type is : pkcs12
09:57:12.710 DEBUG: keyStore provider is :
09:57:12.710 DEBUG: init keystore
09:57:12.710 DEBUG: init keymanager of type SunX509
09:57:12.847 DEBUG: Create: C:\Users\.sonar\cache
09:57:12.847 INFO: User cache: C:\Users\.sonar\cache
09:57:12.847 DEBUG: Create: C:\Users\.sonar\cache\_tmp
09:57:12.849 DEBUG: Extract sonar-scanner-api-batch in temp...
09:57:12.852 DEBUG: Get bootstrap index...
09:57:12.852 DEBUG: Download: http://localhost:9000/batch/index
09:57:12.896 DEBUG: Get bootstrap completed
09:57:12.898 DEBUG: Create isolated classloader...
09:57:12.912 DEBUG: Start temp cleaning...
09:57:12.915 DEBUG: Temp cleaning done
09:57:12.915 DEBUG: Execution getVersion
09:57:12.917 INFO: Analyzing on SonarQube server 10.6.0.92116
09:57:12.917 INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
09:57:12.917 DEBUG: Work directory: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar
09:57:12.917 DEBUG: Execution execute
09:57:13.054 DEBUG: JVM max available memory: 29 GB
09:57:13.111 DEBUG: Community 10.6.0.92116
09:57:13.182 DEBUG: Sonar User Home: C:\Users\.sonar
09:57:13.280 DEBUG: Successfully loaded KeyStore of the type [Windows-ROOT] having [63] entries
09:57:13.281 DEBUG: Failed to load KeyStore of the type [Windows-ROOT-LOCALMACHINE]
09:57:13.339 DEBUG: Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [63] entries
09:57:13.350 DEBUG: Successfully loaded KeyStore of the type [Windows-MY] having [0] entries
09:57:13.358 DEBUG: Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries
09:57:13.359 DEBUG: Failed to load KeyStore of the type [Windows-MY-LOCALMACHINE]
09:57:13.359 DEBUG: Loaded [126] system trusted certificates
09:57:13.453 INFO: Load global settings
09:57:13.462 DEBUG: --> GET http://localhost:9000/api/settings/values.protobuf
09:57:13.479 DEBUG: <-- 200 http://localhost:9000/api/settings/values.protobuf (16ms, 6578-byte body)
09:57:13.496 INFO: Load global settings (done) | time=43ms
09:57:13.506 INFO: Server id: 147B411E-AZDlM_fXrIAVZqkxhNOl
09:57:13.508 DEBUG: User cache: C:\Users\.sonar\cache
09:57:13.513 INFO: Loading required plugins
09:57:13.514 INFO: Load plugins index
09:57:13.514 DEBUG: --> GET http://localhost:9000/api/plugins/installed
09:57:13.518 DEBUG: <-- 200 http://localhost:9000/api/plugins/installed (4ms, unknown-length body)
09:57:13.537 INFO: Load plugins index (done) | time=23ms
09:57:13.537 INFO: Load/download plugins
09:57:13.570 INFO: Load/download plugins (done) | time=33ms
09:57:13.570 DEBUG: Plugins not loaded because they are optional: [csharp, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, ruby, sonarscala, vbnet]
09:57:13.584 DEBUG: Plugins loaded:
09:57:13.584 DEBUG:   * Python Code Quality and Security 4.19.0.15616 (python)
09:57:13.584 DEBUG:   * Clean as You Code 2.3.0.1782 (cayc)
09:57:13.584 DEBUG:   * XML Code Quality and Security 2.10.0.4108 (xml)
09:57:13.584 DEBUG:   * JaCoCo 1.3.0.1538 (jacoco)
09:57:13.584 DEBUG:   * IaC Code Quality and Security 1.31.0.10579 (iac)
09:57:13.584 DEBUG:   * Text Code Quality and Security 2.12.1.2905 (text)
09:57:13.691 DEBUG: register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$350/0x00000256f829cc00@153f66e7 with shutdown hook
09:57:13.786 INFO: Process project properties
09:57:13.804 INFO: Process project properties (done) | time=18ms
09:57:13.830 INFO: Project key: test-Rule-MSbuild
09:57:13.830 INFO: Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows
09:57:13.830 INFO: Working dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar
09:57:13.830 DEBUG: Project global encoding: windows-1252, default locale: en_US
09:57:13.837 INFO: Load project settings for component key: 'test-Rule-MSbuild'
09:57:13.843 DEBUG: --> GET http://localhost:9000/api/settings/values.protobuf?component=test-Rule-MSbuild
09:57:13.849 DEBUG: <-- 200 http://localhost:9000/api/settings/values.protobuf?component=test-Rule-MSbuild (5ms, 6590-byte body)
09:57:13.850 INFO: Load project settings for component key: 'test-Rule-MSbuild' (done) | time=13ms
09:57:13.866 DEBUG: Creating module hierarchy
09:57:13.866 DEBUG:   Init module 'test-Rule-MSbuild'
09:57:13.867 DEBUG:     Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows
09:57:13.867 DEBUG:     Working dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar
09:57:13.867 DEBUG:     Module global encoding: windows-1252, default locale: en_US
09:57:13.867 DEBUG:   Init module 'Mod1'
09:57:13.869 DEBUG:     Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\Mod1
09:57:13.869 DEBUG:     Working dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar\mod0
09:57:13.869 DEBUG:     Module global encoding: windows-1252, default locale: en_US
<more mod inits>
09:57:13.892 INFO: Load quality profiles
09:57:13.893 DEBUG: --> GET http://localhost:9000/api/qualityprofiles/search.protobuf?project=test-Rule-MSbuild
09:57:13.907 DEBUG: <-- 200 http://localhost:9000/api/qualityprofiles/search.protobuf?project=test-Rule-MSbuild (13ms, 3003-byte body)
09:57:13.934 INFO: Load quality profiles (done) | time=42ms
09:57:13.950 DEBUG: SCM Step is disabled by configuration
09:57:13.952 INFO: Load active rules
09:57:13.953 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1b9b76fa-ca64-4d7d-a319-17fd7feaeae9&ps=500&p=1
09:57:13.989 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1b9b76fa-ca64-4d7d-a319-17fd7feaeae9&ps=500&p=1 (35ms, 4465-byte body)
09:57:14.095 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=174586e3-01e8-4275-8ee1-c135f87d2d06&ps=500&p=1
09:57:14.124 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=174586e3-01e8-4275-8ee1-c135f87d2d06&ps=500&p=1 (28ms, unknown-length body)
09:57:14.129 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=33e25916-6236-4b39-8df3-5b231022882a&ps=500&p=1
09:57:14.158 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=33e25916-6236-4b39-8df3-5b231022882a&ps=500&p=1 (29ms, unknown-length body)
09:57:14.161 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b377bcb5-50a4-47f2-a85f-75023188c9b1&ps=500&p=1
09:57:14.164 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b377bcb5-50a4-47f2-a85f-75023188c9b1&ps=500&p=1 (2ms, 12-byte body)
09:57:14.164 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=5397cbdd-ce5e-4a69-bb7f-87b2278d5df0&ps=500&p=1
09:57:14.590 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=5397cbdd-ce5e-4a69-bb7f-87b2278d5df0&ps=500&p=1 (427ms, unknown-length body)
09:57:14.604 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=5b837d37-bdb1-4e2b-938a-ff82f56745c0&ps=500&p=1
09:57:14.979 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=5b837d37-bdb1-4e2b-938a-ff82f56745c0&ps=500&p=1 (374ms, unknown-length body)
09:57:14.987 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=4d20d649-ca93-4875-91f5-ff41d7c2cb1b&ps=500&p=1
09:57:15.044 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=4d20d649-ca93-4875-91f5-ff41d7c2cb1b&ps=500&p=1 (57ms, unknown-length body)
09:57:15.046 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b651d528-6b39-4c24-87fd-8418341742af&ps=500&p=1
09:57:15.601 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b651d528-6b39-4c24-87fd-8418341742af&ps=500&p=1 (554ms, unknown-length body)
09:57:15.608 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b651d528-6b39-4c24-87fd-8418341742af&ps=500&p=2
09:57:15.641 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b651d528-6b39-4c24-87fd-8418341742af&ps=500&p=2 (32ms, 3779-byte body)
09:57:15.642 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=3c551b8e-7ec7-48e5-9390-828b7b31c71d&ps=500&p=1
09:57:15.725 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=3c551b8e-7ec7-48e5-9390-828b7b31c71d&ps=500&p=1 (82ms, unknown-length body)
09:57:15.726 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=9b589c04-90bf-4061-8b23-df510fd55439&ps=500&p=1
09:57:15.764 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=9b589c04-90bf-4061-8b23-df510fd55439&ps=500&p=1 (38ms, unknown-length body)
09:57:15.765 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b4aed74f-eb75-45e4-8f55-407dcc46e8d0&ps=500&p=1
09:57:15.794 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b4aed74f-eb75-45e4-8f55-407dcc46e8d0&ps=500&p=1 (28ms, 7249-byte body)
09:57:15.795 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=3f9e0276-fbd1-4faa-9944-13f2cad3ea85&ps=500&p=1
09:57:15.797 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=3f9e0276-fbd1-4faa-9944-13f2cad3ea85&ps=500&p=1 (2ms, 12-byte body)
09:57:15.797 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=fd8dd466-00e0-434a-98c8-6754f5a8607e&ps=500&p=1
09:57:15.803 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=fd8dd466-00e0-434a-98c8-6754f5a8607e&ps=500&p=1 (5ms, 358-byte body)
09:57:15.804 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=c0ed280d-c352-4be1-b6ee-9b0cb504ae83&ps=500&p=1
09:57:15.973 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=c0ed280d-c352-4be1-b6ee-9b0cb504ae83&ps=500&p=1 (168ms, unknown-length body)
09:57:15.975 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=76799e64-d790-4a15-bdc1-44d4e0937cae&ps=500&p=1
09:57:16.021 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=76799e64-d790-4a15-bdc1-44d4e0937cae&ps=500&p=1 (46ms, unknown-length body)
09:57:16.022 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1eef476e-9866-4d80-9c9c-83317b268e3d&ps=500&p=1
09:57:16.025 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1eef476e-9866-4d80-9c9c-83317b268e3d&ps=500&p=1 (2ms, 12-byte body)
09:57:16.025 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=6e42de96-3a1b-4dc8-8e0a-1bba209ff431&ps=500&p=1
09:57:16.049 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=6e42de96-3a1b-4dc8-8e0a-1bba209ff431&ps=500&p=1 (24ms, 7691-byte body)
09:57:16.050 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=1a6fc32b-4013-4745-96a3-ba31500abb10&ps=500&p=1
09:57:16.187 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=1a6fc32b-4013-4745-96a3-ba31500abb10&ps=500&p=1 (137ms, unknown-length body)
09:57:16.189 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=fa9b49bd-c076-402e-9dbb-5a0690b0c408&ps=500&p=1
09:57:16.307 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=fa9b49bd-c076-402e-9dbb-5a0690b0c408&ps=500&p=1 (117ms, unknown-length body)
09:57:16.308 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=a2bbb9e7-1ce5-418b-88e7-69156b5f0793&ps=500&p=1
09:57:16.335 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=a2bbb9e7-1ce5-418b-88e7-69156b5f0793&ps=500&p=1 (27ms, unknown-length body)
09:57:16.336 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=b6690f9b-3240-4a90-9d29-a83128fb4008&ps=500&p=1
09:57:16.697 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=b6690f9b-3240-4a90-9d29-a83128fb4008&ps=500&p=1 (360ms, unknown-length body)
09:57:16.702 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=d186b3fa-f6b5-4319-920a-589fff498275&ps=500&p=1
09:57:16.900 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=d186b3fa-f6b5-4319-920a-589fff498275&ps=500&p=1 (197ms, unknown-length body)
09:57:16.902 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=50af727f-268d-4b9d-aa42-53254a6207e1&ps=500&p=1
09:57:16.976 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=50af727f-268d-4b9d-aa42-53254a6207e1&ps=500&p=1 (74ms, unknown-length body)
09:57:16.978 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=4a20527a-c7b1-41ad-805a-c8ea44801172&ps=500&p=1
09:57:17.040 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=4a20527a-c7b1-41ad-805a-c8ea44801172&ps=500&p=1 (61ms, unknown-length body)
09:57:17.041 DEBUG: --> GET http://localhost:9000/api/rules/list.protobuf?qprofile=ca337929-6202-4225-82f7-120e38a26d59&ps=500&p=1
09:57:17.434 DEBUG: <-- 200 http://localhost:9000/api/rules/list.protobuf?qprofile=ca337929-6202-4225-82f7-120e38a26d59&ps=500&p=1 (393ms, unknown-length body)
09:57:17.443 INFO: Load active rules (done) | time=3491ms
09:57:17.446 INFO: Load analysis cache
09:57:17.446 DEBUG: --> GET http://localhost:9000/api/analysis_cache/get?project=test-Rule-MSbuild
09:57:17.450 DEBUG: <-- 404 http://localhost:9000/api/analysis_cache/get?project=test-Rule-MSbuild (3ms, unknown-length body)
09:57:17.451 INFO: Load analysis cache (404) | time=5ms
09:57:17.463 DEBUG: --> GET http://localhost:9000/api/languages/list
09:57:17.466 DEBUG: <-- 200 http://localhost:9000/api/languages/list (2ms, unknown-length body)
09:57:17.479 DEBUG: Declared patterns of language Kubernetes were converted to sonar.lang.patterns.kubernetes :
09:57:17.479 DEBUG: Declared patterns of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss,**/*.sass
09:57:17.480 DEBUG: Declared patterns of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
09:57:17.480 DEBUG: Declared patterns of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
09:57:17.480 DEBUG: Declared patterns of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue
09:57:17.480 DEBUG: Declared patterns of language Python were converted to sonar.lang.patterns.py : **/*.py
09:57:17.480 DEBUG: Declared patterns of language Docker were converted to sonar.lang.patterns.docker : **/Dockerfile,**/*.dockerfile
09:57:17.480 DEBUG: Declared patterns of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
09:57:17.480 DEBUG: Declared patterns of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
09:57:17.480 DEBUG: Declared patterns of language Flex were converted to sonar.lang.patterns.flex : **/*.as
09:57:17.480 DEBUG: Declared patterns of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl,**/*.config
09:57:17.480 DEBUG: Declared patterns of language JSON were converted to sonar.lang.patterns.json : **/*.json
09:57:17.480 DEBUG: Declared patterns of language Text were converted to sonar.lang.patterns.text :
09:57:17.480 DEBUG: Declared patterns of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
09:57:17.480 DEBUG: Declared patterns of language CloudFormation were converted to sonar.lang.patterns.cloudformation :
09:57:17.480 DEBUG: Declared patterns of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
09:57:17.480 DEBUG: Declared patterns of language Go were converted to sonar.lang.patterns.go : **/*.go
09:57:17.480 DEBUG: Declared patterns of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt,**/*.kts
09:57:17.480 DEBUG: Declared patterns of language Secrets were converted to sonar.lang.patterns.secrets :
09:57:17.482 DEBUG: Declared patterns of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
09:57:17.482 DEBUG: Declared patterns of language C# were converted to sonar.lang.patterns.cs : **/*.cs,**/*.razor
09:57:17.482 DEBUG: Declared patterns of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
09:57:17.482 DEBUG: Declared patterns of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
09:57:17.482 DEBUG: Declared patterns of language AzureResourceManager were converted to sonar.lang.patterns.azureresourcemanager : **/*.bicep
09:57:17.482 DEBUG: Declared patterns of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx,**/*.cts,**/*.mts
09:57:17.491 INFO: Preprocessing files...
09:57:17.503 INFO: 0 languages detected in 3 preprocessed files
09:57:17.504 INFO: Loading plugins for detected languages
09:57:17.504 DEBUG: Detected languages: []
09:57:17.504 INFO: Load/download plugins
09:57:17.504 INFO: Load/download plugins (done) | time=0ms
09:57:17.504 DEBUG: Optional language-specific plugins not loaded: [csharp, flex, go, web, javasymbolicexecution, java, javascript, kotlin, php, ruby, sonarscala, vbnet]
09:57:17.505 DEBUG: No plugins loaded
09:57:17.532 INFO: Load project repositories
09:57:17.532 DEBUG: --> GET http://localhost:9000/batch/project.protobuf?key=test-Rule-MSbuild
09:57:17.536 DEBUG: <-- 200 http://localhost:9000/batch/project.protobuf?key=test-Rule-MSbuild (3ms, 0-byte body)
09:57:17.547 INFO: Load project repositories (done) | time=15ms
09:57:17.554 DEBUG: Available languages:
09:57:17.555 DEBUG:   * Python => "py"
09:57:17.555 DEBUG:   * XML => "xml"
09:57:17.555 DEBUG:   * Terraform => "terraform"
09:57:17.555 DEBUG:   * CloudFormation => "cloudformation"
09:57:17.555 DEBUG:   * Kubernetes => "kubernetes"
09:57:17.555 DEBUG:   * Docker => "docker"
09:57:17.555 DEBUG:   * AzureResourceManager => "azureresourcemanager"
09:57:17.555 DEBUG:   * YAML => "yaml"
09:57:17.555 DEBUG:   * JSON => "json"
09:57:17.555 DEBUG:   * Text => "text"
09:57:17.555 DEBUG:   * Secrets => "secrets"
09:57:17.555 INFO: Indexing files...
09:57:17.556 INFO: Project configuration:
09:57:17.557 INFO: Indexing files of module 'mod1'
09:57:17.557 INFO:   Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\mod1
09:57:17.557 DEBUG:   Source paths: <filename>.natvis
09:57:17.562 DEBUG: 'mod1\<filename>.natvis' indexed with no language
09:57:17.565 INFO: Indexing files of module 'mod2'
09:57:17.565 INFO:   Base dir: D:\local_dev\workspace\test-job\Software\Projects\Windows\mod2
<more mod indexing>
09:57:17.567 INFO: 3 files indexed
09:57:17.567 INFO: ------------- Run sensors on module Rules
09:57:17.610 INFO: Load metrics repository
09:57:17.611 DEBUG: --> GET http://localhost:9000/api/metrics/search?ps=500&p=1
09:57:17.617 DEBUG: <-- 200 http://localhost:9000/api/metrics/search?ps=500&p=1 (5ms, unknown-length body)
09:57:17.631 INFO: Load metrics repository (done) | time=21ms
09:57:18.010 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.011 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.011 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.011 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.013 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.014 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.014 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.014 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.014 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.015 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.017 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.017 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.018 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.018 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
09:57:18.018 INFO: Sensor Java Config Sensor [iac]
09:57:18.022 INFO: 0 source files to be analyzed
09:57:18.031 INFO: 0/0 source files have been analyzed
09:57:18.031 INFO: Sensor Java Config Sensor [iac] (done) | time=13ms
09:57:18.031 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.032 INFO: 0 source files to be analyzed
09:57:18.100 INFO: 0/0 source files have been analyzed
09:57:18.100 INFO: Sensor IaC Docker Sensor [iac] (done) | time=69ms
09:57:18.120 INFO: ------------- Run sensors on module External
09:57:18.141 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.141 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.141 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.141 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.141 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.141 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.141 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.141 INFO: Sensor Java Config Sensor [iac]
09:57:18.142 INFO: 0 source files to be analyzed
09:57:18.142 INFO: 0/0 source files have been analyzed
09:57:18.142 INFO: Sensor Java Config Sensor [iac] (done) | time=1ms
09:57:18.142 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.142 INFO: 0 source files to be analyzed
09:57:18.147 INFO: 0/0 source files have been analyzed
09:57:18.147 INFO: Sensor IaC Docker Sensor [iac] (done) | time=5ms
09:57:18.147 INFO: ------------- Run sensors on module Messaging
09:57:18.165 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.165 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.165 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.166 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.166 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.166 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.166 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.166 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.166 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.166 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.166 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.166 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.166 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.166 INFO: Sensor Java Config Sensor [iac]
09:57:18.166 INFO: 0 source files to be analyzed
09:57:18.166 INFO: 0/0 source files have been analyzed
09:57:18.166 INFO: Sensor Java Config Sensor [iac] (done) | time=0ms
09:57:18.166 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.168 INFO: 0 source files to be analyzed
09:57:18.171 INFO: 0/0 source files have been analyzed
09:57:18.171 INFO: Sensor IaC Docker Sensor [iac] (done) | time=5ms
09:57:18.171 INFO: ------------- Run sensors on module GRE
09:57:18.192 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.192 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.192 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.192 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.192 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.192 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.192 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.192 INFO: Sensor Java Config Sensor [iac]
09:57:18.194 INFO: 0 source files to be analyzed
09:57:18.194 INFO: 0/0 source files have been analyzed
09:57:18.194 INFO: Sensor Java Config Sensor [iac] (done) | time=2ms
09:57:18.194 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.194 INFO: 0 source files to be analyzed
09:57:18.198 INFO: 0/0 source files have been analyzed
09:57:18.198 INFO: Sensor IaC Docker Sensor [iac] (done) | time=4ms
09:57:18.198 INFO: ------------- Run sensors on module mod1
09:57:18.214 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.214 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.214 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.214 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.214 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.214 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.214 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.214 INFO: Sensor Java Config Sensor [iac]
09:57:18.216 INFO: 0 source files to be analyzed
09:57:18.216 INFO: 0/0 source files have been analyzed
09:57:18.216 INFO: Sensor Java Config Sensor [iac] (done) | time=2ms
09:57:18.216 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.216 INFO: 0 source files to be analyzed
09:57:18.218 INFO: 0/0 source files have been analyzed
09:57:18.219 INFO: Sensor IaC Docker Sensor [iac] (done) | time=3ms
09:57:18.219 INFO: ------------- Run sensors on module mod2
09:57:18.235 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.235 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.235 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.236 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.236 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.236 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.236 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.236 INFO: Sensor Java Config Sensor [iac]
09:57:18.236 INFO: 0 source files to be analyzed
09:57:18.236 INFO: 0/0 source files have been analyzed
09:57:18.236 INFO: Sensor Java Config Sensor [iac] (done) | time=0ms
09:57:18.236 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.238 INFO: 0 source files to be analyzed
09:57:18.241 INFO: 0/0 source files have been analyzed
09:57:18.241 INFO: Sensor IaC Docker Sensor [iac] (done) | time=5ms
09:57:18.241 INFO: ------------- Run sensors on module mod3
09:57:18.256 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.256 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.256 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.256 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.256 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.258 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.258 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
09:57:18.258 INFO: Sensor Java Config Sensor [iac]
09:57:18.258 INFO: 0 source files to be analyzed
09:57:18.258 INFO: 0/0 source files have been analyzed
09:57:18.258 INFO: Sensor Java Config Sensor [iac] (done) | time=0ms
09:57:18.258 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.259 INFO: 0 source files to be analyzed
09:57:18.264 INFO: 0/0 source files have been analyzed
09:57:18.264 INFO: Sensor IaC Docker Sensor [iac] (done) | time=6ms
09:57:18.264 INFO: ------------- Run sensors on module mod4
09:57:18.280 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.280 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.280 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor
09:57:18.280 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.280 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.280 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.280 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.280 INFO: Sensor Java Config Sensor [iac]
09:57:18.280 INFO: 0 source files to be analyzed
09:57:18.281 INFO: 0/0 source files have been analyzed
09:57:18.281 INFO: Sensor Java Config Sensor [iac] (done) | time=1ms
09:57:18.281 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.281 INFO: 0 source files to be analyzed
09:57:18.283 INFO: 0/0 source files have been analyzed
09:57:18.283 INFO: Sensor IaC Docker Sensor [iac] (done) | time=2ms
09:57:18.283 INFO: ------------- Run sensors on module mod5
09:57:18.302 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
09:57:18.302 DEBUG: 'Python Sensor' skipped because there is no related file in current project
09:57:18.302 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
09:57:18.302 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
09:57:18.302 DEBUG: 'Import of Pylint issues' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'Import of Flake8 issues' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'Import of Mypy issues' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'Import of Ruff issues' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'XML Sensor' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'IaC Terraform Sensor' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'IaC CloudFormation Sensor' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'IaC Kubernetes Sensor' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'IaC AzureResourceManager Sensor' skipped because there is no related file in current project
09:57:18.303 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
09:57:18.303 DEBUG: Sensors : JaCoCo XML Report Importer -> Java Config Sensor -> IaC Docker Sensor -> TextAndSecretsSensor
09:57:18.303 INFO: Sensor JaCoCo XML Report Importer [jacoco]
09:57:18.303 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
09:57:18.303 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
09:57:18.303 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
09:57:18.303 INFO: Sensor Java Config Sensor [iac]
09:57:18.303 INFO: 0 source files to be analyzed
09:57:18.303 INFO: 0/0 source files have been analyzed
09:57:18.303 INFO: Sensor Java Config Sensor [iac] (done) | time=0ms
09:57:18.303 INFO: Sensor IaC Docker Sensor [iac]
09:57:18.304 INFO: 0 source files to be analyzed
09:57:18.307 INFO: 0/0 source files have been analyzed
09:57:18.307 INFO: Sensor IaC Docker Sensor [iac] (done) | time=4ms
09:57:18.307 INFO: Sensor TextAndSecretsSensor [text]
09:57:18.307 INFO: Available processors: 32
09:57:18.307 INFO: Using 32 threads for analysis.
09:57:18.662 INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
  * The filename starts with "test"
  * The filename contains "test." or "tests."
  * Any directory in the file path is named: "doc", "docs", "test" or "tests"
  * Any directory in the file path has a name ending in "test" or "tests"

09:57:18.939 DEBUG: Process [C:\Windows\System32\where.exe, $PATH:git.exe] exited with code 1
09:57:18.940 DEBUG: git.exe not found in PATH. PATH value was: C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Perforce\;C:\Users\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\AppData\Local\Programs\Python\Python39\;C:\Users\AppData\Local\Microsoft\WindowsApps;C:\Users\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\AppData\Local\GitHubDesktop\bin;C:\Users\.dotnet\tools;C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin;
09:57:18.942 DEBUG: Not using Git CLI, `git --version` failed: Cannot run program "git": CreateProcess error=2, The system cannot find the file specified
09:57:18.942 INFO: Using JGit to retrieve untracked files
09:57:18.966 WARN: Unable to retrieve git status
org.sonar.plugins.common.git.JgitSupplier$JgitInitializationException: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
        at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:40)
        at org.sonar.plugins.common.git.GitService.getUntrackedFilesFromJgit(GitService.java:121)
        at org.sonar.plugins.common.git.GitService.retrieveUntrackedFileNames(GitService.java:60)
        at org.sonar.plugins.common.git.GitTrackedFilePredicate.<init>(GitTrackedFilePredicate.java:37)
        at org.sonar.plugins.common.TextAndSecretsSensor.lambda$constructFilePredicate$2(TextAndSecretsSensor.java:177)
        at org.sonar.plugins.common.DurationStatistics.timed(DurationStatistics.java:78)
        at org.sonar.plugins.common.TextAndSecretsSensor.constructFilePredicate(TextAndSecretsSensor.java:176)
        at org.sonar.plugins.common.TextAndSecretsSensor.execute(TextAndSecretsSensor.java:116)
        at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:64)
        at org.sonar.scanner.scan.SpringModuleScanContainer.doAfterStart(SpringModuleScanContainer.java:82)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scan(SpringProjectScanContainer.java:204)
        at org.sonar.scanner.scan.SpringProjectScanContainer.scanRecursively(SpringProjectScanContainer.java:200)
        at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:173)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.bootstrap.SpringScannerContainer.doAfterStart(SpringScannerContainer.java:351)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:144)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:226)
        at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:205)
        at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
        at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
        at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
        at org.sonarsource.scanner.cli.Main.main(Main.java:62)
Caused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:638)
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:602)
        at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)
        at org.sonar.plugins.common.git.JgitSupplier.getGit(JgitSupplier.java:37)
        ... 38 common frames omitted

09:57:18.967 DEBUG: Unable to retrieve git status
09:57:18.967 WARN: Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
09:57:18.967 DEBUG: There are no files to be analyzed
09:57:18.967 INFO: Sensor TextAndSecretsSensor [text] (done) | time=660ms
09:57:18.967 INFO: ------------- Run sensors on project
09:57:18.996 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
09:57:18.996 DEBUG: 'Import external issues report from SARIF file.' skipped because one of the required properties is missing
09:57:18.996 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
09:57:18.996 DEBUG: Sensors : Zero Coverage Sensor
09:57:18.996 INFO: Sensor Zero Coverage Sensor
09:57:18.998 INFO: Sensor Zero Coverage Sensor (done) | time=2ms
09:57:18.998 INFO: SCM Publisher is disabled
09:57:19.000 INFO: CPD Executor Calculating CPD for 0 files
09:57:19.001 INFO: CPD Executor CPD calculation finished (done) | time=0ms
09:57:19.063 INFO: Analysis report generated in 54ms, dir size=202.2 kB
09:57:19.080 INFO: Analysis report compressed in 16ms, zip size=19.6 kB
09:57:19.080 INFO: Analysis report generated in D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar\scanner-report
09:57:19.080 DEBUG: Upload report
09:57:19.082 DEBUG: --> POST http://localhost:9000/api/ce/submit?projectKey=test-Rule-MSbuild (19881-byte body)
09:57:19.096 DEBUG: <-- 200 http://localhost:9000/api/ce/submit?projectKey=test-Rule-MSbuild (13ms, 76-byte body)
09:57:19.099 INFO: Analysis report uploaded in 18ms
09:57:19.101 DEBUG: Report metadata written to D:\local_dev\workspace\test-job\Software\Projects\Windows\.sonarqube\out\.sonar\report-task.txt
09:57:19.101 INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=test-Rule-MSbuild
09:57:19.101 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
09:57:19.101 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=2173d4cb-c544-494f-adbd-2afb31d54512
09:57:19.105 DEBUG: Post-jobs :
09:57:19.109 INFO: Analysis total time: 5.506 s
09:57:19.111 INFO: ------------------------------------------------------------------------
09:57:19.111 INFO: EXECUTION SUCCESS
09:57:19.111 INFO: ------------------------------------------------------------------------
09:57:19.111 INFO: Total time: 6.511s
09:57:19.143 INFO: Final Memory: 12M/64M
09:57:19.143 INFO: ------------------------------------------------------------------------
09:57:19.145 DEBUG: Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$350/0x00000256f829cc00@153f66e7 during JVM shutdown
Process returned exit code 0
The SonarScanner CLI has finished
09:57:19.448  Post-processing succeeded.

Appreciate you taking a look!

Hi,

What are the languages in this project?

Based on the analysis log, it looks like Python, XML, and something IaC-related?

 
Thx,
Ann

Python, C#, and C++ are the major ones we have.

Hi,

Could I have the full job log, including the build in between the begin and end steps?

 
Thx,
Ann

Hi Ann,

I have provided the begin and end steps above. Unfortunately, it wouldn’t be very helpful for me to provide the build logs, as due to company security I would have to remove most of it. I can tell you that we are building a .sln using the msbuild.exe command line execution. The build does complete successfully without errors. Is there anything else I can provide that would help?

Thanks!

Ian

Hi,

Here’s why I wanted to see the full job log:

Now, C# rules are actually applied during the build, so this may be normal, but it’s not familiar to me. TBH, I’m generally looking at other parts when I look at .NET analysis logging. And I do see this in the start log:

But I suspect that’s just standard. Unfortunately, I’m not finding another .NET log in the community to compare it with (my search-fu is weak this afternoon).

So let me ask about your build: is it a full, clean build? Because for C# (and C++ if you’re using the build-wrapper) what’s not built is not analyzed.

 
Ann

I have run it as a full clean build and as a pre-build run. I will do a full clean again and update with what I get!

1 Like

Hi Ann,

I did a full rebuild this morning and still get the same results, an empty dashboard. Do you have any documentation that has clean steps I can double check against? Also, do you have any screenshots of what a successful analysis might look like for MSBuild?

Thanks!

Hi,

I’ve since come across a .NET analysis log, and we should be seeing C# (and C++) among the downloaded plugins. So…

  • Can you share your pipeline, so we can see the order of the steps?
  • Can you check the output of the build wrapper to see that it’s non-empty?

 
Thx,
Ann

Hi Ann,

I’m actually running this on the command line from my local machine and not in Jenkins. I wanted to remove the Jenkins component from this to see if I could just run the analysis locally. Would that change anything?

Ian

Hi,

Ehm… Well, it drops confidence in reproducibility and apples-to-apples-ness.

Can you share the pipeline of the normal run from Jenkins?

 
Ann

Hi Ann,

I’m using a freestyle project instead of a pipeline. Here is the screens for my config in Jenkins:

Thanks!

Hi,

I’m going to admit that I’m out of my depth and flag this for the language experts.

 
Ann

I appreciate you taking a look and thank you for your help to move it along!

1 Like

Hello @IJohnson,

I see what Ann saw earlier related to Plugins not loaded because they are optional: [csharp,.

In the end step logs, I see that the scanner cannot find any analyzed cs files at all.

09:57:18.194 INFO: 0 source files to be analyzed
09:57:18.198 INFO: 0/0 source files have been analyzed

also

0 languages detected in 3 preprocessed file

I’ll need a reproducer project to understand why no files are analyzed, and if they are, why the scanner does not see these files alongside the analysis results of the build step the scanner is not picking up any files to analyze. Would this be possible?

Or is it possible that the begin/end step is not happening from the root project folder?

Thanks a lot!

EDIT: Updating the wording to be clear. Sorry for the confusion.

Hi Mary!

So this is probably my misunderstanding around how the scanner is supposed to work there. I would have assumed that the scanner would be analyzing something to do with the build process and not looking at source CS files. If we wanted to scan the source CS files then we could just run the scanner against source code. Though if my understanding is correct, then I’m not sure what running the scanner in this way is supposed to do. If there is any documentation I could read or information you could share that would be great.

Thanks!

Hi,

Chiming in because of Mary’s timezone…

Analysis runs during the build and looks at source code.

Not for C#, which piggybacks on the build to apply the rules. (There’s more to analysis than just rules tho.)

 
HTH,
Ann

1 Like