java.lang.InterruptedException

Jenkins JIRA | Ari Hyttinen | 4 years ago
  1. 0

    The issue has been discussed at user mailing list last summer: https://groups.google.com/forum/#!msg/jenkinsci-users/GN0N4mqaCa4/kPbSal5xc4YJ We started having this issue last week, in a system with one job named "thejob", and about 50 slaves, many of them executing it in parallel at any given time. This seems to happen very randomly, usually in the time-consuming part of the build: running an executable on the slave, in which case stack trace is like this: {quote} 12.2.2013 6:34:32 hudson.model.Run run INFO: thejob #443821 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:664) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) at $Proxy39.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:861) at hudson.Proc.joinWithTimeout(Proc.java:168) ... N more {quote} Link to source code of the wait getting interrupted in correct version of slave.jar: https://github.com/jenkinsci/remoting/blob/remoting-2.17/src/main/java/hudson/remoting/Request.java#L146 This started to happen seemingly without any other cause except increasing load and slave count. Updating to 1.482.2. did not seem to have any effect. Jenkins master as well as slaves are running Windows, but that user mailing list thread suggests that this can happen on Linux too. We have not been able to identify anything special which might trigger this, but since it does not happen in small scale test setup, only in production, this complicates investigation. We tried -Xrs parameter for JVM, as suggested in that thread, and it seems to have reduced this, but has not stopped it completely.

    Jenkins JIRA | 4 years ago | Ari Hyttinen
    java.lang.InterruptedException
  2. 0

    The issue has been discussed at user mailing list last summer: https://groups.google.com/forum/#!msg/jenkinsci-users/GN0N4mqaCa4/kPbSal5xc4YJ We started having this issue last week, in a system with one job named "thejob", and about 50 slaves, many of them executing it in parallel at any given time. This seems to happen very randomly, usually in the time-consuming part of the build: running an executable on the slave, in which case stack trace is like this: {quote} 12.2.2013 6:34:32 hudson.model.Run run INFO: thejob #443821 aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:664) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) at $Proxy39.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:861) at hudson.Proc.joinWithTimeout(Proc.java:168) ... N more {quote} Link to source code of the wait getting interrupted in correct version of slave.jar: https://github.com/jenkinsci/remoting/blob/remoting-2.17/src/main/java/hudson/remoting/Request.java#L146 This started to happen seemingly without any other cause except increasing load and slave count. Updating to 1.482.2. did not seem to have any effect. Jenkins master as well as slaves are running Windows, but that user mailing list thread suggests that this can happen on Linux too. We have not been able to identify anything special which might trigger this, but since it does not happen in small scale test setup, only in production, this complicates investigation. We tried -Xrs parameter for JVM, as suggested in that thread, and it seems to have reduced this, but has not stopped it completely.

    Jenkins JIRA | 4 years ago | Ari Hyttinen
    java.lang.InterruptedException
  3. 0

    Jenkins CI build timeout for long processes

    Stack Overflow | 4 years ago | Pete
    java.lang.InterruptedException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. treefolk 1 times, last 2 weeks ago
  2. danleyb2Interintel 1 times, last 3 weeks ago
  3. filpgame 1 times, last 2 months ago
  4. Nikolay Rybak 4 times, last 4 months ago
  5. Handemelindo 1 times, last 4 months ago
6 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.InterruptedException

    No message provided

    at java.lang.Object.wait()
  2. Java RT
    Object.wait
    1. java.lang.Object.wait(Native Method)
    1 frame
  3. Hudson :: Remoting Layer
    RemoteInvocationHandler.invoke
    1. hudson.remoting.Request.call(Request.java:146)
    2. hudson.remoting.Channel.call(Channel.java:664)
    3. hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158)
    3 frames
  4. Unknown
    $Proxy39.join
    1. $Proxy39.join(Unknown Source)
    1 frame
  5. Hudson
    Proc.joinWithTimeout
    1. hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:861)
    2. hudson.Proc.joinWithTimeout(Proc.java:168)
    2 frames