Le 08/02/2013 06:16, Sami Tikka a écrit : > Did you try with jdk 1.7? Thanks.
The jenkins.war in 1.502-snapshot (jenkins-1.500-89-g9bb9d44) was successfully packaged with jdk 1.6 and 1.7. Some jenkins harness tests fails with jdk 1.6, I suppose it's not dramatic. Do not tried with jdk 1.7 -- it's so long to run the package build with tests. > > -- Sami > > Viktor Tarasov <[email protected] <mailto:[email protected]>> > kirjoitti 7.2.2013 kello 11.26: > >> Hello, >> >> When trying to build jenkins from the current GH master branch >> I'm getting following error: >> >> $ mvn -Plight-test install >> ...... >> Running hudson.util.XStreamTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.09 sec <<< >> FAILURE! >> testConcurrentHashMapSerialization(hudson.util.XStreamTest) Time elapsed: >> 0.078 sec <<< ERROR! >> java.lang.ClassCastException: hudson.util.XStream2Test$Foo2 cannot be cast >> to hudson.util.XStreamTest$Foo >> at >> hudson.util.XStreamTest.testConcurrentHashMapSerialization(XStreamTest.java:69) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> .... >> [INFO] Jenkins core ...................................... FAILURE >> [1:52.501s] >> >> $ mvn -version >> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) >> Maven home: /opt/apache-maven-3.0.4 >> Java version: 1.6.0_33, vendor: Sun Microsystems Inc. >> Java home: /opt/jdk1.6.0_33/jre >> Default locale: fr_FR, platform encoding: UTF-8 >> OS name: "linux", version: "2.6.38-13-generic-pae", arch: "i386", family: >> "unix" >> >> Any ideas, please? >> Viktor. >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
