Skip to content

[platform]Optimize reboot-cause testcase for 201811#1169

Merged
lguohan merged 1 commit intosonic-net:201811from
stephenxs:optimize-reboot-cause-201811
Oct 21, 2019
Merged

[platform]Optimize reboot-cause testcase for 201811#1169
lguohan merged 1 commit intosonic-net:201811from
stephenxs:optimize-reboot-cause-201811

Conversation

@stephenxs
Copy link
Contributor

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

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

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

…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 lguohan merged commit 74f970f into sonic-net:201811 Oct 21, 2019
@stephenxs stephenxs deleted the optimize-reboot-cause-201811 branch October 21, 2019 00:11
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants