Skip to content

Fix double reboot bug introduced in #16348#16581

Merged
yejianquan merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_double_reboot
Jan 19, 2025
Merged

Fix double reboot bug introduced in #16348#16581
yejianquan merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_double_reboot

Conversation

@Javier-Tan
Copy link
Copy Markdown
Contributor

@Javier-Tan Javier-Tan commented Jan 19, 2025

Description of PR

Summary:
Revert double root bug introduced in #16348

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?

Revert bug introduced in #16348 that performs 2 reboots instead of one (also performed in line 284/283)

How did you do it?

Remove one instance of reboot

How did you verify/test it?

N/A

Any platform specific information?

N/A

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

N/A

Documentation

N/A

* Remove one of two reboots performed

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

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
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

@yejianquan
Copy link
Copy Markdown
Collaborator

@sdszhang for viz, is it the RCA of our ixia test failure? The time matches

@yejianquan yejianquan merged commit a3abf26 into sonic-net:master Jan 19, 2025
wangxin pushed a commit to wangxin/sonic-mgmt that referenced this pull request Feb 21, 2025
Use alternate check for reboot for T2 after reboot with REBOOT_TYPE_POWEROFF (sonic-net#16348 + sonic-net#16581)


Description of PR
Summary: Fixes sonic-net#16289 + merges sonic-net#16581 to remove double reboot bug

Approach
What is the motivation for this PR?
REBOOT_TYPE_POWEROFF reboot causes test failures on T2 as NTP slew doesn't recover for a while

How did you do it?
Skip dut uptime check on reboot for REBOOT_TYPE_POWEROFF reboot on T2

How did you verify/test it?
Was previously casing test_power_off_reboot.py to fail, no longer causing it to fail

co-authorized by: [email protected]
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
Description of PR
Summary:
Revert double root bug introduced in sonic-net#16348

Approach
What is the motivation for this PR?
Revert bug introduced in sonic-net#16348 that performs 2 reboots instead of one (also performed in line 284/283)

How did you do it?
Remove one instance of reboot

Signed-off-by: Javier Tan [email protected]
@Javier-Tan Javier-Tan deleted the fix_double_reboot branch June 27, 2025 05:15
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.

3 participants