Skip to content

Enhance the test route flap#10938

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
StormLiangMS:trf_enhance
Dec 5, 2023
Merged

Enhance the test route flap#10938
StormLiangMS merged 1 commit intosonic-net:masterfrom
StormLiangMS:trf_enhance

Conversation

@StormLiangMS
Copy link
Collaborator

@StormLiangMS StormLiangMS commented Dec 4, 2023

Description of PR

Summary:
Fixes # (issue)
test_route_flap is flaky, sometimes errored out due to missed_frr_routes check, which is a transient log print, we should ignore it during route flap test.

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

Enhance robust of test_route_flap

How did you do it?

Ignore error which is expected.

How did you verify/test it?

Run manual test.

03:02:53 test_route_flap.test_route_flap L0384 INFO | End
PASSED [100%]

Any platform specific information?

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

Documentation

@StormLiangMS StormLiangMS requested a review from jcaiMR as a code owner December 4, 2023 14:23
@ZhaohuiS
Copy link
Contributor

ZhaohuiS commented Dec 5, 2023

@StormLiangMS is this error log not harmful? I noticed work item 25920779 has this error log as well.

@StormLiangMS
Copy link
Collaborator Author

@StormLiangMS is this error log not harmful? I noticed work item 25920779 has this error log as well.

It is harmful, but for route flap test, since we will do the route add/withdraw, we can expect some time, it is in offloaded status, by end of this test, it will check the status, we don't need to check this kind error log in this case.

@StormLiangMS StormLiangMS merged commit fa6c561 into sonic-net:master Dec 5, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 5, 2023
What is the motivation for this PR?
Enhance robust of test_route_flap

How did you do it?
Ignore error which is expected.

How did you verify/test it?
Run manual test.

03:02:53 test_route_flap.test_route_flap L0384 INFO | End
PASSED [100%]
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #10948

mssonicbld pushed a commit that referenced this pull request Dec 5, 2023
What is the motivation for this PR?
Enhance robust of test_route_flap

How did you do it?
Ignore error which is expected.

How did you verify/test it?
Run manual test.

03:02:53 test_route_flap.test_route_flap L0384 INFO | End
PASSED [100%]
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