HC Test: Fix log archiving in honeycomb tests
[csit.git] / tests / perf / Short_IPv6_Fib_20k_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
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
17 | ...        | FIB_20K | NIC_Intel-X520-DA2
18 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
19 | ... | L3 | Intel-X520-DA2
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 | *Reference NDR throughput IPv6 routing verify test cases*
24 | ...
25 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
26 | ... | with single links between nodes.
27 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
28 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
29 | ... | routing and 2x10k static IPv6 /64 route entries. DUT1 and DUT2 tested
30 | ... | with 2p10GE NIC X520 Niantic by Intel.
31 | ... | *[Ver] TG verification:* In short performance tests, TG verifies
32 | ... | DUTs' throughput at ref-NDR (reference Non Drop Rate) with zero packet
33 | ... | loss tolerance. Ref-NDR value is periodically updated acording to
34 | ... | formula: ref-NDR = 0.9x NDR, where NDR is found in RFC2544 long
35 | ... | performance tests for the same DUT confiiguration. Test packets are
36 | ... | generated by TG on links to DUTs. TG traffic profile contains two L3
37 | ... | flow-groups (flow-group per direction, 10k flows per flow-group) with
38 | ... | all packets containing Ethernet header, IPv6 header and static
39 | ... | payload. Incrementing of IP.dst (IPv6 destination address) field is
40 | ... | applied to both streams.
41 | ... | *[Ref] Applicable standard specifications:* RFC2544.
42
43 *** Variables ***
44 | ${rts_per_flow}= | 10000
45
46 *** Test Cases ***
47 | TC01: Verify 78B ref-NDR at 2x 2.9Mpps - DUT IPv6 Fib 2x10k - 1thread 1core 1rxq
48 | | [Documentation]
49 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
50 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
51 | | ... | frames using single trial throughput test.
52 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
53 | | ${framesize}= | Set Variable | 78
54 | | ${duration}= | Set Variable | 10
55 | | ${rate}= | Set Variable | 2.9mpps
56 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
57 | | And   Add PCI devices to DUTs from 3-node single link topology
58 | | And   Add No Multi Seg to all DUTs
59 | | And   Apply startup configuration on all VPP DUTs
60 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
61 | | ...   | ${rts_per_flow}
62 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
63 | | ...                                    | ${framesize}
64 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
65
66 | TC02: Verify 1518B ref-NDR at 2x 812.74kpps - DUT IPv6 Fib 2x10k - 1thread 1core 1rxq
67 | | [Documentation]
68 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
69 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
70 | | ... | frames using single trial throughput test.
71 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
72 | | ${framesize}= | Set Variable | 1518
73 | | ${duration}= | Set Variable | 10
74 | | ${rate}= | Set Variable | 812743pps
75 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
76 | | And   Add PCI devices to DUTs from 3-node single link topology
77 | | And   Add No Multi Seg to all DUTs
78 | | And   Apply startup configuration on all VPP DUTs
79 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
80 | | ...   | ${rts_per_flow}
81 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
82 | | ...                                    | ${framesize}
83 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
84
85 | TC03: Verify 9000B ref-NDR at 2x 138.58kpps - DUT IPv6 Fib 2x10k - 1thread 1core 1rxq
86 | | [Documentation]
87 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
88 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
89 | | ... | frames using single trial throughput test.
90 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
91 | | ${framesize}= | Set Variable | 9000
92 | | ${duration}= | Set Variable | 10
93 | | ${rate}= | Set Variable | 138580pps
94 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
95 | | And   Add PCI devices to DUTs from 3-node single link topology
96 | | And   Apply startup configuration on all VPP DUTs
97 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
98 | | ...   | ${rts_per_flow}
99 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
100 | | ...                                    | ${framesize}
101 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
102
103 | TC04: Verify 78B ref-NDR at 2x 5.9Mpps - DUT IPv6 Fib 2x10k - 2threads, 2cores, 1rxq
104 | | [Documentation]
105 | | ... | [Cfg] DUT runs IPv6 routing config with 2 thread, 2 phy core, \
106 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
107 | | ... | frames using single trial throughput test.
108 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
109 | | ${framesize}= | Set Variable | 78
110 | | ${duration}= | Set Variable | 10
111 | | ${rate}= | Set Variable | 5.9mpps
112 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
113 | | And   Add PCI devices to DUTs from 3-node single link topology
114 | | And   Add No Multi Seg to all DUTs
115 | | And   Apply startup configuration on all VPP DUTs
116 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
117 | | ...   | ${rts_per_flow}
118 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
119 | | ...                                    | ${framesize}
120 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
121
122 | TC05: Verify 1518B ref-NDR at 2x 812.74kpps - DUT IPv6 Fib 2x10k - 2threads, 2cores, 1rxq
123 | | [Documentation]
124 | | ... | [Cfg] DUT runs IPv6 routing config with 2 thread, 2 phy core, \
125 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
126 | | ... | frames using single trial throughput test.
127 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
128 | | ${framesize}= | Set Variable | 1518
129 | | ${duration}= | Set Variable | 10
130 | | ${rate}= | Set Variable | 812743pps
131 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
132 | | And   Add PCI devices to DUTs from 3-node single link topology
133 | | And   Add No Multi Seg to all DUTs
134 | | And   Apply startup configuration on all VPP DUTs
135 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
136 | | ...   | ${rts_per_flow}
137 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
138 | | ...                                    | ${framesize}
139 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
140
141 | TC06: Verify 9000B ref-NDR at 2x 138.58kpps - DUT IPv6 Fib 2x10k - 2threads, 2cores, 1rxq
142 | | [Documentation]
143 | | ... | [Cfg] DUT runs IPv6 routing config with 2 thread, 2 phy core, \
144 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
145 | | ... | frames using single trial throughput test.
146 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
147 | | ${framesize}= | Set Variable | 9000
148 | | ${duration}= | Set Variable | 10
149 | | ${rate}= | Set Variable | 138580pps
150 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
151 | | And   Add PCI devices to DUTs from 3-node single link topology
152 | | And   Apply startup configuration on all VPP DUTs
153 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
154 | | ...   | ${rts_per_flow}
155 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
156 | | ...                                    | ${framesize}
157 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
158
159 | TC07: Verify 78B ref-NDR at 2x 10.0Mpps - DUT IPv6 Fib 2x10k - 4threads, 4cores, 2rxq
160 | | [Documentation]
161 | | ... | [Cfg] DUT runs IPv6 routing config with 4 thread, 4 phy core, \
162 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
163 | | ... | frames using single trial throughput test.
164 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
165 | | ${framesize}= | Set Variable | 78
166 | | ${duration}= | Set Variable | 10
167 | | ${rate}= | Set Variable | 10.0mpps
168 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
169 | | And   Add PCI devices to DUTs from 3-node single link topology
170 | | And   Add No Multi Seg to all DUTs
171 | | And   Apply startup configuration on all VPP DUTs
172 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
173 | | ...   | ${rts_per_flow}
174 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
175 | | ...                                    | ${framesize}
176 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
177
178 | TC08: Verify 1518B ref-NDR at 2x 812.74kpps - DUT IPv6 Fib 2x10k - 4threads, 4cores, 2rxq
179 | | [Documentation]
180 | | ... | [Cfg] DUT runs IPv6 routing config with 4 thread, 4 phy core, \
181 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
182 | | ... | frames using single trial throughput test.
183 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
184 | | ${framesize}= | Set Variable | 1518
185 | | ${duration}= | Set Variable | 10
186 | | ${rate}= | Set Variable | 812743pps
187 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
188 | | And   Add PCI devices to DUTs from 3-node single link topology
189 | | And   Add No Multi Seg to all DUTs
190 | | And   Apply startup configuration on all VPP DUTs
191 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
192 | | ...   | ${rts_per_flow}
193 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
194 | | ...                                    | ${framesize}
195 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}
196
197 | TC09: Verify 9000B ref-NDR at 2x 138.58kpps - DUT IPv6 Fib 2x10k - 4threads, 4cores, 2rxq
198 | | [Documentation]
199 | | ... | [Cfg] DUT runs IPv6 routing config with 4 thread, 4 phy core, \
200 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
201 | | ... | frames using single trial throughput test.
202 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
203 | | ${framesize}= | Set Variable | 9000
204 | | ${duration}= | Set Variable | 10
205 | | ${rate}= | Set Variable | 138580pps
206 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
207 | | And   Add PCI devices to DUTs from 3-node single link topology
208 | | And   Apply startup configuration on all VPP DUTs
209 | | And   Scale IPv6 forwarding initialized in a 3-node circular topology
210 | | ...   | ${rts_per_flow}
211 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
212 | | ...                                    | ${framesize}
213 | | ...                                    | 3-node-IPv6-dst-${rts_per_flow}