We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0119de7 commit 1243eedCopy full SHA for 1243eed
scripts/ci-e2e.sh
@@ -86,6 +86,16 @@ cleanup() {
86
ctr -n moby containers list > "${ARTIFACTS_LOCAL}/containerd-containers.txt" || true
87
ctr -n moby images list > "${ARTIFACTS_LOCAL}/containerd-images.txt" || true
88
ctr -n moby version > "${ARTIFACTS_LOCAL}/containerd-version.txt" || true
89
+
90
+ # Verify that no containers are running at this time
91
+ # Note: This verifies that all our tests clean up clusters correctly.
92
+ if [[ ! "$(docker ps -q | wc -l)" -eq "0" ]]
93
+ then
94
+ echo "ERROR: Found unexpected running containers:"
95
+ echo ""
96
+ docker ps
97
+ exit 1
98
+ fi
99
}
100
trap "cleanup" EXIT SIGINT
101
0 commit comments