From 40614b5a3da72a748b622a72e2aea27c8cf56775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Tue, 26 Mar 2024 15:18:43 +0800 Subject: [PATCH] ci: fix memory leak reporting caused by ovn-controller crashes (#3873) Signed-off-by: zhangzujian --- .github/workflows/build-x86-image.yaml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-x86-image.yaml b/.github/workflows/build-x86-image.yaml index 822b0e95c78..8277f966cf3 100644 --- a/.github/workflows/build-x86-image.yaml +++ b/.github/workflows/build-x86-image.yaml @@ -488,10 +488,11 @@ jobs: - name: Check valgrind result run: | - kubectl -n kube-system rollout restart deploy ovn-central kubectl -n kube-system rollout restart ds ovs-ovn - kubectl -n kube-system rollout status deploy ovn-central kubectl -n kube-system rollout status ds ovs-ovn + sleep 10 + kubectl -n kube-system rollout restart deploy ovn-central + kubectl -n kube-system rollout status deploy ovn-central while true; do if [ $(kubectl -n kube-system get pod -l app=ovs -o name | wc -l) -eq $(kubectl get node -o name | wc -l) ]; then break @@ -644,10 +645,11 @@ jobs: - name: Check valgrind result run: | - kubectl -n kube-system rollout restart deploy ovn-central kubectl -n kube-system rollout restart ds ovs-ovn - kubectl -n kube-system rollout status deploy ovn-central kubectl -n kube-system rollout status ds ovs-ovn + sleep 10 + kubectl -n kube-system rollout restart deploy ovn-central + kubectl -n kube-system rollout status deploy ovn-central while true; do if [ $(kubectl -n kube-system get pod -l app=ovs -o name | wc -l) -eq $(kubectl get node -o name | wc -l) ]; then break @@ -775,10 +777,11 @@ jobs: - name: Check valgrind result run: | - kubectl -n kube-system rollout restart deploy ovn-central kubectl -n kube-system rollout restart ds ovs-ovn - kubectl -n kube-system rollout status deploy ovn-central kubectl -n kube-system rollout status ds ovs-ovn + sleep 10 + kubectl -n kube-system rollout restart deploy ovn-central + kubectl -n kube-system rollout status deploy ovn-central while true; do if [ $(kubectl -n kube-system get pod -l app=ovs -o name | wc -l) -eq $(kubectl get node -o name | wc -l) ]; then break @@ -929,10 +932,11 @@ jobs: - name: Check valgrind result run: | - kubectl -n kube-system rollout restart deploy ovn-central kubectl -n kube-system rollout restart ds ovs-ovn - kubectl -n kube-system rollout status deploy ovn-central kubectl -n kube-system rollout status ds ovs-ovn + sleep 10 + kubectl -n kube-system rollout restart deploy ovn-central + kubectl -n kube-system rollout status deploy ovn-central while true; do if [ $(kubectl -n kube-system get pod -l app=ovs -o name | wc -l) -eq $(kubectl get node -o name | wc -l) ]; then break