Skip to content

Fix REBOOT_TYPE_SUPERVISOR "check" value#15577

Merged
arlakshm merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_sup_reboot_check
Nov 15, 2024
Merged

Fix REBOOT_TYPE_SUPERVISOR "check" value#15577
arlakshm merged 1 commit intosonic-net:masterfrom
Javier-Tan:fix_sup_reboot_check

Conversation

@Javier-Tan
Copy link
Copy Markdown
Contributor

@Javier-Tan Javier-Tan commented Nov 15, 2024

Description of PR

Summary:
Fixes #15444

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Bad regex in supervisor reboot check is causing unwarranted test failures

How did you do it?

Remove bad regex flags in supervisor reboot checks

How did you verify/test it?

Ran affected tests to ensure behaviour was correct

Any platform specific information?

N/A

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

N/A

Documentation

N/A

* Correct REBOOT_TYPE_SUPERVISOR "check" regex value so it accurately detects supervisor cold reboot

Signed-off-by: Javier Tan javiertan@microsoft.com
@Javier-Tan Javier-Tan requested a review from arlakshm November 15, 2024 02:48
@Javier-Tan Javier-Tan changed the title [T2] [Bugfix] Fix REBOOT_TYPE_SUPERVISOR "check" value Fix REBOOT_TYPE_SUPERVISOR "check" value Nov 15, 2024
@arlakshm arlakshm merged commit c9b9d6a into sonic-net:master Nov 15, 2024
@arlakshm
Copy link
Copy Markdown
Contributor

@yejianquan, can you please approve this PR for 202405

@yejianquan
Copy link
Copy Markdown
Collaborator

@bingwang-ms could you help to approve cherry-pick?

sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
sonic-net#15577)

Description of PR
Summary:
Fixes sonic-net#15444

Approach
What is the motivation for this PR?
Bad regex in supervisor reboot check is causing unwarranted test failures

How did you do it?
Remove bad regex flags in supervisor reboot checks

How did you verify/test it?
Ran affected tests to ensure behaviour was correct

Signed-off-by: Javier Tan javiertan@microsoft.com
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 15, 2024
sonic-net#15577)

Description of PR
Summary:
Fixes sonic-net#15444

Approach
What is the motivation for this PR?
Bad regex in supervisor reboot check is causing unwarranted test failures

How did you do it?
Remove bad regex flags in supervisor reboot checks

How did you verify/test it?
Ran affected tests to ensure behaviour was correct

Signed-off-by: Javier Tan javiertan@microsoft.com
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202405: #15590

mssonicbld pushed a commit that referenced this pull request Nov 15, 2024
#15577)

Description of PR
Summary:
Fixes #15444

Approach
What is the motivation for this PR?
Bad regex in supervisor reboot check is causing unwarranted test failures

How did you do it?
Remove bad regex flags in supervisor reboot checks

How did you verify/test it?
Ran affected tests to ensure behaviour was correct

Signed-off-by: Javier Tan javiertan@microsoft.com
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
sonic-net#15577)

Description of PR
Summary:
Fixes sonic-net#15444

Approach
What is the motivation for this PR?
Bad regex in supervisor reboot check is causing unwarranted test failures

How did you do it?
Remove bad regex flags in supervisor reboot checks

How did you verify/test it?
Ran affected tests to ensure behaviour was correct

Signed-off-by: Javier Tan javiertan@microsoft.com
@Javier-Tan Javier-Tan deleted the fix_sup_reboot_check branch January 2, 2025 23:20
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]: REBOOT_TYPE_SUPERVISOR "cause" regex is wrong

5 participants