diff --git a/ci/jenkins/jobs/projects-cloud.yaml b/ci/jenkins/jobs/projects-cloud.yaml index 311f53a415b..c54b7f49469 100644 --- a/ci/jenkins/jobs/projects-cloud.yaml +++ b/ci/jenkins/jobs/projects-cloud.yaml @@ -1571,3 +1571,40 @@ default-excludes: true fingerprint: false only-if-success: false + - '{name}-{test_name}-for-pull-request': + test_name: kind-flexible-ipam-e2e + node: 'kind-flexible-ipam-testbed' + description: 'This is the {test_name} test for {name}.' + branches: + - ${{sha1}} + builders: + - builder-kind-flexible-ipam-e2e: + kind_cluster_name: '{test_name}' + trigger_phrase: ^(?!Thanks for your PR).*/test-kind-flexible-ipam-e2e.* + white_list_target_branches: [] + allow_whitelist_orgs_as_admins: true + admin_list: '{antrea_admin_list}' + org_list: '{antrea_org_list}' + white_list: '{antrea_white_list}' + only_trigger_phrase: true + trigger_permit_all: true + status_context: jenkins-kind-flexible-ipam-e2e + status_url: null + success_status: Build finished. + failure_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger. + error_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger. + triggered_status: null + started_status: null + wrappers: + - timeout: + fail: true + timeout: 135 + type: absolute + publishers: + - archive: + allow-empty: true + artifacts: 'antrea-test-logs.tar.gz' + case-sensitive: true + default-excludes: true + fingerprint: false + only-if-success: false diff --git a/ci/jenkins/jobs/projects-lab.yaml b/ci/jenkins/jobs/projects-lab.yaml index e4193d3a021..5ca147602b0 100644 --- a/ci/jenkins/jobs/projects-lab.yaml +++ b/ci/jenkins/jobs/projects-lab.yaml @@ -1231,40 +1231,3 @@ credential-id: JENKINS_API_TOKEN variable: JENKINS_API_TOKEN publishers: [] - - '{name}-{test_name}-for-pull-request': - test_name: kind-flexible-ipam-e2e - node: 'antrea-kind-flexible-ipam-testbed' - description: 'This is the {test_name} test for {name}.' - branches: - - ${{sha1}} - builders: - - builder-kind-flexible-ipam-e2e: - kind_cluster_name: '{test_name}' - trigger_phrase: ^(?!Thanks for your PR).*/test-kind-flexible-ipam-e2e.* - white_list_target_branches: [] - allow_whitelist_orgs_as_admins: true - admin_list: '{antrea_admin_list}' - org_list: '{antrea_org_list}' - white_list: '{antrea_white_list}' - only_trigger_phrase: true - trigger_permit_all: true - status_context: jenkins-kind-flexible-ipam-e2e - status_url: --none-- - success_status: Build finished. - failure_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger. - error_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger. - triggered_status: null - started_status: null - wrappers: - - timeout: - fail: true - timeout: 135 - type: absolute - publishers: - - archive: - allow-empty: true - artifacts: 'antrea-test-logs.tar.gz' - case-sensitive: true - default-excludes: true - fingerprint: false - only-if-success: false diff --git a/ci/kind/kind-setup.sh b/ci/kind/kind-setup.sh index 7e3b8a584ae..952f2c49c5d 100755 --- a/ci/kind/kind-setup.sh +++ b/ci/kind/kind-setup.sh @@ -296,8 +296,8 @@ function configure_vlan_subnets { # Allow traffic between VLANs for ((i=0; i<${#vlan_interfaces[@]}; i++)); do for ((j=i+1; j<${#vlan_interfaces[@]}; j++)); do - docker_run_with_host_net iptables -t filter -A FORWARD -i ${vlan_interfaces[i]} -o ${vlan_interfaces[j]} ACCEPT - docker_run_with_host_net iptables -t filter -A FORWARD -i ${vlan_interfaces[j]} -o ${vlan_interfaces[i]} ACCEPT + docker_run_with_host_net iptables -t filter -A FORWARD -i ${vlan_interfaces[i]} -o ${vlan_interfaces[j]} -j ACCEPT + docker_run_with_host_net iptables -t filter -A FORWARD -i ${vlan_interfaces[j]} -o ${vlan_interfaces[i]} -j ACCEPT done done }