Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit e18049e

Browse files
author
Tibor Vass
committed
hack: add more debugging to understand exit codepath
Signed-off-by: Tibor Vass <tibor@docker.com> (cherry picked from commit b280ea114f0210afcd50936808e0653cfacfe16a) Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: d4e12315cd19546b3d1c3cd6cc9fb4f74d6738f1 Component: engine
1 parent bca3c9a commit e18049e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

components/engine/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ pipeline {
275275
sh '''#!/bin/bash
276276
# bash is needed so 'jobs -p' works properly
277277
# it also accepts setting inline envvars for functions without explicitly exporting
278+
set -x
278279
279280
run_tests() {
280281
[ -n "$TESTDEBUG" ] && rm= || rm=--rm;
@@ -324,7 +325,6 @@ pipeline {
324325
# integration-cli second set
325326
TEST_INTEGRATION_DEST=3 CONTAINER_NAME=${CONTAINER_NAME}-3 TEST_SKIP_INTEGRATION=1 TESTFLAGS="-test.run Test(DockerSwarmSuite|DockerDaemonSuite|DockerExternalVolumeSuite)/" run_tests &
326327
327-
set +x
328328
c=0
329329
for job in $(jobs -p); do
330330
wait ${job} || c=$?

components/engine/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)