commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Tompkins <chtom...@apache.org>
Subject Re: Build failed in Jenkins: commons-validator #39
Date Tue, 21 Feb 2017 15:20:20 GMT
I actually get this error when I attempt any maven execution on my machine OS X 10.12.3 using
maven 3.3.9 and:

$java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

It feels to me like a java-1.6/maven incompatibility.

> On Feb 21, 2017, at 10:07 AM, sebb <sebbaz@gmail.com> wrote:
> 
> Seems to be a bug in Jenkins - this is before Maven is even invoked,
> and Validator used to build fine with 1.6.
> Raised INFRA-13556
> 
> On 21 February 2017 at 15:00, Apache Jenkins Server
> <jenkins@builds.apache.org> wrote:
>> See <https://builds.apache.org/job/commons-validator/39/display/redirect>
>> 
>> ------------------------------------------
>> Started by user sebb
>> [EnvInject] - Loading node environment variables.
>> Building remotely on ubuntu-1 (ubuntu) in workspace <https://builds.apache.org/job/commons-validator/ws/>
>> Updating https://svn.apache.org/repos/asf/commons/proper/validator/trunk at revision
'2017-02-21T15:00:12.349 +0000'
>> At revision 1783899
>> 
>> No changes for https://svn.apache.org/repos/asf/commons/proper/validator/trunk since
the previous build
>> Parsing POMs
>> Established TCP socket on 32827
>> maven32-agent.jar already up to date
>> maven32-interceptor.jar already up to date
>> maven3-interceptor-commons.jar already up to date
>> [commons-validator] $ /home/jenkins/tools/java/latest1.6/bin/java -Xmx2g -Xms256m
-cp /home/jenkins/jenkins-slave/maven32-agent.jar:/home/jenkins/tools/maven/apache-maven-3.2.5/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.2.5/conf/logging
jenkins.maven3.agent.Maven32Main /home/jenkins/tools/maven/apache-maven-3.2.5 /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven32-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
32827
>> 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: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:254)
>>        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>>        at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:143)
>>        at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:74)
>> ERROR: Failed to parse POMs
>> java.io.EOFException: unexpected stream termination
>>        at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
>>        at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
>>        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:798)
>>        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
>>        at hudson.model.Run.execute(Run.java:1728)
>>        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
>>        at hudson.model.ResourceController.execute(ResourceController.java:98)
>>        at hudson.model.Executor.run(Executor.java:404)
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


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


Mime
View raw message