• 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

          Alexandru Hadar created issue -
          Alexandru Hadar made changes -
          Description Original: Sometimes, my agent goes offline on my Windows 7 virtual machine. It stops executing the current script and give me this code :
          {code:java}
          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)
          {code}

          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
          New: Sometimes, my agent goes offline on my Windows 7 virtual machine. It stops executing the current script and give me this code :
          {code:java}
          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)
          {code}

          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.
          Alexandru Hadar made changes -
          Environment Original: Jenkins ver. 2.2
          === PLUGINS ===
          Ant Plugin 1.2
          Branch API Plugin 1,7
          Credentials Plugin 1.28
          Durable Task Plugin 1.9
          External Monitor Type Plugin 1.4
          Enternal Monitor Job Type Plugin 1.4
          Folder Plugin 5.10
          Git client plugin 1.19.6
          Git plugin 2.4.4
          Git server Plugin 1.6
          Icon Shim plugin 1.1
          JavaScript GUI Lib: ACE Editor bundle plugin 1.1
          JavaScript GUI Lib: Handlebars bundle plugin 1.1.1
          JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin 1.2.1
          JavaScript GUI Lib: Moment.js bundle plugin 1.1.1
          JUnit Plugin 1.13
          LDAP Plugin 1.13
          Mailer Plugin 1.17
          MapDB Api Plugin 1.0.6.0
          Matrix Authorization Strategy Plugin 1.1
          Matrix Project Plugin 1.6
          OWASP Markup Formatter Plugin 1.1
          PAM Authentication plugin 1.1
          Pipeline 2.1
          Pipeline: API 2.0
          Pipeline: Basic Step 2.0
          Pipeline: Build Steps 2.0
          Pipeline: Groovy 2.2
          Pipeline: Input Step 2.0
          Pipeline: Job 2.1
          Pipeline: Multibranch 2.3
          Pipeline: Nodes and Processes 2.0
          Pipeline: REST API Plugin 1.4
          Pipeline: SCM Step 2.0
          Pipeline: Shared Groovy Libraries 2.0
          Pipeline: Stage Step 2.1
          Pipeline: Stage View Plugin 1.4
          Pipeline: Step API 2.0
          Pipeline: Supporting APIs 2.0
          Plain Credentials Plugin 1.1
          Publish Over CIFS 0.3
          SCM API Plugin 1.2
          Script Security Plugin 1.19
          SSH Credentials Plugin 1.12
          SSH Slaves plugin 1.9
          Structs Plugin 1.1
          Subversion Plug-in 2.5.7
          Token Macro Plugin 1.12.1
          VirtualBox Plugin 0.7
          Windows Slaves Plugin 1.0

          === OS ===
          Windows 7 x64
          New: Jenkins ver. 2.2
          [ PLUGINS ]
          Ant Plugin 1.2
          Branch API Plugin 1,7
          Credentials Plugin 1.28
          Durable Task Plugin 1.9
          External Monitor Type Plugin 1.4
          Enternal Monitor Job Type Plugin 1.4
          Folder Plugin 5.10
          Git client plugin 1.19.6
          Git plugin 2.4.4
          Git server Plugin 1.6
          Icon Shim plugin 1.1
          JavaScript GUI Lib: ACE Editor bundle plugin 1.1
          JavaScript GUI Lib: Handlebars bundle plugin 1.1.1
          JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin 1.2.1
          JavaScript GUI Lib: Moment.js bundle plugin 1.1.1
          JUnit Plugin 1.13
          LDAP Plugin 1.13
          Mailer Plugin 1.17
          MapDB Api Plugin 1.0.6.0
          Matrix Authorization Strategy Plugin 1.1
          Matrix Project Plugin 1.6
          OWASP Markup Formatter Plugin 1.1
          PAM Authentication plugin 1.1
          Pipeline 2.1
          Pipeline: API 2.0
          Pipeline: Basic Step 2.0
          Pipeline: Build Steps 2.0
          Pipeline: Groovy 2.2
          Pipeline: Input Step 2.0
          Pipeline: Job 2.1
          Pipeline: Multibranch 2.3
          Pipeline: Nodes and Processes 2.0
          Pipeline: REST API Plugin 1.4
          Pipeline: SCM Step 2.0
          Pipeline: Shared Groovy Libraries 2.0
          Pipeline: Stage Step 2.1
          Pipeline: Stage View Plugin 1.4
          Pipeline: Step API 2.0
          Pipeline: Supporting APIs 2.0
          Plain Credentials Plugin 1.1
          Publish Over CIFS 0.3
          SCM API Plugin 1.2
          Script Security Plugin 1.19
          SSH Credentials Plugin 1.12
          SSH Slaves plugin 1.9
          Structs Plugin 1.1
          Subversion Plug-in 2.5.7
          Token Macro Plugin 1.12.1
          VirtualBox Plugin 0.7
          Windows Slaves Plugin 1.0

          [ OS ]
          Windows 7 x64
          Alexandru Hadar made changes -
          Summary Original: Agent goes online during the build after New: Agent goes offline during the build
          Hariharan Ragothaman made changes -
          Rank New: Ranked higher
          Oleg Nenashev made changes -
          Component/s New: remoting [ 15489 ]
          Component/s Original: slave-utilization [ 17575 ]
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-31050 [ JENKINS-31050 ]
          Oleg Nenashev made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: