Sonar Build (Master)

Build: #1132 failed Manual run by Stéphane Nicoll

Build result summary

Details

Completed
Duration
15 minutes
Labels
None
Agent
bamboo-03.af.pivotal.io
Revision
5a51351fa4e582571a442b331fb3f2bec0e63f30 5a51351fa4e582571a442b331fb3f2bec0e63f30
Failing since
#976 (Scheduled with changes by 6 people)

No failed tests found, a possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Stéphane Nicoll Stéphane Nicoll 5a51351fa4e582571a442b331fb3f2bec0e63f30 5a51351fa4e582571a442b331fb3f2bec0e63f30 Relax test assertion when Jacoco is enabled
This commit changes the resolveMethod to take a method name as
instrumentation may add additional methods to the test object.

Issue: SPR-15888

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeSPR-15888Could not obtain issue details from JIRA

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

        at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:234) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119) [sonar-scanner-engine-shaded-5.6.3.jar:na]
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:63) [sonar-scanner-api-batch9118975001708217432.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) [sonar-scanner-api-2.9.0.887.jar:na]
        at com.sun.proxy.$Proxy99.execute(Unknown Source) [na:na]
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233) [sonar-scanner-api-2.9.0.887.jar:na]
        at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151) [sonar-scanner-api-2.9.0.887.jar:na]
        at org.sonarqube.gradle.SonarQubeTask.run(SonarQubeTask.java:99) [sonarqube-gradle-plugin-2.5.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) [gradle-base-services-4.1.jar:4.1]
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:731) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:705) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) [gradle-core-4.1.jar:4.1]
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580) [gradle-core-4.1.jar:4.1]
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99) [gradle-core-4.1.jar:4.1]
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.1.jar:4.1]
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.1.jar:4.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_121]
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.1.jar:4.1]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
Caused by: java.lang.IllegalStateException: Unable to open /opt/bamboo-home/xml-data/build-dir/SPR-SONAR-JOB1/spring-orm/build/resources/test/order.jar
        at org.sonar.java.bytecode.loader.JarLoader.<init>(JarLoader.java:51) ~[java-frontend-4.5.0.8398.jar:na]
        at org.sonar.java.bytecode.loader.SquidClassLoader.<init>(SquidClassLoader.java:51) ~[java-frontend-4.5.0.8398.jar:na]
        at org.sonar.java.bytecode.ClassLoaderBuilder.create(ClassLoaderBuilder.java:59) ~[java-frontend-4.5.0.8398.jar:na]
        ... 87 common frames omitted
Caused by: java.util.zip.ZipException: zip file is empty
        at java.util.zip.ZipFile.open(Native Method) ~[na:1.8.0_121]
        at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[na:1.8.0_121]
        at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[na:1.8.0_121]
        at java.util.jar.JarFile.<init>(JarFile.java:166) ~[na:1.8.0_121]
        at java.util.jar.JarFile.<init>(JarFile.java:130) ~[na:1.8.0_121]
        at org.sonar.java.bytecode.loader.JarLoader.<init>(JarLoader.java:48) ~[java-frontend-4.5.0.8398.jar:na]
        ... 89 common frames omitted


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarqube'.
> Can not execute Findbugs

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 14m 3s