See <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/108/display/redirect?page=changes>
Changes: [elecharny] Removed useless calls to computeHashCode() ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H35 (ubuntu xenial) in workspace <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/> Cloning the remote Git repository Cloning repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git > git init <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/> > # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/directory-ldap-api.git > git --version # timeout=10 > git fetch --tags --progress > https://gitbox.apache.org/repos/asf/directory-ldap-api.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://gitbox.apache.org/repos/asf/directory-ldap-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url > https://gitbox.apache.org/repos/asf/directory-ldap-api.git # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/directory-ldap-api.git > git fetch --tags --progress > https://gitbox.apache.org/repos/asf/directory-ldap-api.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision a2edcde1e3d18102ed36661fa2e1cf670a9b5677 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a2edcde1e3d18102ed36661fa2e1cf670a9b5677 Commit message: "Removed useless calls to computeHashCode()" > git rev-list --no-walk 8b818354ecd1bd1613c5c9462d66a04cae941d30 # timeout=10 Injecting SonarQube environment variables using the configuration: ASF Sonar Analysis [dir-ldap-api-jdk8-linux SONAR] $ /home/jenkins/jenkins-slave/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner_2.8/bin/sonar-scanner -Dsonar.host.url=https://builds.apache.org/analysis ******** -Dsonar.projectName=LDAP_API -Dsonar.projectVersion=2.0.0 -Dsonar.projectKey=LDAP_API -Dsonar.sources=. "-Dsonar.projectBaseDir=<https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/"> INFO: Scanner configuration file: /home/jenkins/jenkins-slave/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner_2.8/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarQube Scanner 2.8 INFO: Java 1.8.0_172 Oracle Corporation (64-bit) INFO: Linux 4.4.0-133-generic amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: Load global repositories INFO: Load global repositories (done) | time=1361ms INFO: Server id: 17cad23492ff68b INFO: User cache: /home/jenkins/.sonar/cache INFO: Load plugins index INFO: Load plugins index (done) | time=377ms INFO: SonarQube server 5.6.3 INFO: Default locale: "en_US", source code encoding: "ISO-8859-1" (analysis is platform dependent) INFO: Process project properties INFO: Load project repositories INFO: Load project repositories (done) | time=2052ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=411ms INFO: Load active rules INFO: Load active rules (done) | time=2419ms INFO: Publish mode INFO: ------------- Scan LDAP_API INFO: Load server rules INFO: Load server rules (done) | time=829ms INFO: Base dir: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/> INFO: Working dir: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/.sonar> INFO: Source paths: . INFO: Source encoding: ISO-8859-1, default locale: en_US INFO: Index files INFO: 1523 files indexed INFO: Quality profile for java: Sonar way INFO: Sensor Lines Sensor INFO: Sensor Lines Sensor (done) | time=195ms INFO: Sensor JavaSquidSensor INFO: Configured Java source version (sonar.java.source): none INFO: JavaClasspath initialization WARN: Bytecode of dependencies was not provided for analysis of source files, you might end up with less precise results. Bytecode can be provided using sonar.java.libraries property INFO: JavaClasspath initialization (done) | time=2ms INFO: JavaTestClasspath initialization INFO: JavaTestClasspath initialization (done) | time=2ms INFO: Java Main Files AST scan INFO: 1523 source files to be analyzed INFO: 43/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/DsmlDecorator.java> INFO: 111/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/dsml/parser/src/test/java/org/apache/directory/api/dsmlv2/extendedRequest/ExtendedRequestTest.java> INFO: 163/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/integ/src/test/java/org/apache/directory/api/ldap/model/name/SchemaAwareRdnTest.java> INFO: 254/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/LdapMessageGrammar.java> INFO: 446/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/codec/core/src/test/java/org/apache/directory/api/ldap/codec/LdapDecoderTest.java> INFO: 525/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/extras/aci/src/test/java/org/apache/directory/api/ldap/aci/UserClass_NameTest.java> INFO: 791/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/extras/trigger/src/test/java/org/apache/directory/api/ldap/trigger/TriggerSpecificationParserTest.java> INFO: 912/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java> INFO: 1033/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AbstractSchemaObject.java> INFO: 1074/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/CsnSidComparator.java> INFO: 1121/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java> INFO: 1240/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SupplierAndConsumerSyntaxChecker.java> INFO: 1319/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/model/src/test/java/org/apache/directory/api/ldap/model/name/DnParserTest.java> INFO: 1461/1523 files analyzed, current file: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/JarLdifSchemaLoader.java> INFO: Java Main Files AST scan (done) | time=149297ms INFO: 1523/1523 source files have been analyzed INFO: Java Test Files AST scan INFO: 0 source files to be analyzed INFO: Java Test Files AST scan (done) | time=1ms INFO: 0/0 source files have been analyzed INFO: Sensor JavaSquidSensor (done) | time=150317ms INFO: Sensor SCM Sensor INFO: SCM provider for this project is: git INFO: 12 files to be analyzed INFO: 12/12 files analyzed INFO: Sensor SCM Sensor (done) | time=902ms INFO: Sensor Coverage Report Import INFO: Sensor Coverage Report Import (done) | time=0ms INFO: Sensor Coverage Report Import INFO: Sensor Coverage Report Import (done) | time=0ms INFO: Sensor Unit Test Results Import INFO: Sensor Unit Test Results Import (done) | time=0ms INFO: Sensor SurefireSensor INFO: parsing <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/target/surefire-reports> INFO: Sensor SurefireSensor (done) | time=1ms INFO: Sensor JaCoCoSensor INFO: JaCoCoSensor: JaCoCo report not found : <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/target/jacoco.exec> INFO: Sensor JaCoCoSensor (done) | time=0ms INFO: Sensor JaCoCoItSensor INFO: JaCoCoItSensor: JaCoCo IT report not found: <https://builds.apache.org/job/dir-ldap-api-jdk8-linux%20SONAR/ws/target/jacoco-it.exec> INFO: Sensor JaCoCoItSensor (done) | time=0ms INFO: Sensor JaCoCoOverallSensor INFO: Sensor JaCoCoOverallSensor (done) | time=0ms INFO: Sensor XmlFileSensor INFO: Sensor XmlFileSensor (done) | time=10ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=409ms INFO: Sensor Code Colorizer Sensor INFO: Sensor Code Colorizer Sensor (done) | time=29ms INFO: Sensor CPD Block Indexer INFO: JavaCpdBlockIndexer is used for java INFO: Sensor CPD Block Indexer (done) | time=2875ms INFO: Calculating CPD for 1194 files INFO: CPD calculation finished INFO: Analysis report generated in 3092ms, dir size=20 MB INFO: Analysis reports compressed in 5183ms, zip size=7 MB INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 4:04.726s INFO: Final Memory: 141M/5106M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution java.lang.IllegalStateException: Fail to request https://builds.apache.org/analysis/api/ce/submit?projectKey=LDAP_API&projectName=LDAP_API at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:212) at org.sonarqube.ws.client.HttpConnector.post(HttpConnector.java:175) at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:146) at org.sonar.batch.bootstrap.BatchWsClient.call(BatchWsClient.java:67) at org.sonar.batch.report.ReportPublisher.upload(ReportPublisher.java:172) at org.sonar.batch.report.ReportPublisher.execute(ReportPublisher.java:127) at org.sonar.batch.phases.PublishPhaseExecutor.publishReportJob(PublishPhaseExecutor.java:64) at org.sonar.batch.phases.PublishPhaseExecutor.executeOnRoot(PublishPhaseExecutor.java:51) at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:86) at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at com.sun.proxy.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233) at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151) at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110) at org.sonarsource.scanner.cli.Main.execute(Main.java:74) at org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$3.newTimeoutException(Okio.java:207) at okio.AsyncTimeout.exit(AsyncTimeout.java:261) at okio.AsyncTimeout$1.write(AsyncTimeout.java:158) at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:176) at okio.RealBufferedSink.write(RealBufferedSink.java:46) at com.squareup.okhttp.internal.http.HttpConnection$FixedLengthSink.write(HttpConnection.java:302) at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:176) at okio.RealBufferedSink.writeAll(RealBufferedSink.java:104) at com.squareup.okhttp.RequestBody$3.writeTo(RequestBody.java:118) at com.squareup.okhttp.MultipartBuilder$MultipartRequestBody.writeOrCountBytes(MultipartBuilder.java:277) at com.squareup.okhttp.MultipartBuilder$MultipartRequestBody.writeTo(MultipartBuilder.java:297) at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:890) at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:748) at com.squareup.okhttp.Call.getResponse(Call.java:277) at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:234) at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:196) at com.squareup.okhttp.Call.execute(Call.java:79) at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:209) ... 34 more Caused by: java.net.SocketException: Connection closed by remote host at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1565) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:124) at okio.Okio$1.write(Okio.java:80) at okio.AsyncTimeout$1.write(AsyncTimeout.java:155) ... 49 more ERROR: ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging. WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed? WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed? ERROR: SonarQube scanner exited with non-zero code: 1
