mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
hack: add more debugging to understand exit codepath
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
41ac6bef8d
commit
b280ea114f
2 changed files with 3 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -286,6 +286,7 @@ pipeline {
|
|||
sh '''#!/bin/bash
|
||||
# bash is needed so 'jobs -p' works properly
|
||||
# it also accepts setting inline envvars for functions without explicitly exporting
|
||||
set -x
|
||||
|
||||
run_tests() {
|
||||
[ -n "$TESTDEBUG" ] && rm= || rm=--rm;
|
||||
|
@ -335,7 +336,6 @@ pipeline {
|
|||
# integration-cli second set
|
||||
TEST_INTEGRATION_DEST=3 CONTAINER_NAME=${CONTAINER_NAME}-3 TEST_SKIP_INTEGRATION=1 TESTFLAGS="-test.run Test(DockerSwarmSuite|DockerDaemonSuite|DockerExternalVolumeSuite)/" run_tests &
|
||||
|
||||
set +x
|
||||
c=0
|
||||
for job in $(jobs -p); do
|
||||
wait ${job} || c=$?
|
||||
|
|
|
@ -22,6 +22,8 @@ fi
|
|||
cleanup_test_suite_binaries
|
||||
error_on_leaked_containerd_shims
|
||||
|
||||
echo exiting test-integration
|
||||
set -x
|
||||
exit ${testexit}
|
||||
|
||||
) 2>&1 | tee -a "$DEST/test.log"
|
||||
|
|
Loading…
Reference in a new issue