Re: commons-collections - Build # 428 - Still Failing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: commons-collections - Build # 428 - Still Failing

Rob Tompkins
There seems to be some issue with apache jenkins, maven 3.0/3.2, and java 1.6. This is the second (or third) time today that, on a non-consequential commit, I’ve seen the error below. Out of curiosity, how does one gain access to make job edits in Jenkins?

Further, I suspect that this Jenkins issue may be the root cause: https://issues.jenkins-ci.org/browse/JENKINS-40810 <https://issues.jenkins-ci.org/browse/JENKINS-40810>.


----------------------
$ /home/jenkins/tools/java/latest1.6/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.4 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 41377
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:138)
        at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70)
ERROR: Failed to parse POMs
java.io.EOFException <http://stacktrace.jenkins-ci.org/search?query=java.io.EOFException>: unexpected stream termination
        at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ChannelBuilder.negotiate&entity=method>
        at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ChannelBuilder.build&entity=method>
        at hudson.slaves.Channels.forProcess(Channels.java:115) <http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.Channels.forProcess&entity=method>
        at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.AbstractMavenProcessFactory.newProcess&entity=method>
        at hudson.maven.ProcessCache.get(ProcessCache.java:236) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.ProcessCache.get&entity=method>
        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:798) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method>
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1728) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:98) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:405) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>




> On May 27, 2017, at 8:09 PM, Apache Jenkins Server <[hidden email]> wrote:
>
> The Apache Jenkins build system has built commons-collections (build #428)
>
> Status: Still Failing
>
> Check console output at https://builds.apache.org/job/commons-collections/428/ to view the results.

Reply | Threaded
Open this post in threaded view
|

Re: commons-collections - Build # 428 - Still Failing

sebb-2-2
On 28 May 2017 at 01:16, Rob Tompkins <[hidden email]> wrote:
> There seems to be some issue with apache jenkins, maven 3.0/3.2, and java 1.6.

The Jenkins Maven plugin requires Java 1.7 to run.

However it's possible to still build and test using Java 1.6

See posting [JENKINS].
I've fixed collections

> This is the second (or third) time today that, on a non-consequential commit, I’ve seen the error below. Out of curiosity, how does one gain access to make job edits in Jenkins?
>
> Further, I suspect that this Jenkins issue may be the root cause: https://issues.jenkins-ci.org/browse/JENKINS-40810 <https://issues.jenkins-ci.org/browse/JENKINS-40810>.
>
>
> ----------------------
> $ /home/jenkins/tools/java/latest1.6/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.4 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 41377
> Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher : Unsupported major.minor version 51.0

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]