Skip to content

[Mellanox] Enhance Mellanox reboot cause test case#7155

Merged
liat-grozovik merged 3 commits intosonic-net:202205from
echuawu:test_reboot_cause
Jan 25, 2023
Merged

[Mellanox] Enhance Mellanox reboot cause test case#7155
liat-grozovik merged 3 commits intosonic-net:202205from
echuawu:test_reboot_cause

Conversation

@echuawu
Copy link
Contributor

@echuawu echuawu commented Jan 4, 2023

Add new reboot cause script for additional bios cpu and asic causes
This is related with PR #6944
Due to it did not backport to 202205, I create this PR for that.

Description of PR

Summary:
Add new script to cover following reboot cause scenarios:

BIOS - In case the BIOS upgrade process ended with failure and cause the switch to reset.
CPU - Reset is initiated by SW on the CPU. it could be that SW encountered some catastrophic situation like a memory leak, eventually, the kernel reset the whole switch.
Reset from ASIC - Reset which is caused by ASIC.

Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

Add test for sonic-net/sonic-platform-common#277

How did you do it?

How did you verify/test it?

Add test script for enhance reboot cause

Any platform specific information?

Mellanox platforms, except for SPC1 and SIMX

Supported testbed topology if it's a new test case?

Any topology

Documentation

Add new reboot cause script for bios cpu and asic causes
@yxieca yxieca requested a review from prgeor January 9, 2023 21:30
@liat-grozovik liat-grozovik merged commit 1d68f68 into sonic-net:202205 Jan 25, 2023
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.

3 participants