Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VS] All subport tests are consistently failing #2365

Open
prsunny opened this issue Jul 1, 2022 · 7 comments
Open

[VS] All subport tests are consistently failing #2365

prsunny opened this issue Jul 1, 2022 · 7 comments
Assignees

Comments

@prsunny
Copy link
Collaborator

prsunny commented Jul 1, 2022

All recent PRs have subport tests consistently failing

test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_creation FAILED [ 82%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_add_ip_addrs FAILED [ 82%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_appl_db_proc_seq FAILED [ 82%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_admin_status_change FAILED [ 82%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_remove_ip_addrs FAILED [ 83%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_removal FAILED [ 83%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_mtu FAILED    [ 83%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_nhg_accel FAILED [ 83%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_oper_down_with_pending_neigh_route_tasks FAILED [ 83%]

    def get_default_vrf_oid(self):
        oids = self.get_oids(ASIC_VIRTUAL_ROUTER_TABLE)
>       assert len(oids) == 1, "Wrong # of default vrfs: %d, expected #: 1." % (len(oids))
E       AssertionError: Wrong # of default vrfs: 2, expected #: 1.
E       assert 2 == 1
E         -2
E         +1

More logs at - https://dev.azure.com/mssonic/build/_build/results?buildId=116747&view=logs&j=3f6395b2-1619-5ebe-f305-2aedcf353cb5&t=f9db2383-9349-50ba-61c3-4bde15cec59e

An urgent fix is required to unblock the PRs.

@prsunny
Copy link
Collaborator Author

prsunny commented Jul 1, 2022

@prabhataravind looking into this issue

@prsunny
Copy link
Collaborator Author

prsunny commented Jul 1, 2022

@liuh-80 for viz

@prsunny
Copy link
Collaborator Author

prsunny commented Jul 5, 2022

Update: Tests started failing from 6/24

@prabhataravind
Copy link
Contributor

Manual script run passed several times locally. Issue seems to be due to a lack of cleanup of vrfs from prior test cases. I'm working on identifying that.

~/sonic-swss/tests$ sudo pytest test_sub_port_intf.py
==================================================================== test session starts ====================================================================
platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/paravind/sonic-swss/tests
plugins: flaky-3.7.0
collected 10 items

test_sub_port_intf.py .......... [100%]

@prsunny
Copy link
Collaborator Author

prsunny commented Jul 7, 2022

@neethajohn for viz

@prsunny
Copy link
Collaborator Author

prsunny commented Jul 22, 2022

#2384 identifies the failing commit

@prsunny
Copy link
Collaborator Author

prsunny commented Aug 8, 2022

@liorghub is looking into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants