From 91d7a3537fdf26fb7f62c074156c6a4d2f6c0c11 Mon Sep 17 00:00:00 2001 From: "Gael Chamoulaud (Strider)" Date: Fri, 14 Jan 2022 12:14:49 +0100 Subject: [PATCH] [Train-Only] Instruct container-status validation to accept 137, 142 and 143 exit code status This patch makes the validations aware of those exit code status and accept them as not a validation failure. Below, the upstream patches for tripleo-ansible[1] and paunch[2]: [1] - https://review.opendev.org/q/I8f19a80016a67ccad0371c5d108516aec640f031 [2] - https://review.opendev.org/q/Iffcfc8bd18a999ae6921a4131d40241df40050f1 Related-bz: rhbz#2001629 Signed-off-by: Gael Chamoulaud (Strider) Change-Id: Ibd61e6ad758d4e552e5e607f45fbce75f65eed62 --- roles/container_status/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/container_status/tasks/main.yaml b/roles/container_status/tasks/main.yaml index ff0d6fbee..845730a71 100644 --- a/roles/container_status/tasks/main.yaml +++ b/roles/container_status/tasks/main.yaml @@ -54,5 +54,5 @@ - name: Fail if we detect failed containers fail: msg: "Failed container detected: {{ item }}." - when: item is not match(".* Exited \(0\) .* ago") + when: item is not match(".* Exited \((0|137|142|143)\) .* ago") loop: "{{ failed_containers.stdout_lines }}"