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

[sonic-swss] test case of test_dpb_arp_flush in test_port_dpb_system.py are failing randomly #7791

Open
AshokDaparthi opened this issue Jun 3, 2021 · 1 comment
Labels
Triaged this issue has been triaged

Comments

@AshokDaparthi
Copy link
Contributor

Hi,

When we raise pull requests to sonic-utilities and soni-swss. We see random " vstest" unit test case failing in multiple PR's.
Most of the test case is related to test_dpb_arp_flush scenario.

Example:
1#
sonic-net/sonic-utilities#1640
Log:
https://dev.azure.com/mssonic/build/_build/results?buildId=16610&view=logs&j=3f6395b2-1619-5ebe-f305-2aedcf353cb5&t=35460df8-21be-5313-3ee4-50900c6db765&l=1203

2#
sonic-net/sonic-utilities#1626
Log:
https://dev.azure.com/mssonic/build/_build/results?buildId=17906&view=logs&j=3f6395b2-1619-5ebe-f305-2aedcf353cb5&t=35460df8-21be-5313-3ee4-50900c6db765&l=1093

Fail Logs:
test_dpb_arp_flush_on_port_oper_shut failed (1 runs remaining out of 2).
<class 'AssertionError'>
Unexpected number of keys: expected=3, received=2 (('oid:0x60000000010f1', 'oid:0x60000000005a7')), table="ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE"
[<TracebackEntry /home/vsts/work/1/sonic-swss/tests/test_port_dpb_system.py:761>, <TracebackEntry /home/vsts/work/1/sonic-swss/tests/test_port_dpb_system.py:39>, <TracebackEntry /home/vsts/work/1/sonic-swss/tests/dvslib/dvs_database.py:366>]
test_dpb_arp_flush_on_port_oper_shut failed; it passed 0 out of the required 1 times.
<class 'AssertionError'>
Unexpected number of keys: expected=3, received=2 (('oid:0x60000000010f1', 'oid:0x60000000005a7')), table="ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE"
[<TracebackEntry /home/vsts/work/1/sonic-swss/tests/test_port_dpb_system.py:761>, <TracebackEntry /home/vsts/work/1/sonic-swss/tests/test_port_dpb_system.py:39>, <TracebackEntry /home/vsts/work/1/sonic-swss/tests/dvslib/dvs_database.py:366>]
test_dpb_arp_flush_on_vlan_member_remove failed (1 runs remaining out of 2).
<class 'AssertionError'>
Unexpected number of keys: expected=3, received=2 (('oid:0x60000000010f1', 'oid:0x60000000005a7')), table="ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE"
[<TracebackEntry /home/vsts/work/1/sonic-swss/tests/test_port_dpb_system.py:825>, <TracebackEntry /h

@zhangyanzhao
Copy link
Collaborator

@zhenggen-xu please help to take a look.

@zhangyanzhao zhangyanzhao added the Triaged this issue has been triaged label Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

2 participants