Skip to content

Fix T2 duthosts tests_power_off_reboot.py bug again#16899

Merged
yejianquan merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_power_off_reboot_bug_again
Feb 12, 2025
Merged

Fix T2 duthosts tests_power_off_reboot.py bug again#16899
yejianquan merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_power_off_reboot_bug_again

Conversation

@Javier-Tan
Copy link
Contributor

@Javier-Tan Javier-Tan commented Feb 11, 2025

Description of PR

Summary:
Fixes #16898

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

PR #16736 reintroduces bug that we previously fixed in #16313 by making it only applying it to Cisco chassis.

How did you do it?

Let duthosts be passed to reboot_and_check for all T2/chassis devices

How did you verify/test it?

Run on non Cisco T2 device

Any platform specific information?

N/A

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

N/A

Documentation

N/A

…2 devices get test_power_off_reboot.py fix

* Pass duthosts to reboot_and_check for non cisco T2 devices as well

Signed-off-by: Javier Tan [email protected]
@mssonicbld
Copy link
Collaborator

/azp run

@Javier-Tan Javier-Tan requested a review from arlakshm February 11, 2025 06:46
@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@Javier-Tan Javier-Tan requested a review from vperumal February 11, 2025 06:46
@Javier-Tan Javier-Tan force-pushed the fix_power_off_reboot_bug_again branch from 6716451 to e929856 Compare February 11, 2025 06:47
@Javier-Tan Javier-Tan requested a review from prgeor as a code owner February 11, 2025 06:47
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

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

LGTM

@mssonicbld
Copy link
Collaborator

@Javier-Tan PR conflicts with 202411 branch

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202405: Azure/sonic-mgmt.msft#74

nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
…2 devices get test_power_off_reboot.py fix (sonic-net#16899)

Description of PR
Summary:
Fixes sonic-net#16898

Approach
What is the motivation for this PR?
PR sonic-net#16736 reintroduces bug that we previously fixed in sonic-net#16313 by making it only applying it to Cisco chassis.

How did you do it?
Let duthosts be passed to reboot_and_check for all T2/chassis devices

How did you verify/test it?
Run on non Cisco T2 device
Signed-off-by: Javier Tan [email protected]
@Javier-Tan Javier-Tan deleted the fix_power_off_reboot_bug_again branch June 27, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Non cisco T2 devices failing test_power_off_reboot.py due to no duthosts

4 participants