@@ -200,6 +200,7 @@ jobs:
200200 if : steps.is_pr_image_build_needed.outputs.PR_IMAGE_RESTORED != 'true' && success()
201201 run : |
202202 set -x
203+ sudo apt update
203204 sudo apt-get install linux-modules-extra-$(uname -r) -y
204205 sudo modprobe vrf
205206
@@ -463,15 +464,15 @@ jobs:
463464 - {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv4", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
464465 - {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv6", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
465466 - {"target": "bgp", "ha": "noHA", "gateway-mode": "local", "ipfamily": "dualstack", "disable-snat-multiple-gws": "snatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "routeadvertisements": "advertise-default", "network-segmentation": "enable-network-segmentation"}
466- - {"target": "bgp", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv4 ", "disable-snat-multiple-gws": "snatGW ", "second-bridge": "1br", "ic": "ic-single-node-zones", "routeadvertisements": "advertise-default", "network-segmentation": "enable-network-segmentation"}
467+ - {"target": "bgp", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "dualstack ", "disable-snat-multiple-gws": "noSnatGW ", "second-bridge": "1br", "ic": "ic-single-node-zones", "routeadvertisements": "advertise-default", "network-segmentation": "enable-network-segmentation"}
467468 - {"target": "traffic-flow-test-only","ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv4", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "traffic-flow-tests": "1-24", "network-segmentation": "enable-network-segmentation"}
468469 - {"target": "tools", "ha": "noHA", "gateway-mode": "local", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "network-segmentation": "enable-network-segmentation"}
469470 needs : [ build-pr ]
470471 env :
471472 JOB_NAME : " ${{ matrix.target }}-${{ matrix.ha }}-${{ matrix.gateway-mode }}-${{ matrix.ipfamily }}-${{ matrix.disable-snat-multiple-gws }}-${{ matrix.second-bridge }}-${{ matrix.ic }}"
472473 OVN_HYBRID_OVERLAY_ENABLE : ${{ (matrix.target == 'control-plane' || matrix.target == 'control-plane-helm') && (matrix.ipfamily == 'ipv4' || matrix.ipfamily == 'dualstack' ) }}
473- OVN_MULTICAST_ENABLE : " ${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' || matrix.target == 'network-segmentation' }}"
474- OVN_EMPTY_LB_EVENTS : " ${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' }}"
474+ OVN_MULTICAST_ENABLE : " ${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' || matrix.target == 'network-segmentation' || matrix.target == 'bgp' }}"
475+ OVN_EMPTY_LB_EVENTS : " ${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' || matrix.target == 'bgp' }}"
475476 OVN_HA : " ${{ matrix.ha == 'HA' }}"
476477 OVN_DISABLE_SNAT_MULTIPLE_GWS : " ${{ matrix.disable-snat-multiple-gws == 'noSnatGW' }}"
477478 KIND_INSTALL_METALLB : " ${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' || matrix.target == 'network-segmentation' }}"
@@ -500,6 +501,7 @@ jobs:
500501 - name : Install VRF kernel module
501502 run : |
502503 set -x
504+ sudo apt update
503505 sudo apt-get install linux-modules-extra-$(uname -r) -y
504506 sudo modprobe vrf
505507
@@ -557,7 +559,7 @@ jobs:
557559 echo OVN_TEST_EX_GW_NETWORK=xgw >> $GITHUB_ENV
558560 echo OVN_ENABLE_EX_GW_NETWORK_BRIDGE=true >> $GITHUB_ENV
559561 fi
560- if [[ "$JOB_NAME" == *"shard-conformance"* ]] && [ "$ADVERTISE_DEFAULT_NETWORK" == "true" ]; then
562+ if [ "$ADVERTISE_DEFAULT_NETWORK" == "true" ]; then
561563 echo "ADVERTISE_DEFAULT_NETWORK=true" >> $GITHUB_ENV
562564
563565 # Use proper variable declaration with default values
@@ -614,7 +616,9 @@ jobs:
614616 - name : Run Tests
615617 # e2e tests take ~60 minutes normally, 120 should be more than enough
616618 # set 3 hours for control-plane tests as these might take a while
617- timeout-minutes : ${{ matrix.target == 'control-plane' && 180 || matrix.target == 'control-plane-helm' && 180 || matrix.target == 'external-gateway' && 180 || 120 }}
619+ # give 10m extra to give ginkgo chance to timeout before github so that we
620+ # get its output
621+ timeout-minutes : ${{ matrix.target == 'bgp' && 190 || matrix.target == 'control-plane' && 190 || matrix.target == 'control-plane-helm' && 190 || matrix.target == 'external-gateway' && 190 || 130 }}
618622 run : |
619623 # used by e2e diagnostics package
620624 export OVN_IMAGE="ovn-daemonset-fedora:pr"
@@ -639,7 +643,7 @@ jobs:
639643 elif [ "${{ matrix.target }}" == "network-segmentation" ]; then
640644 make -C test control-plane WHAT="Network Segmentation"
641645 elif [ "${{ matrix.target }}" == "bgp" ]; then
642- make -C test control-plane WHAT="BGP"
646+ make -C test control-plane
643647 elif [ "${{ matrix.target }}" == "tools" ]; then
644648 make -C go-controller build
645649 make -C test tools
0 commit comments