X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot;fp=tests%2Fkubernetes%2Fperf%2Fcontainer_memif%2F10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot;h=2f5ee13f8dcf2342a64535e6f8185bdb7fa6239f;hp=ace97fe2cce9079736d78f3910162395b3958b5b;hb=0437095f4bf958154f25a3f163f432b22fcdc743;hpb=d7cf0a829cc9cc63799330b673c8c42393de2655 diff --git a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot b/tests/kubernetes/perf/container_memif/10ge2p1x520-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot similarity index 85% rename from tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot rename to tests/kubernetes/perf/container_memif/10ge2p1x520-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot index ace97fe2cc..2f5ee13f8d 100644 --- a/tests/kubernetes/perf/container_memif/10ge2p1x520-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot +++ b/tests/kubernetes/perf/container_memif/10ge2p1x520-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrpdrdisc.robot @@ -16,21 +16,16 @@ | ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | ETH | L2BDMACLRN | L2BDBASE | SCALE | MEMIF -| ... | K8S | 1VSWITCH | 2VNF | VPP_AGENT | SFC_CONTROLLER +| ... | K8S | 1VSWITCH | 2VNF | VPP_AGENT | SFC_CONTROLLER | CHAIN | ... | Suite Setup | Set up 3-node performance topology with DUT's NIC model | ... | L2 | Intel-X520-DA2 | ... -| Test Setup | Run Keywords -| ... | Apply Kubernetes resource on all duts | ${nodes} | kafka.yaml -| ... | AND | Apply Kubernetes resource on all duts | ${nodes} | etcd.yaml +| Test Setup | Set up performance test with Ligato Kubernetes | ... | Suite Teardown | Tear down 3-node performance topology | ... -| Test Teardown | Run Keywords -| ... | Get Kubernetes logs on all DUTs | ${nodes} | AND -| ... | Describe Kubernetes resource on all DUTs | ${nodes} | AND -| ... | Delete Kubernetes resource on all duts | ${nodes} +| Test Teardown | Tear down performance test with Ligato Kubernetes | ... | Documentation | *RFC2544: Pkt throughput L2BD test cases* | ... @@ -61,14 +56,14 @@ | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} -# Kubernetes profile -| ${kubernetes_profile} | eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc +# SFC profile +| ${sfc_profile} | configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc # Traffic profile: | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 # CPU settings | ${system_cpus}= | ${1} | ${vswitch_cpus}= | ${5} -| ${vnf_cpus}= | ${3} +| ${vnf_cpus}= | ${2} *** Keywords *** | Create Kubernetes VSWITCH startup config on all DUTs @@ -143,21 +138,30 @@ | | ... | ${wt} | ${rxq} | | Create Kubernetes VNF'1' startup config on all DUTs | | Create Kubernetes VNF'2' startup config on all DUTs -| | Create Kubernetes CM from file on all DUTs | ${nodes} | name=vswitch-vpp-cfg -| | ... | key=vpp.conf | src_file=/tmp/vswitch.conf -| | Create Kubernetes CM from file on all DUTs | ${nodes} | name=vnf1-vpp-cfg -| | ... | key=vpp.conf | src_file=/tmp/vnf1.conf -| | Create Kubernetes CM from file on all DUTs | ${nodes} | name=vnf2-vpp-cfg -| | ... | key=vpp.conf | src_file=/tmp/vnf2.conf +| | Create Kubernetes CM from file on all DUTs | ${nodes} | csit +| | ... | name=vswitch-vpp-cfg | vpp.conf=/tmp/vswitch.conf +| | Create Kubernetes CM from file on all DUTs | ${nodes} | csit +| | ... | name=vnf1-vpp-cfg | vpp.conf=/tmp/vnf1.conf +| | Create Kubernetes CM from file on all DUTs | ${nodes} | csit +| | ... | name=vnf2-vpp-cfg | vpp.conf=/tmp/vnf2.conf | | Apply Kubernetes resource on node | ${dut1} -| | ... | ${kubernetes_profile}.yaml | $$TEST_NAME$$=${TEST NAME} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf1 +| | Apply Kubernetes resource on node | ${dut2} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf1 +| | Apply Kubernetes resource on node | ${dut1} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf2 +| | Apply Kubernetes resource on node | ${dut2} +| | ... | pods/contiv-vnf.yaml | $$VNF$$=vnf2 +| | Apply Kubernetes resource on node | ${dut1} +| | ... | ${sfc_profile}.yaml | $$TEST_NAME$$=${TEST NAME} | | ... | $$VSWITCH_IF1$$=${dut1_if1_name} | | ... | $$VSWITCH_IF2$$=${dut1_if2_name} | | Apply Kubernetes resource on node | ${dut2} -| | ... | ${kubernetes_profile}.yaml | $$TEST_NAME$$=${TEST NAME} +| | ... | ${sfc_profile}.yaml | $$TEST_NAME$$=${TEST NAME} | | ... | $$VSWITCH_IF1$$=${dut2_if1_name} | | ... | $$VSWITCH_IF2$$=${dut2_if2_name} -| | Wait for Kubernetes PODs on all DUTs | ${nodes} +| | Wait for Kubernetes PODs on all DUTs | ${nodes} | csit +| | Set Kubernetes PODs affinity on all DUTs | ${nodes} | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} @@ -169,7 +173,7 @@ | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} *** Test Cases *** -| tc01-64B-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc01-64B-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -180,7 +184,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=NDR -| tc02-64B-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc02-64B-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -191,7 +195,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=PDR -| tc03-IMIX-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc03-IMIX-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -203,7 +207,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc04-IMIX-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc04-IMIX-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -215,7 +219,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc05-1518B-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc05-1518B-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -226,7 +230,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR -| tc06-1518B-1t1c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc06-1518B-1t1c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -237,7 +241,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR -| tc07-64B-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc07-64B-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -248,7 +252,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=NDR -| tc08-64B-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc08-64B-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -259,7 +263,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=PDR -| tc09-IMIX-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc09-IMIX-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 2 phy core,\ | | ... | 1 receive queue per NIC port. @@ -271,7 +275,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc10-IMIX-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc10-IMIX-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -283,7 +287,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR -| tc11-1518B-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc +| tc11-1518B-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -294,7 +298,7 @@ | | [Template] | L2 Bridge Domain Binary Search | | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR -| tc12-1518B-2t2c-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc +| tc12-1518B-2t2c-ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc-k8s-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port.