Skip to content

New Pytest testcase - continuous-warm-reboot#1841

Merged
vaibhavhd merged 5 commits intosonic-net:masterfrom
vaibhavhd:warm-reboot-pytest
Jul 6, 2020
Merged

New Pytest testcase - continuous-warm-reboot#1841
vaibhavhd merged 5 commits intosonic-net:masterfrom
vaibhavhd:warm-reboot-pytest

Conversation

@vaibhavhd
Copy link
Contributor

Description of PR

Summary: New Pytest testcase for continuously warm rebooting the device

Type of change

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

Approach

What is the motivation for this PR?

To stress test the warm-reboot feature and perform sanity checks.

How did you do it?

New testcase for continuous warm reboot and health checks. Verify at every warm-reboot cycle:

  1. Reboot cause (should match the trigger cause)
  2. Status of services (Services syncd and swss should be active/running)
  3. Status of interfaces and LAGs (all interface and LAGs should comply with current topology)
  4. Status of transceivers (ports in lab_connection_graph should be present)
  5. Status of BGP neighbors (should be established)

How did you verify/test it?

Tested the change on a physical testbed - ran 10 successful iterations of warm-reboot on a SONiC DUT.

@lgtm-com
Copy link

lgtm-com bot commented Jul 2, 2020

This pull request introduces 1 alert when merging 436847a into 93bdc9a - view on LGTM.com

new alerts:

  • 1 for Unused import

@neethajohn neethajohn requested a review from a team July 2, 2020 17:04
@vaibhavhd vaibhavhd requested a review from yxieca July 6, 2020 15:04
@vaibhavhd vaibhavhd merged commit be39261 into sonic-net:master Jul 6, 2020
@vaibhavhd vaibhavhd deleted the warm-reboot-pytest branch July 7, 2020 16:39
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
sonic-swss:

bb69ca2 [portsorch] Avoid orchagent crash when set invalid interface types to port (sonic-net#1906)
6e1bacc [pfcwd] Fix the polling interval time granularity (sonic-net#1912)
564785b [teammgrd]: Improve LAGs cleanup on shutdown: send SIGTERM directly to PID. (sonic-net#1841)
7ee8d26 [tlm teamd] Add retry mechanism before logging the ERR in get_dumps. (sonic-net#1629)
7f57d3d [fgnhgorch] Enable packet flow when no FG ECMP neighbors are resolved (sonic-net#1900)
08d009f Mux state order change (sonic-net#1902)

sonic-utilities:

1bc0f07 Provide support to install platform extensions (sonic-net#1578)
968c781 [config reload] Removed job-mode for sonic.target restart (sonic-net#1820)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants