Skip to content

Bug: VoQ testcase should account for short delay for portchannel ARP to populate #19331

Open
@Javier-Tan

Description

@Javier-Tan

Is it platform specific

generic

Importance or Severity

Low

Description of the bug

Testcase voq/test_voq_nbr.py::TestNeighborLinkFlap::test_front_panel_linkflap_port fails on condition table state delay is not reachable. This is because the test expects the ARP table to update instantly from STALE to REACHABLE after a ping is sent, which is the case for non-portchannel interfaces, however there is a small 2-3s delay state for portchannel interfaces STALE -> DELAY (2-3s) -> REACHABLE

Steps to Reproduce

Follow the test steps for voq/test_voq_nbr.py::TestNeighborLinkFlap::test_front_panel_linkflap_port until before the SONiC ping (line 1134), then see how long it takes for the ping to update the ARP table.

Actual Behavior and Expected Behavior

The test should leave some room for ARP table to be populated, similar to how it is done in test_front_panel_admindown_port of the same test.

Relevant log output

N/A

Output of show version

N/A

Attach files (if any)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions