Skip to content

Commit b280ea1

Browse files
author
Tibor Vass
committed
hack: add more debugging to understand exit codepath
Signed-off-by: Tibor Vass <tibor@docker.com>
1 parent 41ac6be commit b280ea1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ pipeline {
286286
sh '''#!/bin/bash
287287
# bash is needed so 'jobs -p' works properly
288288
# it also accepts setting inline envvars for functions without explicitly exporting
289+
set -x
289290
290291
run_tests() {
291292
[ -n "$TESTDEBUG" ] && rm= || rm=--rm;
@@ -335,7 +336,6 @@ pipeline {
335336
# integration-cli second set
336337
TEST_INTEGRATION_DEST=3 CONTAINER_NAME=${CONTAINER_NAME}-3 TEST_SKIP_INTEGRATION=1 TESTFLAGS="-test.run Test(DockerSwarmSuite|DockerDaemonSuite|DockerExternalVolumeSuite)/" run_tests &
337338
338-
set +x
339339
c=0
340340
for job in $(jobs -p); do
341341
wait ${job} || c=$?

hack/make/test-integration

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ fi
2222
cleanup_test_suite_binaries
2323
error_on_leaked_containerd_shims
2424

25+
echo exiting test-integration
26+
set -x
2527
exit ${testexit}
2628

2729
) 2>&1 | tee -a "$DEST/test.log"

0 commit comments

Comments
 (0)