-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: PC, OS: Linux
I believe that a regression has occurred with Hudson 1.234.
My Maven2 job executes the following goals:
pmd:pmd cobertura:cobertura findbugs:findbugs
I then used the Hudson PMD, Cobertura (which doesn't seem to work with Maven2
jobs), and FindBugs Plugins to aggregate the reports.
The build worked fine on Hudson 1.233. Upgrading to Hudson 1.234 today resulted
in the following build failure:
started
Parsing POMs
[workspace] $ /usr/lib/j2sdk1.5-sun//bin/java -Xmx512m -cp
/home/ajoseph/.hudson/war/WEB-INF/lib/maven-agent-1.234.jar:/usr/share/maven2/boot/classworlds.jar
hudson.maven.agent.Main /usr/share/maven2
/home/ajoseph/.hudson/war/WEB-INF/lib/remoting-1.234.jar
/home/ajoseph/.hudson/war/WEB-INF/lib/maven-interceptor-1.234.jar 54986
Exception in thread "main" java.lang.NoClassDefFoundError: java/io/Console
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at hudson.maven.agent.Main.main(Main.java:91)
at hudson.maven.agent.Main.main(Main.java:38)
ERROR: Failed to parse POMs
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at hudson.remoting.Channel.<init>(Channel.java:258)
at hudson.remoting.Channel.<init>(Channel.java:204)
at hudson.maven.MavenProcessFactory$1.<init> MavenProcessFactory.java:178)
at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:177)
at hudson.maven.ProcessCache.get(ProcessCache.java:170)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:319)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231)
at hudson.model.Run.run(Run.java:784)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:202)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:88)
finished: FAILURE
I then downgraded to Hudson 1.233 and the build once again failed. I therefore
conclude that some sort of regression has occurred with Hudson 1.234. Please
let me know if you'd like further information on my job/Hudson configuration.
- duplicates
-
JENKINS-2063 Java 1.6 Dependency in Maven Agent
- Closed