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_E1_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: Pulling fs layer
a7a1c0f1b5e3: Pulling fs layer
e50ced8d5c7e: Pulling fs layer
3ded020a7537: Pulling fs layer
d277aafe6ec2: Pulling fs layer
4f4fb700ef54: Pulling fs layer
3ded020a7537: Waiting
d277aafe6ec2: Waiting
4f4fb700ef54: Waiting
e50ced8d5c7e: Verifying Checksum
e50ced8d5c7e: Download complete
9ec3516d0f4b: Verifying Checksum
9ec3516d0f4b: Download complete
d277aafe6ec2: Verifying Checksum
d277aafe6ec2: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
a7a1c0f1b5e3: Verifying Checksum
9ec3516d0f4b: Pull complete
3ded020a7537: Verifying Checksum
a7a1c0f1b5e3: Pull complete
e50ced8d5c7e: Pull complete
3ded020a7537: Pull complete
d277aafe6ec2: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:cb01b71556950dedeef978c5c2d4d8648055cbb263349af5bcb1e047169d8be5
Status: Downloaded newer image for sonarsource/sonar-scanner-cli:latest
14:52:52.532 INFO  Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
14:52:52.537 INFO  Project root configuration file: /usr/src/sonar-project.properties
14:52:52.553 INFO  SonarScanner CLI 7.1.0.4889
14:52:52.554 INFO  Java 17.0.14 Amazon.com Inc. (64-bit)
14:52:52.555 INFO  Linux 6.11.0-19-generic amd64
14:52:52.591 INFO  User cache: /opt/sonar-scanner/.sonar/cache
14:52:53.579 INFO  Communicating with SonarQube Community Build 25.3.0.104237
14:52:53.580 INFO  JRE provisioning: os[linux], arch[x86_64]
14:52:56.637 INFO  Starting SonarScanner Engine...
14:52:56.638 INFO  Java 17.0.13 Eclipse Adoptium (64-bit)
14:52:57.941 INFO  Load global settings
14:52:58.025 INFO  Load global settings (done) | time=85ms
14:52:58.028 INFO  Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
14:52:58.054 INFO  Loading required plugins
14:52:58.054 INFO  Load plugins index
14:52:58.067 INFO  Load plugins index (done) | time=12ms
14:52:58.069 INFO  Load/download plugins
14:52:58.431 INFO  Load/download plugins (done) | time=365ms
14:52:58.769 INFO  Process project properties
14:52:58.782 INFO  Process project properties (done) | time=14ms
14:52:58.793 INFO  Project key: PA_202510_G83_E1_Front:sonar
14:52:58.793 INFO  Base dir: /usr/src
14:52:58.794 INFO  Working dir: /tmp/.scannerwork
14:52:58.802 INFO  Load project settings for component key: 'PA_202510_G83_E1_Front:sonar'
14:52:58.834 INFO  Load quality profiles
14:52:58.894 INFO  Load quality profiles (done) | time=60ms
14:52:58.932 INFO  Load active rules
14:52:59.161 INFO  Load active rules (done) | time=230ms
14:52:59.167 INFO  Load analysis cache
14:52:59.172 INFO  Load analysis cache (404) | time=5ms
14:52:59.231 INFO  Preprocessing files...
14:52:59.338 INFO  2 languages detected in 10 preprocessed files
14:52:59.338 INFO  0 files ignored because of inclusion/exclusion patterns
14:52:59.339 INFO  0 files ignored because of scm ignore settings
14:52:59.339 INFO  Loading plugins for detected languages
14:52:59.341 INFO  Load/download plugins
14:53:00.267 INFO  Load/download plugins (done) | time=925ms
14:53:00.419 INFO  Load project repositories
14:53:00.432 INFO  Load project repositories (done) | time=14ms
14:53:00.450 INFO  Indexing files...
14:53:00.451 INFO  Project configuration:
14:53:00.454 INFO    Excluded sources: **/*.module.ts, **/utils/**, **/*.spec.ts
14:53:00.455 INFO    Included tests: **/*.spec.ts
14:53:00.500 INFO  10 files indexed
14:53:00.501 INFO  Quality profile for css: Sonar way
14:53:00.502 INFO  Quality profile for js: Sonar way
14:53:00.502 INFO  ------------- Run sensors on module PA_202510_G83_E1_Front
14:53:00.540 INFO  Load metrics repository
14:53:00.562 INFO  Load metrics repository (done) | time=24ms
14:53:00.930 INFO  Sensor JaCoCo XML Report Importer [jacoco]
14:53:00.931 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:53:00.931 INFO  No report imported, no coverage information will be imported by JaCoCo XML Report Importer
14:53:00.932 INFO  Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
14:53:00.932 INFO  Sensor Java Config Sensor [iac]
14:53:00.964 INFO  0 source files to be analyzed
14:53:00.972 INFO  0/0 source files have been analyzed
14:53:00.973 INFO  Sensor Java Config Sensor [iac] (done) | time=42ms
14:53:00.973 INFO  Sensor HTML [web]
14:53:00.975 INFO  Sensor HTML [web] (done) | time=3ms
14:53:00.975 INFO  Sensor JavaScript/TypeScript analysis [javascript]
14:53:01.154 INFO  Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64
14:53:01.155 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:53:05.197 INFO  Using embedded Node.js runtime.
14:53:05.197 INFO  Using Node.js executable: '/opt/sonar-scanner/.sonar/js/node-runtime/node'.
14:53:07.330 INFO  Memory configuration: OS (7940 MB), Node.js (2096 MB).
14:53:09.521 INFO  Found 0 tsconfig.json file(s): []
14:53:09.534 INFO  Creating TypeScript program
14:53:09.534 INFO  TypeScript configuration file /tmp/tmp-102-pCGpzsM3AcSs
14:53:09.535 INFO  7 source files to be analyzed
14:53:10.599 INFO  Starting analysis with current program
14:53:12.212 INFO  Analyzed 7 file(s) with current program
14:53:12.221 INFO  7/7 source files have been analyzed
14:53:12.225 INFO  Hit the cache for 0 out of 7
14:53:12.226 INFO  Miss the cache for 7 out of 7: ANALYSIS_MODE_INELIGIBLE [7/7]
14:53:12.226 INFO  Sensor JavaScript/TypeScript analysis [javascript] (done) | time=11249ms
14:53:12.226 INFO  Sensor CSS Rules [javascript]
14:53:12.231 INFO  2 source files to be analyzed
14:53:12.327 INFO  2/2 source files have been analyzed
14:53:12.328 INFO  Hit the cache for 0 out of 0
14:53:12.328 INFO  Miss the cache for 0 out of 0
14:53:12.328 INFO  Sensor CSS Rules [javascript] (done) | time=104ms
14:53:12.329 INFO  Sensor JavaScript/TypeScript Coverage [javascript]
14:53:12.329 INFO  Analysing [/usr/src/coverage/lcov.info]
14:53:12.342 INFO  Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=13ms
14:53:12.343 INFO  Sensor CSS Metrics [javascript]
14:53:12.363 INFO  Sensor CSS Metrics [javascript] (done) | time=21ms
14:53:12.364 INFO  Sensor IaC Docker Sensor [iac]
14:53:12.442 INFO  0 source files to be analyzed
14:53:12.442 INFO  0/0 source files have been analyzed
14:53:12.442 INFO  Sensor IaC Docker Sensor [iac] (done) | time=78ms
14:53:12.442 INFO  Sensor TextAndSecretsSensor [text]
14:53:12.442 INFO  Available processors: 4
14:53:12.443 INFO  Using 4 threads for analysis.
14:53:12.790 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:53:12.815 INFO  Using git CLI to retrieve untracked files
14:53:12.821 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:53:12.831 INFO  9 source files to be analyzed
14:53:12.871 INFO  9/9 source files have been analyzed
14:53:12.872 INFO  Sensor TextAndSecretsSensor [text] (done) | time=431ms
14:53:12.875 INFO  ------------- Run sensors on project
14:53:13.003 INFO  Sensor Zero Coverage Sensor
14:53:13.005 INFO  Sensor Zero Coverage Sensor (done) | time=2ms
14:53:13.006 INFO  ------------- Gather SCA dependencies on project
14:53:13.009 INFO  SCM Publisher SCM provider for this project is: git
14:53:13.009 INFO  SCM Publisher 9 source files to be analyzed
14:53:13.354 INFO  SCM Publisher 9/9 source files have been analyzed (done) | time=343ms
14:53:13.358 INFO  CPD Executor 3 files had no CPD blocks
14:53:13.358 INFO  CPD Executor Calculating CPD for 4 files
14:53:13.366 INFO  CPD Executor CPD calculation finished (done) | time=6ms
14:53:13.372 INFO  SCM revision ID 'bef28ada1bb77a53a69dc9db10150ed0126c7a24'
14:53:13.555 INFO  Analysis report generated in 184ms, dir size=258.5 kB
14:53:13.591 INFO  Analysis report compressed in 35ms, zip size=50.1 kB
14:53:13.861 INFO  Analysis report uploaded in 270ms
14:53:13.862 INFO  ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=PA_202510_G83_E1_Front%3Asonar
14:53:13.863 INFO  Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
14:53:13.863 INFO  More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=b4ea96d0-e83c-46ea-9997-d4388570c3eb
14:53:14.003 INFO  Analysis total time: 15.518 s
14:53:14.003 INFO  SonarScanner Engine completed successfully
14:53:14.355 INFO  EXECUTION SUCCESS
14:53:14.358 INFO  Total time: 21.828s