New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins pipeline hangs on "Waiting for next available executor" #6662

Closed
donshoarma opened this Issue Dec 29, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@donshoarma

donshoarma commented Dec 29, 2016

When running a build I ran into the following problem:
(Pipeline logging)

/usr/bin/git rev-list 057e306664e9afbb8e2d7bc08cc83b98871fad56 # timeout=10
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor

(Jenkins system logging)
Dec 29, 2016 12:13:09 PM INFO org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

Excess workload after pending Spot instances: 1

Dec 29, 2016 12:13:09 PM WARNING org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision

Failed to count the # of live instances on Kubernetes
java.lang.NullPointerException
at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.addProvisionedSlave(KubernetesCloud.java:639)
at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.provision(KubernetesCloud.java:510)
at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:701)
at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:307)
at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:60)
at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:798)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@donshoarma

This comment has been minimized.

Show comment
Hide comment
@donshoarma

donshoarma commented Dec 29, 2016

Duplicate

@donshoarma donshoarma closed this Dec 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment