Skip to content

Commit c7d0585

Browse files
qarlosalbertocodebot
authored andcommitted
ci: configure more viavi tests
1 parent 8ce2f2d commit c7d0585

File tree

3 files changed

+189
-14
lines changed

3 files changed

+189
-14
lines changed

tests/e2e/tests/viavi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cell_cfg:
1515
zero_correlation_zone: 0
1616
prach_frequency_start: 12
1717
pucch:
18-
sr_period_ms: 10
18+
sr_period_ms: 40
1919
f1_nof_cell_res_sr: 30
2020
min_k1: 2
2121
csi:

tests/e2e/tests/viavi/test_declaration.yml

Lines changed: 187 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,206 @@
1111
# fail_if_kos: fail if KPIs are out of spec
1212
# warning_as_errors: treat warnings as errors
1313

14+
campaign_filename: &campaign_filename "C:\\ci\\CI 4x4 ORAN-FH-complete.xml"
15+
gnb_extra_commands: &gnb_extra_commands "log --phy_level=info"
16+
expected_dl_bitrate_high: &expected_dl_bitrate_high 80000000
17+
expected_ul_bitrate_high: &expected_ul_bitrate_high 80000000
18+
expected_dl_bitrate_low: &expected_dl_bitrate_low 1000
19+
expected_ul_bitrate_low: &expected_ul_bitrate_low 1000
20+
1421
tests:
15-
- campaign_filename: "C:\\ci\\CI 4x4 ORAN-FH.xml"
16-
test_name: "1UE static DL + UL UDP - Dell"
22+
- campaign_filename: *campaign_filename
23+
test_name: "1UE ideal UDP bidirectional"
24+
test_timeout: 2700 # 45 * 60
25+
gnb_extra_commands: *gnb_extra_commands
26+
id: "1UE ideal UDP bidirectional"
27+
max_pdschs_per_slot: 8
28+
max_puschs_per_slot: 8
29+
enable_qos_viavi: false
30+
# test/fail criteria
31+
expected_dl_bitrate: *expected_dl_bitrate_high
32+
expected_ul_bitrate: *expected_ul_bitrate_high
33+
fail_if_kos: true
34+
warning_as_errors: true
35+
36+
- campaign_filename: *campaign_filename
37+
test_name: "32UE ideal UDP bidirectional"
38+
test_timeout: 2700 # 45 * 60
39+
gnb_extra_commands: *gnb_extra_commands
40+
id: "32UE ideal UDP bidirectional"
41+
max_pdschs_per_slot: 1
42+
max_puschs_per_slot: 1
43+
enable_qos_viavi: false
44+
# test/fail criteria
45+
expected_dl_bitrate: *expected_dl_bitrate_high
46+
expected_ul_bitrate: *expected_ul_bitrate_high
47+
fail_if_kos: true
48+
warning_as_errors: true
49+
50+
- campaign_filename: *campaign_filename
51+
test_name: "1UE fading UDP uplink"
52+
test_timeout: 2700 # 45 * 60
53+
gnb_extra_commands: *gnb_extra_commands
54+
id: "1UE fading UDP uplink"
55+
max_pdschs_per_slot: 8
56+
max_puschs_per_slot: 8
57+
enable_qos_viavi: false
58+
# test/fail criteria
59+
expected_dl_bitrate: *expected_dl_bitrate_high
60+
expected_ul_bitrate: *expected_ul_bitrate_high
61+
fail_if_kos: false
62+
warning_as_errors: true
63+
64+
- campaign_filename: *campaign_filename
65+
test_name: "1UE fading,noise UDP uplink"
66+
test_timeout: 2700 # 45 * 60
67+
gnb_extra_commands: *gnb_extra_commands
68+
id: "1UE fading,noise UDP uplink"
69+
max_pdschs_per_slot: 8
70+
max_puschs_per_slot: 8
71+
enable_qos_viavi: false
72+
# test/fail criteria
73+
expected_dl_bitrate: *expected_dl_bitrate_high
74+
expected_ul_bitrate: *expected_ul_bitrate_high
75+
fail_if_kos: false
76+
warning_as_errors: true
77+
78+
- campaign_filename: *campaign_filename
79+
test_name: "1UE ideal TCP downlink"
80+
test_timeout: 2700 # 45 * 60
81+
gnb_extra_commands: *gnb_extra_commands
82+
id: "1UE ideal TCP downlink"
83+
max_pdschs_per_slot: 8
84+
max_puschs_per_slot: 8
85+
enable_qos_viavi: false
86+
# test/fail criteria
87+
expected_dl_bitrate: *expected_dl_bitrate_high
88+
expected_ul_bitrate: *expected_ul_bitrate_high
89+
fail_if_kos: true
90+
warning_as_errors: true
91+
92+
- campaign_filename: *campaign_filename
93+
test_name: "32UE ideal TCP downlink"
94+
test_timeout: 2700 # 45 * 60
95+
gnb_extra_commands: *gnb_extra_commands
96+
id: "32UE ideal TCP downlink"
97+
max_pdschs_per_slot: 1
98+
max_puschs_per_slot: 1
99+
enable_qos_viavi: false
100+
# test/fail criteria
101+
expected_dl_bitrate: *expected_dl_bitrate_high
102+
expected_ul_bitrate: *expected_ul_bitrate_high
103+
fail_if_kos: true
104+
warning_as_errors: true
105+
106+
- campaign_filename: *campaign_filename
107+
test_name: "1UE fading TCP downlink"
17108
test_timeout: 2700 # 45 * 60
18-
gnb_extra_commands: "log --phy_level=info"
19-
id: "1UE Bidirectional UDP"
109+
gnb_extra_commands: *gnb_extra_commands
110+
id: "1UE fading TCP downlink"
20111
max_pdschs_per_slot: 8
21112
max_puschs_per_slot: 8
22113
enable_qos_viavi: false
23114
# test/fail criteria
24-
expected_dl_bitrate: 80000000
25-
expected_ul_bitrate: 80000000
115+
expected_dl_bitrate: *expected_dl_bitrate_high
116+
expected_ul_bitrate: *expected_ul_bitrate_high
117+
fail_if_kos: false
118+
warning_as_errors: true
119+
120+
- campaign_filename: *campaign_filename
121+
test_name: "32UE fading TCP bidirectional"
122+
test_timeout: 2700 # 45 * 60
123+
gnb_extra_commands: *gnb_extra_commands
124+
id: "32UE fading TCP bidirectional"
125+
max_pdschs_per_slot: 1
126+
max_puschs_per_slot: 1
127+
enable_qos_viavi: false
128+
# test/fail criteria
129+
expected_dl_bitrate: *expected_dl_bitrate_high
130+
expected_ul_bitrate: *expected_ul_bitrate_high
131+
fail_if_kos: false
132+
warning_as_errors: true
133+
134+
- campaign_filename: *campaign_filename
135+
test_name: "32UE ideal UDP attach-detach with traffic"
136+
test_timeout: 2700 # 45 * 60
137+
gnb_extra_commands: *gnb_extra_commands
138+
id: "32UE ideal UDP attach-detach with traffic"
139+
max_pdschs_per_slot: 1
140+
max_puschs_per_slot: 1
141+
enable_qos_viavi: false
142+
# test/fail criteria
143+
expected_dl_bitrate: *expected_dl_bitrate_high
144+
expected_ul_bitrate: *expected_ul_bitrate_high
26145
fail_if_kos: true
27146
warning_as_errors: true
28147

29-
- campaign_filename: "C:\\ci\\CI 4x4 ORAN-FH.xml"
30-
test_name: "32UE static DL + UL UDP - Dell"
148+
- campaign_filename: *campaign_filename
149+
test_name: "32UE fading UDP attach-detach with traffic"
150+
test_timeout: 2700 # 45 * 60
151+
gnb_extra_commands: *gnb_extra_commands
152+
id: "32UE fading UDP attach-detach with traffic"
153+
max_pdschs_per_slot: 1
154+
max_puschs_per_slot: 1
155+
enable_qos_viavi: false
156+
# test/fail criteria
157+
expected_dl_bitrate: *expected_dl_bitrate_high
158+
expected_ul_bitrate: *expected_ul_bitrate_high
159+
fail_if_kos: false
160+
warning_as_errors: false
161+
162+
- campaign_filename: *campaign_filename
163+
test_name: "1UE birth-death UDP bidirectional"
164+
test_timeout: 2700 # 45 * 60
165+
gnb_extra_commands: *gnb_extra_commands
166+
id: "1UE birth-death UDP bidirectional"
167+
max_pdschs_per_slot: 8
168+
max_puschs_per_slot: 8
169+
enable_qos_viavi: false
170+
# test/fail criteria
171+
expected_dl_bitrate: *expected_dl_bitrate_high
172+
expected_ul_bitrate: *expected_ul_bitrate_high
173+
fail_if_kos: false
174+
warning_as_errors: true
175+
176+
- campaign_filename: *campaign_filename
177+
test_name: "32UE birth-death UDP bidirectional"
178+
test_timeout: 2700 # 45 * 60
179+
gnb_extra_commands: *gnb_extra_commands
180+
id: "32UE birth-death UDP bidirectional"
181+
max_pdschs_per_slot: 1
182+
max_puschs_per_slot: 1
183+
enable_qos_viavi: false
184+
# test/fail criteria
185+
expected_dl_bitrate: *expected_dl_bitrate_high
186+
expected_ul_bitrate: *expected_ul_bitrate_high
187+
fail_if_kos: false
188+
warning_as_errors: true
189+
190+
- campaign_filename: *campaign_filename
191+
test_name: "32UE ideal ping"
31192
test_timeout: 2700 # 45 * 60
32-
gnb_extra_commands: "log --phy_level=info"
33-
id: "32UE Bidirectional UDP"
193+
gnb_extra_commands: *gnb_extra_commands
194+
id: "32UE ideal ping"
34195
max_pdschs_per_slot: 1
35196
max_puschs_per_slot: 1
36197
enable_qos_viavi: false
37198
# test/fail criteria
38-
expected_dl_bitrate: 80000000
39-
expected_ul_bitrate: 80000000
199+
expected_dl_bitrate: *expected_dl_bitrate_low
200+
expected_ul_bitrate: *expected_ul_bitrate_low
40201
fail_if_kos: true
41202
warning_as_errors: true
203+
204+
- campaign_filename: *campaign_filename
205+
test_name: "32UE ideal ping with traffic"
206+
test_timeout: 2700 # 45 * 60
207+
gnb_extra_commands: *gnb_extra_commands
208+
id: "32UE ideal ping with traffic"
209+
max_pdschs_per_slot: 1
210+
max_puschs_per_slot: 1
211+
enable_qos_viavi: false
212+
# test/fail criteria
213+
expected_dl_bitrate: *expected_dl_bitrate_low
214+
expected_ul_bitrate: *expected_ul_bitrate_low
215+
fail_if_kos: true
216+
warning_as_errors: true

tests/e2e/tests/viavi/test_declaration_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@
6565
"required": [
6666
"tests"
6767
],
68-
"additionalProperties": false
68+
"additionalProperties": true
6969
}

0 commit comments

Comments
 (0)