X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2FLong_IPv4_Cop_Intel-X520-DA2.robot;h=34058c5cb4ba3ba0be0a040a540a45eb6176436c;hp=802ec7b76dc672b72f5768c130318f5fc0cd9815;hb=516051c6aabb609d94d442db222c11e33837e124;hpb=70cbaaee0e6210682ce6d278ea645b8bea153b67 diff --git a/tests/perf/Long_IPv4_Cop_Intel-X520-DA2.robot b/tests/perf/Long_IPv4_Cop_Intel-X520-DA2.robot index 802ec7b76d..34058c5cb4 100644 --- a/tests/perf/Long_IPv4_Cop_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_Cop_Intel-X520-DA2.robot @@ -22,8 +22,13 @@ | ... | L3 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| Test Teardown | Run Keywords +| ... | Run Keyword If Test Failed +| ... | Traffic should pass with no loss | 10 +| ... | ${min_rate}pps | ${framesize} | 3-node-IPv4 +| ... | fail_on_loss=${False} +| ... | AND | Remove startup configuration of VPP from all DUTs +| ... | AND | Show vpp trace dump on all DUTs | Documentation | *RFC2544: Pkt throughput IPv4 whitelist test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -54,7 +59,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -62,7 +67,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -83,7 +88,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -91,7 +96,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -114,7 +119,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 1518 Byte frames using binary search start at 10GE linerate, | | ... | step 10kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -122,7 +127,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -143,7 +148,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 1518 Byte frames using binary search start at 10GE linerate, | | ... | step 10kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -151,7 +156,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -174,7 +179,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 9000 Byte frames using binary search start at 10GE linerate, | | ... | step 5kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -182,7 +187,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local @@ -202,7 +207,7 @@ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 9000 Byte frames using binary search start at 10GE linerate, | | ... | step 5kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -210,7 +215,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local @@ -232,7 +237,7 @@ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -240,7 +245,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -261,7 +266,7 @@ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -269,7 +274,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -300,7 +305,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -329,7 +334,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -360,7 +365,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local @@ -388,7 +393,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local @@ -410,7 +415,7 @@ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -418,7 +423,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -439,7 +444,7 @@ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR | | ... | for 64 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -447,7 +452,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -478,7 +483,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -507,7 +512,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology @@ -538,7 +543,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local @@ -566,7 +571,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When IPv4 forwarding initialized in a 3-node circular topology | | And Add fib table | ${dut1} | 10.10.10.0 | 24 | 1 | local