-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathtests_mark_conditions.yaml
More file actions
5612 lines (4899 loc) · 237 KB
/
Copy pathtests_mark_conditions.yaml
File metadata and controls
5612 lines (4899 loc) · 237 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#######################################
##### Define Anchors #####
#######################################
# This entry should not match any tests, it is just for defining anchors
# yaml files don't let an anchor be defined outside a yaml entry, so this entry just
# creates an entry defining anchors by &anchor_name. The anchors are like variables that can be reused
# in later conditions by syntax like *anchor_name.
# The name of this entry can ensure that is is sorted to the top of the file.
# Because it does not match any tests, so the schema of this entry can be flexible.
0000aaaa_dummy_entry:
anchors:
- &lossyTopos |
topo_name in [
't0-isolated-d128u128s1', 't0-isolated-v6-d128u128s1',
't0-isolated-d128u128s2', 't0-isolated-v6-d128u128s2',
't0-isolated-d16u16s1', 't0-isolated-v6-d16u16s1',
't0-isolated-d16u16s2', 't0-isolated-v6-d16u16s2',
't0-isolated-d256u256s2', 't0-isolated-v6-d256u256s2',
't0-isolated-d32u32s2', 't0-isolated-v6-d32u32s2',
't1-isolated-d224u8', 't1-isolated-v6-d224u8',
't1-isolated-d28u1', 't1-isolated-v6-d28u1',
't1-isolated-d448u15-lag', 't1-isolated-v6-d448u15-lag',
't1-isolated-d448u16', 't1-isolated-v6-d448u16',
't1-isolated-d56u1-lag', 't1-isolated-v6-d56u1-lag',
't1-isolated-d56u2', 't1-isolated-v6-d56u2' ]
- &noVxlanTopos |
topo_name in [
't0-isolated-d32u32s2', 't0-isolated-d256u256s2',
't0-isolated-d96u32s2', 't0-isolated-v6-d32u32s2',
't0-isolated-v6-d256u256s2', 't0-isolated-v6-d96u32s2',
't1-isolated-d56u2', 't1-isolated-d56u1-lag',
't1-isolated-d448u15-lag', 't1-isolated-d128',
't1-isolated-d32', 't1-isolated-v6-d56u2',
't1-isolated-v6-d56u1-lag', 't1-isolated-v6-d448u15-lag',
't1-isolated-v6-d128' ]
#######################################
##### custom_acl #####
#######################################
acl:
skip:
reason: "Acl testsuite is still not enabled for macsec enable sonic-mgmt run and not supported on this DUT topology"
conditions_logical_operator: or
conditions:
- "macsec_en==True"
- "topo_type in ['m1-128']"
acl/custom_acl_table/test_custom_acl_table.py:
skip:
reason: "Custom ACL not supported on older releases or dualtor setup"
conditions_logical_operator: or
conditions:
- "release in ['201811', '201911', '202012']"
- "'dualtor' in topo_name"
xfail:
reason: "xfail for scale topology, PTF is not stable at the scale testbed"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/21571 and 't0-isolated-d256u256s2' in topo_name"
#######################################
##### acl #####
#######################################
acl/null_route/test_null_route_helper.py:
skip:
reason: "Skip running on dualtor /m1 testbed"
conditions_logical_operator: or
conditions:
- "'dualtor' in topo_name"
- "'m1' in topo_type"
acl/test_acl.py:
skip:
reason: "Skip acl for isolated-v6 topology"
conditions:
- "'isolated-v6' in topo_name and https://github.com/sonic-net/sonic-mgmt/issues/18077"
- "asic_type in ['broadcom']"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
acl/test_acl.py::.*_forwarded\[ipv6-.*uplink->downlink:
regex: true
xfail:
reason: "IPv6 forwarded tests with uplink->downlink direction fail on v6 topology"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/21788 and '-v6-' in topo_name and asic_type in ['mellanox', 'nvidia']"
acl/test_acl.py::TestMultiBindingAcl:
skip:
reason: "MultiBinding only supports dualtor topo"
conditions:
- "'dualtor' not in topo_name"
acl/test_acl_outer_vlan.py:
#Outer VLAN id match support is planned for future release with SONIC on Cisco 8000
#For the current release, will mark the related test cases as XFAIL
xfail:
reason: "Cisco platform does not support ACL Outer VLAN ID tests. Or test case has issue on the t0-isolated-d256u256s2 topo."
conditions_logical_operator: or
conditions:
- "asic_type in ['cisco-8000']"
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
skip:
reason: "Skip running on dualtor testbed"
conditions:
- "'dualtor' in topo_name"
acl/test_acl_outer_vlan.py::TestAclVlanOuter_Egress::test_tagged_dropped[ipv4]:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
acl/test_acl_outer_vlan.py::TestAclVlanOuter_Egress::test_tagged_forwarded[ipv4]:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
acl/test_acl_outer_vlan.py::TestAclVlanOuter_Egress::test_untagged_forwarded[ipv4]:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
acl/test_stress_acl.py:
skip:
reason: "skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
acl/test_stress_acl.py::test_acl_add_del_stress:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
#######################################
##### acstests #####
#######################################
acstests:
skip:
reason: "It is not tested for now"
conditions:
- "True"
#######################################
##### arp #####
#######################################
arp/test_arp_dualtor.py::test_proxy_arp_for_standby_neighbor:
skip:
reason: "`accept_untracked_na` currently only available in 202012"
conditions:
- "release not in ['202012']"
arp/test_arp_dualtor.py::test_standby_unsolicited_neigh_learning[IPv4-active-standby]:
skip:
reason: "This testcase has low passing rate in KVM PR test, skip with issue to unblock PR test."
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/17441"
arp/test_arp_extended.py::test_arp_garp_enabled:
xfail:
reason: "xfail for IPv6-only topologies, with issue it try to parse with IPv4 style"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19904 and '-v6-' in topo_name"
arp/test_arp_extended.py::test_proxy_arp[v4-:
skip:
reason: "skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
arp/test_arp_update.py::test_dut_arping_learns_mac:
skip:
reason: "Skip test_dut_arping_learns_mac on dualtor"
conditions:
- "'dualtor' in topo_name"
arp/test_arp_update.py::test_dut_ping_learns_mac:
skip:
reason: "Skip test_dut_ping_learns_mac on dualtor"
conditions:
- "'dualtor' in topo_name"
arp/test_arp_update.py::test_kernel_asic_mac_mismatch\[.*ipv4.*\]:
regex: true
skip:
reason: "skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
arp/test_arp_update.py::test_ptf_arp_learns_mac:
skip:
reason: "Skip test_ptf_arp_learns_mac on dualtor"
conditions:
- "'dualtor' in topo_name"
arp/test_neighbor_mac_noptf.py:
skip:
reason: "Not supported in standalone topologies."
conditions:
- "'standalone' in topo_name"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
arp/test_stress_arp.py::test_ipv4_arp:
xfail:
reason: "skip for IPv6-only topologies or test case has issue on the t0-isolated-d256u256s2 topo"
conditions_logical_operator: or
conditions:
- "'-v6-' in topo_name"
- "https://github.com/sonic-net/sonic-mgmt/issues/21571 and 't0-isolated-d256u256s2' in topo_name"
arp/test_unknown_mac.py:
skip:
reason: "Behavior on cisco-8000 platform for unknown MAC is flooding rather than DROP, hence skipping."
conditions:
- "asic_type in ['cisco-8000']"
arp/test_unknown_mac.py::TestUnknownMac::test_unknown_mac:
xfail:
reason: "xfail for IPv6-only topologies, with issue failure to handle max number"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19906 and '-v6-' in topo_name"
arp/test_wr_arp.py:
skip:
reason: "Warm reboot is broken on dualtor topology. Device fails to recover by sanity check. Skipping for now. Not supported in standalone topos / Warm reboot is not required for 202412 and this test is not run on this asic type or version or topology currently"
conditions_logical_operator: or
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/16502 and 'dualtor' in topo_name"
- "'standalone' in topo_name"
- "is_mgmt_ipv6_only==True" # Does not support ipv6 mgmt ip on dut, specially the ferret server
- "'isolated' in topo_name"
- "topo_type not in ['t0']"
- "'f2' in topo_name"
########################################
###### autorestart #####
########################################
autorestart/test_container_autorestart.py::test_containers_autorestart.*teamd.*:
regex: true
xfail:
reason: "Testcase ignored due to issue: https://github.com/sonic-net/sonic-buildimage/issues/10336"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/10336"
#######################################
##### bfd #####
#######################################
bfd:
skip:
reason: "It is skipped for '202412' for now"
conditions:
- "release in ['202412']"
bfd/test_bfd.py:
skip:
reason: "Test not supported for platforms other than Nvidia 4280/4600c/4700/5600 and cisco-8102. Skipping the test / KVM do not support bfd test"
conditions_logical_operator: or
conditions:
- "(release in ['201811', '201911']) or (platform not in ['x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn4700-r0', 'x86_64-nvidia_sn5600-r0', 'x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0', 'x86_64-nvidia_sn4280-r0', 'x86_64-8102_28fh_dpu_o-r0'])"
- "asic_type in ['vs']"
bfd/test_bfd.py::test_bfd_basic:
skip:
reason: "Test not supported on platforms other than Cisco 8101/8102, Nvidia 4280/4600c/4700/5600. KVM platforms do not support bfd test"
conditions_logical_operator: or
conditions:
- "platform not in ['x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn4700-r0', 'x86_64-nvidia_sn5600-r0', 'x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0', 'x86_64-nvidia_sn4280-r0', 'x86_64-8102_28fh_dpu_o-r0']"
- "release in ['201811', '201911']"
- "asic_type in ['vs']"
xfail:
reason: "Test might failed due to https://github.com/sonic-net/sonic-mgmt/issues/19519"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/19519
bfd/test_bfd.py::test_bfd_echo_mode:
skip:
reason: "https://github.com/sonic-net/sonic-mgmt/issues/14087 / KVM do not support bfd test"
conditions_logical_operator: or
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/14087"
- "asic_type in ['vs']"
bfd/test_bfd.py::test_bfd_scale:
skip:
reason: "Test is not supported for platforms other than Cisco 8102/8101, Nvidia 4280/4600c/4700/5600. KVM platforms do not support bfd test"
conditions_logical_operator: or
conditions:
- "platform not in ['x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn4700-r0', 'x86_64-nvidia_sn5600-r0', 'x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0', 'x86_64-nvidia_sn4280-r0', 'x86_64-8102_28fh_dpu_o-r0']"
- "release in ['201811', '201911']"
- "asic_type in ['vs']"
bfd/test_bfd_static_route.py:
skip:
reason: "Only supported on multi-asic system & Cisco LCs."
conditions:
- "(is_multi_asic is False) or (hwsku not in ['Cisco-88-LC0-36FH-M-O36', 'Cisco-8800-LC-48H-C48', 'Cisco-88-LC0-36FH-O36'])"
bfd/test_bfd_traffic.py:
skip:
reason: "Test only supported on Cisco 8800 platforms."
conditions:
- "asic_type not in ['cisco-8000']"
#######################################
##### bgp #####
#######################################
bgp/reliable_tsa/test_reliable_tsa_flaky.py:
skip:
reason: "reliable TSA is not supported on non-chassis"
conditions:
- "is_chassis==False"
bgp/reliable_tsa/test_reliable_tsa_stable.py:
skip:
reason: "reliable TSA is not supported on non-chassis"
conditions:
- "is_chassis==False"
bgp/test_bgp_aggregate_address.py:
skip:
reason: "Skip for multi-ASIC testbed"
conditions:
- "is_multi_asic==True"
bgp/test_bgp_allow_list.py:
skip:
reason: "Only supported on t1 topo. But Cisco 8111 or 8122 T1(compute ai) platform is not supported."
conditions_logical_operator: or
conditions:
- "'t1' not in topo_type"
- "platform in ['x86_64-8111_32eh_o-r0', 'x86_64-8122_64eh_o-r0', 'x86_64-8122_64ehf_o-r0']"
- "'isolated' in topo_name"
bgp/test_bgp_bbr.py:
skip:
reason: "Only supported on t1 topo. But Cisco 8111 or 8122 T1(compute ai) platform is not supported. Not needed for isolated topo."
conditions_logical_operator: or
conditions:
- "'t1' not in topo_type"
- "platform in ['x86_64-8111_32eh_o-r0', 'x86_64-8122_64eh_o-r0', 'x86_64-8122_64ehf_o-r0']"
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/17598"
- "'isolated' in topo_name"
xfail:
reason: "xfail for IPv6-only topologies, with issue it try to parse with IPv4 style"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20217 and '-v6-' in topo_name"
bgp/test_bgp_bbr.py::test_bbr_status_consistent_after_reload[enabled]:
xfail:
reason: "Testcase ignored due to issue https://github.com/sonic-net/sonic-buildimage/issues/23642"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/23642 and hwsku in ['Mellanox-SN5640-C512S2', 'Mellanox-SN5640-C448O16', 'Mellanox-SN5600-C256S1','Mellanox-SN5600-C224O8']"
bgp/test_bgp_bbr_default_state.py::test_bbr_disabled_constants_yml_default:
skip:
reason: "Skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
bgp/test_bgp_bounce.py:
xfail:
reason: "xfail for IPv6-only topologies, issue https://github.com/sonic-net/sonic-mgmt/issues/20753"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20753 and '-v6-' in topo_name"
bgp/test_bgp_dual_asn.py::test_bgp_dual_asn_v4:
skip:
reason: "Skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
bgp/test_bgp_gr_helper.py:
skip:
reason: 'bgp graceful restarted is not a supported feature for T2 and skip in KVM for failing with new cEOS image'
conditions_logical_operator: or
conditions:
- "'t2' in topo_name"
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/18788"
bgp/test_bgp_gr_helper.py::test_bgp_gr_helper_routes_perserved:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
bgp/test_bgp_max_route.py::test_bgp_max_prefix_behavior:
xfail:
reason: "Test failed on multi-asic PR tests"
conditions_logical_operator: and
- "is_multi_asic==True"
- "asic_type in ['vs']"
- "https://github.com/sonic-net/sonic-mgmt/issues/21691"
bgp/test_bgp_multipath_relax.py:
skip:
reason: "Not supported topology backend."
conditions_logical_operator: or
conditions:
- "'backend' in topo_name"
- "'t1-isolated' in topo_name"
bgp/test_bgp_operation_in_ro.py:
skip:
reason: "Feature is reverted and pending enhancement"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/23462"
bgp/test_bgp_port_disable.py:
skip:
reason: "Not supported on public branches."
conditions:
- "'internal' not in branch"
bgp/test_bgp_queue.py:
skip:
reason: "Not supported on mgmt device"
conditions:
- "topo_type in ['m0', 'mx', 'm1']"
xfail:
reason: "Skipped due to issue https://github.com/sonic-net/sonic-mgmt/issues/18349"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/18349 and ('t1-isolated-d56u2' in topo_name or 't0-isolated-d32u32s2' in topo_name)"
bgp/test_bgp_route_neigh_learning.py::test_bgp_neighbor_route_learnning:
xfail:
reason: "xfail for IPv6-only topologies, issue with it try to parse with IPv4 style"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19915 and '-v6-' in topo_name"
bgp/test_bgp_router_id.py:
skip:
reason: "Not supported on multi-asic"
conditions:
- "is_multi_asic==True"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
bgp/test_bgp_router_id.py::test_bgp_router_id_set[:
skip:
reason: "Skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
bgp/test_bgp_router_id.py::test_bgp_router_id_set_ipv6:
skip:
reason: "Skip for topologies that are not IPv6-only"
conditions:
- "'-v6-' not in topo_name"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-v6-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
bgp/test_bgp_sentinel.py::test_bgp_sentinel[IPv4:
skip:
reason: "Skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
bgp/test_bgp_sentinel.py::test_bgp_sentinel[IPv6:
xfail:
reason: "xfail for GH issue 23938"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/23938"
bgp/test_bgp_session.py::test_bgp_session_interface_down:
xfail:
reason: "xfail for IPv6-only topologies, issue with trying to parse with IPv4 style"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19916 and '-v6-' in topo_name"
bgp/test_bgp_session_flap.py::test_bgp_multiple_session_flaps:
xfail:
reason: "xfail for IPv6-only topologies, issue https://github.com/sonic-net/sonic-mgmt/issues/20755"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20755 and '-v6-' in topo_name"
bgp/test_bgp_session_flap.py::test_bgp_single_session_flaps:
xfail:
reason: "xfail for IPv6-only topologies, issue https://github.com/sonic-net/sonic-mgmt/issues/20755"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20755 and '-v6-' in topo_name"
bgp/test_bgp_slb.py:
skip:
reason: "Skip over topologies which doesn't support slb and this test is not run on this topology currently"
conditions_logical_operator: or
conditions:
- "'backend' in topo_name or 'mgmttor' in topo_name"
- "topo_type not in ['t0']"
bgp/test_bgp_slb.py::test_bgp_slb_neighbor_persistence_across_advanced_reboot:
skip:
reason: "Skip it on dual tor since it got stuck during warm reboot due to known issue on master and internal image
or over topologies which doesn't support slb."
conditions_logical_operator: or
conditions:
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120', 'dualtor-aa', 'dualtor-aa-56'] and https://github.com/sonic-net/sonic-mgmt/issues/9201"
- "'backend' in topo_name or 'mgmttor' in topo_name or 'isolated' in topo_name"
- "hwsku in ['Arista-7050CX3-32S-C28S4']"
- "'f2' in topo_name"
bgp/test_bgp_speaker.py:
skip:
reason: "Not supported on topology backend."
conditions:
- "'backend' in topo_name"
xfail:
reason: "xfail for scale topology, issue https://github.com/sonic-net/sonic-buildimage/issues/24537"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/24537 and 't0-isolated-d256u256s2' in topo_name"
bgp/test_bgp_speaker.py::test_bgp_speaker_announce_routes[:
skip:
reason: "Skip for IPv6-only topologies"
conditions:
- "'-v6-' in topo_name"
bgp/test_bgp_speaker.py::test_bgp_speaker_announce_routes_v6:
xfail:
reason: "xfail for IPv6-only topologies, is with it look for vlan_ipv4_entry"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19917 and '-v6-' in topo_name"
bgp/test_bgp_speaker.py::test_bgp_speaker_bgp_sessions:
xfail:
reason: "xfail for IPv6-only topologies, is with it look for vlan_ipv4_entry"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19917 and '-v6-' in topo_name"
bgp/test_bgp_stress_link_flap.py::test_bgp_stress_link_flap[all]:
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
bgp/test_bgp_suppress_fib.py:
skip:
reason: "Not supported before release 202411."
conditions_logical_operator: or
conditions:
- "release in ['201811', '201911', '202012', '202205', '202211', '202305', '202311', '202405', 'master']"
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/14449"
xfail:
reason: "xfail for IPv6-only topologies, issue https://github.com/sonic-net/sonic-mgmt/issues/20756 or Mellanox platform due to https://github.com/sonic-net/sonic-buildimage/issues/24679"
conditions_logical_operator: or
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20756 and '-v6-' in topo_name"
- "https://github.com/sonic-net/sonic-buildimage/issues/24679 and asic_type in ['mellanox', 'nvidia']"
bgp/test_bgp_suppress_fib.py::test_bgp_route_without_suppress:
xfail:
reason: "Testcase ignored due to https://github.com/sonic-net/sonic-buildimage/issues/24679"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/24679 and asic_type in ['mellanox', 'nvidia']"
bgp/test_bgp_update_replication.py:
xfail:
reason: "Testcase is not stable on dualtor-aa setup due to GH issue: https://github.com/sonic-net/sonic-mgmt/issues/21110"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/21110 and 'dualtor-aa' in topo_name"
bgp/test_bgp_vnet.py:
skip:
reason: "Test is only enabled for VS, Cisco and Nvidia mellanox platforms"
conditions:
- "asic_type not in ['vs', 'cisco-8000', 'mellanox']"
bgp/test_bgpmon.py:
skip:
reason: "Not supported on T2 topology or topology backend"
conditions:
- "'backend' in topo_name or topo_type in ['t2']"
bgp/test_bgpmon.py::test_bgpmon:
xfail:
reason: "xfail for IPv6-only topologies, issue https://github.com/sonic-net/sonic-mgmt/issues/20754"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20754 and '-v6-' in topo_name"
bgp/test_bgpmon_v6.py::test_bgpmon_no_ipv6_resolve_via_default:
skip:
reason: "Not applicable for passive bgpmon_v6"
bgp/test_startup_tsa_tsb_service.py::test_tsa_tsb_service_with_supervisor_abnormal_reboot:
skip:
reason: "Not supported on T2 single node topology"
conditions:
- "'t2_single_node' in topo_name"
bgp/test_startup_tsa_tsb_service.py::test_tsa_tsb_service_with_supervisor_cold_reboot:
skip:
reason: "Not supported on T2 single node topology"
conditions:
- "'t2_single_node' in topo_name"
bgp/test_startup_tsa_tsb_service.py::test_tsa_tsb_service_with_tsa_on_sup:
skip:
reason: "Not supported on T2 single node topology"
conditions:
- "'t2_single_node' in topo_name"
bgp/test_startup_tsa_tsb_service.py::test_user_init_tsb_on_sup_while_service_run_on_dut:
skip:
reason: "Not supported on T2 single node topology"
conditions:
- "'t2_single_node' in topo_name"
bgp/test_traffic_shift.py::test_load_minigraph_with_traffic_shift_away:
skip:
reason: "Test is flaky and causing PR test to fail unnecessarily"
conditions:
- "asic_type in ['vs']"
- https://github.com/sonic-net/sonic-mgmt/issues/6471
bgp/test_traffic_shift_sup.py:
skip:
reason: "Not supported on T2 single node topology"
conditions:
- "'t2_single_node' in topo_name"
#######################################
##### cacl #####
#######################################
cacl/test_cacl_application.py:
skip:
reason: "skip test_cacl_application in PR test temporarily"
conditions:
- "asic_type in ['vs']"
xfail:
reason: "Wait PR https://github.com/sonic-net/sonic-host-services/pull/301 include in sonic-buildimage"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/21175"
cacl/test_cacl_application.py::test_cacl_acl_loader_commands_internal:
skip:
reason: "test_cacl_acl_loader_commands_internal is only supported on t0/t1 testbed"
conditions_logical_operator: or
conditions:
- "topo_type not in ['t1', 't0']"
- "'dualtor' in topo_name"
cacl/test_cacl_application.py::test_cacl_application_dualtor:
skip:
reason: "test_cacl_application_dualtor is only supported on dualtor topology"
conditions:
- "topo_name not in ['dualtor', 'dualtor-56', 'dualtor-64', 'dualtor-64-breakout', 'dualtor-120']"
cacl/test_cacl_application.py::test_cacl_application_nondualtor:
skip:
reason: "test_cacl_application is only supported on non dualtor topology"
conditions:
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-64', 'dualtor-120']"
cacl/test_cacl_application.py::test_multiasic_cacl_application:
skip:
reason: "test_multiasic_cacl_application is only supported on multi-ASIC platform"
conditions:
- "not is_multi_asic"
cacl/test_ebtables_application.py:
skip:
reason: "Ebtables shouldn't be installed in KVM which blocks L2 forwarding, skip in PR testing"
conditions:
- "asic_type in ['vs']"
#######################################
##### clock #####
#######################################
clock/test_clock.py::test_config_clock_timezone:
xfail:
reason: "xfail due to github issue https://github.com/sonic-net/sonic-buildimage/issues/24562"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/24562 and asic_type in ['mellanox', 'nvidia', 'vs']"
#######################################
##### configlet #####
#######################################
configlet:
skip:
reason: "It is skipped for '202412' for now"
conditions:
- "release in ['202412']"
configlet/test_add_rack.py:
skip:
reason: "AddRack is not yet supported on multi-ASIC platform"
conditions:
- "is_multi_asic==True"
container_hardening/test_container_hardening.py::test_container_privileged:
skip:
reason: "Not supported on 202305 and older releases"
conditions:
- "release in ['201811', '201911', '202012', '202205', '202211', '202305']"
#######################################
##### copp #####
#######################################
copp/test_copp.py:
skip:
reason: "Topology not supported by COPP tests"
conditions:
- "(topo_name not in ['dualtor-aa', 'dualtor-aa-64-breakout', 'ptf32', 'ptf64', 't0', 't0-64', 't0-52', 't0-116', 't0-118', 't0-88-o8c80', 't1', 't1-lag', 't1-28-lag', 't1-48-lag', 't1-64-lag', 't1-56-lag', 't1-backend', 'm0', 'm0-2vlan', 'mx', 'm1-48', 'm1-44', 'm1-108', 'm1-128', 't0-isolated-d16u16s1', 't1-isolated-d28u1', 't0-isolated-d32u32s2', 't1-isolated-d56u2'] and 't2' not in topo_type)"
copp/test_copp.py::TestCOPP::test_add_new_trap:
skip:
reason: "Copp test_add_new_trap is not yet supported on these testbeds"
conditions_logical_operator: or
conditions:
- "is_multi_asic==True"
- "(topo_name not in ['ptf32', 'ptf64', 't0', 't0-64', 't0-52', 't0-116', 't0-118', 't0-88-o8c80', 't1', 't1-lag', 't1-28-lag', 't1-48-lag', 't1-64-lag', 't1-56-lag', 't1-backend', 'm0', 'm0-2vlan', 'mx', 'm1-48', 'm1-44', 'm1-108', 'm1-128', 't0-isolated-d16u16s1', 't1-isolated-d28u1', 't0-isolated-d32u32s2', 't1-isolated-d56u2'] and 't2' not in topo_type)"
copp/test_copp.py::TestCOPP::test_remove_trap:
skip:
reason: "Copp test_remove_trap is not yet supported on these testbeds"
conditions_logical_operator: or
conditions:
- "is_multi_asic==True"
- "(topo_name not in ['ptf32', 'ptf64', 't0', 't0-64', 't0-52', 't0-116', 't0-118', 't0-88-o8c80', 't1', 't1-lag', 't1-28-lag', 't1-48-lag', 't1-64-lag', 't1-56-lag', 't1-backend', 'm0', 'm0-2vlan', 'mx', 'm1-48', 'm1-44', 'm1-108', 'm1-128', 't0-isolated-d16u16s1', 't1-isolated-d28u1', 't0-isolated-d32u32s2', 't1-isolated-d56u2'] and 't2' not in topo_type)"
copp/test_copp.py::TestCOPP::test_trap_config_save_after_reboot:
skip:
conditions_logical_operator: or
reason: "Copp test_trap_config_save_after_reboot is not yet supported on these testbeds or not supported after docker_inram enabled"
conditions:
- "is_multi_asic==True"
- "build_version.split('.')[0].isdigit() and int(build_version.split('.')[0]) == 20220531 and int(build_version.split('.')[1]) > 27 and hwsku in ['Arista-7050-QX-32S', 'Arista-7050QX32S-Q32', 'Arista-7050-QX32', 'Arista-7050QX-32S-S4Q31', 'Arista-7060CX-32S-D48C8', 'Arista-7060CX-32S-C32', 'Arista-7060CX-32S-Q32', 'Arista-7060CX-32S-C32-T1']"
- "build_version.split('.')[0].isdigit() and int(build_version.split('.')[0]) > 20220531 and hwsku in ['Arista-7050-QX-32S', 'Arista-7050QX32S-Q32', 'Arista-7050-QX32', 'Arista-7050QX-32S-S4Q31', 'Arista-7060CX-32S-D48C8', 'Arista-7060CX-32S-C32', 'Arista-7060CX-32S-Q32', 'Arista-7060CX-32S-C32-T1']"
- "(topo_name not in ['ptf32', 'ptf64', 't0', 't0-64', 't0-52', 't0-116', 't0-118', 't0-88-o8c80', 't1', 't1-lag', 't1-28-lag', 't1-48-lag', 't1-64-lag', 't1-56-lag', 't1-backend', 'm0', 'm0-2vlan', 'mx', 'm1-48', 'm1-44', 'm1-108', 'm1-128', 't0-isolated-d16u16s1', 't1-isolated-d28u1', 't0-isolated-d32u32s2', 't1-isolated-d56u2'] and 't2' not in topo_type)"
copp/test_copp.py::TestCOPP::test_trap_neighbor_miss:
skip:
reason: "Copp test_trap_neighbor_miss is not supported on broadcom platforms and non-TOR topologies"
conditions_logical_operator: or
conditions:
- "(asic_type in ['broadcom'] and release in ['202411'])"
- "(topo_name not in ['t0', 't0-64', 't0-52', 't0-116', 't0-118', 't0-88-o8c80', 't0-isolated-d16u16s1', 't0-isolated-d32u32s2'])"
#######################################
##### crm #####
#######################################
crm/test_crm.py :
xfail:
reason: "xfail for IPv6-only topologies, issue with it try to excute ipv4 command with no output"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/19640 and '-v6-' in topo_name"
crm/test_crm.py::test_crm_fdb_entry:
skip:
reason: "Unsupported topology, expected to run only on 'T0*' or 'M0/MX' topology"
conditions:
- "'t0' not in topo_name and topo_type not in ['m0', 'mx']"
crm/test_crm_available.py:
xfail:
reason: "There is a known issue with broadcom dualtor (https://github.com/sonic-net/sonic-mgmt/issues/18873) or xfail for IPv6-only topologies, as it try to excute ipv4 command"
conditions_logical_operator: or
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/18873 and 'dualtor' in topo_name and asic_type in ['broadcom']"
- "https://github.com/sonic-net/sonic-mgmt/issues/19919 and '-v6-' in topo_name"
#######################################
##### dash #####
#######################################
dash/crm/test_dash_crm.py:
skip:
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
dash/test_dash_acl.py:
skip:
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
dash/test_dash_disable_enable_eni.py:
skip:
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
dash/test_dash_eni_counter.py:
skip:
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
dash/test_dash_privatelink.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM or non-smartswitch T1s"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "hwsku not in ['Cisco-8102-28FH-DPU-O-T1', 'Mellanox-SN4280-O8C40', 'Mellanox-SN4280-O28', 'Cisco-8102-28FH-DPU-O']"
dash/test_dash_privatelink_redirect.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM or non-smartswitch T1s"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "hwsku not in ['Cisco-8102-28FH-DPU-O-T1', 'Mellanox-SN4280-O8C40', 'Mellanox-SN4280-O28', 'Cisco-8102-28FH-DPU-O']"
dash/test_dash_smartswitch_vnet.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM or non-smartswitch T1s"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "hwsku not in ['Cisco-8102-28FH-DPU-O-T1', 'Mellanox-SN4280-O8C40', 'Mellanox-SN4280-O28', 'Cisco-8102-28FH-DPU-O']"
- "https://github.com/sonic-net/sonic-buildimage/issues/25147 and asic_type in ['mellanox', 'nvidia']"
dash/test_dash_vnet.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "platform in ['x86_64-nvidia_sn4280-r0']"
dash/test_fnic.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM or non-smartswitch T1s"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "hwsku not in ['Cisco-8102-28FH-DPU-O-T1', 'Mellanox-SN4280-O8C40', 'Mellanox-SN4280-O28', 'Cisco-8102-28FH-DPU-O']"
dash/test_plnsg.py:
skip:
conditions_logical_operator: or
reason: "Currently dash tests are not supported on KVM or non-smartswitch T1s"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
- "hwsku not in ['Cisco-8102-28FH-DPU-O-T1', 'Mellanox-SN4280-O8C40', 'Mellanox-SN4280-O28', 'Cisco-8102-28FH-DPU-O']"
dash/test_relaxed_match_negative.py:
skip:
reason: "Currently dash tests are not supported on KVM"
conditions:
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-mgmt/issues/16407"
#######################################
##### db_migrator #####
#######################################
db_migrator/test_migrate_dns.py::test_migrate_dns_03:
xfail:
reason: "db_migrator does not support SonicQosProfile in minigraph"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/22120"
#######################################
##### decap #####
#######################################
decap/test_decap.py:
skip:
reason: 'Skip on t1-isolated-d32/128 topos'
conditions:
- "topo_name in ['t1-isolated-d128', 't1-isolated-d32']"
xfail:
reason: "Xfail due to github issue 20982"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/20982 and asic_type in ['mellanox', 'nvidia']"
decap/test_decap.py::test_decap[ttl=pipe, dscp=pipe, vxlan=disable]:
skip:
reason: "Not supported on broadcom after 201911 release, cisco-8000 all releases. Skip on t1-isolated-d32/128 topos"
conditions_logical_operator: or
conditions:
- "(asic_type in ['broadcom'] and release not in ['201811', '201911']) or (asic_type in ['cisco-8000'])"
- "topo_name in ['t1-isolated-d128', 't1-isolated-d32']"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
decap/test_decap.py::test_decap[ttl=pipe, dscp=pipe, vxlan=set_unset]:
skip:
reason: "Not supported on broadcom after 201911 release, cisco-8000 all releases and marvell-prestera asics. Skip on t1-isolated-d32/128 topos"
conditions_logical_operator: or
conditions:
- "(asic_type in ['broadcom'] and release not in ['201811', '201911']) or (asic_type in ['cisco-8000']) or (asic_type in ['marvell-prestera', 'marvell'])"
- "topo_name in ['t1-isolated-d128', 't1-isolated-d32']"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
decap/test_decap.py::test_decap[ttl=pipe, dscp=uniform, vxlan=disable]:
skip:
conditions_logical_operator: or
reason: "Not supported on backend, broadcom before 202012 release. Skip 7260CX3 T1 topo in 202305 release. Skip on t1-isolated-d32/128 topos"
conditions:
- "(topo_name in ['t1-backend', 't0-backend']) or (asic_type in ['broadcom'] and release in ['201811', '201911'])"
- "'7260CX3' in hwsku and release in ['202305'] and 't1' in topo_type"
- "topo_name in ['t1-isolated-d128', 't1-isolated-d32']"
xfail:
reason: "Test case has issue on the t0-isolated-d256u256s2 topo."
conditions:
- "'t0-isolated-d256u256s2' in topo_name and platform in ['x86_64-nvidia_sn5640-r0']"
decap/test_decap.py::test_decap[ttl=pipe, dscp=uniform, vxlan=set_unset]:
skip:
reason: "Not supported on backend, T2 topologies , broadcom platforms before 202012 release, x86_64-8111_32eh_o-r0 platform. Skip on mellanox all releases. Skip on 7260CX3 T1 topo in 202305 release. Not required on isolated topologies d256u256s2, d96u32s2, d448u15-lag, and d128, as well as their minimzed and -v6 variants."
conditions_logical_operator: or
conditions:
- "('t2' in topo_name) or (topo_name in ['t1-backend', 't0-backend']) or (asic_type in ['broadcom'] and release in ['201811', '201911']) or platform in ['x86_64-8111_32eh_o-r0'] or asic_type in ['mellanox']"
- "'7260CX3' in hwsku and release in ['202305'] and 't1' in topo_type"
- *noVxlanTopos
decap/test_decap.py::test_decap[ttl=uniform, dscp=pipe, vxlan=disable]:
skip:
reason: "Not supported uniform ttl mode"
decap/test_decap.py::test_decap[ttl=uniform, dscp=pipe, vxlan=set_unset]:
skip:
reason: "Not supported uniform ttl mode"
decap/test_decap.py::test_decap[ttl=uniform, dscp=uniform, vxlan=disable]:
skip:
reason: "Not supported uniform ttl mode"
decap/test_decap.py::test_decap[ttl=uniform, dscp=uniform, vxlan=set_unset]:
skip:
reason: "Not supported uniform ttl mode"
decap/test_subnet_decap.py::test_vlan_subnet_decap:
skip:
reason: "Supported only on T0 topology with KVM or broadcom td3 asic or mellanox asic, and available for 202405 release and later, need to skip on KVM testbed since subnet_decap feature haven't been added into yang model. Skip on t1-isolated-d32/128 topos"
conditions_logical_operator: or
conditions:
- "topo_type not in ['t0']"
- "asic_type not in ['vs', 'mellanox'] and asic_gen not in ['td3']"
- "asic_type in ['vs'] and https://github.com/sonic-net/sonic-buildimage/issues/21090"
- "release in ['202012', '202205', '202305', '202311']"
- "topo_name in ['t1-isolated-d128', 't1-isolated-d32']"
#######################################
##### dhcp_relay #####
#######################################
dhcp_relay:
skip:
reason: "It is skipped for '202412' for now"
conditions:
- "release in ['202412']"
dhcp_relay/test_dhcp_counter_stress.py::test_dhcpmon_relay_counters_stress:
xfail:
reason: "7215 has low performance, and can only take low stress (about 5 pps)"
conditions:
- "platform in ['armhf-nokia_ixs7215_52x-r0']"
dhcp_relay/test_dhcp_counter_stress.py::test_dhcpmon_relay_counters_stress[discover]:
xfail:
reason: "Need to skip for discover test cases on dualtor"
conditions:
- "'dualtor' in topo_name"
- "https://github.com/sonic-net/sonic-mgmt/issues/19230"
dhcp_relay/test_dhcp_counter_stress.py::test_dhcpmon_relay_counters_stress[request]:
xfail:
reason: "Need to skip for request test cases on dualtor"
conditions:
- "'dualtor' in topo_name"
- "https://github.com/sonic-net/sonic-mgmt/issues/19230"
dhcp_relay/test_dhcp_relay.py:
skip:
reason: "Need to skip for Cisco backend platform"
conditions:
- "platform in ['x86_64-8111_32eh_o-r0', 'x86_64-8122_64eh_o-r0', 'x86_64-8122_64ehf_o-r0']"
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_after_link_flap:
skip:
reason: "Skip test_dhcp_relay_after_link_flap on dualtor or platform x86_64-8111_32eh_o-r0"
conditions_logical_operator: or
conditions:
- "'dualtor' in topo_name"
- "platform in ['x86_64-8111_32eh_o-r0']"
dhcp_relay/test_dhcp_relay.py::test_dhcp_relay_after_link_flap[sonic-relay-agent]:
skip:
reason: "Test skipped: sonic dhcpv4 is not supported in the DUT image version < 202511"
conditions:
- "release < '202511'"