Patch: Detection of running t-rex instance before initializing
[csit.git] / tests / suites / performance / short_bridge_domain.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 | Library | resources.libraries.python.NodePath
16 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
17 | Suite Setup | 3-node Performance Suite Setup | L2
18 | Suite Teardown | 3-node Performance Suite Teardown
19 | Test Setup | Setup all DUTs before test
20 | Test Teardown | Run Keyword | Show statistics on all DUTs
21 | Documentation | Minimal throughput acceptance test cases
22
23 *** Test Cases ***
24 | 1core VPP passes 64B frames through bridge domain at 2x 3.2Mpps in 3-node topology
25 | | [Documentation]
26 | | ... | VPP with 1 core should pass 64B frames through bridge domain
27 | | ... | at 2x 3.2Mpps in 3-node topology
28 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
29 | | ${framesize}= | Set Variable | 64
30 | | ${duration}= | Set Variable | 10
31 | | ${rate}= | Set Variable | 3.2mpps
32 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
33 | | AND   L2 bridge domain initialized in a 3-node circular topology
34 | | Then Traffic should pass with no loss | ${duration} | ${rate}
35 | | ...                                   | ${framesize} | 3-node-bridge
36
37 | 1core VPP passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
38 | | [Documentation]
39 | | ... | VPP with 1 core should pass 1518B frames through bridge domain
40 | | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology
41 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
42 | | ${framesize}= | Set Variable | 1518
43 | | ${duration}= | Set Variable | 10
44 | | ${rate}= | Set Variable | 812743pps
45 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
46 | | AND   L2 bridge domain initialized in a 3-node circular topology
47 | | Then Traffic should pass with no loss | ${duration} | ${rate}
48 | | ...                                   | ${framesize} | 3-node-bridge
49
50 | 1core VPP passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
51 | | [Documentation]
52 | | ... | VPP with 1 core should pass 9000B frames through bridge domain
53 | | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology
54 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
55 | | ${framesize}= | Set Variable | 9000
56 | | ${duration}= | Set Variable | 10
57 | | ${rate}= | Set Variable | 138580pps
58 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
59 | | AND   L2 bridge domain initialized in a 3-node circular topology
60 | | Then Traffic should pass with no loss | ${duration} | ${rate}
61 | | ...                                   | ${framesize} | 3-node-bridge
62
63 | 2core VPP with rss 1 passes 64B frames through bridge domain at 2x 6.9Mpps in 3-node topology
64 | | [Documentation]
65 | | ... | VPP with 2 cores should pass 64B frames through bridge domain
66 | | ... | at 2x 6.9Mpps in 3-node topology
67 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
68 | | ${framesize}= | Set Variable | 64
69 | | ${duration}= | Set Variable | 10
70 | | ${rate}= | Set Variable | 6.9mpps
71 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
72 | | AND   L2 bridge domain initialized in a 3-node circular topology
73 | | Then Traffic should pass with no loss | ${duration} | ${rate}
74 | | ...                                   | ${framesize} | 3-node-bridge
75
76 | 2core VPP with rss 1 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
77 | | [Documentation]
78 | | ... | VPP with 2 cores should pass 1518B frames through bridge domain
79 | | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology
80 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
81 | | ${framesize}= | Set Variable | 1518
82 | | ${duration}= | Set Variable | 10
83 | | ${rate}= | Set Variable | 812743pps
84 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
85 | | AND   L2 bridge domain initialized in a 3-node circular topology
86 | | Then Traffic should pass with no loss | ${duration} | ${rate}
87 | | ...                                   | ${framesize} | 3-node-bridge
88
89 | 2core VPP with rss 1 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
90 | | [Documentation]
91 | | ... | VPP with 2 cores should pass 9000B frames through bridge domain
92 | | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology
93 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
94 | | ${framesize}= | Set Variable | 9000
95 | | ${duration}= | Set Variable | 10
96 | | ${rate}= | Set Variable | 138580pps
97 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
98 | | AND   L2 bridge domain initialized in a 3-node circular topology
99 | | Then Traffic should pass with no loss | ${duration} | ${rate}
100 | | ...                                   | ${framesize} | 3-node-bridge
101
102 | 4core VPP with rss 2 passes 64B frames through bridge domain at 2x 7.4Mpps in 3-node topology
103 | | [Documentation]
104 | | ... | VPP with 4 cores and rss 2 should pass 64B frames through bridge
105 | | ... | domain at 2x7.4Mpps in 3-node topology
106 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
107 | | ${framesize}= | Set Variable | 64
108 | | ${duration}= | Set Variable | 10
109 | | ${rate}= | Set Variable | 7.4mpps
110 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
111 | | AND   L2 bridge domain initialized in a 3-node circular topology
112 | | Then Traffic should pass with no loss | ${duration} | ${rate}
113 | | ...                                   | ${framesize} | 3-node-bridge
114
115 | 4core VPP with rss 2 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology
116 | | [Documentation]
117 | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through bridge
118 | | ... | domain at 2x 812,743pps (2x 10Gbps) in 3-node topology
119 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
120 | | ${framesize}= | Set Variable | 1518
121 | | ${duration}= | Set Variable | 10
122 | | ${rate}= | Set Variable | 812743pps
123 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
124 | | AND   L2 bridge domain initialized in a 3-node circular topology
125 | | Then Traffic should pass with no loss | ${duration} | ${rate}
126 | | ...                                   | ${framesize} | 3-node-bridge
127
128 | 4core VPP with rss 2 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology
129 | | [Documentation]
130 | | ... | VPP with 4 cores and rss 2should pass 9000B frames through bridge
131 | | ... | domain at 2x 138,580pps (2x 10Gbps) in 3-node topology
132 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
133 | | ${framesize}= | Set Variable | 9000
134 | | ${duration}= | Set Variable | 10
135 | | ${rate}= | Set Variable | 138580pps
136 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
137 | | AND   L2 bridge domain initialized in a 3-node circular topology
138 | | Then Traffic should pass with no loss | ${duration} | ${rate}
139 | | ...                                   | ${framesize} | 3-node-bridge