Skip to content

[sanity_check] Allow retry for BGP check#2192

Merged
lolyu merged 1 commit intosonic-net:masterfrom
lolyu:retry_bgp_recover
Sep 17, 2020
Merged

[sanity_check] Allow retry for BGP check#2192
lolyu merged 1 commit intosonic-net:masterfrom
lolyu:retry_bgp_recover

Conversation

@lolyu
Copy link
Copy Markdown
Collaborator

@lolyu lolyu commented Sep 9, 2020

Description of PR

If pretest sanity checks fails and allow_recover is set, the BGP check
after adaptive recovery might fail due to its short wait time(120s).
Allowing the retry for BGP check when networking uptime is short to
wait BGP session to be established.

Signed-off-by: Longxiang Lyu lolv@microsoft.com

Summary:
Fixes # (issue)

Type of change

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

Approach

What is the motivation for this PR?

In 7060 T1 nightly, test_crm fails in BGP check with unestablished neighbors. The reason is that the testcase always starts with DUT that has several stopped services and processes. Sanity check tries to do an adaptive recovery with config reload but the BGP sessions fail to establish after the short wait time(120s).

How did you do it?

Allow retries for BGP check till networking uptime last enough.

How did you verify/test it?

Any platform specific information?

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

Documentation

@lolyu lolyu force-pushed the retry_bgp_recover branch from d5cec5e to 4e7f9ab Compare September 9, 2020 09:26
@lolyu lolyu marked this pull request as ready for review September 9, 2020 09:34
@lolyu lolyu force-pushed the retry_bgp_recover branch from 4e7f9ab to 9c49cc4 Compare September 9, 2020 09:58
If pretest sanity checks fails and allow_recover is set, the BGP check
after adaptive recovery might fail due to its short wait time(30s).
Allowing the retry for BGP check when networking uptime is short to
wait BGP session to be established.

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@lolyu
Copy link
Copy Markdown
Collaborator Author

lolyu commented Sep 16, 2020

@neethajohn, could you please take a look?

@lolyu lolyu merged commit 46d6be7 into sonic-net:master Sep 17, 2020
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…t#11384)

utilities:
* 9f496a0 2022-07-06 | Update load minigraph to load backend acl (sonic-net#2236) (HEAD -> 202205, github/202205) [Neetha John]
* ea938e3 2022-07-07 | Add support for IP interface loopback action (sonic-net#2192) [Lior Avramov]
* a0b04de 2022-07-07 | [show] add new CLI to show tunnel route objects (sonic-net#2255) [Jing Zhang]

platform-daemon:
* e03d6a9 2022-07-06 | [ycabled][grpc] Fix some time interval,options for grpc keep alive to work (sonic-net#271) (HEAD -> 202205, github/202205) [vdahiya12]

Signed-off-by: Ying Xie <ying.xie@microsoft.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