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 test stability] LAG TPID #1779

Closed
prsunny opened this issue Jun 10, 2021 · 2 comments · Fixed by #1767
Closed

[VS test stability] LAG TPID #1779

prsunny opened this issue Jun 10, 2021 · 2 comments · Fixed by #1767
Assignees

Comments

@prsunny
Copy link
Collaborator

prsunny commented Jun 10, 2021

LAG TPID test is unstable, please fix stability

test_portchannel.py::TestPortchannel::test_Portchannel_tpid FAILED

2021-06-10T18:41:49.9930068Z         # Check ASIC DB
2021-06-10T18:41:49.9930546Z         # get TPID and validate it to be 0x9200 (37376)
2021-06-10T18:41:49.9934136Z         atbl = swsscommon.Table(adb, "ASIC_STATE:SAI_OBJECT_TYPE_LAG")
2021-06-10T18:41:49.9935071Z         lag = atbl.getKeys()[0]
2021-06-10T18:41:49.9935511Z         (status, fvs) = atbl.get(lag)
2021-06-10T18:41:49.9935991Z         assert status == True
2021-06-10T18:41:49.9936557Z         asic_tpid = "0"
2021-06-10T18:41:49.9936907Z     
2021-06-10T18:41:49.9937295Z         for fv in fvs:
2021-06-10T18:41:49.9937744Z             if fv[0] == "SAI_LAG_ATTR_TPID":
2021-06-10T18:41:49.9938527Z                 asic_tpid = fv[1]
2021-06-10T18:41:49.9938872Z     
2021-06-10T18:41:49.9939226Z >       assert asic_tpid == "37376"
2021-06-10T18:41:49.9940348Z E       AssertionError: assert '0' == '37376'
2021-06-10T18:41:49.9941103Z E         - 0
2021-06-10T18:41:49.9941520Z E         + 37376
@wendani
Copy link
Contributor

wendani commented Jun 11, 2021

Should be fixed by #1767

@prsunny
Copy link
Collaborator Author

prsunny commented Jun 11, 2021

Should be fixed by #1767

I see, thanks @wendani

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