Jenkins crashing - java.lang.InterruptedException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins crashing - java.lang.InterruptedException

Steve Oliver
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

Reply | Threaded
Open this post in threaded view
|

Re: Jenkins crashing - java.lang.InterruptedException

Alvin Lee
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

On Thursday, May 3, 2012 at 11:35:50 PM UTC-7, Steve Oliver wrote:
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

--
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins crashing - java.lang.InterruptedException

Mark Waite-2
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 

On Thu, Nov 2, 2017 at 1:13 PM Alvin Lee <[hidden email]> wrote:
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

On Thursday, May 3, 2012 at 11:35:50 PM UTC-7, Steve Oliver wrote:
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

--
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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGgLkaJ%3DYE2qyCY8hkpQCFsz4jYRc-VZJfgHHM9FYbjyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.