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

[platform_tests] Ensure reboot-cause string for power-off matches the output on all platforms #4138

Closed
wants to merge 1 commit into from

Conversation

tjchadaga
Copy link
Contributor

@tjchadaga tjchadaga commented Aug 28, 2021

Description of PR

On Dell platforms, the reboot-cause after power-cycle is returned as "Hardware - Other (Power on reset)". Changing script to ensure power-cycle reboot cause is identified correctly

Summary:

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

Fix test_power_off_reboot test case on Dell platform

How did you do it?

Changed reboot-cause string to match the reboot reason returned on multiple platforms

How did you verify/test it?

Validated test_power_off_reboot on 9332

Any platform specific information?

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

Documentation

@tjchadaga tjchadaga requested a review from a team as a code owner August 28, 2021 02:15
@@ -33,7 +33,7 @@
REBOOT_TYPE_POWEROFF: {
"timeout": 300,
"wait": 120,
"cause": "Power Loss",
"cause": "Power",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this change impact other BRCM platforms such as Arista or Celestica? Have you tried it out on those platforms? Also not sure if this testcase is also ran against MLNX DUTs as well? If so, will need to try out MLNX DUT to ensure it is not impacted...

@tjchadaga
Copy link
Contributor Author

Closing this PR since the reboot-cause will be updated by Dell to address this issue

@tjchadaga tjchadaga closed this Aug 30, 2021
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