From d020e040c789485c31a42949268079e8924261cd Mon Sep 17 00:00:00 2001 From: David Elie-Dit-Cosaque Date: Tue, 21 May 2024 16:57:10 -0400 Subject: [PATCH 1/2] label pods under test after waiting for all pods to come up --- run-basic-batch-operators-test.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run-basic-batch-operators-test.sh b/run-basic-batch-operators-test.sh index 4adc84bac..66cfd8cc8 100755 --- a/run-basic-batch-operators-test.sh +++ b/run-basic-batch-operators-test.sh @@ -452,6 +452,11 @@ while IFS=, read -r package_name catalog; do echo_color "$BLUE" "operator $package_name installed" + echo_color "$BLUE" "Wait to ensure all pods are running" + # Extra wait to ensure that all pods are running + sleep 30 + + echo_color "$BLUE" "Label deployments, statefulsets, pods" # Label deployments, statefulsets and pods with "test-network-function.com/generic=target" { oc get deployment -n "$ns" -o custom-columns=':.metadata.name,:.metadata.namespace,:.kind' | sed '/^ *$/d' | awk '{print " oc label " $3 " -n " $2 " " $1 " test-network-function.com/generic=target "}' | bash || true @@ -459,10 +464,6 @@ while IFS=, read -r package_name catalog; do oc get pods -n "$ns" -o custom-columns=':.metadata.name,:.metadata.namespace,:.kind' | sed '/^ *$/d' | awk '{print " oc label " $3 " -n " $2 " " $1 " test-network-function.com/generic=target "}' | bash || true } >>"$LOG_FILE_PATH" 2>&1 - echo_color "$BLUE" "Wait to ensure all pods are running" - # Extra wait to ensure that all pods are running - sleep 30 - # run tnf-container echo_color "$BLUE" "run CNF suite" TNF_LOG_LEVEL=trace ./run-tnf-container.sh -k "$KUBECONFIG" -t "$report_dir" -o "$report_dir" -c "$DOCKER_CONFIG" -l all >>"$LOG_FILE_PATH" 2>&1 || { From e671b343eaaacec8c8d0f8b3758f702e7ac6e81a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 19:43:23 +0000 Subject: [PATCH 2/2] Bump ubi9/ubi from 9.4-947.1714667021 to 9.4-1181 Bumps ubi9/ubi from 9.4-947.1714667021 to 9.4-1181. --- updated-dependencies: - dependency-name: ubi9/ubi dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 41b0a1ef3..67abeeedb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/ubi:9.4-947.1714667021@sha256:ed84f34cd929ea6b0c247b6daef54dd79602804a32480a052951021caf429494 AS build +FROM registry.access.redhat.com/ubi9/ubi:9.4-1181@sha256:1ee4d8c50d14d9c9e9229d9a039d793fcbc9aa803806d194c957a397cf1d2b17 AS build ENV TNF_DIR=/usr/tnf ENV \ TNF_SRC_DIR=${TNF_DIR}/tnf-src \