forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[advance-reboot] Support log_analyzer support on small disk devices (s…
…onic-net#5126) Presently, test_advanced_reboot cases fail on small disk device since preboot logs are not retained and log_analyzer fails to get start strings from the logs. Fix this issue so that test_advanced_reboot cases can be executed on small disk devices. How did you do it? Steps: 1. Create a back of warm/fast-reboot script. 2. Before reboot - modify script and add step to copy logs from /var/log to /host before kexec. 3. After reboot - collect the backup logs from /host/ and restore the warm/fast-reboot script. Tested on a physical testbed with small HD. Timing data for reboot analysis can be collected now.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters