Skip to content

feat: support skipping iBGP check in reboot/reload#17477

Merged
yejianquan merged 1 commit intosonic-net:masterfrom
cyw233:support-skipping-ibgp-wait
Mar 31, 2025
Merged

feat: support skipping iBGP check in reboot/reload#17477
yejianquan merged 1 commit intosonic-net:masterfrom
cyw233:support-skipping-ibgp-wait

Conversation

@cyw233
Copy link
Copy Markdown
Contributor

@cyw233 cyw233 commented Mar 12, 2025

Description of PR

Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

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?

Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?

How did you verify/test it?

I ran the updated code and can confirm it's working well.

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@cyw233 cyw233 closed this Mar 12, 2025
@cyw233 cyw233 reopened this Mar 12, 2025
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@cyw233 cyw233 marked this pull request as ready for review March 12, 2025 23:38
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@cyw233 cyw233 force-pushed the support-skipping-ibgp-wait branch from adc78ae to b3880d9 Compare March 14, 2025 06:20
@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
Contributor

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

/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 yejianquan merged commit 83770ab into sonic-net:master Mar 31, 2025
21 checks passed
amulyan7 pushed a commit to amulyan7/sonic-mgmt that referenced this pull request Mar 31, 2025
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 31, 2025
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com
OriTrabelsi pushed a commit to OriTrabelsi/sonic-mgmt that referenced this pull request Apr 1, 2025
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com

Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
Description of PR
Add option to skip iBGP check during health check after reboot and reload

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Sometimes we do not want to wait for iBGP to be up after reboot and reload as it's not related to our test and it's stopping us from utilizing the parallel run infrastructure. After adding this option, we can skip the iBGP check during health check after reboot and reload, so we can parallel run some test modules (e.g. pc/test_po_cleanup.py). After the test module is done, we can enable post-test sanity check to wait for all the BGP sessions (eBGP & iBGP) to be up before starting the next module.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: jianquanye@microsoft.com

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
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.

4 participants