From d280e481a5ebc0f21cd4428c5df64bd1f7b6fbd6 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 27 Nov 2023 18:02:26 +0100 Subject: [PATCH] test/compose: remove debug leftovers I noticed these old debug code while looking at a log. These were needed to debug a nasty flake[1] in the compose tests. However it has been fixed[2] for a while and I am not aware of any flakes around that logic so we are good to remove it. I still leave the server logs in there as they may be useful for all kinds of issues and are only printed when the test fails so it does not clutter the logs. [1] https://github.com/containers/podman/issues/10052 [2] https://github.com/containers/podman/pull/11091 Signed-off-by: Paul Holzinger --- test/compose/test-compose | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/compose/test-compose b/test/compose/test-compose index 201cead240..83a033dafc 100755 --- a/test/compose/test-compose +++ b/test/compose/test-compose @@ -173,14 +173,6 @@ function test_port() { if [ $curl_rc -ne 0 ]; then _show_ok 0 "$testname - curl (port $port) failed with status $curl_rc" - echo "# podman ps -a:" - $PODMAN_BIN --storage-driver=vfs --root $WORKDIR/root --runroot $WORKDIR/runroot ps -a - if type -p ss; then - echo "# ss -tulpn:" - ss -tulpn - echo "# podman unshare --rootless-cni ss -tulpn:" - $PODMAN_BIN --storage-driver=vfs --root $WORKDIR/root --runroot $WORKDIR/runroot unshare --rootless-cni ss -tulpn - fi echo "# cat $WORKDIR/server.log:" cat $WORKDIR/server.log echo "# cat $logfile:"