Jenkins crashing - java.lang.InterruptedException

771 views
Skip to first unread message

Steve Oliver

unread,
May 4, 2012, 2:35:50 AM5/4/12
to jenkins...@googlegroups.com
Hi, all.  Trying to debug one of the first issues I've had with Jenkins -- It is crashing on one of my jobs.

From jenkins.log:
 
May 4, 2012 1:00:49 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 57822
May 4, 2012 1:01:04 AM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running
May 4, 2012 1:37:14 AM hudson.model.Run run
INFO: Job A #1 main build action completed: FAILURE
May 4, 2012 1:42:19 AM hudson.model.Run run
INFO: Job B #2 main build action completed: SUCCESS
May 4, 2012 1:47:28 AM hudson.model.Run run
INFO: Job C #5 aborted
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
at hudson.Proc$LocalProc.join(Proc.java:319)
at hudson.Launcher$ProcStarter.join(Launcher.java:345)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
at hudson.model.Build$RunnerImpl.build(Build.java:178)
at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
at hudson.model.Run.run(Run.java:1434)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)

Jenkins service goes away ... all gone.

Ideas?

Thanks,

- Steve Oliver

Alvin Lee

unread,
Nov 2, 2017, 3:13:15 PM11/2/17
to Jenkins Users
Did you ever solve this issue? I'm running into the same thing now 5 years later

java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
	at hudson.Proc$LocalProc.join(Proc.java:320)
	at hudson.Launcher$ProcStarter.join(Launcher.java:409)
	at org.jenkinsci.plugins.managedscripts.ScriptBuildStep.perform(ScriptBuildStep.java:180)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
	at hudson.model.Build$BuildExecution.build(Build.java:206)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
	at hudson.model.Run.execute(Run.java:1735)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:405)
Build step 'Execute managed script' marked build as failure

Mark Waite

unread,
Nov 2, 2017, 3:20:02 PM11/2/17
to jenkins...@googlegroups.com
Alvin,

I think if you compare the stack trace from 5 years ago with your stack trace, you'll find enough differences to hint that they are not likely related to one another.

Yours is running "managedscripts.ScriptBuildStep.perform()" while the 5 year old stack trace is running "CommandInterpreter.perform ()"

Mark Waite 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7b464d26-fef0-4aa7-bab6-80c2b02da030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rita Garcia

unread,
Jul 11, 2018, 7:40:45 PM7/11/18
to Jenkins Users
I am receiving the Interrupt Exception on Jenkins 2.121.1. Did anyone find the cause to this crash?
Reply all
Reply to author
Forward
0 new messages