Skip to content

egress Everflow tests: added a missing destination route for original flow #4850

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

Merged

Conversation

antonptashnik
Copy link
Contributor

Description of PR

Summary: egress Everflow tests - added a missing destination route for original flow
Fixes # (issue)

  • added a missing destination route
    Tests checking the Everflow feature on egress stage rely on a default static route to forward original flow packets but the route was removed recently from SONiC causing packets drop. This prevents Everflow on egress to happen so tests fail expecting mirrored packets. The required route was setup to fix it

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911

Approach

What is the motivation for this PR?

Fix failing egress Everflow tests

How did you do it?

Setup the required route for original packet flow

How did you verify/test it?

py.test --inventory=../ansible/lab,../ansible/veos --testbed_file=../ansible/testbed.csv --module-path=../ansible/library -v -rA --topology=t1,any test_everflow_testbed.py::TestEverflowV4EgressAclEgressMirror -k test_everflow_basic_forwarding

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

- added a missing destinatio route
Tests checking the Everflow feature on egress stage rely on a default static route to forward packets but the route was removed recently from SONiC so packets get dropped and mirroring is skipped. The route removed in sonic-net/sonic-buildimage#9182
@antonptashnik antonptashnik requested a review from a team as a code owner December 15, 2021 16:53
@bingwang-ms
Copy link
Collaborator

The change makes sense to me. Only one question, why not apply this fixture to other EGRESS test?

@antonptashnik
Copy link
Contributor Author

The change makes sense to me. Only one question, why not apply this fixture to other EGRESS test?

good point, thanks ! I've applied the corresponding fixture to all tests with egress ACLs

@bingwang-ms bingwang-ms merged commit 5d523ae into sonic-net:master Dec 20, 2021
AntonHryshchuk pushed a commit to AntonHryshchuk/sonic-mgmt that referenced this pull request Jan 4, 2022
… flow (sonic-net#4850)

* fixed egress Everflow tests
- added a missing destination route
Tests checking the Everflow feature on egress stage rely on a default static route to forward packets but the route was removed recently from SONiC so packets get dropped and mirroring is skipped. The route removed in sonic-net/sonic-buildimage#9182
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.

2 participants