Merge "Adds SCTPConnectivity tests to e2e network policy tests"
This commit is contained in:
commit
93a522e60f
@ -138,11 +138,12 @@
|
||||
Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
|
||||
Q_ML2_TENANT_NETWORK_TYPE: geneve
|
||||
Q_USE_PROVIDERNET_FOR_PUBLIC: true
|
||||
VAR_RUN_PATH: /var/run
|
||||
VAR_RUN_PATH: /usr/local/var/run
|
||||
PHYSICAL_NETWORK: public
|
||||
OVN_L3_CREATE_PUBLIC_NETWORK: true
|
||||
OVN_BUILD_FROM_SOURCE: true
|
||||
ENABLE_CHASSIS_AS_GW: true
|
||||
OVN_BRANCH: v20.06.1
|
||||
OVN_BRANCH: v20.06.2
|
||||
KURYR_NEUTRON_DEFAULT_ROUTER: kuryr-router
|
||||
KURYR_EP_DRIVER_OCTAVIA_PROVIDER: ovn
|
||||
KURYR_K8S_OCTAVIA_MEMBER_MODE: L2
|
||||
@ -182,4 +183,5 @@
|
||||
np_sleep: 30
|
||||
zuul_copy_output:
|
||||
'/home/zuul/np_kubetest.log': 'logs'
|
||||
'/home/zuul/np_sctp_kubetest.log': 'logs'
|
||||
voting: false
|
||||
|
@ -48,6 +48,7 @@
|
||||
sed -i 's/podStartTimeout = .*/podStartTimeout = 2 * time.Minute/' test/e2e/framework/pod/wait.go
|
||||
sed -i 's/for i in $(seq 1 5)/sleep {{ np_sleep }};for i in $(seq 1 300)/' test/e2e/network/network_policy.go
|
||||
sed -i '/"add", "\/metadata\/labels\/isolated", nil)/a\\t\t\ttime.Sleep(60 * time.Second)' test/e2e/network/network_policy.go
|
||||
sed -i '/f, f.Namespace, "client-a", service, 80, v1.ProtocolSCTP)/a \\t\t\ttime.Sleep(60 * time.Second)' test/e2e/network/network_policy.go
|
||||
args:
|
||||
chdir: ~/kubernetes
|
||||
|
||||
@ -86,6 +87,8 @@
|
||||
become: yes
|
||||
|
||||
- name: Run Network Policy tests
|
||||
block:
|
||||
- name: Run Network Policy tests without SCTPConnectivity
|
||||
shell: kubetest --provider=local --check-version-skew=false --test --ginkgo-parallel={{ np_parallel_number }} --test_args="--ginkgo.focus=\[Feature:NetworkPolicy --ginkgo.skip=\[Feature:SCTPConnectivity|should.enforce.policies.to.check.ingress.and.egress.policies.can.be.controlled.independently.based.on.PodSelector --host=http://127.0.0.1:8080" --dump=/tmp > ~/np_kubetest.log
|
||||
args:
|
||||
chdir: ~/kubernetes
|
||||
@ -93,3 +96,12 @@
|
||||
GINKGO_NO_COLOR: "y"
|
||||
KUBECONFIG: "{{ ansible_env.HOME }}/.kube/config"
|
||||
PATH: "{{ ansible_env.PATH }}:/usr/local/go/bin:{{ ansible_env.HOME }}/go/bin"
|
||||
always:
|
||||
- name: Run Network Policy SCTPConnectivity tests
|
||||
shell: kubetest --provider=local --check-version-skew=false --test --ginkgo-parallel={{ np_parallel_number }} --test_args="--ginkgo.focus=NetworkPolicy.\[Feature:SCTPConnectivity --host=http://127.0.0.1:8080" --dump=/tmp > ~/np_sctp_kubetest.log
|
||||
args:
|
||||
chdir: ~/kubernetes
|
||||
environment:
|
||||
GINKGO_NO_COLOR: "y"
|
||||
KUBECONFIG: "{{ ansible_env.HOME }}/.kube/config"
|
||||
PATH: "{{ ansible_env.PATH }}:/usr/local/go/bin:{{ ansible_env.HOME }}/go/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user