diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2023-08-23 12:04:12 +0200 |
|---|---|---|
| committer | Pierre Riteau <pierre@stackhpc.com> | 2023-10-18 16:39:29 +0000 |
| commit | 695fda401ee846ae75a790e79bf0f4ba725dbecd (patch) | |
| tree | 8680ea3f062506ff02fdc56b2780a33365f9eb27 /tests/check-failure.sh | |
| parent | a6120f231a5985b95ac98c1abcc672622b3190f1 (diff) | |
| download | kolla-ansible-695fda401ee846ae75a790e79bf0f4ba725dbecd.tar.gz kolla-ansible-695fda401ee846ae75a790e79bf0f4ba725dbecd.zip | |
CI: Log details about failed containers
Change-Id: I5df9cf14f16a7c08cccf053302bbda227526a4a8
Diffstat (limited to 'tests/check-failure.sh')
| -rwxr-xr-x | tests/check-failure.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/check-failure.sh b/tests/check-failure.sh index ad88b29de..87db6f177 100755 --- a/tests/check-failure.sh +++ b/tests/check-failure.sh @@ -13,6 +13,11 @@ check_podman_failures() { --filter status=paused \ --filter status=exited \ --filter status=unknown) + + for container in $failed_containers; do + podman inspect $container + podman logs $container + done } @@ -34,6 +39,11 @@ check_docker_failures() { --filter status=paused \ --filter status=exited \ --filter status=dead) + + for container in $failed_containers; do + docker inspect $container + docker logs $container + done } |
