-
Notifications
You must be signed in to change notification settings - Fork 746
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
[platform_tests/test_reload_config]: Respect overridden timeout #16031
[platform_tests/test_reload_config]: Respect overridden timeout #16031
Conversation
* Respect overridden timeout for reboot in reload_configuration_checks_test * Replace plt_override option with wait_for_processes - will bail early after SSH is up if not set * Don't check all containers for t2 / modular chassis * Increase timeouts Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
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.
LGTM
/Azp run Azure.sonic-mgmt |
Azure Pipelines successfully started running 1 pipeline(s). |
Please share the test result for non-chassis platforms. The other PR #15951 caused regression on non-chassis platform |
Hi @bingwang-ms, please see attached pass run on t1: |
10fda92
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description of PR
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
There are various failures seen on nokia 7250 / arista 7800 / modular chassis DUTs for test_reload_config tests. Generally, they can be attributed to two things: too short of a timeout for t2 chassis, and the new docker status check.
How did you do it?
This PR refactors some logic in the reboot command, such that it will now respect overwritten values for the reboot timeout in the inventory file (so that SKU specific tweaks can be properly specified), and also repurposes the
plt_reboot_ctrl_overwrite
parameter toreturn_after_reconnect
, which if set will cause the reboot function to return early after SSH comes back up, which is more in the spirit of how the test functions.Additionally, some timeouts have been increased for this testcase, as t2 requires more time for services to come up.
Finally, the docker status check has been skipped for modular_chassis DUTs.
How did you verify/test it?
Ran on Nokia 7250 and Arista 7800 chassis
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation