| I can reproduce the hang issue by following code. Just run this same task on different nodes concurrently. (LOOP = 10000) Any workaround can be made to fix the hang issue before the bug has been fixed, how about timeout and retry?
// Declarative Pipeline pipeline { agent { label 'master' }
stages { stage('Stress allocate node') { steps { script { def nodeName = "${NODE}" def loop = "${LOOP}" as Integer
lock(nodeName) { for (int i = 1; i <= loop; i++) { node(nodeName) { echo "run test case. Loop: $i" } } } } } } } }
|