Build periodically not working in Jenkins v2.92

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

Build periodically not working in Jenkins v2.92

arunlakhanpal
Hi there,

The build periodically functionality of jenkins in our environment stopped
working randomly about a month back (v2.62), after trying multiple reboots,
writing jobs again from scratch etc. hacks with no luck at fixing the issue,
I decided to upgrade jenkins to 2.92, the upgrade though successful, did not
help fix the issue. However, I just took a clone of the server a couple of
days back, and weirdly the clone has the same functionality working just
fine, while the original jenkins server still has it broken.

Please share views/advise on the same to help me fix this.

Many Thanks.

Arun




--
Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-users-f361316.html

--
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/1513723561448-0.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Build periodically not working in Jenkins v2.92

Daniel Beck

> On 19. Dec 2017, at 23:46, arunlakhanpal <[hidden email]> wrote:
>
> Please share views/advise on the same to help me fix this.

Check the /threadDump URL for timer/trigger related threads being busy, as well as the Jenkins log for errors related to timers/triggers.

--
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/ACA8B198-33A7-4D0B-AD1F-BE8569BA5A9E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Build periodically not working in Jenkins v2.92

arunlakhanpal
Thanks for the insight Daniel.

I did look into the thread dump but did not find anything that tells me
much. Sharing the extract I got from my jenkins server thread dump, which
might/might not be useful.

JmDNS(<servername>).State.Timer
"JmDNS(<servername>).State.Timer" Id=469 Group=main TIMED_WAITING on
java.util.TaskQueue@34c4afe1
        at java.lang.Object.wait(Native Method)
        -  waiting on java.util.TaskQueue@34c4afe1
        at java.util.TimerThread.mainLoop(Timer.java:552)
        at java.util.TimerThread.run(Timer.java:505)

JmDNS(akvcbujenkins01-bravurasolutions-local.local.).Timer
"JmDNS(akvcbujenkins01-bravurasolutions-local.local.).Timer" Id=468
Group=main TIMED_WAITING on java.util.TaskQueue@5bfeae9a
        at java.lang.Object.wait(Native Method)
        -  waiting on java.util.TaskQueue@5bfeae9a
        at java.util.TimerThread.mainLoop(Timer.java:552)
        at java.util.TimerThread.run(Timer.java:505)
       
        sshd-SshServer[257b0d72]-timer-thread-1
"sshd-SshServer[257b0d72]-timer-thread-1" Id=459 Group=main TIMED_WAITING on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5a3a3987
        at sun.misc.Unsafe.park(Native Method)
        -  waiting on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5a3a3987
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
        at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
       
        Keep-Alive-Timer
"Keep-Alive-Timer" Id=2725558 Group=system TIMED_WAITING
        at java.lang.Thread.sleep(Native Method)
        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172)
        at java.lang.Thread.run(Thread.java:745)

Does this point to anything?

Thanks.
Arun




--
Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-users-f361316.html

--
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/1513732477919-0.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Build periodically not working in Jenkins v2.92

Daniel Beck

> On 20. Dec 2017, at 02:14, arunlakhanpal <[hidden email]> wrote:
>
> Does this point to anything?

Those don't look like anything is wrong. That's from the server that doesn't start jobs on schedule?

--
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/758E5C7F-3120-48F9-9B3D-7293CC261525%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.