See <https://builds.apache.org/job/Ant-Master%20SonarQube/134/display/redirect?page=changes>
Changes: [jhm] user actual version of simian [jhm] whatsnew += Log4jListener is deprecated (breaks BWC) [jhm] update to latest Simian (fixed the multi formatter issue) [jhm] update to latest Simian (fixed the multi formatter issue) [bodewig] Use equals method of a string literal to prevent NPE and isEmpty() [bodewig] swap constant string and variable in some equals ops ------------------------------------------ Started by upstream project "Ant-Build-Matrix-master-Linux" build number 1047 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H24 (ubuntu xenial) in workspace <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ant.git > # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ant.git > git --version # timeout=10 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant.git > +refs/heads/*:refs/remotes/origin/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from https://git-wip-us.apache.org/repos/asf/ant.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:825) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123) at hudson.scm.SCM.checkout(SCM.java:495) at hudson.model.AbstractProject.checkout(AbstractProject.java:1202) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1724) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:421) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: remote: Counting objects: 134, done. remote: Compressing objects: 1% (1/65) remote: Compressing objects: 3% (2/65) remote: Compressing objects: 4% (3/65) remote: Compressing objects: 6% (4/65) remote: Compressing objects: 7% (5/65) remote: Compressing objects: 9% (6/65) remote: Compressing objects: 10% (7/65) remote: Compressing objects: 12% (8/65) remote: Compressing objects: 13% (9/65) remote: Compressing objects: 15% (10/65) remote: Compressing objects: 16% (11/65) remote: Compressing objects: 18% (12/65) remote: Compressing objects: 20% (13/65) remote: Compressing objects: 21% (14/65) remote: Compressing objects: 23% (15/65) remote: Compressing objects: 24% (16/65) remote: Compressing objects: 26% (17/65) remote: Compressing objects: 27% (18/65) remote: Compressing objects: 29% (19/65) remote: Compressing objects: 30% (20/65) remote: Compressing objects: 32% (21/65) remote: Compressing objects: 33% (22/65) remote: Compressing objects: 35% (23/65) remote: Compressing objects: 36% (24/65) remote: Compressing objects: 38% (25/65) remote: Compressing objects: 40% (26/65) remote: Compressing objects: 41% (27/65) remote: Compressing objects: 43% (28/65) remote: Compressing objects: 44% (29/65) remote: Compressing objects: 46% (30/65) remote: Compressing objects: 47% (31/65) remote: Compressing objects: 49% (32/65) remote: Compressing objects: 50% (33/65) remote: Compressing objects: 52% (34/65) remote: Compressing objects: 53% (35/65) remote: Compressing objects: 55% (36/65) remote: Compressing objects: 56% (37/65) remote: Compressing objects: 58% (38/65) remote: Compressing objects: 60% (39/65) remote: Compressing objects: 61% (40/65) remote: Compressing objects: 63% (41/65) remote: Compressing objects: 64% (42/65) remote: Compressing objects: 66% (43/65) remote: Compressing objects: 67% (44/65) remote: Compressing objects: 69% (45/65) remote: Compressing objects: 70% (46/65) remote: Compressing objects: 72% (47/65) remote: Compressing objects: 73% (48/65) remote: Compressing objects: 75% (49/65) remote: Compressing objects: 76% (50/65) remote: Compressing objects: 78% (51/65) remote: Compressing objects: 80% (52/65) remote: Compressing objects: 81% (53/65) remote: Compressing objects: 83% (54/65) remote: Compressing objects: 84% (55/65) remote: Compressing objects: 86% (56/65) remote: Compressing objects: 87% (57/65) remote: Compressing objects: 89% (58/65) remote: Compressing objects: 90% (59/65) remote: Compressing objects: 92% (60/65) remote: Compressing objects: 93% (61/65) remote: Compressing objects: 95% (62/65) remote: Compressing objects: 96% (63/65) remote: Compressing objects: 98% (64/65) remote: Compressing objects: 100% (65/65) remote: Compressing objects: 100% (65/65), done. remote: Total 78 (delta 48), reused 0 (delta 0) error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1689) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:380) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) at hudson.remoting.UserRequest.perform(UserRequest.java:207) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:358) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H24 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693) at hudson.remoting.UserResponse.retrieve(UserRequest.java:310) at hudson.remoting.Channel.call(Channel.java:908) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) at sun.reflect.GeneratedMethodAccessor933.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) at com.sun.proxy.$Proxy110.execute(Unknown Source) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:823) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123) at hudson.scm.SCM.checkout(SCM.java:495) at hudson.model.AbstractProject.checkout(AbstractProject.java:1202) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1724) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:421) ERROR: Error fetching remote repo 'origin' Retrying after 10 seconds > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/ant.git > # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/ant.git > git --version # timeout=10 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/ant.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 32d178ffe2ee813f2cc4b7860f64f9232c6aa161 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 32d178ffe2ee813f2cc4b7860f64f9232c6aa161 Commit message: "Merge branch '1.9.x'" > git rev-list c9025be06fabf1c8229a18b890c118533b58e60d # timeout=10 Injecting SonarQube environment variables using the configuration: ASF Sonar Analysis [Ant-Master SonarQube] $ /home/jenkins/tools/ant/latest/bin/ant -file sonarqube.xml -Dsonar.host.url=https://builds.apache.org/analysis Buildfile: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/sonarqube.xml> download: [get] Getting: https://sonarsource.bintray.com/Distribution/sonarqube-ant-task/sonarqube-ant-task-2.5.jar [get] To: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/build/downloads/sonarqube-ant-task.jar> [get] https://sonarsource.bintray.com/Distribution/sonarqube-ant-task/sonarqube-ant-task-2.5.jar moved to https://akamai.bintray.com/43/43e7a8e0a5f8d44cd602de4a7ccf2e819e23429370d1b97425d38562651331cf?__gda__=exp=1517551225~hmac=80a1e3f28b4b1fb16852d97db5ac987fa42c1eed9f3996a20340227934c85c06&response-content-disposition=attachment%3Bfilename%3D%22sonarqube-ant-task-2.5.jar%22&response-content-type=application%2Fjava-archive&requestInfo=U2FsdGVkX18wUqgkb7J8qtP1_d1GMD66X_LoymDiKXFsZWaDPpV16lOUzPVK8jg69ey1f63mgu6wE16GR-6j5EQWrB72HonTs8v48JsCwmAkQa6SOSvKTpL4zRQ_-sna4uqwU-DFCM67-mh8z3kQ-g&response-X-Checksum-Sha1=c33184c4cf5b2ec375ae9838887149c2f0dda132&response-X-Checksum-Sha2=43e7a8e0a5f8d44cd602de4a7ccf2e819e23429370d1b97425d38562651331cf sonar: [sonar:sonar] Apache Ant(TM) version 1.10.1 compiled on February 2 2017 [sonar:sonar] SonarQube Ant Task version: 2.5 [sonar:sonar] Loaded from: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/build/downloads/sonarqube-ant-task.jar> [sonar:sonar] User cache: /home/jenkins/.sonar/cache [sonar:sonar] Load global repositories [sonar:sonar] Load global repositories (done) | time=1473ms [sonar:sonar] Server id: 17cad23492ff68b [sonar:sonar] User cache: /home/jenkins/.sonar/cache [sonar:sonar] Load plugins index [sonar:sonar] Load plugins index (done) | time=373ms [sonar:sonar] Default locale: "en_US", source code encoding: "ISO-8859-1" (analysis is platform dependent) [sonar:sonar] Process project properties [sonar:sonar] Load project repositories [sonar:sonar] Load project repositories (done) | time=982ms [sonar:sonar] Load quality profiles [sonar:sonar] Load quality profiles (done) | time=397ms [sonar:sonar] Load active rules [sonar:sonar] Load active rules (done) | time=2470ms [sonar:sonar] Publish mode [sonar:sonar] ------------- Scan Apache Ant [sonar:sonar] Load server rules [sonar:sonar] Load server rules (done) | time=782ms [sonar:sonar] Base dir: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/> [sonar:sonar] Working dir: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/.sonar> [sonar:sonar] Source paths: src/main [sonar:sonar] Test paths: src/tests/junit [sonar:sonar] Source encoding: ISO-8859-1, default locale: en_US [sonar:sonar] Index files [sonar:sonar] 1196 files indexed [sonar:sonar] Quality profile for java: Sonar way [sonar:sonar] Sensor Lines Sensor [sonar:sonar] Sensor Lines Sensor (done) | time=280ms [sonar:sonar] Sensor JavaSquidSensor [sonar:sonar] Configured Java source version (sonar.java.source): 8 [sonar:sonar] JavaClasspath initialization [sonar:sonar] 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 [sonar:sonar] JavaClasspath initialization (done) | time=4ms [sonar:sonar] JavaTestClasspath initialization [sonar:sonar] Bytecode of dependencies was not provided for analysis of test files, you might end up with less precise results. Bytecode can be provided using sonar.java.test.libraries property [sonar:sonar] JavaTestClasspath initialization (done) | time=4ms [sonar:sonar] Java Main Files AST scan [sonar:sonar] 874 source files to be analyzed [sonar:sonar] 10/874 files analyzed, current file: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/DefaultLogger.java> [sonar:sonar] 31/874 files analyzed, current file: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/Main.java> [sonar:sonar] 64/874 files analyzed, current file: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/filters/ConcatFilter.java> [sonar:sonar] 119/874 files analyzed, current file: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/property/ParseProperties.java> [sonar:sonar] 154/874 files analyzed, current file: <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/taskdefs/Delete.java> BUILD FAILED <https://builds.apache.org/job/Ant-Master%20SonarQube/ws/sonarqube.xml>:24: org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : '<https://builds.apache.org/job/Ant-Master%20SonarQube/ws/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java'> at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:93) at org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:67) at org.sonar.java.JavaSquid.scanSources(JavaSquid.java:114) at org.sonar.java.JavaSquid.scan(JavaSquid.java:108) at org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:87) at org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57) at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) 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.ant.SonarQubeTask.launchAnalysis(SonarQubeTask.java:99) at org.sonarsource.scanner.ant.SonarQubeTask.execute(SonarQubeTask.java:81) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) 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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.Main.runBuild(Main.java:857) at org.apache.tools.ant.Main.startAnt(Main.java:236) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113) Caused by: org.sonar.core.util.ContextException: Unable to write issue | file=<https://builds.apache.org/job/Ant-Master%20SonarQube/ws/.sonar/batch-report/issues-194.pb> at org.sonar.core.util.ContextException.of(ContextException.java:125) at org.sonar.scanner.protocol.output.ScannerReportWriter.appendComponentIssue(ScannerReportWriter.java:79) at org.sonar.batch.issue.ModuleIssues.write(ModuleIssues.java:148) at org.sonar.batch.issue.ModuleIssues.initAndAddIssue(ModuleIssues.java:97) at org.sonar.batch.sensor.DefaultSensorStorage.store(DefaultSensorStorage.java:180) at org.sonar.api.batch.sensor.issue.internal.DefaultIssue.doSave(DefaultIssue.java:156) at org.sonar.api.batch.sensor.internal.DefaultStorable.save(DefaultStorable.java:43) at org.sonar.java.JavaIssue.save(JavaIssue.java:102) at org.sonar.java.SonarComponents.reportIssue(SonarComponents.java:220) at org.sonar.java.SonarComponents.reportIssue(SonarComponents.java:203) at org.sonar.java.model.DefaultJavaFileScannerContext.reportIssueWithFlow(DefaultJavaFileScannerContext.java:124) at org.sonar.java.model.DefaultJavaFileScannerContext.reportIssue(DefaultJavaFileScannerContext.java:119) at org.sonar.java.checks.StringLiteralDuplicatedCheck.scanFile(StringLiteralDuplicatedCheck.java:67) at org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:121) at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:84) ... 50 more Caused by: java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:326) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.io.FilterOutputStream.close(FilterOutputStream.java:158) at org.sonar.scanner.protocol.output.ScannerReportWriter.appendComponentIssue(ScannerReportWriter.java:78) ... 63 more Total time: 1 minute 18 seconds Build step 'Invoke Ant' marked build as failure