Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Enhance Mellanox reboot cause test case #7155

Merged
merged 3 commits into from
Jan 25, 2023

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
@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