forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests_mark_conditions.yaml
More file actions
1665 lines (1438 loc) · 63.3 KB
/
Copy pathtests_mark_conditions.yaml
File metadata and controls
1665 lines (1438 loc) · 63.3 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
#######################################
##### cutsom_acl #####
#######################################
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"
#######################################
##### acl #####
#######################################
acl/null_route/test_null_route_helper.py:
skip:
reason: "Skip running on dualtor testbed"
conditions:
- "'dualtor' in topo_name"
acl/test_acl.py:
xfail:
reason: "ACL test is not supported on mellanox platform with dualtor topology "
conditions:
- "asic_type in ['mellanox'] and 'dualtor' 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"
conditions:
- "asic_type in ['cisco-8000']"
skip:
reason: "Skip running on dualtor testbed"
conditions:
- "'dualtor' in topo_name"
#######################################
##### 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_unknown_mac.py:
skip:
reason: "Behavior on cisco-8000 & Innovium(Marvell) platform for unknown MAC is flooding rather than DROP, hence skipping."
conditions:
- "asic_type in ['cisco-8000','innovium']"
arp/test_wr_arp.py:
skip:
reason: "Warm reboot is broken on dualtor topology. Device fails to recover by sanity check. Skipping for now."
conditions:
- "'dualtor' in topo_name"
- https://github.com/sonic-net/sonic-buildimage/issues/16502
#######################################
##### bfd #####
#######################################
bfd/test_bfd.py:
skip:
reason: "Test not supported for platforms other than Nvidia 4600c/4700/5600 and cisco-8102. Skipping the test"
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'])"
bfd/test_bfd.py::test_bfd_basic:
skip:
reason: "Test not supported for cisco-8102 as it doesnt support single hop BFD. Skipping the test"
conditions:
- "platform in ['x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0']"
bfd/test_bfd.py::test_bfd_scale:
skip:
reason: "Test not supported for cisco-8102 as it doesnt support single hop BFD. Skipping the test"
conditions:
- "platform in ['x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0']"
bfd/test_bfd_static_route.py:
skip:
reason: "Only supported on chassis system & cisco platform."
conditions:
- "is_multi_asic is False"
- "asic_type in ['cisco-8000']"
#######################################
##### bgp #####
#######################################
bgp/test_bgp_allow_list.py:
skip:
reason: "Only supported on t1 topo."
conditions:
- "'t1' not in topo_type"
bgp/test_bgp_bbr.py:
skip:
reason: "Only supported on t1 topo."
conditions:
- "'t1' not in topo_type"
bgp/test_bgp_gr_helper.py:
skip:
reason: 'bgp graceful restarted is not a supported feature for T2'
conditions:
- "'t2' in topo_name"
bgp/test_bgp_multipath_relax.py:
skip:
reason: "Not supported topology backend."
conditions:
- "'backend' in topo_name"
bgp/test_bgp_queue.py:
skip:
reason: "1. Not support on mgmt device 2. Known issue on Mellanox platform with T1-LAG topology"
conditions:
- "topo_type in ['m0', 'mx'] or ((topo_name in ['t1-lag']) and (asic_type in ['mellanox']))"
bgp/test_bgp_slb.py:
skip:
reason: "Skip over topologies which doesn't support slb."
conditions:
- "'backend' in topo_name or 'mgmttor' in topo_name"
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"
conditions:
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
- https://github.com/sonic-net/sonic-mgmt/issues/9201
bgp/test_bgp_speaker.py:
skip:
reason: "Not supported on topology backend."
conditions:
- "'backend' in topo_name"
bgp/test_bgp_suppress_fib.py:
skip:
reason: "Not supported before release 202405."
conditions:
- "release in ['201811', '201911', '202012', '202205', '202211', '202305', '202311']"
bgp/test_bgpmon.py:
skip:
reason: "Not supported on T2 topology or topology backend"
conditions:
- "'backend' in topo_name or 't2' 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
#######################################
##### cacl #####
#######################################
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-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"
#######################################
##### configlet #####
#######################################
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 ['ptf32', 'ptf64', 't0', 't0-64', 't0-52', 't0-116', 't1', 't1-lag', 't1-64-lag', 't1-56-lag', 't1-backend', 'm0', 'mx'] 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 multi-asic platform"
conditions:
- "is_multi_asic==True"
xfail:
reason: "Can't unisntall trap on broadcom platform successfully"
conditions:
- "asic_type in ['broadcom']"
- "release in ['202305']"
copp/test_copp.py::TestCOPP::test_remove_trap:
skip:
reason: "Copp test_remove_trap is not yet supported on multi-asic platform"
conditions:
- "is_multi_asic==True"
xfail:
reason: "Can't unisntall trap on broadcom platform successfully"
conditions:
- "asic_type in ['broadcom']"
- "release in ['202305']"
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 multi-asic platform 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']"
#######################################
##### crm #####
#######################################
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']"
#######################################
##### decap #####
#######################################
decap/test_decap.py::test_decap[ttl=pipe, dscp=pipe, vxlan=disable]:
skip:
reason: "Not supported on broadcom after 201911 release, mellanox all releases and cisco-8000 all releases and marvell asics"
conditions:
- "(asic_type in ['broadcom'] and release not in ['201811', '201911']) or (asic_type in ['mellanox']) or (asic_type in ['cisco-8000'])"
decap/test_decap.py::test_decap[ttl=pipe, dscp=pipe, vxlan=set_unset]:
skip:
reason: "Not supported on broadcom after 201911 release, mellanox all releases and cisco-8000 all releases and marvell asics"
conditions:
- "(asic_type in ['broadcom'] and release not in ['201811', '201911']) or (asic_type in ['mellanox']) or (asic_type in ['cisco-8000']) or (asic_type in ['marvell'])"
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, innovium and x86_64-8111_32eh_o-r0 platform. Skip 7260CX3 T1 topo in 202305 release"
conditions:
- "(topo_name in ['t1-backend', 't0-backend']) or (asic_type in ['broadcom'] and release in ['201811', '201911']) or asic_type in ['innovium'] or platform in ['x86_64-8111_32eh_o-r0']"
- "'7260CX3' in hwsku and release in ['202305'] and 't1' in topo_type"
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, innovium, x86_64-8111_32eh_o-r0 platform. Skip on mellanox dualtor setups for github issue #9646. Skip on 7260CX3 T1 topo in 202305 release"
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 asic_type in ['innovium'] or platform in ['x86_64-8111_32eh_o-r0']"
- "https://github.com/sonic-net/sonic-mgmt/issues/9646 and 'dualtor' in topo_name and asic_type in ['mellanox']"
- "'7260CX3' in hwsku and release in ['202305'] and 't1' in topo_type"
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"
#######################################
##### dhcp_relay #####
#######################################
dhcp_relay/test_dhcp_relay.py:
skip:
reason: "Need to skip for platform x86_64-8111_32eh_o-r0"
conditions:
- "platform in ['x86_64-8111_32eh_o-r0']"
dhcp_relay/test_dhcpv6_relay.py:
skip:
reason: "Need to skip for platform x86_64-8111_32eh_o-r0"
conditions:
- "platform in ['x86_64-8111_32eh_o-r0']"
#######################################
##### drop_packets #####
#######################################
drop_packets:
skip:
reason: "M0/MX topo does not support drop_packets"
conditions:
- "topo_type in ['m0', 'mx']"
#######################################
##### dualtor #####
#######################################
dualtor/test_ipinip.py::test_encap_with_mirror_session:
xfail:
reason: "Testcase ignored on dualtor-aa topology and mellanox setups due to Github issue: https://github.com/sonic-net/sonic-mgmt/issues/8577"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8577
- "'dualtor-aa' in topo_name and asic_type in ['mellanox']"
dualtor/test_orch_stress.py:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_active_tor_downstream.py:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_active_tor_downstream.py::test_downstream_ecmp_nexthops:
skip:
reason: "On Mellanox SPC1 platforms, due to HW limitation, the hierarchy ecmp behavior is not exactly as expected in the test case."
conditions:
- "asic_gen == 'spc1'"
dualtor/test_orchagent_mac_move.py:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_standby_tor_downstream.py::test_downstream_standby_mux_toggle_active:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
xfail:
reason: "Image issue on Boradcom platforms, but not consistently failing"
conditions:
- "asic_type in ['broadcom']"
dualtor/test_orchagent_standby_tor_downstream.py::test_standby_tor_downstream:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_standby_tor_downstream.py::test_standby_tor_downstream_bgp_recovered:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_standby_tor_downstream.py::test_standby_tor_downstream_loopback_route_readded:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config and dualtor."
conditions:
- "(topo_type not in ['t0'])"
dualtor/test_orchagent_standby_tor_downstream.py::test_standby_tor_downstream_t1_link_recovered:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_orchagent_standby_tor_downstream.py::test_standby_tor_remove_neighbor_downstream_standby:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_standby_tor_upstream_mux_toggle.py:
skip:
reason: "This testcase is designed for single tor testbed with mock dualtor config."
conditions:
- "(topo_type not in ['t0']) or ('dualtor' in topo_name)"
dualtor/test_tor_ecn.py::test_dscp_to_queue_during_encap_on_standby:
xfail:
reason: "Testcase ignored on dualtor-aa topology and mellanox setups due to Github issue: https://github.com/sonic-net/sonic-mgmt/issues/8577"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8577
- "'dualtor-aa' in topo_name and asic_type in ['mellanox']"
dualtor/test_tor_ecn.py::test_ecn_during_encap_on_standby:
xfail:
reason: "Testcase ignored on dualtor-aa topology and mellanox setups due to Github issue: https://github.com/sonic-net/sonic-mgmt/issues/8577"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8577
- "'dualtor-aa' in topo_name and asic_type in ['mellanox']"
dualtor/test_tunnel_memory_leak.py::test_tunnel_memory_leak:
skip:
reason: "Testcase ignored on dualtor-64 topology due to Github issue: https://github.com/sonic-net/sonic-mgmt/issues/11403"
conditions:
- "https://github.com/sonic-net/sonic-mgmt/issues/11403 and 'dualtor-64' in topo_name"
dualtor_io/test_link_failure.py::test_active_link_admin_down_config_reload_downstream[active-active]:
xfail:
reason: "Testcase ignored on mellanox setups due to github issue: https://github.com/sonic-net/sonic-buildimage/issues/16085"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/16085 and asic_type in ['mellanox']"
dualtor_io/test_link_failure.py::test_active_link_admin_down_config_reload_link_up_downstream_standby[active-active]:
xfail:
reason: "Testcase ignored on mellanox setups due to github issue: https://github.com/sonic-net/sonic-buildimage/issues/16161"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/16161 and asic_type in ['mellanox']"
dualtor_io/test_link_failure.py::test_active_link_down_downstream_active:
xfail:
reason: "Testcase ignored on Nvidia platforms due to github issue: https://github.com/sonic-net/sonic-mgmt/issues/8272"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8272
- "asic_type in ['mellanox']"
dualtor_io/test_link_failure.py::test_active_link_down_downstream_active_soc:
xfail:
reason: "Testcase ignored on Nvidia platforms due to github issue: https://github.com/sonic-net/sonic-mgmt/issues/8272"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8272
- "asic_type in ['mellanox']"
dualtor_io/test_link_failure.py::test_active_link_down_downstream_standby:
xfail:
reason: "Testcase ignored on Nvidia platforms due to github issue: https://github.com/sonic-net/sonic-mgmt/issues/8272"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8272
- "asic_type in ['mellanox']"
dualtor_io/test_normal_op.py::test_upper_tor_config_reload_upstream[active-active]:
xfail:
reason: "Testcase ignored on mellanox setups due to github issue: https://github.com/sonic-net/sonic-buildimage/issues/15964"
conditions:
- "https://github.com/sonic-net/sonic-buildimage/issues/15964 and asic_type in ['mellanox']"
#######################################
##### dut_console #####
#######################################
dut_console:
skip:
reason: "Not supported vs testbed."
conditions:
- "asic_type in ['vs']"
#######################################
##### ecmp #####
#######################################
ecmp/inner_hashing/test_inner_hashing.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2700a1-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"
ecmp/inner_hashing/test_inner_hashing_lag.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2700a1-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"
ecmp/inner_hashing/test_wr_inner_hashing.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2700a1-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"
ecmp/inner_hashing/test_wr_inner_hashing_lag.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2700a1-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"
ecmp/test_ecmp_sai_value.py:
skip:
reason: "Only support Broadcom T1/T0 topology with 20230531 image, 7050cx3 T1 doesn't enable this feature"
conditions_logical_operator: or
conditions:
- "topo_type not in ['t1', 't0']"
- "asic_type not in ['broadcom']"
- "release in ['201911', '202012', '202205', '202211', 'master']"
- "'internal' in build_version"
- "topo_type in ['t1'] and hwsku in ['Arista-7050CX3-32S-C32']"
xfail:
reason: "This feature is not supported in 202311 as the code was not merged into 202311"
conditions:
- "release in ['202311']"
- https://github.com/sonic-net/sonic-mgmt/issues/11310
ecmp/test_fgnhg.py:
skip:
conditions_logical_operator: or
reason: "The test case only runs on Mellanox T0 platform running 202012 or above; Mellanox 2700 platform is skipped; Skip on issue 7755"
conditions:
- "branch in ['201811', '201911']"
- "platform in ['x86_64-mlnx_msn2700-r0', 'x86_64-mlnx_msn2700a1-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "https://github.com/sonic-net/sonic-mgmt/issues/7755"
- "https://github.com/sonic-net/sonic-mgmt/issues/6558 and 'msn2' in platform"
#######################################
##### everflow #####
#######################################
everflow/test_everflow_per_interface.py:
skip:
reason: "Skip running on dualtor testbed/unsupported platforms or
multi-asic due to https://github.com/sonic-net/sonic-buildimage/issues/11776"
conditions_logical_operator: or
conditions:
- "'dualtor' in topo_name"
- "platform in ['x86_64-8800_lc_48h_o-r0', 'x86_64-8800_lc_48h-r0']"
- "(is_multi_asic==True) and https://github.com/sonic-net/sonic-buildimage/issues/11776"
everflow/test_everflow_per_interface.py::test_everflow_per_interface[ipv6-default]:
skip:
reason: "Skip everflow per interface IPv6 test on unsupported platforms"
conditions:
- "asic_type in ['cisco-8000', 'marvell', 'mellanox'] or (asic_subtype in ['broadcom-dnx'] and https://github.com/sonic-net/sonic-swss/issues/2204)"
everflow/test_everflow_per_interface.py::test_everflow_per_interface[ipv6-m0_l3_scenario]:
skip:
reason: "Skip m0 everflow per interface IPv6 test on marvell"
conditions:
- "asic_type in ['marvell']"
everflow/test_everflow_per_interface.py::test_everflow_per_interface[ipv6-m0_vlan_scenario]:
skip:
reason: "Skip m0 everflow per interface IPv6 test on marvell"
conditions:
- "asic_type in ['marvell']"
everflow/test_everflow_testbed.py::EverflowIPv4Tests::test_everflow_dscp_with_policer:
skip:
reason: "Test not supported on Mellanox platforms"
conditions:
- "asic_type in ['mellanox']"
everflow/test_everflow_testbed.py::TestEverflowV4EgressAclEgressMirror:
skip:
reason: "Due to HW resource limitation, need to skip the test on the Mellanox t0-120 setup"
conditions:
- "'t0-120' in topo_name and asic_type in ['mellanox']"
everflow/test_everflow_testbed.py::TestEverflowV4EgressAclEgressMirror::test_everflow_dscp_with_policer:
skip:
reason: "Skipping test since mirror with policer is not supported on Broadcom DNX platforms."
conditions:
- "asic_subtype in ['broadcom-dnx']"
everflow/test_everflow_testbed.py::TestEverflowV4IngressAclIngressMirror::test_everflow_dscp_with_policer:
xfail:
strict: True
reason: "Skipping test since mirror with policer is not supported on Cisco 8000 platforms."
conditions:
- "asic_type=='cisco-8000'"
skip:
reason: "Skipping test since mirror with policer is not supported on Broadcom DNX platforms."
conditions:
- "asic_subtype in ['broadcom-dnx']"
#######################################
##### fdb #####
#######################################
fdb/test_fdb_mac_expire.py:
skip:
reason: "Not supported on this DUT topology."
conditions:
- "topo_type not in ['t0', 'm0', 'mx']"
#######################################
##### fib #####
#######################################
fib/test_fib.py::test_ipinip_hash:
skip:
reason: 'ipinip hash test is not fully supported on mellanox platform (case#00581265)'
conditions:
- "asic_type in ['mellanox']"
#######################################
##### generic_config_updater #####
#######################################
generic_config_updater:
skip:
reason: 'generic_config_updater is not a supported feature for T2'
conditions:
- "'t2' in topo_name"
generic_config_updater/test_dhcp_relay.py:
skip:
reason: "Need to skip for platform x86_64-8111_32eh_o-r0 or backend topology"
conditions_logical_operator: "OR"
conditions:
- "platform in ['x86_64-8111_32eh_o-r0']"
- "'backend' in topo_name"
generic_config_updater/test_ecn_config_update.py::test_ecn_config_updates:
skip:
reason: "This test is not run on this asic type, topology, or version currently"
conditions_logical_operator: "OR"
conditions:
- "asic_type in ['cisco-8000']"
- "topo_type in ['m0', 'mx']"
- "release in ['202211']"
generic_config_updater/test_eth_interface.py::test_replace_fec:
skip:
reason: 'Skipping test on 7260/3800 platform due to bug of https://github.com/sonic-net/sonic-mgmt/issues/11237'
conditions:
- "hwsku in ['Arista-7260CX3-D108C8', 'Arista-7260CX3-Q64', 'Mellanox-SN3800-D112C8']"
- https://github.com/sonic-net/sonic-mgmt/issues/11237
generic_config_updater/test_eth_interface.py::test_toggle_pfc_asym:
skip:
reason: "Skip asym pfc on unsupported platforms"
conditions:
- "asic_type in ['cisco-8000']"
generic_config_updater/test_eth_interface.py::test_update_speed:
skip:
reason: 'Skip this script due to this not being a production scenario and misleading StateDB output for valid speed'
conditions_logical_operator: "OR"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/8143
- https://github.com/sonic-net/sonic-buildimage/issues/13267
generic_config_updater/test_eth_interface.py::test_update_valid_invalid_index[33-True]:
skip:
reason: 'Skipping test on mellanox platform due to bug of https://github.com/sonic-net/sonic-mgmt/issues/7733'
conditions:
- "asic_type in ['mellanox']"
- https://github.com/sonic-net/sonic-mgmt/issues/7733
generic_config_updater/test_incremental_qos.py::test_incremental_qos_config_updates:
skip:
reason: "This test is not run on this hwsku/asic type or version currently"
conditions:
- "not any(i in hwsku for i in ['2700', 'Arista-7170-64C', 'montara', 'newport'])"
- "asic_type in ['broadcom', 'cisco-8000']"
- "release in ['202211']"
generic_config_updater/test_mmu_dynamic_threshold_config_update.py::test_dynamic_th_config_updates:
skip:
reason: "This test is not run on this asic type or version currently"
conditions:
- "asic_type in ['broadcom', 'cisco-8000']"
- "release in ['202211']"
generic_config_updater/test_pfcwd_status.py:
skip:
reason: "This test is not run on this topo type or version currently"
conditions_logical_operator: "OR"
conditions:
- "topo_type in ['m0', 'mx']"
- "release in ['202211']"
generic_config_updater/test_pg_headroom_update.py:
skip:
reason: "Unsupported topology."
conditions:
- "topo_type in ['m0', 'mx']"
#######################################
##### http #####
#######################################
http/test_http_copy.py:
skip:
reason: "Test doesn't clean up the files in /tmp, it will cause the subsequent cases in /tmp fail, skipping until the issue is addressed"
#######################################
##### iface_loopback_action #####
#######################################
iface_loopback_action/test_iface_loopback_action.py:
skip:
reason: "Test only supported on Mellanox SKUs, didn't supported on dualtor topology."
conditions_logical_operator: or
conditions:
- "'dualtor' in topo_name"
- "asic_type not in ['mellanox']"
#######################################
##### iface_namingmode #####
#######################################
iface_namingmode/test_iface_namingmode.py::TestConfigInterface:
skip:
reason: "x86_64-8111_32eh_o-r0 platform does not support TestConfigInterface"
conditions:
- "platform in ['x86_64-8111_32eh_o-r0']"
iface_namingmode/test_iface_namingmode.py::TestShowPriorityGroup:
xfail:
reason: "Platform specific issue"
strict: True
conditions:
- "platform in ['x86_64-cel_e1031-r0']"
skip:
reason: "M0/MX topo does not support TestShowPriorityGroup"
conditions:
- "topo_type in ['m0', 'mx']"
iface_namingmode/test_iface_namingmode.py::TestShowQueue:
skip:
reason: "M0/MX topo does not support TestShowQueue"
conditions:
- "topo_type in ['m0', 'mx']"
iface_namingmode/test_iface_namingmode.py::TestShowQueue::test_show_queue_persistent_watermark:
xfail:
reason: "Platform specific issue"
strict: True
conditions:
- "platform in ['x86_64-cel_e1031-r0']"
iface_namingmode/test_iface_namingmode.py::TestShowQueue::test_show_queue_watermark:
xfail:
reason: "Platform specific issue"
strict: True
conditions:
- "platform in ['x86_64-cel_e1031-r0']"
#######################################
##### ip #####
#######################################
ip/test_ip_packet.py:
skip:
reason: "Skipping ip packet test since can't provide enough interfaces"
conditions:
- "len(minigraph_interfaces) < 2 and len(minigraph_portchannels) < 2"
ip/test_ip_packet.py::TestIPPacket::test_forward_ip_packet_with_0xffff_chksum_drop:
skip:
reason: "Broadcom, Cisco, Barefoot, Innovium and Marvell Asic will tolorate IP packets with 0xffff checksum"
conditions:
- "asic_type in ['broadcom', 'cisco-8000', 'marvell', 'barefoot', 'innovium'] and asic_subtype not in ['broadcom-dnx']"
ip/test_ip_packet.py::TestIPPacket::test_forward_ip_packet_with_0xffff_chksum_tolerant:
skip:
reason: "Mellanox and Broadcom DNX Asic will drop IP packets with 0xffff checksum"
conditions:
- "asic_type in ['mellanox'] or asic_subtype in ['broadcom-dnx']"
ip/test_mgmt_ipv6_only.py:
skip:
reason: "Skipping mgmt ipv6 test for mgmt topo"
conditions:
- "topo_type in ['m0', 'mx']"
#######################################
##### ipfwd #####
#######################################
ipfwd/test_dip_sip.py:
skip:
reason: "Unsupported topology."
conditions:
- "topo_type not in ['t0', 't1', 't2', 'm0', 'mx']"
ipfwd/test_dir_bcast.py:
skip:
reason: "Unsupported topology."
conditions:
- "topo_type not in ['t0', 'm0', 'mx'] or 'dualtor' in topo_name or 't0-backend' in topo_name"
ipfwd/test_mtu.py:
skip:
reason: "Unsupported topology."
conditions:
- "topo_type not in ['t1', 't2']"
#######################################
####### link_flap #####
#######################################
link_flap/test_cont_link_flap.py:
xfail:
reason: "system could be not reaching stable status while BGP converged"
conditions:
- https://github.com/sonic-net/sonic-mgmt/issues/10955
#######################################
##### macsec #####
#######################################
macsec/test_dataplane.py::TestDataPlane::test_server_to_neighbor:
skip:
reason: 'test_server_to_neighbor needs downstream neighbors, which is not present in this topo'
conditions:
- "'t2' in topo_name"
macsec/test_interop_protocol.py::TestInteropProtocol::test_bgp:
skip:
reason: 'test_bgp skip in Brcm based T2, complete portchannel SAI fix planned for 8.1'
conditions:
- "asic_subtype in ['broadcom-dnx']"
macsec/test_macsec.py:
skip:
reason: "This test can only run on 7280 CR3"
conditions:
- "platform not in ['x86_64-arista_7280cr3mk_32d4', 'x86_64-kvm_x86_64-r0']"
#######################################
##### mpls #####
#######################################
mpls/test_mpls.py:
skip:
reason: "MPLS TCs are not supported on Barefoot plarforms"
conditions:
- "asic_type in ['barefoot']"
#######################################
##### mvrf #####
#######################################
mvrf:
skip:
reason: "M0/MX topo does not support mvrf"
conditions:
- "topo_type in ['m0', 'mx']"
#######################################
##### nat #####
#######################################
nat:
skip:
reason: "Nat feature is not enabled with image version"
conditions:
- "'nat' not in feature_status"
#######################################
##### ntp #####
#######################################
ntp/test_ntp.py::test_ntp_long_jump_disabled:
# Due to NTP code bug, long jump will still happen after disable it.
# Set xfail flag for this test case
xfail:
strict: True
reason: "Known NTP bug"
#######################################
##### pc #####
#######################################
pc/test_lag_2.py::test_lag_db_status_with_po_update:
skip:
reason: "Only support t1-lag, t1-56-lag, t1-64-lag and t2 topology"
conditions:
- "topo_name not in ['t1-lag', 't1-56-lag', 't1-64-lag'] and 't2' not in topo_name"
pc/test_lag_member.py:
skip:
reason: "Not support dualtor or t0 backend topo"
conditions:
- "'dualtor' in topo_name or 't0-backend' in topo_name"
pc/test_po_cleanup.py:
skip:
reason: "Skip test due to there is no portchannel exists in current topology."
conditions:
- "len(minigraph_portchannels) == 0 and not is_multi_asic"
pc/test_po_update.py::test_po_update:
skip:
reason: "Skip test due to there is no portchannel or no portchannel member exists in current topology."
conditions:
- "len(minigraph_portchannels) == 0 or len(minigraph_portchannels[list(minigraph_portchannels.keys())[0]]['members']) == 0"
pc/test_po_update.py::test_po_update_io_no_loss:
skip:
reason: "Skip test due to there isn't enough port channel exists in current topology."
conditions:
- "len(minigraph_portchannel_interfaces) < 2"
pc/test_po_voq.py:
skip:
reason: "Skip for non t2 or Skip since there is no portchannel configured or no portchannel member exists in current topology."
conditions:
- "'t2' not in topo_name or num_asic == 0 or len(minigraph_portchannels[list(minigraph_portchannels.keys())[0]]['members']) == 0 or asic_type in ['cisco-8000']"
#######################################
##### pfc #####
#######################################
pfc/test_unknown_mac.py:
skip:
reason: In cisco-8000 platform, a packet with unknown MAC will be flooded, not dropped. This case will not pass in cisco-8000.
conditions:
- "asic_type in ['cisco-8000']"
#######################################
##### pfc_asym #####
#######################################
pfc_asym/test_pfc_asym.py:
skip:
reason: 'pfc_asym test skip except for on Barefoot platforms'
conditions:
- "asic_type not in ['barefoot']"
pfc_asym/test_pfc_asym.py::test_pfc_asym_off_rx_pause_frames:
skip:
reason: "skipped for Barefoot platform"
conditions:
- "asic_type in ['barefoot']"
#######################################
##### pfcwd #####
#######################################
pfcwd:
skip:
reason: "Pfcwd tests skipped on m0/mx testbed."
conditions:
- "topo_type in ['m0', 'mx']"
pfcwd/test_pfc_config.py::TestPfcConfig::test_forward_action_cfg:
skip:
reason: "Forward action not supported in cisco-8000"
conditions:
- "asic_type in ['cisco-8000']"
pfcwd/test_pfcwd_warm_reboot.py:
skip:
reason: "Warm Reboot is not supported in T2."
conditions:
- "'t2' in topo_name"
xfail:
reason: "Warm Reboot is not supported in dualtor and has a known issue on 202305 branch"
conditions:
- "'dualtor' in topo_name"
- https://github.com/sonic-net/sonic-mgmt/issues/8400
#######################################
##### platform_tests #####
#######################################
platform_tests/api/test_psu.py::test_temperature:
skip:
reason: "Test not supported on Mellanox Platforms."
conditions:
- "asic_type in ['mellanox']"
platform_tests/api/test_sfp.py::TestSfpApi::test_reset:
skip:
reason: "platform does not support sfp reset"
conditions:
- "platform in ['x86_64-cel_e1031-r0']"
platform_tests/api/test_sfp.py::TestSfpApi::test_tx_disable_channel:
skip:
reason: "platform does not support"
conditions:
- "platform in ['x86_64-cel_e1031-r0']"
platform_tests/cli/test_show_platform.py::test_show_platform_psustatus:
skip:
reason: "Test should be skipped on DPU for it doesn't have PSUs."
conditions: "'nvda_bf' in platform"
platform_tests/cli/test_show_platform.py::test_show_platform_psustatus_json:
skip:
reason: "Test should be skipped on DPU for it doesn't have PSUs."
conditions: "'nvda_bf' in platform"
platform_tests/daemon/test_chassisd.py:
skip:
reason: "chassisd platform daemon introduced in 202106"
conditions:
- "release in ['201811', '201911', '202012']"