Jobs with milestones configured seem to randomly hang and never get past the first milestone. Most are configured with a timeout and so they eventually fail with an output like
Started by user Elikem Gbanaglo (elikemg)
Resume disabled by user, switching to high-performance, low-durability mode.
[Pipeline] timeout
Timeout set to expire in 2 hr 10 min
[Pipeline]
[Pipeline] // timeout
[Pipeline] echo
[Pipeline] End of Pipeline
The typical pattern being used by jobs is:
timeout(time: 10, unit: 'MINUTES'){
milestone()
lock(resource: "${env.JOB_NAME}", inversePrecedence: true) {
node('master')
milestone()
}
}
When we comment out the milestone steps, the jobs consistently run
We have seen this error in the log, but are unsure if it is related