-
Notifications
You must be signed in to change notification settings - Fork 770
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
[Test Gap][decap][t0] Add testcase to verify the decap rules are working before and after warm-reboot #17262
base: master
Are you sure you want to change the base?
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't move the test to a common directory. tests/common is a place for common utilities to be used by two or more tests. So the decap test still has to live inside tests/decap
@@ -18,6 +18,8 @@ | |||
from tests.common.mellanox_data import is_mellanox_device | |||
from tests.common.platform.reboot_timing_constants import SERVICE_PATTERNS, OTHER_PATTERNS, SAIREDIS_PATTERNS, \ | |||
OFFSET_ITEMS, TIME_SPAN_ITEMS, REQUIRED_PATTERNS | |||
from tests.common.platform.test_subnet_decap import build_encapsulated_vlan_subnet_packet, \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move the test back to decap dir. Move the logic that is to be used (build_encapsulated_vlan_subnet_packet) by both decap and advanced_reboot case to a common location.
Description of PR
Test Gap Description
No testcase to validate the decap rules are created/working as expected after warm-reboot.
Note: This particular test case can be covered in dedicated upgrade path test.
Test Plan
verify the decap rules are present and IPinIP traffic could be decapsulated before warm reboot
warm reboot to a newer version
verify the decap rules are present and IPinIP traffic could be decapsulated after warm reboot
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
No testcase to validate the decap rules are created/working as expected after warm-reboot.
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation