polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Merlin <p...@nosphere.org>
Subject Re: Build failed in Jenkins: Zest - Check 2.1-SNAPSHOT distributions from develop branch on Java7 (Oracle JDK) #36
Date Tue, 28 Jul 2015 10:19:35 GMT
Humf.

That's the go-offline maven based helper from the binary distribution
that failed while downloading entitystore-jclouds dependencies.

Gson pom for 2.3 contains a small mistake that turns into some "syntax
error" with some maven versions which are largely used and present
amongst builds.a.o slaves (eg. 3.0.4). But some builds.a.o slaves don't
have mvn in PATH so the build passed.

See:
- https://github.com/google/gson/issues/596
- https://github.com/google/gson/issues/588
-
https://github.com/google/gson/commit/6580921f9d6f399a6bc20355d83aea60168d8d5c

I just filled https://issues.apache.org/jira/browse/JCLOUDS-974.

Along the way I found out that files generated by the build and included
in the binary distribution don't have a license header.

I'll fix this as part of ZEST-25.


Apache Jenkins Server a écrit :
> See <https://builds.apache.org/job/Zest%20-%20Check%202.1-SNAPSHOT%20distributions%20from%20develop%20branch%20on%20Java7%20(Oracle%20JDK)/36/changes>
>
> Changes:
>
> [paulmerlin] entity store with enabled cache test case
>
> [paulmerlin] cache clone test, split
>
> [paulmerlin] ZEST-107 Fix JSONEntityState clone logic
>
> [paulmerlin] ZEST-107 Moved issue test to core/testsupport/AbstractEntityStoreTest
>
> [paulmerlin] ZEST-107 TestSupport: add MemoryCachePoolService for testing purpose
>
> [paulmerlin] ZEST-107 Introduce AbstractEntityStoreWithCacheTest in core/testsupport
>
> [paulmerlin] ZEST-107 Tests with Cache of EntityStores supporting Cache SPI
>
> ------------------------------------------
> [...truncated 2807 lines...]
> Project: org.qi4j.extension.indexing-rdf
> Project: org.qi4j.extension.indexing-solr
> Project: org.qi4j.extension.indexing-sql
> Project: org.qi4j.extension.metrics-yammer
> Project: org.qi4j.extension.migration
> Project: org.qi4j.extension.reindexer
> Project: org.qi4j.extension.valueserialization-orgjson
> Project: org.qi4j.extension.valueserialization-jackson
> Project: org.qi4j.extension.valueserialization-stax
> Project: org.qi4j.manual
> Project: org.qi4j.samples
> Project: org.qi4j.sample.dci
> Project: org.qi4j.sample.dci-cargo
> Project: org.qi4j.sample.dci-cargo.dcisample_a
> Project: org.qi4j.sample.dci-cargo.dcisample_b
> Project: org.qi4j.sample.forum
> Project: org.qi4j.sample.rental
> Project: org.qi4j.sample.sql-support
> Project: org.qi4j.sample.swing
> Project: org.qi4j.tools
> Project: org.qi4j.tool.model-detail
> Project: org.qi4j.tool.envisage
> Project: org.qi4j.tool.shell
> Project: org.qi4j.tutorials
> Project: org.qi4j.tutorial.cargo
> Project: org.qi4j.tutorial.composites
> Project: org.qi4j.tutorial.hello
> Project: org.qi4j.tutorial.introduction
> Project: org.qi4j.tutorial.introduction.twominutes
> Project: org.qi4j.tutorial.introduction.tenminutes
> Project: org.qi4j.tutorial.introduction.thirtyminutes
> Project: org.qi4j.tutorial.services
> Project: org.qi4j.tests
> Project: org.qi4j.test.regression
> Project: org.qi4j.test.performance
> Download http://repo1.maven.org/maven2/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1-sources.jar
> Download http://repo1.maven.org/maven2/com/google/code/gson/gson/2.3.1/gson-2.3.1-sources.jar
> Download http://repo1.maven.org/maven2/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1-javadoc.jar
> Download http://repo1.maven.org/maven2/com/google/code/gson/gson/2.3.1/gson-2.3.1-javadoc.jar
> :apache-zest-java-2.1-SNAPSHOT-bin:download
> :checkBinDist_goOfflineMaven
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Unnamed - org.qi4j:go-offline-helper:pom:2.1-SNAPSHOT
> [INFO]    task-segment: [validate]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: com.google.code.gson:gson
>
> Reason: Invalid JDK version in profile 'doclint-java8-disable': Unbounded range: [1.8,
for project com.google.code.gson:gson
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information:
Unable to read the metadata file for artifact 'com.google.code.gson:gson:jar': Invalid JDK
version in profile 'doclint-java8-disable': Unbounded range: [1.8, for project com.google.code.gson:gson
>   com.google.code.gson:gson:jar:2.3
>
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2),
>   go-offline-repo-1 (http://repo1.maven.org/maven2/),
>   go-offline-repo-2 (http://repository.ops4j.org/maven2/),
>   go-offline-repo-3 (http://maven.restlet.org/),
>   go-offline-repo-4 (http://clojars.org/repo/),
>   apache-snapshots (https://repository.apache.org/content/repositories/snapshots)
>
> Path to dependency: 
> 	1) org.qi4j:go-offline-helper:pom:2.1-SNAPSHOT
> 	2) org.apache.jclouds:jclouds-core:jar:1.9.0
>
>
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to
get dependency information: Unable to read the metadata file for artifact 'com.google.code.gson:gson:jar':
Invalid JDK version in profile 'doclint-java8-disable': Unbounded range: [1.8, for project
com.google.code.gson:gson
>   com.google.code.gson:gson:jar:2.3
>
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2),
>   go-offline-repo-1 (http://repo1.maven.org/maven2/),
>   go-offline-repo-2 (http://repository.ops4j.org/maven2/),
>   go-offline-repo-3 (http://maven.restlet.org/),
>   go-offline-repo-4 (http://clojars.org/repo/),
>   apache-snapshots (https://repository.apache.org/content/repositories/snapshots)
>
> Path to dependency: 
> 	1) org.qi4j:go-offline-helper:pom:2.1-SNAPSHOT
> 	2) org.apache.jclouds:jclouds-core:jar:1.9.0
>
>
> 	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
> 	at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	... 17 more
> Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable
to read the metadata file for artifact 'com.google.code.gson:gson:jar': Invalid JDK version
in profile 'doclint-java8-disable': Unbounded range: [1.8, for project com.google.code.gson:gson
> 	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
> 	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
> 	... 24 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Invalid JDK version in
profile 'doclint-java8-disable': Unbounded range: [1.8, for project com.google.code.gson:gson
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:1502)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1194)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
> 	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
> 	... 26 more
> Caused by: org.apache.maven.profiles.activation.ProfileActivationException: Invalid JDK
version in profile 'doclint-java8-disable': Unbounded range: [1.8,
> 	at org.apache.maven.profiles.activation.JdkPrefixProfileActivator.isActive(JdkPrefixProfileActivator.java:57)
> 	at org.apache.maven.profiles.DefaultProfileManager.isActive(DefaultProfileManager.java:273)
> 	at org.apache.maven.profiles.DefaultProfileManager.getActiveProfiles(DefaultProfileManager.java:209)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:1496)
> 	... 30 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Jul 27 18:39:43 UTC 2015
> [INFO] Final Memory: 9M/109M
> [INFO] ------------------------------------------------------------------------
> :checkBinDist_goOfflineMaven FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':checkBinDist_goOfflineMaven'.
>> Process 'command 'mvn'' finished with non-zero exit value 1
>
> * Try:
> Run with --info or --debug option to get more log output.
>
> * Exception is:
> org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':checkBinDist_goOfflineMaven'.
> 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
> 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
> 	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
> 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
> 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
> 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
> 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
> 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
> 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
> 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:208)
> 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:186)
> 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
> 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
> 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
> 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:111)
> 	at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
> 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
> 	at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
> 	at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
> 	at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
> 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
> 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
> 	at org.gradle.initialization.DefaultGradleLauncher$6.run(DefaultGradleLauncher.java:174)
> 	at org.gradle.internal.Factories$1.create(Factories.java:22)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:47)
> 	at org.gradle.initialization.DefaultGradleLauncher.runBuildOperation(DefaultGradleLauncher.java:189)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:171)
> 	at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:35)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:104)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:97)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
> 	at org.gradle.initialization.DefaultGradleLauncher.runRootBuildOperation(DefaultGradleLauncher.java:184)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:97)
> 	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:93)
> 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
> 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:27)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:72)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:44)
> 	at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:50)
> 	at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:27)
> 	at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:40)
> 	at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
> 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
> 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
> 	at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
> 	at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
> 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
> 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
> 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
> 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
> 	at org.gradle.launcher.Main.doAction(Main.java:33)
> 	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
> 	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
> 	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
> 	at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
> 	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
> 	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
> 	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)
> Caused by: org.gradle.process.internal.ExecException: Process 'command 'mvn'' finished
with non-zero exit value 1
> 	at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:366)
> 	at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:31)
> 	at org.gradle.api.tasks.AbstractExecTask.exec(AbstractExecTask.java:54)
> 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
> 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
> 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
> 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
> 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
> 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
> 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
> 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
> 	... 61 more
>
>
> BUILD FAILED
>
> Total time: 17 mins 27.876 secs
> Build step 'Invoke Gradle script' changed build result to FAILURE
> Build step 'Invoke Gradle script' marked build as failure
> Xvfb stopping
> Archiving artifacts
> Sending artifact delta relative to Zest - Check 2.1-SNAPSHOT distributions from develop
branch on Java7 (Oracle JDK) #35
> Archived 12 artifacts
> Archive block size is 32768
> Received 5 blocks and 38784303 bytes
> Compression is 0.4%
> Took 9.4 sec
> Recording test results
> Publishing Javadoc

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message