Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21541

After I upgrade to 1.547, Maven Build fails with "ERROR: Failed to parse POMs java.net.SocketException: Connection reset"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • Maven 2,

      Recently, i've upgraded the Jenkins from 1.532 to 1.547, but after upgradation, Maven build alone fails with the following reason, if i restart the Jenkins, build is getting succeeded but it fails after some time (say fails after 5 hours) and also some of the image is not visible (attached screenshot)

      /eas/jenkins/home/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.4.jar:/eas/jenkins/home/tools/hudson.tasks.Maven_MavenInstallation/3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /eas/jenkins/home/tools/hudson.tasks.Maven_MavenInstallation/3.0.4 /tmp/jetty-0.0.0.0-8080-jenkins.war-any/webapp/WEB-INF/lib/remoting-2.33.jar /eas/jenkins/home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.4.jar /eas/jenkins/home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 51932
      Exception in thread "main" java.lang.ClassNotFoundException: hudson.remoting.Launcher
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      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:135)
      at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:64)
      ERROR: Failed to parse POMs java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.io.FilterInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:133)
      at hudson.remoting.Channel.<init>(Channel.java:406)
      at hudson.remoting.Channel.<init>(Channel.java:402)
      at hudson.remoting.Channel.<init>(Channel.java:363)
      at hudson.remoting.Channel.<init>(Channel.java:359)
      at hudson.remoting.Channel.<init>(Channel.java:355)
      at hudson.slaves.Channels$1.<init>(Channels.java:71)
      at hudson.slaves.Channels.forProcess(Channels.java:71)
      at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:253)
      at hudson.maven.ProcessCache.get(ProcessCache.java:235)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:749)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      at hudson.model.Run.execute(Run.java:1678)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Archiving artifacts
      Finished: FAILURE

          [JENKINS-21541] After I upgrade to 1.547, Maven Build fails with "ERROR: Failed to parse POMs java.net.SocketException: Connection reset"

          Senthil Kumar Chandran created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153538 ] New: JNJira + In-Review [ 178526 ]

            Unassigned Unassigned
            gotosenthil Senthil Kumar Chandran
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: