Skip to content

route/test_duplicate_routes.py Add Broadcom SAI specific log ignores#21105

Closed
justin-wong-ce wants to merge 1 commit intosonic-net:masterfrom
justin-wong-ce:mobyroute
Closed

route/test_duplicate_routes.py Add Broadcom SAI specific log ignores#21105
justin-wong-ce wants to merge 1 commit intosonic-net:masterfrom
justin-wong-ce:mobyroute

Conversation

@justin-wong-ce
Copy link
Contributor

Description of PR

Summary:
Add Broadcom SAI specific log ignores to route/test_duplicate_routes.py

#21030 has introduced a regression in Arista's 7060X6-16 switches after enabling route/test_duplicate_route.py.

The test logic passes, but fails on a loganalyzer check on these syslogs:

ERR syncd#syncd: [none] SAI_API_ROUTE:_brcm_sai_l3_route_config:5863 L3 route add failed with error Entry exists (0xfffffff8).
ERR syncd#syncd: [none] SAI_API_ROUTE:brcm_sai_xgs_route_create:420 L3 route add failed with error -6.
ERR syncd#syncd: [none] SAI_API_ROUTE:brcm_sai_create_route_entry:387 pd route create failed failed with error -6.

The test fails on the exact same loganalyzer check with the same 3 ERR syslogs on all 4 testcases.

I think this expected since the test logic is indeed adding duplicate routes. The PR also included changes to add similar ERR logs to ignorelog, with a TODO to move them to expected. Adding Broadcom SAI specific logignores along side PR added ones.

Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

route/test_duplicate_routes.py is failling on Arista-7060X6-16.

How did you do it?

Add expected Broadcom SAI specific ERR syslogs along side other related ERR syslogs to logignore added in PR #21030

How did you verify/test it?

Test no longer fails on Arista-7060X6-16

Any platform specific information?

Broadcom

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms
Copy link
Collaborator

bingwang-ms commented Oct 29, 2025

Hi @justin-wong-ce, I think team is planning on an image fix for this issue, and the issue is a generic issue.
@prabhataravind , @StormLiangMS Can you please double confirm?

@bingwang-ms
Copy link
Collaborator

Hi @justin-wong-ce, I think team is planning on an image fix for this issue, and the issue is a generic issue. @prabhataravind , @StormLiangMS Can you please double confirm?

Discussed offline, the error log is expected and should be ignored.

Copy link
Contributor

@prabhataravind prabhataravind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed with Bing, it is better to have specific logs than a combined one..

@StormLiangMS
Copy link
Collaborator

hi @prabhataravind after revert the sairedis PR, do we still need this one? * 90d34ee9 - (HEAD -> 202505, origin/202505) Revert "[meta] do not fail bulk operations if MODE_IGNORE_ERROR (#1647)" (#1671) (35 hours ago) [Nikola Dancejic]

@prabhataravind
Copy link
Contributor

hi @prabhataravind after revert the sairedis PR, do we still need this one? * 90d34ee9 - (HEAD -> 202505, origin/202505) Revert "[meta] do not fail bulk operations if MODE_IGNORE_ERROR (#1647)" (#1671) (35 hours ago) [Nikola Dancejic]

@StormLiangMS yes, the sairedis change fixes the orchagent crash but this fix is also needed to ignore the new signature of logs from BRCM SAI when duplicate routes are added.

@StormLiangMS
Copy link
Collaborator

but this case already can pass with sairedis revert, do we still need this one? This ignore could hide some real issue.

@prabhataravind
Copy link
Contributor

but this case already can pass with sairedis revert, do we still need this one? This ignore could hide some real issue.

@justin-wong-ce please confirm if the test is passing without this change. @bingwang-ms for viz

@justin-wong-ce
Copy link
Contributor Author

but this case already can pass with sairedis revert, do we still need this one? This ignore could hide some real issue.

@justin-wong-ce please confirm if the test is passing without this change. @bingwang-ms for viz

I can confirm it is now passing without this change. Closing the PR, thanks.

@justin-wong-ce justin-wong-ce deleted the mobyroute branch November 26, 2025 00:04
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.

7 participants