Patch: Remove show stats keyword from teardown phase
[csit.git] / tests / suites / performance / Short_IPv6_Intel-X520-DA2.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 *** Settings ***
14 | Resource | resources/libraries/robot/performance.robot
15 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
16 | ...        | NIC_Intel-X520-DA2
17 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
18 | ... | L3 | Intel-X520-DA2
19
20 | Suite Teardown | 3-node Performance Suite Teardown
21 | Test Setup | Setup all DUTs before test
22 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
23 | Documentation | Minimal throughput acceptance test cases
24
25 *** Test Cases ***
26 | 1core VPP passes 78B frames through IPv6 forwarding at 2x 2.9Mpps in 3-node topology
27 | | [Documentation]
28 | | ... | VPP with 1 core should pass 78B frames through IPv6 forwarding
29 | | ... | at 2x2.9Mpps in 3-node topology
30 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
31 | | ${framesize}= | Set Variable | 78
32 | | ${duration}= | Set Variable | 10
33 | | ${rate}= | Set Variable | 2.9mpps
34 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
35 | | And   Add all PCI devices to all DUTs
36 | | And   Add No Multi Seg to all DUTs
37 | | And   Apply startup configuration on all VPP DUTs
38 | | And   IPv6 forwarding initialized in a 3-node circular topology
39 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
40 | | ...                                    | ${framesize} | 3-node-IPv6
41
42 | 1core VPP passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
43 | | [Documentation]
44 | | ... | VPP with 1 core should pass 1518B frames through IPv6 forwarding
45 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology
46 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
47 | | ${framesize}= | Set Variable | 1518
48 | | ${duration}= | Set Variable | 10
49 | | ${rate}= | Set Variable | 812743pps
50 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
51 | | And   Add all PCI devices to all DUTs
52 | | And   Add No Multi Seg to all DUTs
53 | | And   Apply startup configuration on all VPP DUTs
54 | | And   IPv6 forwarding initialized in a 3-node circular topology
55 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
56 | | ...                                    | ${framesize} | 3-node-IPv6
57
58 | 1core VPP passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
59 | | [Documentation]
60 | | ... | VPP with 1 core should pass 9000B frames through IPv6 forwarding
61 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology
62 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
63 | | ${framesize}= | Set Variable | 9000
64 | | ${duration}= | Set Variable | 10
65 | | ${rate}= | Set Variable | 138580pps
66 | | Given Add '1' worker threads and rss '1' without HTT to all DUTs
67 | | And   Add all PCI devices to all DUTs
68 | | And   Apply startup configuration on all VPP DUTs
69 | | And   IPv6 forwarding initialized in a 3-node circular topology
70 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
71 | | ...                                    | ${framesize} | 3-node-IPv6
72
73 | 2core VPP with rss 1 passes 78B frames through IPv6 forwarding at 2x 5.9Mpps in 3-node topology
74 | | [Documentation]
75 | | ... | VPP with 2 cores should pass 78B frames through IPv6 forwarding
76 | | ... | at 2x5.9Mpps in 3-node topology
77 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
78 | | ${framesize}= | Set Variable | 78
79 | | ${duration}= | Set Variable | 10
80 | | ${rate}= | Set Variable | 5.9mpps
81 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
82 | | And   Add all PCI devices to all DUTs
83 | | And   Add No Multi Seg to all DUTs
84 | | And   Apply startup configuration on all VPP DUTs
85 | | And   IPv6 forwarding initialized in a 3-node circular topology
86 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
87 | | ...                                    | ${framesize} | 3-node-IPv6
88
89 | 2core VPP with rss 1 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
90 | | [Documentation]
91 | | ... | VPP with 2 cores should pass 1518B frames through IPv6 forwarding
92 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology
93 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
94 | | ${framesize}= | Set Variable | 1518
95 | | ${duration}= | Set Variable | 10
96 | | ${rate}= | Set Variable | 812743pps
97 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
98 | | And   Add all PCI devices to all DUTs
99 | | And   Add No Multi Seg to all DUTs
100 | | And   Apply startup configuration on all VPP DUTs
101 | | And   IPv6 forwarding initialized in a 3-node circular topology
102 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
103 | | ...                                    | ${framesize} | 3-node-IPv6
104
105 | 2core VPP with rss 1 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
106 | | [Documentation]
107 | | ... | VPP with 2 cores should pass 9000B frames through IPv6 forwarding
108 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology
109 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
110 | | ${framesize}= | Set Variable | 9000
111 | | ${duration}= | Set Variable | 10
112 | | ${rate}= | Set Variable | 138580pps
113 | | Given Add '2' worker threads and rss '1' without HTT to all DUTs
114 | | And   Add all PCI devices to all DUTs
115 | | And   Apply startup configuration on all VPP DUTs
116 | | And   IPv6 forwarding initialized in a 3-node circular topology
117 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
118 | | ...                                    | ${framesize} | 3-node-IPv6
119
120 | 4core VPP with rss 2 passes 78B frames through IPv6 forwarding at 2x 7.3Mpps in 3-node topology
121 | | [Documentation]
122 | | ... | VPP with 4 cores and rss 2 should pass 78B frames through IPv6
123 | | ... | forwarding at 2x7.3Mpps in 3-node topology
124 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
125 | | ${framesize}= | Set Variable | 78
126 | | ${duration}= | Set Variable | 10
127 | | ${rate}= | Set Variable | 7.3mpps
128 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
129 | | And   Add all PCI devices to all DUTs
130 | | And   Add No Multi Seg to all DUTs
131 | | And   Apply startup configuration on all VPP DUTs
132 | | And   IPv6 forwarding initialized in a 3-node circular topology
133 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
134 | | ...                                    | ${framesize} | 3-node-IPv6
135
136 | 4core VPP with rss 2 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
137 | | [Documentation]
138 | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through IPv6
139 | | ... | forwarding at 2x812,743pps (2x 10Gbps) in 3-node topology
140 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
141 | | ${framesize}= | Set Variable | 1518
142 | | ${duration}= | Set Variable | 10
143 | | ${rate}= | Set Variable | 812743pps
144 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
145 | | And   Add all PCI devices to all DUTs
146 | | And   Add No Multi Seg to all DUTs
147 | | And   Apply startup configuration on all VPP DUTs
148 | | And   IPv6 forwarding initialized in a 3-node circular topology
149 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
150 | | ...                                    | ${framesize} | 3-node-IPv6
151
152 | 4core VPP with rss 2 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
153 | | [Documentation]
154 | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through IPv6
155 | | ... | forwarding at 2x138,580pps (2x 10Gbps) in 3-node topology
156 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
157 | | ${framesize}= | Set Variable | 9000
158 | | ${duration}= | Set Variable | 10
159 | | ${rate}= | Set Variable | 138580pps
160 | | Given Add '4' worker threads and rss '2' without HTT to all DUTs
161 | | And   Add all PCI devices to all DUTs
162 | | And   Apply startup configuration on all VPP DUTs
163 | | And   IPv6 forwarding initialized in a 3-node circular topology
164 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
165 | | ...                                    | ${framesize} | 3-node-IPv6