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

fix flaky tests/autorestart/test_container_autorestart.py #15526

Conversation

auspham
Copy link
Contributor

@auspham auspham commented Nov 13, 2024

Description of PR

Summary:
Fixes # (issue) Fixes 30114172

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?

Increases the threshold timeout for container check for T2 since the BGP neighbor originally was setup to be 360 for T0. However the amount of BGP neighbor is much more comparing to T0.

Upons investigation, this test case were flaky because our bgp were still in connecting status.

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@auspham auspham changed the title fix: increase check threshold fix container_auto_restart Nov 13, 2024
@auspham auspham changed the title fix container_auto_restart fix flaky tests/autorestart/test_container_autorestart.py Nov 13, 2024
Signed-off-by: Austin Pham <[email protected]>
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

@yejianquan yejianquan merged commit e11e6dc into sonic-net:master Nov 14, 2024
15 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 14, 2024
…15526)

Description of PR
Summary:
Fixes # (issue) Fixes 30114172

Approach
What is the motivation for this PR?
Increases the threshold timeout for container check for T2 since the BGP neighbor originally was setup to be 360 for T0. However the amount of BGP neighbor is much more comparing to T0.

Upons investigation, this test case were flaky because our bgp were still in connecting status.

Signed-off-by: Austin Pham <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #15574

mssonicbld pushed a commit that referenced this pull request Nov 15, 2024
Description of PR
Summary:
Fixes # (issue) Fixes 30114172

Approach
What is the motivation for this PR?
Increases the threshold timeout for container check for T2 since the BGP neighbor originally was setup to be 360 for T0. However the amount of BGP neighbor is much more comparing to T0.

Upons investigation, this test case were flaky because our bgp were still in connecting status.

Signed-off-by: Austin Pham <[email protected]>
sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
…15526)

Description of PR
Summary:
Fixes # (issue) Fixes 30114172

Approach
What is the motivation for this PR?
Increases the threshold timeout for container check for T2 since the BGP neighbor originally was setup to be 360 for T0. However the amount of BGP neighbor is much more comparing to T0.

Upons investigation, this test case were flaky because our bgp were still in connecting status.

Signed-off-by: Austin Pham <[email protected]>
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
…15526)

Description of PR
Summary:
Fixes # (issue) Fixes 30114172

Approach
What is the motivation for this PR?
Increases the threshold timeout for container check for T2 since the BGP neighbor originally was setup to be 360 for T0. However the amount of BGP neighbor is much more comparing to T0.

Upons investigation, this test case were flaky because our bgp were still in connecting status.

Signed-off-by: Austin Pham <[email protected]>
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.

4 participants