• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None
    • All

      Shortly after starting a build from hudson, SOMETIMES the following error occurs:

      Started by timer
      [workspace] $ cvs -q update ....
      ...
      Parsing POMs
      [workspace] $ /opt/mvn/jvm/java-1.5.0-sun/bin/java -cp ...
      ERROR: Aborted Maven execution for InterruptedIOException
      java.net.SocketTimeoutException: Accept timed out
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
      at java.net.ServerSocket.implAccept(ServerSocket.java:450)
      at java.net.ServerSocket.accept(ServerSocket.java:421)
      at hudson.maven.MavenProcessFactory$SocketHandler$AcceptorImpl.accept(MavenProcessFactory.java:167)
      at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:202)
      at hudson.maven.ProcessCache.get(ProcessCache.java:227)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:455)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      at hudson.model.Run.run(Run.java:1176)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)
      Finished: ABORTED

          [JENKINS-5053] SocketTimeoutException after build start

          alacenaire added a comment -

          Hi,

          I have the same error with Hudson 1.339.

          It happens after a SVN checkout of a Maven project, when parsing the pom :

          At revision 6651
          no change for http://BLABLA/svn/BLABLA/trunk since the previous build
          Parsing POMs
          [BLABLA] $ c:\jdk1.6.0_17/bin/java -Xms512m -Xmx1024m -cp E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.339.jar;c:\apache-maven-2.2.1\boot\classworlds-1.1.jar hudson.maven.agent.Main c:\apache-maven-2.2.1\ C:\Tomcat_CI\temp\0-hudson\WEB-INF\lib\remoting-1.339.jar E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.339.jar 2417 E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar
          ERROR: Aborted Maven execution for InterruptedIOException
          java.net.SocketTimeoutException: Accept timed out
          at java.net.PlainSocketImpl.socketAccept(Native Method)
          at java.net.PlainSocketImpl.accept(Unknown Source)
          at java.net.ServerSocket.implAccept(Unknown Source)
          at java.net.ServerSocket.accept(Unknown Source)
          at hudson.maven.MavenProcessFactory$SocketHandler$AcceptorImpl.accept(MavenProcessFactory.java:167)
          at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:202)
          at hudson.maven.ProcessCache.get(ProcessCache.java:231)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:455)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
          at hudson.model.Run.run(Run.java:1179)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:122)
          Finished: ABORTED

          (Seems to be a duplicate of JENKINS-3273 ?)

          alacenaire added a comment - Hi, I have the same error with Hudson 1.339. It happens after a SVN checkout of a Maven project, when parsing the pom : At revision 6651 no change for http://BLABLA/svn/BLABLA/trunk since the previous build Parsing POMs [BLABLA] $ c:\jdk1.6.0_17/bin/java -Xms512m -Xmx1024m -cp E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.339.jar;c:\apache-maven-2.2.1\boot\classworlds-1.1.jar hudson.maven.agent.Main c:\apache-maven-2.2.1\ C:\Tomcat_CI\temp\0-hudson\WEB-INF\lib\remoting-1.339.jar E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.339.jar 2417 E:\hudson\.hudson\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar ERROR: Aborted Maven execution for InterruptedIOException java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(Unknown Source) at java.net.ServerSocket.implAccept(Unknown Source) at java.net.ServerSocket.accept(Unknown Source) at hudson.maven.MavenProcessFactory$SocketHandler$AcceptorImpl.accept(MavenProcessFactory.java:167) at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:202) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:455) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1179) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Finished: ABORTED (Seems to be a duplicate of JENKINS-3273 ?)

          evernat added a comment -

          duplicate of issue 3273

          evernat added a comment - duplicate of issue 3273

          benza added a comment -

          Still happens in 1.412 on a win 2007 server slave with 9GB RAM & dual xeon cpu

          ERROR: Aborted Maven execution for InterruptedIOException
          java.net.SocketTimeoutException: Accept timed out
          at java.net.PlainSocketImpl.socketAccept(Native Method)
          at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
          at java.net.ServerSocket.implAccept(ServerSocket.java:453)
          at java.net.ServerSocket.accept(ServerSocket.java:421)
          at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:167)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
          at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
          at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
          at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:270)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at hudson.remoting.Engine$1$1.run(Engine.java:60)
          at java.lang.Thread.run(Thread.java:619)

          benza added a comment - Still happens in 1.412 on a win 2007 server slave with 9GB RAM & dual xeon cpu ERROR: Aborted Maven execution for InterruptedIOException java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:619)

          lh added a comment -

          The problem also exists in version 1.443 running on master on RHEL 5.7 32 bits.
          Here is the stacktrace :
          [workspace] $ /usr/java/java6/bin/java -Duser.language=en -Xmx512m -Xms24m -XX:MaxPermSize=512m -cp /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.2.jar:/opt/maven/apache-maven-2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /opt/maven/apache-maven-2.2.1 /usr/share/tomcat5/webapps/jenkins/WEB-INF/lib/remoting-2.11.jar /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.2.jar 51622 /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
          ERROR: Aborted Maven execution for InterruptedIOException
          java.net.SocketTimeoutException: Accept timed out
          at java.net.PlainSocketImpl.socketAccept(Native Method)
          at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
          at java.net.ServerSocket.implAccept(ServerSocket.java:453)
          at java.net.ServerSocket.accept(ServerSocket.java:421)
          at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:171)
          at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:227)
          at hudson.maven.ProcessCache.get(ProcessCache.java:231)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:716)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462)
          at hudson.model.Run.run(Run.java:1404)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:238)
          Finished: ABORTED

          lh added a comment - The problem also exists in version 1.443 running on master on RHEL 5.7 32 bits. Here is the stacktrace : [workspace] $ /usr/java/java6/bin/java -Duser.language=en -Xmx512m -Xms24m -XX:MaxPermSize=512m -cp /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.2.jar:/opt/maven/apache-maven-2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /opt/maven/apache-maven-2.2.1 /usr/share/tomcat5/webapps/jenkins/WEB-INF/lib/remoting-2.11.jar /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.2.jar 51622 /data/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar ERROR: Aborted Maven execution for InterruptedIOException java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:171) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:227) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:716) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Finished: ABORTED

          Jack Straw added a comment -

          This issue is also happening on our 1.424 version running on Mac OSX 10.6 (Leopard). Jobs on the Master fail and at times this error will occur several times in a row. The only resolution I have found is to restart the Jenkins server.

          Stack trace:

          [workspace] $ /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home//bin/java -Djava.awt.headless=true -cp /Users/webbuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/usr/share/maven/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /Users/webbuild/.jenkins/war/WEB-INF/lib/remoting-2.4.jar /Users/webbuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 63323
          Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
          ERROR: Aborted Maven execution for InterruptedIOException
          java.net.SocketTimeoutException: Accept timed out
          at java.net.PlainSocketImpl.socketAccept(Native Method)
          at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:402)
          at java.net.ServerSocket.implAccept(ServerSocket.java:450)
          at java.net.ServerSocket.accept(ServerSocket.java:421)
          at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:166)
          at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:220)
          at hudson.maven.ProcessCache.get(ProcessCache.java:231)
          at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:674)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448)
          at hudson.model.Run.run(Run.java:1376)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:476)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:175)
          Archiving artifacts
          Finished: ABORTED

          Any known workarounds or solutions?

          Thanks.

          Jack Straw added a comment - This issue is also happening on our 1.424 version running on Mac OSX 10.6 (Leopard). Jobs on the Master fail and at times this error will occur several times in a row. The only resolution I have found is to restart the Jenkins server. Stack trace: [workspace] $ /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home//bin/java -Djava.awt.headless=true -cp /Users/webbuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/usr/share/maven/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /Users/webbuild/.jenkins/war/WEB-INF/lib/remoting-2.4.jar /Users/webbuild/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 63323 Cannot run Java in 32 bit mode. Continuing in 64 bit mode. ERROR: Aborted Maven execution for InterruptedIOException java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:402) at java.net.ServerSocket.implAccept(ServerSocket.java:450) at java.net.ServerSocket.accept(ServerSocket.java:421) at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.accept(AbstractMavenProcessFactory.java:166) at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:220) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:674) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) at hudson.model.Run.run(Run.java:1376) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:476) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Archiving artifacts Finished: ABORTED Any known workarounds or solutions? Thanks.

          Warren V added a comment -

          Capture of bad CIFS traffic from Jenkins

          Warren V added a comment - Capture of bad CIFS traffic from Jenkins

          Daniel Beck added a comment -

          Does this issue still occur on recent Jenkins versions?

          Daniel Beck added a comment - Does this issue still occur on recent Jenkins versions?

          Daniel Beck added a comment -

          Given the age of this issue, and the lack of response to the recent comment asking for updated information, I'm resolving this as Cannot Reproduce.

          Please file a new bug if something similar occurs on then-recent versions of Jenkins.

          Daniel Beck added a comment - Given the age of this issue, and the lack of response to the recent comment asking for updated information, I'm resolving this as Cannot Reproduce. Please file a new bug if something similar occurs on then-recent versions of Jenkins.

            Unassigned Unassigned
            dtriphaus dtriphaus
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: