ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Ant-Master SonarQube #265
Date Mon, 09 Apr 2018 08:00:47 GMT
See <https://builds.apache.org/job/Ant-Master%20SonarQube/265/display/redirect?page=changes>

Changes:

[gintas] Adjust test case for Java 8

[gintas] Checkstyle

[bodewig] use isReverse method rather than reading flag directly

[bodewig] use Comparator's standard implementation

[bodewig] logic got reversed in 73bda1f

------------------------------------------
Started by upstream project "Ant-Build-Matrix-master-Linux" build number 1192
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/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c0acd0f8911dc2258c0a0d3f58990fd8321f817d (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c0acd0f8911dc2258c0a0d3f58990fd8321f817d
Commit message: "logic got reversed in 73bda1f"
 > git rev-list --no-walk 73bda1fb1795335156e6fc9dc8a539ab805bf20c # 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=1523261460~hmac=ef01f7ee8403257ef763c0a99d55e25cf517ef7115b03346d1db14b56cb3c103&response-content-disposition=attachment%3Bfilename%3D%22sonarqube-ant-task-2.5.jar%22&response-content-type=application%2Fjava-archive&requestInfo=U2FsdGVkX1_ebEOctFBM9LV-3WRFZGIgBbSeja6PlEhA9i7fmuj0y1gXhFnOl2HJP24m6N4GyN7351pRHN0LtnA5oiNPo_cqG991iDZ0ZMYPKj-YQAX7wcdz5Y2ZUnV1Qc-1AcOW5a4X3mXq_LogGw&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=1271ms
[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=330ms
[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=1607ms
[sonar:sonar] Load quality profiles
[sonar:sonar] Load quality profiles (done) | time=382ms
[sonar:sonar] Load active rules

BUILD FAILED
<https://builds.apache.org/job/Ant-Master%20SonarQube/ws/sonarqube.xml>:24: java.lang.IllegalStateException:
Unable to load component class org.sonar.batch.report.ActiveRulesPublisher
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
	at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
	at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
	at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
	at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)
	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: java.lang.IllegalStateException: Unable to load component interface org.sonar.api.batch.rule.ActiveRules
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 53 more
Caused by: java.lang.IllegalStateException: Failed to load quality profiles
	at org.sonar.batch.rule.DefaultActiveRulesLoader.loadFromStream(DefaultActiveRulesLoader.java:86)
	at org.sonar.batch.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:59)
	at org.sonar.batch.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:102)
	at org.sonar.batch.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:63)
	at org.sonar.batch.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
	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.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
	at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 67 more
Caused by: com.google.protobuf.InvalidProtocolBufferException: timeout
	at org.sonarqube.ws.Rules$Rule.<init>(Rules.java:6070)
	at org.sonarqube.ws.Rules$Rule.<init>(Rules.java:5705)
	at org.sonarqube.ws.Rules$Rule$1.parsePartialFrom(Rules.java:13650)
	at org.sonarqube.ws.Rules$Rule$1.parsePartialFrom(Rules.java:13644)
	at com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:495)
	at org.sonarqube.ws.Rules$SearchResponse.<init>(Rules.java:1799)
	at org.sonarqube.ws.Rules$SearchResponse.<init>(Rules.java:1737)
	at org.sonarqube.ws.Rules$SearchResponse$1.parsePartialFrom(Rules.java:3099)
	at org.sonarqube.ws.Rules$SearchResponse$1.parsePartialFrom(Rules.java:3093)
	at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:192)
	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:210)
	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:215)
	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
	at org.sonarqube.ws.Rules$SearchResponse.parseFrom(Rules.java:2111)
	at org.sonar.batch.rule.DefaultActiveRulesLoader.loadFromStream(DefaultActiveRulesLoader.java:84)
	... 86 more

Total time: 1 minute 47 seconds
Build step 'Invoke Ant' marked build as failure

Mime
View raw message