Skip to content

Commit 93323e8

Browse files
authored
[dvs] Mark DPB tests as xfail (sonic-net#1420)
There is a known regression in the VS docker image that is impacting the DPB tests (buildimage#5263). While this is being fixed, we will xfail this set of tests so that 1) the PRs are not blocked and 2) so we can continue to run the tests and verify that the fix is complete. Signed-off-by: Danny Allen <[email protected]>
1 parent 431fed2 commit 93323e8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/test_port_dpb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
maxBreakOut = 4
1919

2020
@pytest.mark.usefixtures('dpb_setup_fixture')
21+
@pytest.mark.xfail(reason="sonic cfggen bug: buildimage#5263")
2122
class TestPortDPB(object):
2223

2324
'''

tests/test_port_dpb_acl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
@pytest.mark.usefixtures('dpb_setup_fixture')
12+
@pytest.mark.xfail(reason="sonic cfggen bug: buildimage#5263")
1213
class TestPortDPBAcl(object):
1314
def test_acl_table_empty_port_list(self, dvs_acl):
1415
# Create ACL table "test" and bind it to Ethernet0

tests/test_port_dpb_vlan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
@pytest.mark.usefixtures('dpb_setup_fixture')
77
@pytest.mark.usefixtures('dvs_vlan_manager')
8+
@pytest.mark.xfail(reason="sonic cfggen bug: buildimage#5263")
89
class TestPortDPBVlan(object):
910
def check_syslog(self, dvs, marker, log, expected_cnt):
1011
(exitcode, num) = dvs.runcmd(['sh', '-c', "awk \'/%s/,ENDFILE {print;}\' /var/log/syslog | grep \"%s\" | wc -l" % (marker, log)])

0 commit comments

Comments
 (0)