Jenkins Slave goes offline during the build

Solution 1:

Similar issues

  • https://issues.jenkins-ci.org/browse/JENKINS-27251
  • https://issues.jenkins-ci.org/browse/JENKINS-6817
  • https://issues.jenkins-ci.org/browse/JENKINS-28155
  • https://issues.jenkins-ci.org/browse/JENKINS-28826
  • https://issues.jenkins-ci.org/browse/JENKINS-22932
  • https://bugreports.qt.io/browse/QTQAINFRA-928
  • https://stackoverflow.com/questions/36743908/jenkins-slave-connection-aborted
  • https://mailman.owncloud.org/pipermail/jenkins/2015-July/006091.html
  • https://mailman.boum.org/pipermail/tails-dev/2014-December/007732.htm

Possible solution

Based on this source, part of the stack trace:

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)

and experiencing the same issue in the office upgrading the jdk7 to the latest oracle-jdk8 could solve the issue.

If the issue persists:

  1. Please indicate exactly when the issue occurs so it could be possible to reproduce the issue
  2. Please add the Jenkins build log of the build that is causing the issue. Perhaps there is a specific task that is executed by the job that is causing the issue.
  3. View the windows task manager while building the job
  4. Please add the log of one of the successful builds and the log of one of the failed builds