• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core, remoting
    • None

      Sometimes, my agent goes offline on my Windows 7 virtual machine. It stops executing the current script and give me this code :

      Agent went offline during the build
      ERROR: Connection was broken: java.io.EOFException
      	at org.jenkinsci.remoting.nio.NioChannelHub$3.run(NioChannelHub.java:614)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

      What is strange is that if I open my virtual machine , and watch it, I won't get this error. Somehow, it happens only when I let jenkins start the VM by itself
      I've put all the plugins and jenkins' version, because I really do not know where this comes from.

          [JENKINS-36944] Agent goes offline during the build

          S.B. added a comment -

          happens too often, especially with long running tests on slave VMs;
          maybe the timeout should be increased or re-connecting tried for a while.

          S.B. added a comment - happens too often, especially with long running tests on slave VMs; maybe the timeout should be increased or re-connecting tried for a while.

          I have this issue as well, only difference is that it does not matter for me if i start the VM and i watch it or if jenkins starts it, it will give that error near the ending of the build, after an hour.
          I managed to trigger the error as well if i open the VM, watch it and give it the restart command, it will register this same error.

          Alexandru Furdui added a comment - I have this issue as well, only difference is that it does not matter for me if i start the VM and i watch it or if jenkins starts it, it will give that error near the ending of the build, after an hour. I managed to trigger the error as well if i open the VM, watch it and give it the restart command, it will register this same error.

          Constantly having this issue, on my Ubuntu node. Is this issue fixed? Also, is it prevalent on Jenkins nodes?

          Hariharan Ragothaman added a comment - Constantly having this issue, on my Ubuntu node. Is this issue fixed? Also, is it prevalent on Jenkins nodes?

          Oleg Nenashev added a comment -

          This issue duplicates JENKINS-31050

          Oleg Nenashev added a comment - This issue duplicates JENKINS-31050

          Thanks for the comment. Following that story too. Is committing a fix for the issue work in progress?

          Hariharan Ragothaman added a comment - Thanks for the comment. Following that story too. Is committing a fix for the issue work in progress?

          Orgad Shaneh added a comment -

          See my comment there.

          Orgad Shaneh added a comment - See my comment there.

          krish2467 added a comment -

          pending node-vh2r0  offline 

          pod is running sccesffuly with one container named as jnlp , image : host/build and i am getting below logs for the slave in jenkins..

          HTTP ERROR 404

          Problem accessing /computer/node-vh2r0/logText/progressiveHtml. Reason:

          Not Found

           


          Powered by Jetty:// 9.4.z-SNAPSHOT

          krish2467 added a comment - pending node-vh2r0  offline  pod is running sccesffuly with one container named as jnlp , image : host/build and i am getting below logs for the slave in jenkins.. HTTP ERROR 404 Problem accessing /computer/node-vh2r0/logText/progressiveHtml. Reason: Not Found   Powered by Jetty:// 9.4.z-SNAPSHOT

            Unassigned Unassigned
            alex_h Alexandru Hadar
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: