You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Lukasz Lenart <lu...@apache.org> on 2018/05/18 12:28:04 UTC

Fwd: Build failed in Jenkins: struts-master #27

Do you now what's the cause? Is Java 8 required to build a Maven
project? This used to work and it builds locally with JDK7.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------- Forwarded message ----------
From: Apache Jenkins Server <je...@builds.apache.org>
Date: 2018-05-18 13:55 GMT+02:00
Subject: Build failed in Jenkins: struts-master #27
To: dev@struts.apache.org


See <https://builds.apache.org/job/struts-master/27/display/redirect>

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace
<https://builds.apache.org/job/struts-master/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url
https://gitbox.apache.org/repos/asf/struts-master.git # timeout=10
Fetching upstream changes from
https://gitbox.apache.org/repos/asf/struts-master.git
 > git --version # timeout=10
 > git fetch --tags --progress
https://gitbox.apache.org/repos/asf/struts-master.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 85ad593ecf257f93c034d656fcca21acc3ac398a
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 85ad593ecf257f93c034d656fcca21acc3ac398a
Commit message: "move Stefaan Durty to PMC and add Yasser Zamani"
 > git rev-list --no-walk 85ad593ecf257f93c034d656fcca21acc3ac398a # timeout=10
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Parsing POMs
Established TCP socket on 44289
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[struts-master] $ /home/jenkins/tools/java/latest1.7/bin/java -Xms128m
-Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -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 44289
Exception in thread "main" java.lang.UnsupportedClassVersionError:
hudson/remoting/Launcher : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
        at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:133)
        at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:64)
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
        at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
        at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
        at hudson.slaves.Channels.forProcess(Channels.java:115)
        at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
        at hudson.maven.ProcessCache.get(ProcessCache.java:236)
        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
        at hudson.model.Run.execute(Run.java:1724)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org

Re: Build failed in Jenkins: struts-master #27

Posted by Lukasz Lenart <lu...@apache.org>.
Ach... right, this one build wasn't migrated, thanks a lot!

2018-05-18 19:19 GMT+02:00 Mike Jumper <mj...@apache.org>:
> On Fri, May 18, 2018 at 5:28 AM, Lukasz Lenart <lu...@apache.org>
> wrote:
>
>> Do you now what's the cause? Is Java 8 required to build a Maven
>> project? This used to work and it builds locally with JDK7.
>>
>>
> Java 8 is required for builds that use Jenkins' Maven plugin:
>
> https://wiki.jenkins.io/display/JENKINS/Maven+Project+Plugin
>
> You can build with older versions of Java if you set up the build as a
> normal "freestyle" build (not Maven-aware).
>
> - Mike

Re: Build failed in Jenkins: struts-master #27

Posted by Mike Jumper <mj...@apache.org>.
On Fri, May 18, 2018 at 5:28 AM, Lukasz Lenart <lu...@apache.org>
wrote:

> Do you now what's the cause? Is Java 8 required to build a Maven
> project? This used to work and it builds locally with JDK7.
>
>
Java 8 is required for builds that use Jenkins' Maven plugin:

https://wiki.jenkins.io/display/JENKINS/Maven+Project+Plugin

You can build with older versions of Java if you set up the build as a
normal "freestyle" build (not Maven-aware).

- Mike