[platform]Optimize reboot-cause testcase for 201811#1169
Merged
lguohan merged 1 commit intosonic-net:201811from Oct 21, 2019
stephenxs:optimize-reboot-cause-201811
Merged
[platform]Optimize reboot-cause testcase for 201811#1169lguohan merged 1 commit intosonic-net:201811from stephenxs:optimize-reboot-cause-201811
lguohan merged 1 commit intosonic-net:201811from
stephenxs:optimize-reboot-cause-201811
Conversation
…dog reboot. The power off and watchdog reboot share the same working flow with cold reboot except that their reboot causes differ and the motivation of them is to verify whether the reboot cause is correct. In this sense, it is unnecessary to do the full check for them. Conflicts: tests/platform/test_reboot.py
lguohan
approved these changes
Oct 21, 2019
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
* c2fb282 2021-01-29 | [ecnconfig] Allow ecn unit test to run without sudo (sonic-net#1390) [Neetha John] * 6cc635b 2021-01-29 | [sonic-installer] Add information to syslog (sonic-net#1369) [Dmytro] * 7a8024a 2021-01-27 | Prevent user from adding more then a single untagged VLAN to an interface (sonic-net#1382) [Eran Dahan] * 41e62c6 2021-01-26 | [pcieutil] Add 'pcie-aer' sub-command to display AER stats (sonic-net#1169) [Arun Saravanan Balachandran] * 47f412b 2021-01-26 | Improve robustness of consutil plugin loading (sonic-net#1353) [Samuel Angebault] * 64aa1b8 2021-01-25 | [show] Fix warnings, related to gearbox, while show commands execution (sonic-net#1343) [maksymbelei95] * ff226d0 2021-01-25 | Prevent configuring IP interface on a port which is a member of VLAN (sonic-net#1374) [Eran Dahan] * f1522b9 2021-01-21 | [config_mgmt.py]: Set leaf-list to empty list while port breakout. (sonic-net#1268) [Praveen Chaudhary] * 99c05d5 2021-01-21 | add vlan_intf_object only if there are ipv4 or ipv6 mappings (sonic-net#1377) [Sumukha Tumkur Vani] * b082684 2021-01-21 | [ecn] Add tests for ecnconfig command (sonic-net#1372) [Neetha John] * 23e0920 2021-01-21 | [sfpshow] Enhance QSFP-DD DOM information (sonic-net#1207) [shlomibitton] * f4edba1 2021-01-20 | [ecnconfig] handle backend port names when extracting port I/F ID from the port name (sonic-net#1361) [Mahesh Maddikayala] Signed-off-by: Danny Allen <daall@microsoft.com>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…ce submodule head (sonic-net#13031) linkmgrd: * d7bf12b 2022-12-08 | update link prober stats post logic (sonic-net#159) (HEAD -> 202205) [Jing Zhang] * 1f28c08 2022-12-08 | [Active-Active] remove chatty messages (sonic-net#158) [Jing Zhang] sairedis: * 6a64b85 2022-12-07 | Initialize attr variables in Legacy.switch_get and LegacyFdbEntry.fdb_entry_get (sonic-net#1169) (HEAD -> 202205) [Saikrishna Arcot] platform-daemons: * fb4b158 2022-12-08 | [thermalctld] fix some redundant removal of state DB tables (sonic-net#315) (HEAD -> 202205) [vdahiya12] platform-common: * 9170877 2022-12-04 | [syseeprom] Remove the trailing space in the value of VENDOR_EXT field in the eepromTlvInfo decode (sonic-net#333) (HEAD -> 202205, github/202205) [Marty Y. Lok] * 79a36e2 2022-12-02 | [202205] Add media assignment options to Application Advertisement (sonic-net#324) (sonic-net#329) [Junchao-Mellanox] * b20896c 2022-12-02 | [Ci] Upgrade to bullseye and fix the branch reference issue (sonic-net#332) [xumia] Signed-off-by: Ying Xie <ying.xie@microsoft.com> Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Optimize reboot-cause testcase via checking reboot-cause only for power off and watchdog reboot.
The power off and watchdog reboot share the same working flow with cold reboot except that their reboot causes differ and the motivation of them is to verify whether the reboot cause is correct.
In this sense, it is unnecessary to do the full check for them. By doing so we can reduce a lot of minutes.
This is the backport of the [platform]Optimize reboot-cause testcase #1167 on master
Type of change
Approach
How did you do it?
Skip checkings other than reboot-cause for power off and watchdog reboot.
How did you verify/test it?
Run platform test.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation