Skip to content

Commit 7b27707

Browse files
to be skipped
1 parent 3e39104 commit 7b27707

15 files changed

+64
-3
lines changed

tests/test_bfd.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def clear_tsa(self):
5959
state = {"tsa_enabled": "false"}
6060
self.update_bgp_global_dev_state(state)
6161

62-
62+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
6363
def test_addRemoveBfdSession(self, dvs):
6464
self.setup_db(dvs)
6565

@@ -101,6 +101,7 @@ def test_addRemoveBfdSession(self, dvs):
101101
self.remove_bfd_session("default:default:10.0.0.2")
102102
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
103103

104+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
104105
def test_addRemoveBfdSession_ipv6(self, dvs):
105106
self.setup_db(dvs)
106107

@@ -142,6 +143,7 @@ def test_addRemoveBfdSession_ipv6(self, dvs):
142143
self.remove_bfd_session("default:default:2000::2")
143144
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
144145

146+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
145147
def test_addRemoveBfdSession_interface(self, dvs):
146148
self.setup_db(dvs)
147149

@@ -185,6 +187,7 @@ def test_addRemoveBfdSession_interface(self, dvs):
185187
self.remove_bfd_session("default:Ethernet0:10.0.0.2")
186188
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
187189

190+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
188191
def test_addRemoveBfdSession_txrx_interval(self, dvs):
189192
self.setup_db(dvs)
190193

@@ -228,6 +231,7 @@ def test_addRemoveBfdSession_txrx_interval(self, dvs):
228231
self.remove_bfd_session("default:default:10.0.0.2")
229232
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
230233

234+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
231235
def test_addRemoveBfdSession_multiplier(self, dvs):
232236
self.setup_db(dvs)
233237

@@ -270,6 +274,7 @@ def test_addRemoveBfdSession_multiplier(self, dvs):
270274
self.remove_bfd_session("default:default:10.0.0.2")
271275
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
272276

277+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
273278
def test_addRemoveBfdSession_multihop(self, dvs):
274279
self.setup_db(dvs)
275280

@@ -312,6 +317,7 @@ def test_addRemoveBfdSession_multihop(self, dvs):
312317
self.remove_bfd_session("default:default:10.0.0.2")
313318
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
314319

320+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
315321
def test_addRemoveBfdSession_type(self, dvs):
316322
self.setup_db(dvs)
317323

@@ -353,6 +359,7 @@ def test_addRemoveBfdSession_type(self, dvs):
353359
self.remove_bfd_session("default:default:10.0.0.2")
354360
self.adb.wait_for_deleted_entry("ASIC_STATE:SAI_OBJECT_TYPE_BFD_SESSION", session)
355361

362+
@pytest.mark.skip(reason="Flaky upstream test breaks CICD presubmit")
356363
def test_multipleBfdSessions(self, dvs):
357364
self.setup_db(dvs)
358365

tests/test_drop_counters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ def getPortOid(self, dvs, port_name):
666666
assert status == True
667667
return returned_value
668668

669+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
669670
def test_add_remove_port(self, dvs, testlog):
670671
"""
671672
This test verifies that debug counters are removed when we remove a port

tests/test_gearbox.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class TestGearbox(object):
158158
def test_GearboxSanity(self, gearbox, testlog):
159159
gearbox.SanityCheck(testlog)
160160

161+
@pytest.mark.skip(reason="Skip test due to GENETLINK hostif")
161162
def test_GearboxCounter(self, dvs, gbasic, enable_port_counter, testlog):
162163
counters_db = DVSDatabase(swsscommon.COUNTERS_DB, dvs.redis_sock)
163164
gb_counters_db = DVSDatabase(swsscommon.GB_COUNTERS_DB, dvs.redis_sock)
@@ -178,6 +179,7 @@ def test_GearboxCounter(self, dvs, gbasic, enable_port_counter, testlog):
178179
fvs = counters_db.wait_for_entry("COUNTERS", port_oid)
179180
assert fvs.get("SAI_PORT_STAT_IF_IN_ERRORS")
180181

182+
@pytest.mark.skip(reason="Skip test due to GENETLINK hostif")
181183
def test_GbAsicFEC(self, gbasic, testlog):
182184

183185
# set fec rs on port 0 of phy 1

tests/test_macsec.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ def deinit_macsec(
628628
macsec_port_identifier))
629629
wpa.deinit_macsec_port(port_name)
630630

631+
@pytest.mark.skip(reason="Disable since we remove macsecmgrd and macsecorch.")
631632
def test_macsec_term_orch(self, dvs: conftest.DockerVirtualSwitch, testlog):
632633
port_name = "Ethernet0"
633634
local_mac_address = "00-15-5D-78-FF-C1"
@@ -768,6 +769,7 @@ def test_macsec_term_orch(self, dvs: conftest.DockerVirtualSwitch, testlog):
768769
1)
769770
assert(not inspector.get_macsec_port(macsec_port))
770771

772+
@pytest.mark.skip(reason="Disable since we remove macsecmgrd and macsecorch.")
771773
def test_macsec_attribute_change(self, dvs: conftest.DockerVirtualSwitch, testlog):
772774
port_name = "Ethernet0"
773775
local_mac_address = "00-15-5D-78-FF-C1"
@@ -816,6 +818,7 @@ def test_macsec_attribute_change(self, dvs: conftest.DockerVirtualSwitch, testlo
816818
macsec_port_identifier,
817819
0)
818820

821+
@pytest.mark.skip(reason="Disable since we remove macsecmgrd and macsecorch.")
819822
def test_macsec_with_portchannel(self, dvs: conftest.DockerVirtualSwitch, testlog):
820823

821824
# Set MACsec enabled on Ethernet0

tests/test_mirror.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def remove_fdb(self, vlan, mac):
264264
tbl._del("Vlan" + vlan + ":" + mac)
265265
time.sleep(1)
266266

267+
@pytest.mark.skipif(StrictVersion(distro.linux_distribution()[1]) <= StrictVersion('8.9'), reason="Debian 8.9 or before has no support")
267268
def _test_MirrorToVlanAddRemove(self, dvs, testlog, v6_encap=False):
268269
"""
269270
This test covers basic mirror session creation and removal operation

tests/test_nat.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def clear_interfaces(self, dvs):
4040

4141
time.sleep(1)
4242

43+
@pytest.mark.skip(reason="Disable since we remove natorch.")
4344
def test_NatGlobalTable(self, dvs, testlog):
4445
# initialize
4546
self.setup_db(dvs)
@@ -57,6 +58,7 @@ def test_NatGlobalTable(self, dvs, testlog):
5758

5859
assert fvs == {"admin_mode": "enabled", "nat_timeout": "450", "nat_udp_timeout": "360", "nat_tcp_timeout": "900"}
5960

61+
@pytest.mark.skip(reason="Disable since we remove natorch.")
6062
def test_NatInterfaceZone(self, dvs, testlog):
6163
# initialize
6264
self.setup_db(dvs)
@@ -71,6 +73,7 @@ def test_NatInterfaceZone(self, dvs, testlog):
7173
break
7274
assert zone
7375

76+
@pytest.mark.skip(reason="Disable since we remove natorch.")
7477
def test_AddNatStaticEntry(self, dvs, testlog):
7578
# initialize
7679
self.setup_db(dvs)
@@ -107,6 +110,7 @@ def test_AddNatStaticEntry(self, dvs, testlog):
107110
else:
108111
assert False
109112

113+
@pytest.mark.skip(reason="Disable since we remove natorch.")
110114
def test_DelNatStaticEntry(self, dvs, testlog):
111115
# initialize
112116
self.setup_db(dvs)
@@ -123,6 +127,7 @@ def test_DelNatStaticEntry(self, dvs, testlog):
123127
#check the entry is not there in asic db
124128
self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_NAT_ENTRY", 0)
125129

130+
@pytest.mark.skip(reason="Disable since we remove natorch.")
126131
def test_AddNaPtStaticEntry(self, dvs, testlog):
127132
# initialize
128133
self.setup_db(dvs)
@@ -157,6 +162,7 @@ def test_AddNaPtStaticEntry(self, dvs, testlog):
157162
else:
158163
assert False
159164

165+
@pytest.mark.skip(reason="Disable since we remove natorch.")
160166
def test_DelNaPtStaticEntry(self, dvs, testlog):
161167
# initialize
162168
self.setup_db(dvs)
@@ -212,6 +218,7 @@ def test_AddTwiceNatEntry(self, dvs, testlog):
212218
else:
213219
assert False
214220

221+
@pytest.mark.skip(reason="Disable since we remove natorch.")
215222
def test_DelTwiceNatStaticEntry(self, dvs, testlog):
216223
# initialize
217224
self.setup_db(dvs)
@@ -229,6 +236,7 @@ def test_DelTwiceNatStaticEntry(self, dvs, testlog):
229236
#check the entry is not there in asic db
230237
self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_NAT_ENTRY", 0)
231238

239+
@pytest.mark.skip(reason="Disable since we remove natorch.")
232240
def test_AddTwiceNaPtEntry(self, dvs, testlog):
233241
# initialize
234242
self.setup_db(dvs)
@@ -269,6 +277,7 @@ def test_AddTwiceNaPtEntry(self, dvs, testlog):
269277
else:
270278
assert False
271279

280+
@pytest.mark.skip(reason="Disable since we remove natorch.")
272281
def test_DelTwiceNaPtStaticEntry(self, dvs, testlog):
273282
# initialize
274283
self.setup_db(dvs)
@@ -286,6 +295,7 @@ def test_DelTwiceNaPtStaticEntry(self, dvs, testlog):
286295
#check the entry is not there in asic db
287296
self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_NAT_ENTRY", 0)
288297

298+
@pytest.mark.skip(reason="Disable since we remove natorch.")
289299
def test_VerifyConntrackTimeoutForNatEntry(self, dvs, testlog):
290300
# get neighbor and arp entry
291301
dvs.servers[0].runcmd("ping -c 1 18.18.18.2")
@@ -320,6 +330,7 @@ def _check_conntrack_for_static_entry():
320330
# delete a static nat entry
321331
dvs.del_nat_basic_entry("67.66.65.1")
322332

333+
@pytest.mark.skip(reason="Disable since we remove natorch.")
323334
def test_DoNotNatAclAction(self, dvs_acl, testlog):
324335

325336
# Creating the ACL Table
@@ -349,6 +360,7 @@ def test_DoNotNatAclAction(self, dvs_acl, testlog):
349360
dvs_acl.remove_acl_table(L3_TABLE_NAME)
350361
dvs_acl.verify_acl_table_count(0)
351362

363+
@pytest.mark.skip(reason="Disable since we remove natorch.")
352364
def test_CrmSnatAndDnatEntryUsedCount(self, dvs, testlog):
353365
# initialize
354366
self.setup_db(dvs)

tests/test_pbh.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def dvs_api(request, dvs_pbh, dvs_acl):
4545

4646
@pytest.mark.usefixtures("dvs_lag_manager")
4747
class TestPbhInterfaceBinding:
48+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
4849
def test_PbhTablePortBinding(self, testlog):
4950
try:
5051
port_list = ["Ethernet0", "Ethernet4"]
@@ -68,6 +69,7 @@ def test_PbhTablePortBinding(self, testlog):
6869
self.dvs_pbh.remove_pbh_table(PBH_TABLE_NAME)
6970
self.dvs_acl.verify_acl_table_count(0)
7071

72+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
7173
def test_PbhTablePortChannelBinding(self, testlog):
7274
try:
7375
# PortChannel0001
@@ -132,6 +134,7 @@ def test_PbhTablePortChannelBinding(self, testlog):
132134

133135
@pytest.mark.usefixtures("dvs_hash_manager")
134136
class TestPbhBasicFlows:
137+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
135138
def test_PbhHashFieldCreationDeletion(self, testlog):
136139
try:
137140
pbhlogger.info("Create PBH hash field: {}".format(PBH_HASH_FIELD_NAME))
@@ -146,6 +149,7 @@ def test_PbhHashFieldCreationDeletion(self, testlog):
146149
self.dvs_pbh.remove_pbh_hash_field(PBH_HASH_FIELD_NAME)
147150
self.dvs_pbh.verify_pbh_hash_field_count(0)
148151

152+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
149153
def test_PbhHashCreationDeletion(self, testlog):
150154
try:
151155
# PBH hash field
@@ -175,6 +179,7 @@ def test_PbhHashCreationDeletion(self, testlog):
175179
self.dvs_pbh.remove_pbh_hash_field(PBH_HASH_FIELD_NAME)
176180
self.dvs_pbh.verify_pbh_hash_field_count(0)
177181

182+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
178183
def test_PbhTableCreationDeletion(self, testlog):
179184
try:
180185
pbhlogger.info("Create PBH table: {}".format(PBH_TABLE_NAME))
@@ -189,6 +194,7 @@ def test_PbhTableCreationDeletion(self, testlog):
189194
self.dvs_pbh.remove_pbh_table(PBH_TABLE_NAME)
190195
self.dvs_acl.verify_acl_table_count(0)
191196

197+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
192198
def test_PbhRuleCreationDeletion(self, testlog):
193199
try:
194200
# PBH hash field
@@ -259,6 +265,7 @@ def test_PbhRuleCreationDeletion(self, testlog):
259265
@pytest.mark.usefixtures("dvs_hash_manager")
260266
@pytest.mark.xfail(reason="Failing after Bookworm/libnl 3.7.0 upgrade")
261267
class TestPbhBasicEditFlows:
268+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
262269
def test_PbhRuleUpdate(self, testlog):
263270
try:
264271
# PBH hash field
@@ -362,7 +369,7 @@ def test_PbhRuleUpdate(self, testlog):
362369
self.dvs_pbh.remove_pbh_hash_field(PBH_HASH_FIELD_NAME)
363370
self.dvs_pbh.verify_pbh_hash_field_count(0)
364371

365-
372+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
366373
def test_PbhRuleUpdateFlowCounter(self, dvs, testlog):
367374
try:
368375
# PBH hash field
@@ -909,12 +916,14 @@ def pbh_vxlan(
909916
finally:
910917
self.remove_rule(meta_dict, pbh_ref_count)
911918

919+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
912920
def test_PbhNvgreVxlanConfiguration(self, testlog, pbh_nvgre, pbh_vxlan):
913921
pass
914922

915923

916924
@pytest.mark.usefixtures("dvs_hash_manager")
917925
class TestPbhDependencyFlows:
926+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
918927
def test_PbhHashCreationDeletionWithDependencies(self, testlog):
919928
try:
920929
# PBH hash
@@ -946,6 +955,7 @@ def test_PbhHashCreationDeletionWithDependencies(self, testlog):
946955
self.dvs_hash.verify_hash_count(0)
947956
self.dvs_pbh.verify_pbh_hash_field_count(0)
948957

958+
@pytest.mark.skipif("PBH_SUPPORT" not in os.environ, reason="Disable since we remove pbhorch.")
949959
def test_PbhRuleCreationDeletionWithDependencies(self, testlog):
950960
try:
951961
# PBH hash

tests/test_port.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def test_PortIpredriver(self, dvs, testlog):
278278
if fv[0] == "SAI_PORT_ATTR_SERDES_IPREDRIVER":
279279
assert fv[1] == ipre_val_asic
280280

281+
@pytest.mark.skip(reason="GENETLINK hostif does not set default TX queue")
281282
def test_PortHostif(self, dvs):
282283
adb = swsscommon.DBConnector(1, dvs.redis_sock, 0)
283284
atbl = swsscommon.Table(adb, "ASIC_STATE:SAI_OBJECT_TYPE_HOSTIF")

tests/test_port_add_remove.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def dynamic_buffer(dvs):
2424

2525
@pytest.mark.usefixtures('dvs_port_manager')
2626
@pytest.mark.usefixtures("dynamic_buffer")
27+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
2728
class TestPortAddRemove(object):
2829

2930
def set_mmu(self,dvs):
@@ -254,6 +255,8 @@ def test_add_remove_all_the_ports(self, dvs, testlog, scenario):
254255

255256
@pytest.mark.usefixtures("dynamic_buffer")
256257
@pytest.mark.usefixtures("dvs_port_manager")
258+
259+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
257260
class TestPortAddRemoveDup(object):
258261
def test_add_remove_with_dup_lanes(self, testlog, dvs):
259262
config_db = dvs.get_config_db()
@@ -329,6 +332,7 @@ def test_add_remove_with_dup_lanes(self, testlog, dvs):
329332

330333

331334
@pytest.mark.usefixtures("dvs_port_manager")
335+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
332336
class TestPortAddRemoveInvalidMandatoryParam(object):
333337
@pytest.mark.parametrize(
334338
"port,lanes,speed", [
@@ -356,6 +360,7 @@ def test_add_remove_neg(self, testlog, port, lanes, speed):
356360

357361

358362
@pytest.mark.usefixtures("dvs_port_manager")
363+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
359364
class TestPortAddRemoveInvalidSerdesParam(object):
360365
@pytest.fixture(scope="class")
361366
def port_attr(self):
@@ -403,6 +408,7 @@ def test_add_remove_neg(self, testlog, port_attr, serdes):
403408

404409

405410
@pytest.mark.usefixtures("dvs_port_manager")
411+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
406412
class TestPortAddRemoveInvalidParam(object):
407413
def verify_add_remove(self, qualifiers):
408414
port = "Ethernet1000"

tests/test_port_dpb_lag.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def remove_port_channel_member(self, dvs, channel, interface):
3333
tbl._del("PortChannel" + channel + ":" + interface)
3434
time.sleep(1)
3535

36+
@pytest.mark.skip(reason="Standalone port deletion is not yet supported in pins")
3637
def test_dependency(self, dvs):
3738
dvs.setup_db()
3839
lag = "0001"

0 commit comments

Comments
 (0)