You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@cxf.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/08/04 17:51:33 UTC

Build failed in Jenkins: CXF-xjc-utils #64

See <https://builds.apache.org/job/CXF-xjc-utils/64/display/redirect?page=changes>

Changes:

[dkulp] Fix NPE

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (couchdbtest ubuntu xenial) in workspace <https://builds.apache.org/job/CXF-xjc-utils/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/cxf-xjc-utils.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/cxf-xjc-utils.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/cxf-xjc-utils.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 1336710aa119c8df43bcd600ce96b8d6018010d6 (refs/remotes/origin/master)
Commit message: "Fix NPE"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1336710aa119c8df43bcd600ce96b8d6018010d6
 > git rev-list b836aa82354f8990730deaa924963ab32b7e258c # timeout=10
Parsing POMs
Established TCP socket on 44104
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[CXF-xjc-utils] $ /home/jenkins/tools/java/latest1.7/bin/java -da -dsa -XX:MaxPermSize=192m -Xmx768M -Djava.awt.headless=true -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.5 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 44104
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: ================================================================================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (latest)' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to point to /home/jenkins/tools/java/latest1.7.
ERROR: ================================================================================
Established TCP socket on 42381
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[CXF-xjc-utils] $ /usr/local/asfpackages/java/jdk1.8.0_131/jre/bin/java -da -dsa -XX:MaxPermSize=192m -Xmx768M -Djava.awt.headless=true -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.5 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 42381
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/CXF-xjc-utils/ws/pom.xml> -Dmaven.repo.local=<https://builds.apache.org/job/CXF-xjc-utils/ws/.repository> -U -cpu -e -B clean deploy
[INFO] Error stacktraces are turned on.
[WARNING] Command line option -cpu is deprecated and will be removed in future Maven versions.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache CXF XJC Utils
[INFO] Apache CXF XSD2Java Plugin
[INFO] Apache CXF XJC Default Value Plugin
[INFO] Apache CXF XJC Default Value Plugin Tests
[INFO] Apache CXF XJC toString Plugin
[INFO] Apache CXF XJC toString Plugin Tests
[INFO] Apache CXF XJC Boolean Getter Plugin
[INFO] Apache CXF XJC Boolean Getter Plugin Tests
[INFO] Apache CXF XJC WSDL Extension Plugin
[INFO] Apache CXF XJC WSDL Extension Plugin Tests
[INFO] Apache CXF XJC Plugin To Workaround JAXB Bug 671
[INFO] Apache CXF XJC Plugin To Workaround JAXB Bug 986
[INFO] Apache CXF XJC Property Listener Plugin
[INFO] Apache CXF XJC JavaDoc Plugin
[INFO] Apache CXF XJC Runtime
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CXF XJC Utils 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ xjc-utils ---
[INFO] Deleting file set: <https://builds.apache.org/job/CXF-xjc-utils/ws/target> (included: [**], excluded: [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:checkstyle (validate) @ xjc-utils ---
[INFO] 
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ xjc-utils ---
[INFO] 
[INFO] --- maven-pmd-plugin:3.0.1:check (validate) @ xjc-utils ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ xjc-utils ---
[INFO] 
[INFO] --- maven-site-plugin:3.0-beta-3:attach-descriptor (attach-descriptor) @ xjc-utils ---
[INFO] 
[INFO] --- maven-install-plugin:2.3:install (default-install) @ xjc-utils ---
[INFO] Installing <https://builds.apache.org/job/CXF-xjc-utils/ws/pom.xml> to <https://builds.apache.org/job/CXF-xjc-utils/ws/.repository/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/xjc-utils-3.2.0-SNAPSHOT.pom>
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ xjc-utils ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/maven-metadata.xml (610 B at 0.6 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/xjc-utils-3.2.0-20170804.175045-3.pom
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/xjc-utils-3.2.0-20170804.175045-3.pom (25 KB at 26.3 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/maven-metadata.xml
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/maven-metadata.xml (633 B at 1.1 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/3.2.0-SNAPSHOT/maven-metadata.xml (610 B at 0.7 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/maven-metadata.xml
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/cxf/xjc-utils/xjc-utils/maven-metadata.xml (633 B at 0.7 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CXF XSD2Java Plugin 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ cxf-xjc-plugin ---
[INFO] Deleting file set: <https://builds.apache.org/job/CXF-xjc-utils/ws/cxf-xjc-plugin/target> (included: [**], excluded: [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:checkstyle (validate) @ cxf-xjc-plugin ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ cxf-xjc-plugin ---
[INFO] 
[INFO] --- maven-pmd-plugin:3.0.1:check (validate) @ cxf-xjc-plugin ---
[INFO] 
[INFO] 
[INFO] --- maven-plugin-plugin:3.2:descriptor (default-descriptor) @ cxf-xjc-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ cxf-xjc-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cxf-xjc-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ cxf-xjc-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to <https://builds.apache.org/job/CXF-xjc-utils/ws/cxf-xjc-plugin/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CXF XJC Utils .............................. SUCCESS [11.448s]
[INFO] Apache CXF XSD2Java Plugin ........................ FAILURE [6.367s]
[INFO] Apache CXF XJC Default Value Plugin ............... SKIPPED
[INFO] Apache CXF XJC Default Value Plugin Tests ......... SKIPPED
[INFO] Apache CXF XJC toString Plugin .................... SKIPPED
[INFO] Apache CXF XJC toString Plugin Tests .............. SKIPPED
[INFO] Apache CXF XJC Boolean Getter Plugin .............. SKIPPED
[INFO] Apache CXF XJC Boolean Getter Plugin Tests ........ SKIPPED
[INFO] Apache CXF XJC WSDL Extension Plugin .............. SKIPPED
[INFO] Apache CXF XJC WSDL Extension Plugin Tests ........ SKIPPED
[INFO] Apache CXF XJC Plugin To Workaround JAXB Bug 671 .. SKIPPED
[INFO] Apache CXF XJC Plugin To Workaround JAXB Bug 986 .. SKIPPED
[INFO] Apache CXF XJC Property Listener Plugin ........... SKIPPED
[INFO] Apache CXF XJC JavaDoc Plugin ..................... SKIPPED
[INFO] Apache CXF XJC Runtime ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.222s
[INFO] Finished at: Fri Aug 04 17:50:59 UTC 2017
[INFO] Final Memory: 36M/502M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cxf-xjc-plugin: Compilation failure
[ERROR] javac: invalid target release: 1.8
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cxf-xjc-plugin: Compilation failure
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options


	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
	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 hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	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)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options


	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
	at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 30 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cxf-xjc-plugin
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/cxf-xjc-plugin/pom.xml> to org.apache.cxf/cxf-xjc-plugin/3.2.0-SNAPSHOT/cxf-xjc-plugin-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/property-listener/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-pl/3.2.0-SNAPSHOT/cxf-xjc-pl-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/bug671/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-bug671/3.2.0-SNAPSHOT/cxf-xjc-bug671-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/ts/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-ts/3.2.0-SNAPSHOT/cxf-xjc-ts-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/wsdlextension/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-wsdlextension/3.2.0-SNAPSHOT/cxf-xjc-wsdlextension-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/boolean/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-boolean/3.2.0-SNAPSHOT/cxf-xjc-boolean-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/pom.xml> to org.apache.cxf.xjc-utils/xjc-utils/3.2.0-SNAPSHOT/xjc-utils-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/bug986/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-bug986/3.2.0-SNAPSHOT/cxf-xjc-bug986-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/ts-test/pom.xml> to org.apache.cxf.xjcplugins.tests/cxf-xjc-ts-test/3.2.0-SNAPSHOT/cxf-xjc-ts-test-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/boolean-test/pom.xml> to org.apache.cxf.xjcplugins.tests/cxf-xjc-boolean-test/3.2.0-SNAPSHOT/cxf-xjc-boolean-test-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/javadoc/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-javadoc/3.2.0-SNAPSHOT/cxf-xjc-javadoc-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/runtime/pom.xml> to org.apache.cxf.xjc-utils/cxf-xjc-runtime/3.2.0-SNAPSHOT/cxf-xjc-runtime-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/wsdlextension-test/pom.xml> to org.apache.cxf.xjcplugins.tests/cxf-xjc-wsdlextension-test/3.2.0-SNAPSHOT/cxf-xjc-wsdlextension-test-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/dv/pom.xml> to org.apache.cxf.xjcplugins/cxf-xjc-dv/3.2.0-SNAPSHOT/cxf-xjc-dv-3.2.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/CXF-xjc-utils/ws/dv-test/pom.xml> to org.apache.cxf.xjcplugins.tests/cxf-xjc-dv-test/3.2.0-SNAPSHOT/cxf-xjc-dv-test-3.2.0-SNAPSHOT.pom
Sending e-mails to: notifications@cxf.apache.org dkulp@apache.org
channel stopped

Jenkins build is back to normal : CXF-xjc-utils #65

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/CXF-xjc-utils/65/display/redirect>