Skip to content

Commit

Permalink
check kube ovn podrestarts
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <zhangbingbing2_yewu@cmss.chinamobile.com>
  • Loading branch information
bobz965 committed Apr 19, 2024
1 parent 23c8df4 commit 1beaef4
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,10 @@ jobs:
E2E_NETWORK_MODE: ${{ matrix.mode }}
run: make k8s-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -630,6 +634,10 @@ jobs:
working-directory: ${{ env.E2E_DIR }}
run: make k8s-netpol-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -762,6 +770,10 @@ jobs:
working-directory: ${{ env.E2E_DIR }}
run: make cyclonus-netpol-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -920,6 +932,10 @@ jobs:
make kind-install-kubevirt
make kube-ovn-kubevirt-e2e
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1068,6 +1084,10 @@ jobs:
E2E_IP_FAMILY: ${{ matrix.ip-family }}
run: make kube-ovn-ic-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1191,6 +1211,10 @@ jobs:
E2E_IP_FAMILY: ${{ matrix.ip-family }}
run: make kube-ovn-multus-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1255,6 +1279,10 @@ jobs:
ENABLE_SSL: "${{ matrix.ssl }}"
run: make kind-install-chart

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Uninstall Kube-OVN
run: make kind-uninstall-chart

Expand Down Expand Up @@ -1301,6 +1329,10 @@ jobs:
- name: Install Kube-OVN
run: make kind-install-underlay-logical-gateway-dual

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1349,6 +1381,10 @@ jobs:
ENABLE_LB: "false"
run: make kind-install

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1397,6 +1433,10 @@ jobs:
ENABLE_NP: "false"
run: make kind-install

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1502,6 +1542,10 @@ jobs:
E2E_BRANCH: ${{ github.base_ref || github.ref_name }}
run: make kube-ovn-lb-svc-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
webhook-e2e:
name: Webhook E2E
needs:
Expand Down Expand Up @@ -1597,6 +1641,10 @@ jobs:
E2E_BRANCH: ${{ github.base_ref || github.ref_name }}
run: make kube-ovn-webhook-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1653,6 +1701,10 @@ jobs:
- name: Install Kube-OVN
run: make kind-install

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1784,6 +1836,10 @@ jobs:
E2E_NETWORK_MODE: ${{ matrix.mode }}
run: make k8s-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1914,6 +1970,10 @@ jobs:
make kube-ovn-security-e2e
make kube-ovn-ha-e2e
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2004,6 +2064,10 @@ jobs:
working-directory: ${{ env.E2E_DIR }}
run: make kube-ovn-submariner-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2122,6 +2186,10 @@ jobs:
E2E_BRANCH: ${{ github.base_ref || github.ref_name }}
run: make iptables-vpc-nat-gw-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2235,6 +2303,10 @@ jobs:
E2E_BRANCH: ${{ github.base_ref || github.ref_name }}
run: make ovn-vpc-nat-gw-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
push:
name: Push Images
needs:
Expand Down
73 changes: 73 additions & 0 deletions .github/workflows/scheduled-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ jobs:
E2E_NETWORK_MODE: ${{ matrix.mode }}
run: make k8s-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
k8s-netpol-e2e:
name: Kubernetes Network Policy E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -187,6 +191,10 @@ jobs:
- name: Run E2E
run: make k8s-netpol-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
cyclonus-netpol-e2e:
name: Cyclonus Network Policy E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -246,6 +254,10 @@ jobs:
- name: Run E2E
run: make cyclonus-netpol-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
kube-ovn-conformance-e2e:
name: Kube-OVN Conformance E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -330,6 +342,10 @@ jobs:
E2E_NETWORK_MODE: ${{ matrix.mode }}
run: make kube-ovn-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
kube-ovn-ic-conformance-e2e:
name: Kube-OVN IC Conformance E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -404,6 +420,10 @@ jobs:
E2E_BRANCH: ${{ matrix.branch }}
run: make kube-ovn-ic-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
underlay-logical-gateway-installation-test:
name: Underlay Logical Gateway Installation Test
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -451,6 +471,10 @@ jobs:
docker pull kubeovn/kube-ovn:$version
VERSION=$version make kind-install-underlay-logical-gateway-dual
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -504,6 +528,10 @@ jobs:
docker pull kubeovn/kube-ovn:$version
VERSION=$version make kind-install
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -557,6 +585,10 @@ jobs:
docker pull kubeovn/kube-ovn:$version
VERSION=$version make kind-install
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -632,6 +664,10 @@ jobs:
docker pull kubeovn/vpc-nat-gateway:$version
VERSION=$version make kind-install-lb-svc
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Run E2E
run: make kube-ovn-lb-svc-conformance-e2e

Expand Down Expand Up @@ -706,6 +742,10 @@ jobs:
VERSION=$version make kind-install
VERSION=$version make kind-install-kubevirt
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Run E2E
run: make kube-ovn-kubevirt-e2e

Expand Down Expand Up @@ -780,6 +820,10 @@ jobs:
- name: Run E2E
run: make kube-ovn-webhook-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
installation-compatibility-test:
name: Installation Compatibility Test
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -830,6 +874,10 @@ jobs:
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
cilium-chaining-e2e:
name: Cilium Chaining E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -914,6 +962,10 @@ jobs:
E2E_CILIUM_CHAINING: "true"
run: make k8s-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -1008,6 +1060,10 @@ jobs:
make kube-ovn-security-e2e
make kube-ovn-ha-e2e
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh dist/images/cleanup.sh

Expand Down Expand Up @@ -1109,6 +1165,10 @@ jobs:
E2E_BRANCH: ${{ env.VERSION_TO }}
run: make k8s-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ env.VERSION_TO }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -1167,6 +1227,10 @@ jobs:
- name: Run E2E
run: make kube-ovn-submariner-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
working-directory: test/e2e/kube-ovn/branches/${{ matrix.branch }}
run: sh dist/images/cleanup.sh
Expand Down Expand Up @@ -1241,6 +1305,10 @@ jobs:
- name: Run E2E
run: make iptables-vpc-nat-gw-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
ovn-vpc-nat-gw-conformance-e2e:
name: OVN VPC NAT Gateway E2E
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -1310,3 +1378,8 @@ jobs:
- name: Run E2E
run: make ovn-vpc-nat-gw-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
Loading

0 comments on commit 1beaef4

Please sign in to comment.