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

Fix P4Runtime performance test in EOS #1881

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

prakashbadri-arista
Copy link
Contributor

The test was failing intermittently in EOS because the ATE ingress
counters check for verifying the expected packetOut counters was done
right after injecting the traceroute/LLDP/GDP packets with no delay.

There is no guarantee that all the packetOut requests have been
guaranteed by that time. Added a 30s delay, to account for any trailing
inflight packets.

prakashbadri-arista and others added 9 commits June 27, 2023 22:56
The test was failing for the following reasons:
- parent interface was not routed causing the subinterfaces to not be
  routed as well.
- DUT egress interface ip address was getting configured before the VRF
  assignment. So when the interface was moved to VRF-10, the interface
  ipv4 address got reset.
- Unsupported interface ref leaf was set in the interface OC
  configuration
- The match source ip in the vrf selection policy rule was incorrectly
  set and hence the incoming traffic flows expected to pass through
  VRF-10 were not getting forwarded correctly

After fixing the above issues the test is passing correctly
The test was failing intermittently in EOS because the ATE ingress
counters check for verifying the expected packetOut counters was done
right after injecting the traceroute/LLDP/GDP packets with no delay.

There is no guarantee that all the packetOut requests have been
guaranteed by that time. Added a 30s delay, to account for any trailing
inflight packets.
@OpenConfigBot
Copy link

Pull Request Functional Test Report for #1881 / ed382c2

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
RT-3.1: Policy based VRF selection
Cisco 8000E status
RT-3.1: Policy based VRF selection
Cisco XRd status
RT-3.1: Policy based VRF selection
Juniper cPTX status
RT-3.1: Policy based VRF selection
Nokia SR Linux status
RT-3.1: Policy based VRF selection
Openconfig Lemming status
RT-3.1: Policy based VRF selection

Help

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

Successfully merging this pull request may close these issues.

3 participants