All nodes of label are offline


I am newbie in k8s cluster and Jenkins, I have issue with Jenkins script, its not running.
I standard situations Jenkins file create pod, script located in Gitlab and Jenkins run a script, but at now i have script with failure. Any suggestions?
Logs of Jenkins script:

type or paste code hereStarted by timer
Obtained CRONJOBS/JUPYTER/jupyter-trip-planning-data/Jenkinsfile from git
Resume disabled by user, switching to high-performance, low-durability mode.
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘label name’ are offline
Created Pod: kubernetes jenkins/pod name
Created Pod: kubernetes jenkins/pod name
Failing build: shutting down controller and build is marked to not resume
Terminating node
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
Resuming build at Mon Jan 08 06:53:24 EET 2024 after Jenkins restart
[Pipeline] End of Pipeline
Ready to run at Mon Jan 08 06:53:25 EET 2024
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 98027619-bef6-44b4-ba76-c0a5ed7fccbe
java.lang.IllegalStateException: JENKINS-50407: no loaded shell in CpsFlowExecution[Owner[CRONJOBS/JUPYTER/jupyter-trip-planning-data/61555:CRONJOBS/JUPYTER/jupyter-trip-planning-data #61555]]
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(
	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$
	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$
	at java.base/
	at hudson.remoting.SingleLaneExecutorService$
	at jenkins.util.ContextResettingExecutorService$
	at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(
	at java.base/java.util.concurrent.Executors$
	at java.base/
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/
Finished: FAILURE

You configured your pipeline to be not resumable. While waiting for the node you shutdown Jenkins. So after the restart your pipeline couldn’t continue.

1 Like