Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - SonarQube 10.6.92116 Community Edition, SonarScanner CLI 6.1.0.4477
- how is SonarQube deployed: zip, Docker, Helm - Helm
- what are you trying to achieve - Incremental scans for Gosu Plugin
- what have you tried so far to achieve this - Disabled SCM Sensor
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
09:02:56.842 INFO Scanner configuration file: C:\Users\sbaradia\Downloads\sonar-scanner-6.1.0.4477-windows-x64\bin\..\conf\sonar-scanner.properties
09:02:56.851 INFO Project root configuration file: NONE
09:02:56.870 INFO SonarScanner CLI 6.1.0.4477
09:02:56.873 INFO Java 17.0.11 Eclipse Adoptium (64-bit)
09:02:56.874 INFO Windows 10 10.0 amd64
09:02:56.899 INFO User cache: C:\Users\sbaradia\.sonar\cache
09:02:57.660 INFO JRE provisioning: os[windows], arch[amd64]
09:02:58.226 INFO Communicating with SonarQube Server 10.6.0.92116
09:02:59.036 INFO Starting SonarScanner Engine...
09:02:59.037 INFO Java 17.0.11 Eclipse Adoptium (64-bit)
09:03:00.214 INFO Load global settings
09:03:00.338 INFO Load global settings (done) | time=123ms
09:03:00.344 INFO Server id: 147B411E-AZHC-J_JOkzgHrx9qbkd
09:03:00.361 INFO Loading required plugins
09:03:00.362 INFO Load plugins index
09:03:00.377 INFO Load plugins index (done) | time=15ms
09:03:00.382 INFO Load/download plugins
09:03:00.474 INFO Load/download plugins (done) | time=97ms
09:03:00.876 INFO Process project properties
09:03:00.887 INFO Process project properties (done) | time=11ms
09:03:01.690 INFO Project key: GPC
09:03:01.692 INFO Base dir: C:\GitRepo\Guidewire\policycenter
09:03:01.697 INFO Working dir: C:\GitRepo\Guidewire\policycenter\.scannerwork
09:03:01.704 INFO Load project settings for component key: 'GPC'
09:03:01.729 INFO Load project settings for component key: 'GPC' (done) | time=25ms
09:03:01.771 INFO Load quality profiles
09:03:01.874 INFO Load quality profiles (done) | time=104ms
09:03:01.909 INFO Load active rules
09:03:09.455 INFO Load active rules (done) | time=7545ms
09:03:09.461 INFO Load analysis cache
09:03:09.479 INFO Load analysis cache (2.0 kB) | time=19ms
09:03:09.526 WARN The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token.
09:03:09.548 INFO Preprocessing files...
09:03:19.553 INFO
09:03:29.564 INFO
09:03:39.575 INFO
09:03:49.587 INFO
09:03:59.601 INFO
09:04:09.607 INFO
09:04:19.614 INFO
09:04:29.617 INFO
09:04:39.631 INFO
09:04:49.635 INFO
09:04:59.647 INFO
09:05:09.653 INFO
09:05:19.662 INFO
09:05:29.666 INFO
09:05:39.679 INFO
09:05:49.683 INFO
09:05:59.692 INFO
09:06:09.701 INFO
09:06:19.704 INFO
09:06:29.711 INFO
.....
....
10:03:09.446 INFO 1 language detected in 1 preprocessed file
10:03:09.447 INFO 515492 files ignored because of inclusion/exclusion patterns
10:03:09.451 INFO Loading plugins for detected languages
10:03:09.451 INFO Load/download plugins
10:03:09.452 INFO Load/download plugins (done) | time=0ms
10:03:09.510 INFO Load project repositories
10:03:09.539 INFO Load project repositories (done) | time=28ms
10:03:09.555 INFO Indexing files...
10:03:09.555 INFO Project configuration:
10:03:09.556 INFO Included sources: modules/configuration/gsrc/com/wrberkley/document/PrintUtilServiceImpl.gs
10:03:09.566 INFO 1 file indexed
10:03:09.567 INFO Quality profile for gosu: Sonar way
10:03:09.567 INFO ------------- Run sensors on module GPC
10:03:09.621 INFO Load metrics repository
10:03:09.645 INFO Load metrics repository (done) | time=25ms
10:03:10.136 INFO Sensor JaCoCo XML Report Importer [jacoco]
10:03:10.137 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
10:03:10.140 INFO No report imported, no coverage information will be imported by JaCoCo XML Report Importer
10:03:10.141 INFO Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
10:03:10.141 INFO Sensor Gosu Sensor [communitygosu]
10:03:10.141 INFO isCacheEnabled(): true
10:03:10.143 INFO 1 source file to be analyzed
10:03:10.451 INFO Reflections took 79 ms to scan 1 urls, producing 4 keys and 58 values
10:03:10.607 INFO Reflections took 11 ms to scan 1 urls, producing 2 keys and 6 values
10:03:11.631 INFO 1/1 source file has been analyzed
10:03:11.631 INFO Sensor Gosu Sensor [communitygosu] (done) | time=1493ms
10:03:11.635 INFO Sensor Java Config Sensor [iac]
10:03:11.639 INFO 0 source files to be analyzed
10:03:11.651 INFO 0/0 source files have been analyzed
10:03:11.651 INFO Sensor Java Config Sensor [iac] (done) | time=19ms
10:03:11.652 INFO Sensor IaC Docker Sensor [iac]
10:03:11.653 INFO 0 source files to be analyzed
10:03:11.747 INFO 0/0 source files have been analyzed
10:03:11.747 INFO Sensor IaC Docker Sensor [iac] (done) | time=95ms
10:03:11.751 INFO Sensor TextAndSecretsSensor [text]
10:03:11.751 INFO Available processors: 16
10:03:11.752 INFO Using 16 threads for analysis.
10:03:12.296 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"
10:03:13.567 INFO Using git CLI to retrieve untracked files
10:03:20.424 INFO Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git
10:03:20.435 INFO 1 source file to be analyzed
10:03:20.460 INFO 1/1 source file has been analyzed
10:03:20.460 INFO Sensor TextAndSecretsSensor [text] (done) | time=8714ms
10:03:20.468 INFO ------------- Run sensors on project
10:03:20.506 INFO Sensor Zero Coverage Sensor
10:03:20.515 INFO Sensor Zero Coverage Sensor (done) | time=9ms
10:03:20.516 INFO SCM Publisher is disabled
10:03:20.520 INFO CPD Executor Calculating CPD for 1 file
10:03:20.532 INFO CPD Executor CPD calculation finished (done) | time=11ms
10:03:21.139 INFO Analysis report generated in 97ms, dir size=208.9 kB
10:03:21.208 INFO Analysis report compressed in 66ms, zip size=24.2 kB
10:03:21.262 INFO Analysis report uploaded in 54ms
10:03:21.268 INFO ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=GPC
10:03:21.268 INFO Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
10:03:21.270 INFO More about the report processing at http://localhost:9000/api/ce/task?id=b62f74e1-88f8-4282-934f-3f80062e6059
10:03:21.302 INFO Analysis total time: 1:00:20.733 s
10:03:21.306 INFO SonarScanner Engine completed successfully
10:03:21.584 INFO EXECUTION SUCCESS
10:03:21.585 INFO Total time: 1:00:24.747s
Preprocessing file logs keeps running for almost 1 hour. And every time I run the scan it takes the same time.