SonarQube plugin download error

sonarqube

(Min Liu) #1

Hi guys,
I have an issue with SonarQube on Jenkins. We are using SonarQube (7.3). Now when we run the build we are seeing the following errors:

[2019-03-01 17:00:08.679] + /usr/local/CodeCheckTool/sonar-scanner/sonar-scanner-3.2.0/bin/sonar-scanner
[2019-03-01 17:00:08.679] INFO: Scanner configuration file: /usr/local/CodeCheckTool/sonar-scanner/sonar-scanner-3.2.0/conf/sonar-scanner.properties
[2019-03-01 17:00:08.679] INFO: Project root configuration file: /devcloud/slavespace/slave1/workspace/job_d26f4958-7bf102a0-4ba3-4404-aa9b-ba84b5530d9d_301170001/code/sonar-project.properties
[2019-03-01 17:00:08.679] INFO: SonarQube Scanner 3.2.0.1227
[2019-03-01 17:00:08.679] INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
[2019-03-01 17:00:08.679] INFO: Linux 3.10.0-327.62.59.83.h96.x86_64 amd64
[2019-03-01 17:00:08.933] INFO: User cache: /root/.sonar/cache
[2019-03-01 17:00:09.187] INFO: SonarQube server 7.3.0
[2019-03-01 17:00:09.187] INFO: Default locale: “en_US”, source code encoding: “UTF-8”
[2019-03-01 17:00:09.441] INFO: Publish mode
[2019-03-01 17:00:09.441] INFO: Load global settings
[2019-03-01 17:00:09.441] INFO: Load global settings (done) | time=55ms
[2019-03-01 17:00:09.441] INFO: Server id: 6C37418B-AWh1UAfa3KDeEgzwZie_
[2019-03-01 17:00:09.441] INFO: User cache: /root/.sonar/cache
[2019-03-01 17:00:09.695] INFO: Load/download plugins
[2019-03-01 17:00:09.696] INFO: Load plugins index
[2019-03-01 17:00:09.696] INFO: Load plugins index (done) | time=46ms
[2019-03-01 17:00:09.949] INFO: Load/download plugins (done) | time=258ms
[2019-03-01 17:00:09.949] INFO: ------------------------------------------------------------------------
[2019-03-01 17:00:09.949] INFO: EXECUTION FAILURE
[2019-03-01 17:00:09.949] INFO: ------------------------------------------------------------------------
[2019-03-01 17:00:09.949] INFO: Total time: 1.260s
[2019-03-01 17:00:09.949] INFO: Final Memory: 38M/117M
[2019-03-01 17:00:09.949] INFO: ------------------------------------------------------------------------
[2019-03-01 17:00:09.949] ERROR: Error during SonarQube Scanner execution
[2019-03-01 17:00:09.949] ERROR: Fail to download plugin [cxx] into /root/.sonar/_tmp/fileCache5840713031081171712.tmp
[2019-03-01 17:00:09.949] ERROR: Caused by: Connection reset
[2019-03-01 17:00:09.949] ERROR:
[2019-03-01 17:00:09.949] ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
[2019-03-01 17:00:09.968] ERROR: script returned exit code 1


(Min Liu) #2

I forgot install ‘cxx’ plugin, this problem has solved.