Unstoppable Jenkins job?

1,238 views
Skip to first unread message

Craig Rodrigues

unread,
May 26, 2015, 10:06:41 PM5/26/15
to jenkins...@googlegroups.com
Hi,

I'm using Jenkins 1.614, and I have a job which seems to be "stuck", and I
can't stop it:

https://jenkins.freebsd.org/job/FreeBSD_HEAD-scan-build/124/

I tried clicking the "X" ( https://jenkins.freebsd.org/job/FreeBSD_HEAD-scan-build/124/stop)
to stop the job, but that didn't stop it.

An hints on how I can diagnose why this is "stuck"?
I'd rather not restart the Jenkins server to fix this....

--
Craig

Suckow, Thomas J

unread,
May 27, 2015, 10:59:44 AM5/27/15
to jenkins...@googlegroups.com
Assuming this is on the master node, you could get thread stack traces from /threadDump (link in Manage Jenkins->System Information)

I believe it would be a thread labeled "Executor..."

I don't believe Jenkins can/will forcibly pull the rug out from under an executor. So if something about the job is in an infinite loop (probably plugin bug), it will not be able to be stopped.

If it is a slave elsewhere, I think the javameledy plugin can get slave stack traces, but not sure if you could install it and have it work without restarting. In this case, you could kill the process and jenkins should "do the right thing". 

-
Thomas

--
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/CAG%3DrPVdzB0T3tX%3DjVxkOrJxThZSGQsYRPMvyJVJWppiJZVXeAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages