For my workflow, sonarqube-scan-action@v4 suddenly stopped working. The same GitHub workflow definitions and the very same configuration (repository secrets etc.) still worked a short time ago.
- ALM used: GitHub
- CI system used: GitHub actions
- Scanner command used:
-
Run SonarSource/sonarqube-scan-action@v4 with: args: -Dsonar.pullrequest.branch=ALP-1284 -Dsonar.pullrequest.key=52 -Dsonar.pullrequest.base=main -X scannerVersion: 6.2.1.4610 scannerBinariesUrl: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli env: pythonLocation: /opt/hostedtoolcache/Python/3.9.23/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.23/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.23/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.23/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.23/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.23/x64/lib GITHUB_TOKEN: *** SONAR_TOKEN: ***
-
- private repository
- Log messages:
-
Run ${GITHUB_ACTION_PATH}/scripts/run-sonar-scanner-cli.sh -Dsonar.pullrequest.branch=ALP-1284 -Dsonar.pullrequest.key=52 -Dsonar.pullrequest.base=main -X + sonar-scanner -Dsonar.pullrequest.branch=ALP-1284 -Dsonar.pullrequest.key=52 -Dsonar.pullrequest.base=main -X 13:23:21.261 INFO Scanner configuration file: /home/runner/work/_temp/sonar-scanner-cli-6.2.1.4610-Linux-X64/conf/sonar-scanner.properties 13:23:21.265 INFO Project root configuration file: /home/runner/work/io.planer.service.automaticplanning.sense_check/io.planer.service.automaticplanning.sense_check/sonar-project.properties 13:23:21.283 INFO SonarScanner CLI 6.2.1.4610 13:23:21.285 INFO Java 17.0.12 Eclipse Adoptium (64-bit) 13:23:21.286 INFO Linux 6.11.0-1018-azure amd64 13:23:21.292 DEBUG Scanner max available memory: 1 GB 13:23:21.315 DEBUG uname -m returned 'x86_64' 13:23:21.317 DEBUG Create: /home/runner/.sonar/cache 13:23:21.318 INFO User cache: /home/runner/.sonar/cache 13:23:21.318 DEBUG Create: /home/runner/.sonar/cache/_tmp 13:23:21.805 DEBUG Loaded [440] system trusted certificates 13:23:22.017 INFO JRE provisioning: os[linux], arch[x86_64] 13:23:22.046 DEBUG --> GET https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64 13:23:22.470 DEBUG <-- 403 https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64 (424ms, 82-byte body) 13:23:22.470 INFO EXECUTION FAILURE 13:23:22.471 INFO Total time: 1.213s 13:23:22.471 ERROR Error during SonarScanner CLI execution java.lang.IllegalStateException: Error status returned by url [https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64]: 403 at org.sonarsource.scanner.lib.internal.http.ScannerHttpClient.callUrl(ScannerHttpClient.java:163)
-