oltu-dev 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: Oltu-OAuth-2.0 #782
Date Tue, 31 Oct 2017 17:15:11 GMT
See <https://builds.apache.org/job/Oltu-OAuth-2.0/782/display/redirect?page=changes>

Changes:

[Jasha Joachimsthal] OLTU-215 Upgrade to Java 8

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H12 (couchdbtest Hadoop xenial) in workspace <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/>
Updating https://svn.apache.org/repos/asf/oltu/trunk at revision '2017-10-31T17:10:34.362
+0000'
U         jose/pom.xml
U         NOTICE
U         site/pom.xml
U         openid-connect/pom.xml
U         openid-connect/client/src/main/java/org/apache/oltu/openidconnect/client/response/OpenIdConnectResponse.java
U         demos/client-demo/src/main/java/org/apache/oltu/oauth2/client/demo/controller/TokenController.java
U         demos/client-demo/pom.xml
U         demos/pom.xml
U         parent/pom.xml
U         commons/json/src/main/java/org/apache/oltu/commons/json/CustomizableEntityReader.java
U         commons/pom.xml
U         oauth-2.0/resourceserver-filter/src/main/java/org/apache/oltu/oauth2/rsfilter/OAuthUtils.java
U         oauth-2.0/resourceserver-filter/src/main/java/org/apache/oltu/oauth2/rsfilter/OAuthFilter.java
U         oauth-2.0/pom.xml
At revision 1813913

Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 36485
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[oauth-2.0] $ /home/jenkins/tools/java/latest1.7/bin/java -da -dsa -XX:MaxPermSize=192m -Xmx512M
-cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest/conf/logging
jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest/ /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
36485
<===[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 37467
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[oauth-2.0] $ /usr/local/asfpackages/java/jdk1.8.0_131/jre/bin/java -da -dsa -XX:MaxPermSize=192m
-Xmx512M -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest/conf/logging
jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest/ /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
37467
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/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/pom.xml>
-Dmaven.repo.local=<https://builds.apache.org/job/Oltu-OAuth-2.0/ws/.repository> -B
-e clean deploy
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Oltu - OAuth 2.0
[INFO] Apache Oltu - OAuth 2.0 - Common
[INFO] Apache Oltu - OAuth 2.0 - Client
[INFO] Apache Oltu - OAuth 2.0 - HttpClient
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Common
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Client
[INFO] Apache Oltu - OAuth 2.0 - Authorization Server
[INFO] Apache Oltu - OAuth 2.0 - Resource Server
[INFO] Apache Oltu - OAuth 2.0 - Resource Server Filter
[INFO] Apache Oltu - OAuth 2.0 - Test Utils
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Server
[INFO] Apache Oltu - OAuth 2.0 - Integration Tests
[INFO] Apache Oltu - OAuth 2.0 - JWT
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oltu - OAuth 2.0 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.oltu.oauth2.parent ---
[INFO] Deleting <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.oltu.oauth2.parent
---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ org.apache.oltu.oauth2.parent ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0>
&& svn --non-interactive info
[INFO] Working directory: <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0>
[INFO] Storing buildNumber: 1813903 at timestamp: 1509470076264
[INFO] Executing: /bin/sh -c cd <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0>
&& svn --non-interactive info
[INFO] Working directory: <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0>
[INFO] Storing buildScmBranch: trunk
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.oltu.oauth2.parent
---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ org.apache.oltu.oauth2.parent
---
[INFO] 
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ org.apache.oltu.oauth2.parent
---
[INFO] Installing <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/pom.xml>
to <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/.repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.parent-1.0.3-SNAPSHOT.pom>
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ org.apache.oltu.oauth2.parent
---
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/maven-metadata.xml
(630 B at 618 B/s)
[INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.parent-1.0.3-20171031.171440-24.pom
[INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.parent-1.0.3-20171031.171440-24.pom
(5.9 kB at 4.9 kB/s)
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/maven-metadata.xml
[INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/maven-metadata.xml
(371 B at 666 B/s)
[INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/maven-metadata.xml
(630 B at 563 B/s)
[INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/maven-metadata.xml
[INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/maven-metadata.xml
(371 B at 335 B/s)
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oltu - OAuth 2.0 - Common 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.oltu.oauth2.common ---
[INFO] Deleting <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.oltu.oauth2.common
---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ org.apache.oltu.oauth2.common ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common>
&& svn --non-interactive info
[INFO] Working directory: <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common>
[INFO] Storing buildNumber: 1813271 at timestamp: 1509470088724
[INFO] Executing: /bin/sh -c cd <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common>
&& svn --non-interactive info
[INFO] Working directory: <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common>
[INFO] Storing buildScmBranch: trunk
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.oltu.oauth2.common
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.apache.oltu.oauth2.common
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common../..>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.apache.oltu.oauth2.common
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common/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 Oltu - OAuth 2.0 ............................ SUCCESS [ 11.898 s]
[INFO] Apache Oltu - OAuth 2.0 - Common ................... FAILURE [  2.197 s]
[INFO] Apache Oltu - OAuth 2.0 - Client ................... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - HttpClient ............... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Common SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Client SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Authorization Server ..... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Resource Server .......... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Resource Server Filter ... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Test Utils ............... SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Server SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - Integration Tests ........ SKIPPED
[INFO] Apache Oltu - OAuth 2.0 - JWT ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.157 s
[INFO] Finished at: 2017-10-31T17:14:59Z
[INFO] Final Memory: 29M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project org.apache.oltu.oauth2.common: 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 org.apache.oltu.oauth2.common: 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:154)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
	at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main(Maven35Launcher.java:130)
	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.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:176)
	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:181)
	at hudson.remoting.UserRequest.perform(UserRequest.java:52)
	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:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 31 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 :org.apache.oltu.oauth2.common
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/httpclient4/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.httpclient4/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.httpclient4-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/dynamicreg-client/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.dynamicreg.client/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.dynamicreg.client-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/test-utils/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.test-utils/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.test-utils-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.parent/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.parent-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/authzserver/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.authzserver-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/dynamicreg-server/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.dynamicreg.server/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.dynamicreg.server-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/common/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.common-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/jwt/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.jwt/1.0.4-SNAPSHOT/org.apache.oltu.oauth2.jwt-1.0.4-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/integration-tests/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.integration-tests/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.integration-tests-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/dynamicreg-common/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.dynamicreg.common/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.dynamicreg.common-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/resourceserver/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.resourceserver-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/resourceserver-filter/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver-filter/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.resourceserver-filter-1.0.3-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Oltu-OAuth-2.0/ws/trunk/oauth-2.0/client/pom.xml>
to org.apache.oltu.oauth2/org.apache.oltu.oauth2.client/1.0.3-SNAPSHOT/org.apache.oltu.oauth2.client-1.0.3-SNAPSHOT.pom
Sending e-mails to: dev@oltu.apache.org
channel stopped

Mime
View raw message