Skip to content

17.0.3

Choose a tag to compare

@github-actions github-actions released this 18 Aug 04:44

Description

Abstract

This PR will ignore SonarQube Cloud error.

Background

In some GitHub Actions Exection, SonarQube error was observed (e.g., https://github.com/tier4/scenario_simulator_v2/actions/runs/16771379430/job/47487096560)
By reading error logs carefully, it caused by Network Error.

10:06:58.020 INFO  Analysis report generated in 189ms, dir size=987 KB
10:06:58.509 INFO  Analysis report compressed in 488ms, zip size=778 KB
10:07:09.206 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: Fail to request ***/api/ce/submit?organization=tier4&projectKey=tier4_scenario_simulator_v2&projectName=scenario_simulator_v2&characteristic=pullRequest%3D1661
	at com.sonarsource.scanner.engine.webapi.client.HttpConnector.doCall(HttpConnector.java:253)
	at com.sonarsource.scanner.engine.webapi.client.HttpConnector.post(HttpConnector.java:182)
	at com.sonarsource.scanner.engine.webapi.client.HttpConnector.call(HttpConnector.java:138)
	at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:54)
	at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:220)```

However, retrying shortly will not fix (maybe root cause is Azure problem)

Details

By this PR, any error of SonarQube will not affect Check result (instead, send some messages to PR)

Related Issues