X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2FLong_IPv4_Policer_Intel-X520-DA2.robot;h=95e0be3d2b6722f2b3f75539cd5d557b3e37a837;hb=refs%2Fchanges%2F04%2F2504%2F10;hp=d0c0e2109ca9ed349ade8e3b5fb899c95e6ff842;hpb=cff5ea63c1a32c3e396e4aa47d54cb9e56748d7d;p=csit.git diff --git a/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot b/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot index d0c0e2109c..95e0be3d2b 100644 --- a/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_Policer_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 policer test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -49,9 +54,7 @@ *** Variables *** | ${cir}= | ${100} -| ${eir}= | ${100} -| ${cb}= | ${100} -| ${eb}= | ${100} +| ${eir}= | ${150} *** Test Cases *** | TC01: 64B NDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq @@ -67,6 +70,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -91,6 +96,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -116,6 +123,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -140,6 +149,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -165,6 +176,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -188,6 +201,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -213,6 +228,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -237,6 +254,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -262,6 +281,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -286,6 +307,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -311,6 +334,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -334,6 +359,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -358,6 +385,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -382,6 +411,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -407,6 +438,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -431,6 +464,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -456,6 +491,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -479,6 +516,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs