From 8ac59fcf5dc7ea80aecf43a79218eea46ad7335c Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Mon, 8 Apr 2024 14:16:39 +0900 Subject: [PATCH 1/4] cicd: cleanup on scenario fails for redhat runner --- .github/workflows/advanced-lb-sanity-rh9.yml | 1 + .github/workflows/basic-sanity-rh9.yml | 1 + .github/workflows/ipsec-sanity-rh9.yml | 1 + .github/workflows/liveness-sanity-rh9.yml | 1 + .github/workflows/scale-sanity-rh9.yml | 1 + .github/workflows/sctp-sanity-rh9.yml | 1 + .github/workflows/tcp-sanity-rh9.yml | 1 + .github/workflows/udp-sanity-rh9.yml | 1 + 8 files changed, 8 insertions(+) diff --git a/.github/workflows/advanced-lb-sanity-rh9.yml b/.github/workflows/advanced-lb-sanity-rh9.yml index 6916db65..4ac01dc7 100644 --- a/.github/workflows/advanced-lb-sanity-rh9.yml +++ b/.github/workflows/advanced-lb-sanity-rh9.yml @@ -83,5 +83,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/basic-sanity-rh9.yml b/.github/workflows/basic-sanity-rh9.yml index 1dcf2723..9fca1b71 100644 --- a/.github/workflows/basic-sanity-rh9.yml +++ b/.github/workflows/basic-sanity-rh9.yml @@ -39,5 +39,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/ipsec-sanity-rh9.yml b/.github/workflows/ipsec-sanity-rh9.yml index d9aeba30..6c0124f1 100644 --- a/.github/workflows/ipsec-sanity-rh9.yml +++ b/.github/workflows/ipsec-sanity-rh9.yml @@ -48,5 +48,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/liveness-sanity-rh9.yml b/.github/workflows/liveness-sanity-rh9.yml index 9ec3adb3..5d2a6a3b 100644 --- a/.github/workflows/liveness-sanity-rh9.yml +++ b/.github/workflows/liveness-sanity-rh9.yml @@ -71,5 +71,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/scale-sanity-rh9.yml b/.github/workflows/scale-sanity-rh9.yml index 9d32080a..326c0fbd 100644 --- a/.github/workflows/scale-sanity-rh9.yml +++ b/.github/workflows/scale-sanity-rh9.yml @@ -35,5 +35,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/sctp-sanity-rh9.yml b/.github/workflows/sctp-sanity-rh9.yml index 5df4dc1f..50ea69da 100644 --- a/.github/workflows/sctp-sanity-rh9.yml +++ b/.github/workflows/sctp-sanity-rh9.yml @@ -47,5 +47,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/tcp-sanity-rh9.yml b/.github/workflows/tcp-sanity-rh9.yml index 425232c9..4a6dfc83 100644 --- a/.github/workflows/tcp-sanity-rh9.yml +++ b/.github/workflows/tcp-sanity-rh9.yml @@ -65,5 +65,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest diff --git a/.github/workflows/udp-sanity-rh9.yml b/.github/workflows/udp-sanity-rh9.yml index 0180ed56..e07249a7 100644 --- a/.github/workflows/udp-sanity-rh9.yml +++ b/.github/workflows/udp-sanity-rh9.yml @@ -35,5 +35,6 @@ jobs: xdps=$(sudo docker ps -a -q) if [[ x$dps != x ]]; then sudo docker stop $(sudo docker ps -a -q) + sudo docker rm $(sudo docker ps -a -q) fi sudo docker image rm ghcr.io/loxilb-io/loxilb:latest From a4373dba5ef77467023e97132becdf879cbf48cc Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Mon, 8 Apr 2024 14:18:08 +0900 Subject: [PATCH 2/4] updated to latest submodule --- loxilb-ebpf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loxilb-ebpf b/loxilb-ebpf index d10d6713..3489936d 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit d10d6713f3b2aa8dadf327d9547e6bc3dffc0fdd +Subproject commit 3489936dbdb5066a03c6dcc3b283380cb68e88a6 From 7f8fed982ee7d26e85f19a05e87e1a7a9bbe6936 Mon Sep 17 00:00:00 2001 From: TrekkieCoder <111065900+TrekkieCoder@users.noreply.github.com> Date: Mon, 8 Apr 2024 14:36:26 +0900 Subject: [PATCH 3/4] Update scale-sanity-rh9.yml --- .github/workflows/scale-sanity-rh9.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scale-sanity-rh9.yml b/.github/workflows/scale-sanity-rh9.yml index 326c0fbd..e1900164 100644 --- a/.github/workflows/scale-sanity-rh9.yml +++ b/.github/workflows/scale-sanity-rh9.yml @@ -1,9 +1,9 @@ name: Scale-Sanity-CI-RH9 on: - schedule: + #schedule: # Runs "At 22:00 UTC every day-of-week" - - cron: '0 22 * * *' + #- cron: '0 22 * * *' workflow_dispatch: inputs: logLevel: From e4ad3196922bf49222ebce1c3a0b40fbc13bd09a Mon Sep 17 00:00:00 2001 From: TrekkieCoder <111065900+TrekkieCoder@users.noreply.github.com> Date: Mon, 8 Apr 2024 14:37:40 +0900 Subject: [PATCH 4/4] Update liveness-sanity-rh9.yml --- .github/workflows/liveness-sanity-rh9.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/liveness-sanity-rh9.yml b/.github/workflows/liveness-sanity-rh9.yml index 5d2a6a3b..14abee52 100644 --- a/.github/workflows/liveness-sanity-rh9.yml +++ b/.github/workflows/liveness-sanity-rh9.yml @@ -1,9 +1,9 @@ name: Liveness-LB-Sanity-CI-RH9 on: - schedule: + #schedule: # Runs "At 20:00 UTC every day-of-week" - - cron: '0 20 * * *' + #- cron: '0 20 * * *' workflow_dispatch: inputs: logLevel: