Any suggestions on debugging a pipeline hang?
When Jenkins 2.7.2 with pipeline plugins 2.2 cannot execute any pipeline job attempting to allocate a node.
Test
- 20+ nodes free
- 3 free executors on master
- Start pipeline job
- got gets to allocating node and hangs
- start DoNothing freestyle job that does nothing but run on a node
- DoNothing freestyle waits in queue even though 20+ nodes report as free
- Kill pipeline job
- DoNothing freestyle job finds a node, executes, completes
Clues - alas, not many
There's nothing in jenkins master log and in my preprod with the same plugins, everything works.
I suspect I have something getting in the way but i'm not sure what and really don't want to restart (but I think I need to)
Logs
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Pipeline Script
echo 'Starting'
sleep time: 1, unit: 'NANOSECONDS'
echo 'Slept 1 NS'
node {
echo "On a node"
}