Skip to content

Console Output

+ docker run --rm -u root -e SONAR_HOST_URL=http://10.20.84.26:8082/sonar -e SONAR_TOKEN=**** -v /home/cecaduser/workspace/PA_202510_G83_E4_Front:/usr/src sonarsource/sonar-scanner-cli
Unable to find image 'sonarsource/sonar-scanner-cli:latest' locally
latest: Pulling from sonarsource/sonar-scanner-cli
9ec3516d0f4b: Already exists
a7a1c0f1b5e3: Already exists
e50ced8d5c7e: Already exists
3ded020a7537: Pulling fs layer
d277aafe6ec2: Pulling fs layer
4f4fb700ef54: Pulling fs layer
4f4fb700ef54: Download complete
d277aafe6ec2: Download complete
3ded020a7537: Pull complete
d277aafe6ec2: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:cb01b71556950dedeef978c5c2d4d8648055cbb263349af5bcb1e047169d8be5
Status: Downloaded newer image for sonarsource/sonar-scanner-cli:latest
14:55:24.042 INFO  Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
14:55:24.055 INFO  Project root configuration file: /usr/src/sonar-project.properties
14:55:24.099 INFO  SonarScanner CLI 7.1.0.4889
14:55:24.101 INFO  Java 17.0.14 Amazon.com Inc. (64-bit)
14:55:24.103 INFO  Linux 6.11.0-19-generic amd64
14:55:24.173 INFO  User cache: /opt/sonar-scanner/.sonar/cache
14:55:26.123 INFO  Communicating with SonarQube Community Build 25.3.0.104237
14:55:26.124 INFO  JRE provisioning: os[linux], arch[x86_64]
14:55:29.661 INFO  Starting SonarScanner Engine...
14:55:29.662 INFO  Java 17.0.13 Eclipse Adoptium (64-bit)
14:55:31.678 INFO  Load global settings
14:55:31.798 INFO  Load global settings (done) | time=118ms
14:55:31.800 INFO  Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
14:55:31.817 INFO  Loading required plugins
14:55:31.818 INFO  Load plugins index
14:55:31.855 INFO  Load plugins index (done) | time=34ms
14:55:31.860 INFO  Load/download plugins
14:55:32.320 INFO  Load/download plugins (done) | time=467ms
14:55:32.841 INFO  Process project properties
14:55:32.857 INFO  Process project properties (done) | time=17ms
14:55:32.862 INFO  Project key: PA_202510_G83_E4_Front:sonar
14:55:32.866 INFO  Base dir: /usr/src
14:55:32.867 INFO  Working dir: /tmp/.scannerwork
14:55:32.878 INFO  Load project settings for component key: 'PA_202510_G83_E4_Front:sonar'
14:55:32.912 INFO  Load quality profiles
14:55:33.004 INFO  Load quality profiles (done) | time=93ms
14:55:33.122 INFO  Load active rules
14:55:33.570 INFO  Load active rules (done) | time=447ms
14:55:33.587 INFO  Load analysis cache
14:55:33.592 INFO  Load analysis cache (404) | time=10ms
14:55:33.728 INFO  Preprocessing files...
14:55:33.880 INFO  2 languages detected in 10 preprocessed files
14:55:33.884 INFO  0 files ignored because of inclusion/exclusion patterns
14:55:33.887 INFO  0 files ignored because of scm ignore settings
14:55:33.887 INFO  Loading plugins for detected languages
14:55:33.888 INFO  Load/download plugins
14:55:35.138 INFO  Load/download plugins (done) | time=1254ms
14:55:35.367 INFO  Load project repositories
14:55:35.377 INFO  Load project repositories (done) | time=9ms
14:55:35.402 INFO  Indexing files...
14:55:35.405 INFO  Project configuration:
14:55:35.407 INFO    Excluded sources: **/*.module.ts, **/utils/**, **/*.spec.ts
14:55:35.412 INFO    Included tests: **/*.spec.ts
14:55:35.447 INFO  10 files indexed
14:55:35.447 INFO  Quality profile for css: Sonar way
14:55:35.447 INFO  Quality profile for js: Sonar way
14:55:35.447 INFO  ------------- Run sensors on module PA_202510_G83_E4_Front
14:55:35.496 INFO  Load metrics repository
14:55:35.544 INFO  Load metrics repository (done) | time=48ms
14:55:36.237 INFO  Sensor JaCoCo XML Report Importer [jacoco]
14:55:36.238 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:55:36.239 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer
14:55:36.239 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
14:55:36.239 INFO  Sensor Java Config Sensor [iac]
14:55:36.274 INFO  0 source files to be analyzed
14:55:36.281 INFO  0/0 source files have been analyzed
14:55:36.281 INFO  Sensor Java Config Sensor [iac] (done) | time=45ms
14:55:36.282 INFO  Sensor HTML [web]
14:55:36.284 INFO  Sensor HTML [web] (done) | time=4ms
14:55:36.287 INFO  Sensor JavaScript/TypeScript analysis [javascript]
14:55:36.618 INFO  Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64
14:55:36.629 INFO  Deploy location /opt/sonar-scanner/.sonar/js/node-runtime, tagetRuntime: /opt/sonar-scanner/.sonar/js/node-runtime/node,  version: /opt/sonar-scanner/.sonar/js/node-runtime/version.txt
14:55:41.151 INFO  Using embedded Node.js runtime.
14:55:41.152 INFO  Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'.
14:55:43.739 INFO  Memory configuration: OS (7940 MB), Node.js (2096 MB).
14:55:46.404 INFO  Found 0 tsconfig.json file(s): []
14:55:46.448 INFO  Creating TypeScript program
14:55:46.451 INFO  TypeScript configuration file /tmp/tmp-104-Uae1137HPGdG
14:55:46.451 INFO  7 source files to be analyzed
14:55:48.591 INFO  Starting analysis with current program
14:55:52.016 INFO  Analyzed 7 file(s) with current program
14:55:52.042 INFO  7/7 source files have been analyzed
14:55:52.044 INFO  Hit the cache for 0 out of 7
14:55:52.047 INFO  Miss the cache for 7 out of 7: ANALYSIS_MODE_INELIGIBLE [7/7]
14:55:52.048 INFO  Sensor JavaScript/TypeScript analysis [javascript] (done) | time=15761ms
14:55:52.050 INFO  Sensor CSS Rules [javascript]
14:55:52.066 INFO  2 source files to be analyzed
14:55:52.266 INFO  2/2 source files have been analyzed
14:55:52.273 INFO  Hit the cache for 0 out of 0
14:55:52.275 INFO  Miss the cache for 0 out of 0
14:55:52.275 INFO  Sensor CSS Rules [javascript] (done) | time=223ms
14:55:52.278 INFO  Sensor JavaScript/TypeScript Coverage [javascript]
14:55:52.279 INFO  Analysing [/usr/src/coverage/lcov.info]
14:55:52.335 INFO  Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=67ms
14:55:52.339 INFO  Sensor CSS Metrics [javascript]
14:55:52.387 INFO  Sensor CSS Metrics [javascript] (done) | time=52ms
14:55:52.388 INFO  Sensor IaC Docker Sensor [iac]
14:55:52.603 INFO  0 source files to be analyzed
14:55:52.603 INFO  0/0 source files have been analyzed
14:55:52.603 INFO  Sensor IaC Docker Sensor [iac] (done) | time=215ms
14:55:52.605 INFO  Sensor TextAndSecretsSensor [text]
14:55:52.607 INFO  Available processors: 4
14:55:52.607 INFO  Using 4 threads for analysis.
14:55:53.141 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"

14:55:53.190 INFO  Using git CLI to retrieve untracked files
14:55:53.203 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"
14:55:53.239 INFO  9 source files to be analyzed
14:55:53.342 INFO  9/9 source files have been analyzed
14:55:53.344 INFO  Sensor TextAndSecretsSensor [text] (done) | time=742ms
14:55:53.354 INFO  ------------- Run sensors on project
14:55:53.502 INFO  Sensor Zero Coverage Sensor
14:55:53.505 INFO  Sensor Zero Coverage Sensor (done) | time=3ms
14:55:53.505 INFO  ------------- Gather SCA dependencies on project
14:55:53.510 INFO  SCM Publisher SCM provider for this project is: git
14:55:53.511 INFO  SCM Publisher 9 source files to be analyzed
14:55:53.961 INFO  SCM Publisher 9/9 source files have been analyzed (done) | time=439ms
14:55:53.967 INFO  CPD Executor 3 files had no CPD blocks
14:55:53.968 INFO  CPD Executor Calculating CPD for 4 files
14:55:53.983 INFO  CPD Executor CPD calculation finished (done) | time=13ms
14:55:54.007 INFO  SCM revision ID 'ec0a287e552ff5f1290edad82f844f3895d43697'
14:55:54.615 INFO  Analysis report generated in 607ms, dir size=258.5 kB
14:55:54.711 INFO  Analysis report compressed in 94ms, zip size=50.2 kB
14:55:54.879 INFO  Analysis report uploaded in 169ms
14:55:54.887 INFO  ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=PA_202510_G83_E4_Front%3Asonar
14:55:54.887 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
14:55:54.887 INFO  More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=15cc31d4-57cb-4319-b5c8-40614cec89f4
14:55:55.275 INFO  Analysis total time: 22.796 s
14:55:55.275 INFO  SonarScanner Engine completed successfully
14:55:55.666 INFO  EXECUTION SUCCESS
14:55:55.668 INFO  Total time: 31.645s