X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F10ge2p1x520-ethip6-ip6base-copwhtlistbase-ndrdisc.robot;h=c87fb7cbcd9a44584e8183b52f5b3737afc71815;hb=e3171449c75d948461ac24b0df7212e8a2ca45f9;hp=d7eee8a5a4f6ab263464e73ad52d918ee00f648f;hpb=e3ed9257cd7ef50b44eca72ef7d9ae6c7c792647;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip6-ip6base-copwhtlistbase-ndrdisc.robot b/tests/perf/10ge2p1x520-ethip6-ip6base-copwhtlistbase-ndrdisc.robot index d7eee8a5a4..c87fb7cbcd 100644 --- a/tests/perf/10ge2p1x520-ethip6-ip6base-copwhtlistbase-ndrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip6-ip6base-copwhtlistbase-ndrdisc.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -14,19 +14,18 @@ *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.Cop -| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG -| ... | NIC_Intel-X520-DA2 +| ... +| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC +| ... | NIC_Intel-X520-DA2 | ETH | IP6FWD | FEATURE | COPWHLIST +| ... | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L3 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords -| ... | Run Keyword If Test Failed -| ... | Traffic should pass with no loss | 10 -| ... | ${min_rate}pps | ${framesize} | 3-node-IPv6 -| ... | fail_on_loss=${False} -| ... | AND | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| ... +| Test Setup | Performance test setup +| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} +| ... | 3-node-IPv6 +| ... | Documentation | *RFC2544: Pkt throughput IPv6 whitelist test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -51,17 +50,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} *** Test Cases *** -| TC01: 78B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc01-78B-1t1c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -84,13 +83,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC02: 78B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc02-78B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -112,16 +111,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC03: 1518B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc03-1518B-1t1c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 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 +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -144,13 +143,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC04: 1518B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc04-1518B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 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 | SKIP_PATCH +| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -172,16 +171,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC05: 9000B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc05-9000B-1t1c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 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 +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -203,13 +202,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC06: 9000B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq +| tc06-9000B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 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 | SKIP_PATCH +| | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -230,16 +229,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC07: 78B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc07-78B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR +| | [Tags] | 2T2C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -262,13 +261,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC08: 78B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc08-78B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -290,16 +289,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC09: 1518B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc09-1518B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 1518 Byte frames using binary search start at 10GE linerate, | | ... | step 10kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -322,13 +321,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC10: 1518B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc10-1518B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -350,16 +349,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC11: 9000B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc11-9000B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR | | ... | for 9000 Byte frames using binary search start at 10GE linerate, | | ... | step 5kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -381,13 +380,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC12: 9000B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq +| tc12-9000B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 2 threads, 2 phy cores, 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -408,16 +407,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC13: 78B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc13-78B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR +| | [Tags] | 4T4C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -440,13 +439,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC14: 78B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc14-78B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR | | ... | for 78 Byte frames using binary search start at 10GE linerate, | | ... | step 100kpps, LT=0.5%. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${78} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -468,16 +467,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC15: 1518B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc15-1518B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR | | ... | for 1518 Byte frames using binary search start at 10GE linerate, | | ... | step 10kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -500,13 +499,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC16: 1518B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc16-1518B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 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] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -528,16 +527,16 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC17: 9000B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc17-9000B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR | | ... | for 9000 Byte frames using binary search start at 10GE linerate, | | ... | step 5kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -559,13 +558,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC18: 9000B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq +| tc18-9000B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \ | | ... | 4 threads, 4 phy cores, 2 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] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -586,5 +585,5 @@ | | ... | ${binary_max} | 3-node-IPv6 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type}