"Jenkins is going to shut down" ad infinitum

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

"Jenkins is going to shut down" ad infinitum

Steve K
Hello,

We do have the ThinBackup and PeriodicBackup plugins in use, but there is nothing odd about either of their configurations.
Moreover, the settings for ThinBackup and PeriodicBackup have not changed in several months.
The "Jenkins is going to shut down. No further builds will be performed." message (and associated blockage of any new jobs starting) just began happening yesterday.

So, either I'm overlooking something with the backup plugins (they are suspect since ThinBackup settings have been sited as a problem by others) or I need to look somewhere else for the culprit.
BTW. Jenkins server version is
Do you have a suggestion?
I'm growing tired of clicking "(cancel)" every few seconds.

Thanks in advance for any help, advisement, or words of encouragement that you would like to share.

--
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/7bd2daca-b471-4ef9-a856-68c00372c650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: "Jenkins is going to shut down" ad infinitum

Matthew.Webber
Anything in the logs?
Did anyone install https://wiki.jenkins.io/display/JENKINS/Post-initialization+script?
Matthew



--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

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

Re: "Jenkins is going to shut down" ad infinitum

Victor Martinez
In reply to this post by Steve K
 If anyone can run any system groovy script then they might easily run the 'safe-restart'. can you confirm whether the script security is enabled? https://jenkins.io/doc/book/managing/script-approval/
 

--
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/e166b514-d1a9-4ece-aa25-1729a1b14c96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: "Jenkins is going to shut down" ad infinitum

Steve K
In reply to this post by Steve K

Thank you Victor Martinez and [hidden email] for your great ideas.  I apologize for my late response.  We were on a Thanksgiving holiday.

We managed to work past the problem. No Groovy scripts were to blame.
As a guess, we de-selected "Wait until Jenkins/Hudson is idle to perform a backup" in our thinBackup settings.
That fixed the problem.
As I originally noted, however, it is very odd that we just experienced this issue.  The configuration for thinBackup had not been changed in several months.

--
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/4503e312-3a15-45cf-8a35-98fe5845e10f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: "Jenkins is going to shut down" ad infinitum

Brian Ray
We ran into the same problem under what sounds like the same circumstances a few years back. We initially configured thinBackup with the Wait until... switch turned on and had no issues for a very long time.

And then we wound up in the trap you describe. I dug around and realized certain of our long-running nightly jobs were running longer and longer, and more job were introduced, delaying thinBackup's opportunity to seize a quiet period. By the time late morning rolled around it was in the shutdown preparation mode, so I'd manually clear it, and then a delayed build would fire, and then back to shutdown prep mode, etc.

So while it's possible for the thinBackup config to remain the same but build mix + timing to cause this problem.

On Monday, November 27, 2017 at 9:22:37 AM UTC-8, Steve K wrote:

Thank you Victor Martinez and [hidden email] for your great ideas.  I apologize for my late response.  We were on a Thanksgiving holiday.

We managed to work past the problem. No Groovy scripts were to blame.
As a guess, we de-selected "Wait until Jenkins/Hudson is idle to perform a backup" in our thinBackup settings.
That fixed the problem.
As I originally noted, however, it is very odd that we just experienced this issue.  The configuration for thinBackup had not been changed in several months.

--
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/e736bc8f-23e7-4b55-9b91-9c4f97344eb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.