root@CodeX:/opt/ltmp-svs-master# /opt/nbx-agent/plugins/sonar-scanner-7.2.0.5079-linux-x64/bin/sonar-scanner -Dsonar.projectBaseDir=/opt/ltmp-svs-master -Dsonar.projectKey=TestBug -Dsonar.projectName=TestBug -Dsonar.host.url=http://192.168.0.201:9000 -Dsonar.token=squ_e67ed8c1cda57f85c296f6f203f488816507e92b -Dsonar.java.binaries=/opt/ltmp-svs-master -Dsonar.sourceEncoding=UTF-8
11:50:47.290 INFO Scanner configuration file: /opt/nbx-agent/plugins/sonar-scanner-7.2.0.5079-linux-x64/conf/sonar-scanner.properties
11:50:47.293 INFO Project root configuration file: NONE
11:50:47.310 INFO SonarScanner CLI 7.2.0.5079
11:50:47.312 INFO Linux 5.10.0-31-amd64 amd64
11:50:48.091 INFO Communicating with SonarQube Server 10.4.0.87286
11:50:48.540 INFO Load global settings
11:50:48.605 INFO Load global settings (done) | time=67ms
11:50:48.609 INFO Server id: 147B411E-AZkEw_wQuAPkoEaGrOwE
11:50:48.613 INFO User cache: /root/.sonar/cache
11:50:48.619 WARN sonar.plugins.downloadOnlyRequired is false, so ALL available plugins will be downloaded
11:50:48.619 INFO Loading all plugins
11:50:48.619 INFO Load plugins index
11:50:48.659 INFO Load plugins index (done) | time=40ms
11:50:48.660 INFO Load/download plugins
11:50:48.746 INFO Load/download plugins (done) | time=85ms
11:50:49.231 INFO Process project properties
11:50:49.231 INFO Process project properties (done) | time=0ms
11:50:49.233 INFO Execute project builders
11:50:49.235 INFO Execute project builders (done) | time=2ms
11:50:49.239 INFO Project key: TestBug
11:50:49.239 INFO Base dir: /opt/ltmp-svs-master
11:50:49.239 INFO Working dir: /opt/ltmp-svs-master/.scannerwork
11:50:49.246 INFO Load project settings for component key: ‘TestBug’
11:50:49.263 INFO Load project settings for component key: ‘TestBug’ (done) | time=17ms
11:50:49.337 INFO Load quality profiles
11:50:49.413 INFO Load quality profiles (done) | time=76ms
11:50:49.441 WARN SCM provider autodetection failed. Please use “sonar.scm.provider” to define SCM of your project, or disable the SCM Sensor in the project settings.
11:50:49.445 INFO Load active rules
11:50:57.834 INFO Load active rules (done) | time=8389ms
11:50:57.840 INFO Load analysis cache
11:50:57.860 INFO Load analysis cache | time=20ms
11:50:57.919 INFO Preprocessing files…
11:50:58.231 INFO 3 languages detected in 606 preprocessed files
11:50:58.269 INFO Load project repositories
11:50:58.283 INFO Load project repositories (done) | time=14ms
11:50:58.311 INFO Indexing files…
11:50:58.311 INFO Project configuration:
11:50:58.537 INFO 606 files indexed
11:50:58.539 INFO Quality profile for java: Sonar way
11:50:58.539 INFO Quality profile for xml: Sonar way
11:50:58.539 INFO Quality profile for yaml: Sonar way
11:50:58.539 INFO ------------- Run sensors on module TestBug
11:50:58.618 INFO Load metrics repository
11:50:58.641 INFO Load metrics repository (done) | time=23ms
11:51:00.119 INFO Sensor JavaSensor [java]
11:51:00.137 INFO Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
11:51:00.139 INFO Using ECJ batch to parse 224 Main java source files with batch size 208 KB.
11:51:00.331 INFO Starting batch processing.
11:51:00.838 INFO The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
11:51:07.767 INFO 100% analyzed
11:51:07.768 INFO Batch processing: Done.
11:51:07.768 INFO Did not optimize analysis for any files, performed a full analysis for all 224 files.
11:51:07.770 WARN Dependencies/libraries were not provided for analysis of SOURCE files. The ‘sonar.java.libraries’ property is empty. Verify your configuration, as you might end up with less precise results.
11:51:07.773 WARN Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
11:51:07.774 WARN Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
11:51:07.774 INFO No “Test” source files to scan.
11:51:07.774 INFO No “Generated” source files to scan.
11:51:07.774 INFO Sensor JavaSensor [java] (done) | time=7655ms
11:51:07.774 INFO Sensor JaCoCo XML Report Importer [jacoco]
11:51:07.775 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
11:51:07.776 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
11:51:07.776 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
11:51:07.776 INFO Sensor IaC CloudFormation Sensor [iac]
11:51:07.786 INFO 0 source files to be analyzed
11:51:07.796 INFO 0/0 source files have been analyzed
11:51:07.796 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=20ms
11:51:07.796 INFO Sensor IaC Kubernetes Sensor [iac]
11:51:07.855 INFO 0 source files to be analyzed
11:51:07.861 INFO 0/0 source files have been analyzed
11:51:07.862 INFO Sensor IaC Kubernetes Sensor [iac] (done) | time=66ms
11:51:07.862 INFO Sensor JavaScript inside YAML analysis [javascript]
11:51:07.870 INFO No input files found for analysis
11:51:07.871 INFO Hit the cache for 0 out of 0
11:51:07.871 INFO Miss the cache for 0 out of 0
11:51:07.871 INFO Sensor JavaScript inside YAML analysis [javascript] (done) | time=9ms
11:51:07.872 INFO Sensor CSS Rules [javascript]
11:51:07.874 INFO No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
11:51:07.874 INFO Sensor CSS Rules [javascript] (done) | time=2ms
11:51:07.874 INFO Sensor C# Project Type Information [csharp]
11:51:07.875 INFO Sensor C# Project Type Information [csharp] (done) | time=1ms
11:51:07.875 INFO Sensor C# Analysis Log [csharp]
11:51:07.888 INFO Sensor C# Analysis Log [csharp] (done) | time=13ms
11:51:07.888 INFO Sensor C# Properties [csharp]
11:51:07.888 INFO Sensor C# Properties [csharp] (done) | time=0ms
11:51:07.888 INFO Sensor SurefireSensor [java]
11:51:07.889 INFO parsing [/opt/ltmp-svs-master/target/surefire-reports]
11:51:07.889 INFO Sensor SurefireSensor [java] (done) | time=1ms
11:51:07.889 INFO Sensor HTML [web]
11:51:07.892 INFO Sensor HTML [web] (done) | time=3ms
11:51:07.892 INFO Sensor XML Sensor [xml]
11:51:07.894 INFO 3 source files to be analyzed
11:51:08.105 INFO 3/3 source files have been analyzed
11:51:08.105 INFO Sensor XML Sensor [xml] (done) | time=213ms
11:51:08.105 INFO Sensor TextAndSecretsSensor [text]
11:51:08.450 INFO 233 source files to be analyzed
11:51:10.230 INFO 233/233 source files have been analyzed
11:51:10.231 INFO Sensor TextAndSecretsSensor [text] (done) | time=2126ms
11:51:10.231 INFO Sensor xxx Project Type Information [vbnet]
11:51:10.232 INFO Sensor xxx Project Type Information [vbnet] (done) | time=1ms
11:51:10.232 INFO Sensor xxx Analysis Log [vbnet]
11:51:10.246 INFO Sensor xxx Analysis Log [vbnet] (done) | time=14ms
11:51:10.246 INFO Sensor xxx Properties [vbnet]
11:51:10.246 INFO Sensor xxx Properties [vbnet] (done) | time=0ms
11:51:10.246 INFO Sensor IaC Docker Sensor [iac]
11:51:10.249 INFO 0 source files to be analyzed
11:51:10.307 INFO 0/0 source files have been analyzed
11:51:10.307 INFO Sensor IaC Docker Sensor [iac] (done) | time=61ms
11:51:10.310 INFO ------------- Run sensors on project
11:51:10.377 INFO Sensor Analysis Warnings import [csharp]
11:51:10.377 INFO Sensor Analysis Warnings import [csharp] (done) | time=0ms
11:51:10.377 INFO Sensor Zero Coverage Sensor
11:51:10.415 INFO Sensor Zero Coverage Sensor (done) | time=38ms
11:51:10.415 INFO Sensor Java CPD Block Indexer
11:51:10.647 INFO Sensor Java CPD Block Indexer (done) | time=232ms
11:51:10.648 INFO SCM Publisher No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
11:51:10.666 INFO CPD Executor 60 files had no CPD blocks
11:51:10.666 INFO CPD Executor Calculating CPD for 164 files
11:51:10.725 INFO CPD Executor CPD calculation finished (done) | time=59ms
11:51:10.877 INFO Analysis report generated in 126ms, dir size=2.0 MB
11:51:11.256 INFO Analysis report compressed in 378ms, zip size=803.7 kB
11:51:11.285 INFO Analysis report uploaded in 29ms
11:51:11.286 INFO ANALYSIS SUCCESSFUL, you can find the results at: xxxx/dashboard?id=TestBug
11:51:11.286 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
11:51:11.287 INFO More about the report processing at xxxx/api/ce/task?id=f950871a-04e6-4545-b49b-4cdd17aa647b
11:51:11.324 INFO Analysis total time: 22.479 s
11:51:11.325 INFO EXECUTION SUCCESS
11:51:11.325 INFO Total time: 24.038s
[root@localhost ltmp-svs-master]# /opt/nbx-agent-docker/mnt/agent/plugins/sonar-scanner-7.2.0.5079-linux-x64/bin/sonar-scanner -Dsonar.projectBaseDir=/opt/ltmp-svs-master -Dsonar.projectKey=TestBug2 -Dsonar.projectName=TestBug2 -Dsonar.host.url=http://192.168.0.201:9000 -Dsonar.token=squ_e67ed8c1cda57f85c296f6f203f488816507e92b -Dsonar.java.binaries=/opt/ltmp-svs-master -Dsonar.sourceEncoding=UTF-8
14:17:47.842 INFO Scanner configuration file: /opt/nbx-agent-docker/mnt/agent/plugins/sonar-scanner-7.2.0.5079-linux-x64/conf/sonar-scanner.properties
14:17:47.847 INFO Project root configuration file: NONE
14:17:47.866 INFO SonarScanner CLI 7.2.0.5079
14:17:47.869 INFO Linux 3.10.0-1160.el7.x86_64 amd64
14:17:48.822 INFO Communicating with SonarQube Server 10.4.0.87286
14:17:49.386 INFO Load global settings
14:17:49.470 INFO Load global settings (done) | time=86ms
14:17:49.475 INFO Server id: 147B411E-AZkEw_wQuAPkoEaGrOwE
14:17:49.480 INFO User cache: /root/.sonar/cache
14:17:49.488 WARN sonar.plugins.downloadOnlyRequired is false, so ALL available plugins will be downloaded
14:17:49.488 INFO Loading all plugins
14:17:49.488 INFO Load plugins index
14:17:49.534 INFO Load plugins index (done) | time=46ms
14:17:49.534 INFO Load/download plugins
14:17:49.638 INFO Load/download plugins (done) | time=104ms
14:17:50.254 INFO Process project properties
14:17:50.255 INFO Process project properties (done) | time=1ms
14:17:50.257 INFO Execute project builders
14:17:50.259 INFO Execute project builders (done) | time=2ms
14:17:50.265 INFO Project key: TestBug2
14:17:50.265 INFO Base dir: /opt/ltmp-svs-master
14:17:50.265 INFO Working dir: /opt/ltmp-svs-master/.scannerwork
14:17:50.274 INFO Load project settings for component key: ‘TestBug2’
14:17:50.295 INFO Load project settings for component key: ‘TestBug2’ (done) | time=21ms
14:17:50.390 INFO Load quality profiles
14:17:50.470 INFO Load quality profiles (done) | time=80ms
14:17:50.505 WARN SCM provider autodetection failed. Please use “sonar.scm.provider” to define SCM of your project, or disable the SCM Sensor in the project settings.
14:17:50.510 INFO Load active rules
14:17:59.577 INFO Load active rules (done) | time=9067ms
14:17:59.584 INFO Load analysis cache
14:17:59.606 INFO Load analysis cache | time=22ms
14:17:59.676 INFO Preprocessing files…
14:17:59.950 INFO 3 languages detected in 831 preprocessed files
14:18:00.005 INFO Load project repositories
14:18:00.034 INFO Load project repositories (done) | time=29ms
14:18:00.072 INFO Indexing files…
14:18:00.072 INFO Project configuration:
14:18:00.280 INFO 831 files indexed
14:18:00.282 INFO Quality profile for java: Sonar way
14:18:00.282 INFO Quality profile for xml: Sonar way
14:18:00.282 INFO Quality profile for yaml: Sonar way
14:18:00.283 INFO ------------- Run sensors on module TestBug2
14:18:00.380 INFO Load metrics repository
14:18:00.403 INFO Load metrics repository (done) | time=23ms
14:18:02.178 INFO Sensor JavaSensor [java]
14:18:02.202 INFO Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
14:18:02.205 INFO Using ECJ batch to parse 224 Main java source files with batch size 500 KB.
14:18:02.470 INFO Starting batch processing.
14:18:03.205 INFO The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
14:18:11.455 INFO 100% analyzed
14:18:11.455 INFO Batch processing: Done.
14:18:11.456 INFO Did not optimize analysis for any files, performed a full analysis for all 224 files.
14:18:11.458 WARN Dependencies/libraries were not provided for analysis of SOURCE files. The ‘sonar.java.libraries’ property is empty. Verify your configuration, as you might end up with less precise results.
14:18:11.462 WARN Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
14:18:11.464 WARN Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
14:18:11.464 INFO No “Test” source files to scan.
14:18:11.464 INFO No “Generated” source files to scan.
14:18:11.465 INFO Sensor JavaSensor [java] (done) | time=9286ms
14:18:11.465 INFO Sensor JaCoCo XML Report Importer [jacoco]
14:18:11.466 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
14:18:11.467 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
14:18:11.467 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
14:18:11.467 INFO Sensor IaC CloudFormation Sensor [iac]
14:18:11.479 INFO 0 source files to be analyzed
14:18:11.492 INFO 0/0 source files have been analyzed
14:18:11.493 INFO Sensor IaC CloudFormation Sensor [iac] (done) | time=26ms
14:18:11.493 INFO Sensor IaC Kubernetes Sensor [iac]
14:18:11.566 INFO 0 source files to be analyzed
14:18:11.574 INFO 0/0 source files have been analyzed
14:18:11.575 INFO Sensor IaC Kubernetes Sensor [iac] (done) | time=82ms
14:18:11.575 INFO Sensor JavaScript inside YAML analysis [javascript]
14:18:11.586 INFO No input files found for analysis
14:18:11.586 INFO Hit the cache for 0 out of 0
14:18:11.587 INFO Miss the cache for 0 out of 0
14:18:11.587 INFO Sensor JavaScript inside YAML analysis [javascript] (done) | time=12ms
14:18:11.587 INFO Sensor CSS Rules [javascript]
14:18:11.590 INFO No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
14:18:11.590 INFO Sensor CSS Rules [javascript] (done) | time=3ms
14:18:11.590 INFO Sensor C# Project Type Information [csharp]
14:18:11.592 INFO Sensor C# Project Type Information [csharp] (done) | time=2ms
14:18:11.593 INFO Sensor C# Analysis Log [csharp]
14:18:11.611 INFO Sensor C# Analysis Log [csharp] (done) | time=18ms
14:18:11.612 INFO Sensor C# Properties [csharp]
14:18:11.612 INFO Sensor C# Properties [csharp] (done) | time=0ms
14:18:11.612 INFO Sensor SurefireSensor [java]
14:18:11.613 INFO parsing [/opt/ltmp-svs-master/target/surefire-reports]
14:18:11.613 INFO Sensor SurefireSensor [java] (done) | time=1ms
14:18:11.613 INFO Sensor HTML [web]
14:18:11.618 INFO Sensor HTML [web] (done) | time=5ms
14:18:11.618 INFO Sensor XML Sensor [xml]
14:18:11.622 INFO 3 source files to be analyzed
14:18:11.876 INFO 3/3 source files have been analyzed
14:18:11.877 INFO Sensor XML Sensor [xml] (done) | time=259ms
14:18:11.877 INFO Sensor TextAndSecretsSensor [text]
14:18:12.315 INFO 233 source files to be analyzed
14:18:14.586 INFO 233/233 source files have been analyzed
14:18:14.586 INFO Sensor TextAndSecretsSensor [text] (done) | time=2709ms
14:18:14.586 INFO Sensor xxx Project Type Information [vbnet]
14:18:14.588 INFO Sensor xxx Project Type Information [vbnet] (done) | time=1ms
14:18:14.588 INFO Sensor xxx Analysis Log [vbnet]
14:18:14.604 INFO Sensor xxx Analysis Log [vbnet] (done) | time=16ms
14:18:14.605 INFO Sensor xxx Properties [vbnet]
14:18:14.605 INFO Sensor xxx Properties [vbnet] (done) | time=0ms
14:18:14.605 INFO Sensor IaC Docker Sensor [iac]
14:18:14.609 INFO 0 source files to be analyzed
14:18:14.672 INFO 0/0 source files have been analyzed
14:18:14.672 INFO Sensor IaC Docker Sensor [iac] (done) | time=67ms
14:18:14.676 INFO ------------- Run sensors on project
14:18:14.757 INFO Sensor Analysis Warnings import [csharp]
14:18:14.758 INFO Sensor Analysis Warnings import [csharp] (done) | time=1ms
14:18:14.758 INFO Sensor Zero Coverage Sensor
14:18:14.807 INFO Sensor Zero Coverage Sensor (done) | time=49ms
14:18:14.808 INFO Sensor Java CPD Block Indexer
14:18:15.042 INFO Sensor Java CPD Block Indexer (done) | time=234ms
14:18:15.043 INFO SCM Publisher No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
14:18:15.064 INFO CPD Executor 60 files had no CPD blocks
14:18:15.065 INFO CPD Executor Calculating CPD for 164 files
14:18:15.143 INFO CPD Executor CPD calculation finished (done) | time=77ms
14:18:15.358 INFO Analysis report generated in 175ms, dir size=2.0 MB
14:18:16.048 INFO Analysis report compressed in 689ms, zip size=806.1 kB
14:18:16.084 INFO Analysis report uploaded in 35ms
14:18:16.085 INFO ANALYSIS SUCCESSFUL, you can find the results at: xxxx?id=TestBug2
14:18:16.085 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
14:18:16.085 INFO More about the report processing at xxxx?id=af2cd9e1-2cce-4aad-bbba-6b7657794c77
14:18:16.160 INFO Analysis total time: 26.414 s
14:18:16.162 INFO EXECUTION SUCCESS
14:18:16.162 INFO Total time: 28.324s
