Hello,
We use bamboo sonar plugin and it failed with the following Read time out, any idea what went wrong?
I have increased the HTTP socket timeout on bamboo to 3 mins, however still experiencing the READ time out.
Here is an excerpt from the bamboo log.
Thanks,
Allan
--build 01-Feb-2020 13:43:40 [INFO] CPD calculation finished
build 01-Feb-2020 13:44:26 [INFO] Analysis report generated in 43405ms, dir size=483 MB
build 01-Feb-2020 13:45:32 [INFO] Analysis reports compressed in 65295ms, zip size=157 MB
build 01-Feb-2020 13:46:53 [INFO] ------------------------------------------------------------------------
build 01-Feb-2020 13:46:53 [INFO] BUILD FAILURE
build 01-Feb-2020 13:46:53 [INFO] ------------------------------------------------------------------------
build 01-Feb-2020 13:46:53 [INFO] Total time: 01:38 h
build 01-Feb-2020 13:46:53 [INFO] Finished at: 2020-02-01T19:46:53Z
build 01-Feb-2020 13:46:53 [INFO] Final Memory: 92M/3077M
build 01-Feb-2020 13:46:53 [INFO] ------------------------------------------------------------------------
build 01-Feb-2020 13:46:53 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project insite-web-app: Fail to request https://<URL>/api/ce/submit?projectKey=com.fg.insite:insite-web-app&projectName=insite-web-app&characteristic=branch%3Drelease/2020.02.0.0&characteristic=branchType%3DLONG: Read timed out -> [Help 1]
build 01-Feb-2020 13:46:53 [ERROR]
build 01-Feb-2020 13:46:53 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 01-Feb-2020 13:46:53 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 01-Feb-2020 13:46:53 [ERROR]
build 01-Feb-2020 13:46:53 [ERROR] For more information about the errors and possible solutions, please read the following articles:
build 01-Feb-2020 13:46:53 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
simple 01-Feb-2020 13:46:54 Failing task since return code of [C:\apache-maven-3.5.2\bin\mvn.cmd -Djava.io.tmpdir=C:\<FOLDER>\Temp\IN-SQ113-JOB1 sonar:sonar -Dsonar.sources=pom.xml,src\main\webapp\scripts,src\main\java -Dsonar.host.url=https://<URL> -Dsonar.login=**** -Dsonar.password=**** -Dsonar.branch.name=someBranch -Dsonar.branch.target=develop] was 1 while expected 0