-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
jenkins master & slaves inside docker containers all on the same linux server
Workflow 1.10.1
Jenkins ver. 1.625.1
sh steps that succeed are sometimes hanging
on http://agility-test.local/job/team_romeo_dev/4/console I see
... Running: Allocate node : Body : End Running: Allocate node : End Running: Allocate node : Start Running on qibuild-linux64 in /home/jenkins/jenkins/workspace/team_romeo_dev Running: Allocate node : Body : Start Running: Determine Current Directory Running: Shell Script [team_romeo_dev] Running shell script + qibuild add-config linux64_debug -t linux64
and it hangs there forever. Here is the corresponding part of the workflow
...
node("qibuild-linux64") {
configs = []
if (params.run_linux64_debug) {
configs << 'linux64_debug'
}
if (params.run_linux64_release) {
configs << 'linux64_release'
}
workspace = pwd()
for (int i = 0; i < configs.size(); ++i) {
String config = configs[i]
sh "qibuild add-config ${config} -t linux64"
def p = projects.all()
configure(c, config, p)
make(c, config, p)
String test_dir = "test-${config}"
String test_dir_full = "${workspace}/${test_dir}"
test(c, config, p, test_dir_full)
step([$class: 'JUnitResultArchiver', testResults: "${test_dir}/*/test-results/*.xml"])
String test_archive = "${test_dir}.tgz"
sh "tar -czf ${test_archive} ${test_dir}"
step([$class: 'ArtifactArchiver', artifacts: test_archive])
}
...
I does seem similar to https://issues.jenkins-ci.org/browse/JENKINS-28759
I'm not sure how to help nailing this issue.
I got thread dumps in case it helps:
- jenkins thread dump: http://pastebin.com/rHQihLGD
- qibuild-linux64 slave java thread dump: http://pastebin.com/uam5dKQ5
I then added a org.jenkinsci.plugins.workflow.steps.durable_task and will hopefully have more information next time it occurs.
- is related to
-
JENKINS-28400 Not timing out when launch pid fails to appear
-
- Resolved
-
-
JENKINS-28759 Batch steps on slaves randomly hang when complete
-
- Open
-
- links to