Skip to content

Add SRv6 SAI error regex to generic_config_updater loganalyzer ignore list#23226

Open
Copilot wants to merge 3 commits intomasterfrom
copilot/add-srv6-sai-error-regex
Open

Add SRv6 SAI error regex to generic_config_updater loganalyzer ignore list#23226
Copilot wants to merge 3 commits intomasterfrom
copilot/add-srv6-sai-error-regex

Conversation

Copy link

Copilot AI commented Mar 23, 2026

  • Remove SRv6 SAI regex from conftest.py ignoreRegex list
  • Add autouse fixture with ".*ERR syncd[0-9]*#syncd.*" regex to test_srv6.py

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Copilot AI changed the title [WIP] Add regular expression for SRv6 SAI related errors Add SRv6 SAI error regex to generic_config_updater loganalyzer ignore list Mar 23, 2026
Copilot AI requested a review from BYGX-wcr March 23, 2026 23:33
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BYGX-wcr BYGX-wcr marked this pull request as ready for review March 23, 2026 23:43
Copy link
Contributor

@BYGX-wcr BYGX-wcr left a comment

Choose a reason for hiding this comment

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

LGTM

@BYGX-wcr
Copy link
Contributor

PR generated by Copilot, triggered by me.

@ZhaohuiS
Copy link
Contributor

ZhaohuiS commented Mar 24, 2026

@BYGX-wcr could you please state the reason why just ignore these sai or syncd error syslog for this case?

It found some many syslog in this case.

>               pt_assert(False, failure_message)
E               Failed: Got matched syslog in processes "analyze_logs--<MultiAsicSonicHost bjw2-can-7260-9>" exit code:"1"
E               match: 11
E               expected_match: 0
E               expected_missing_match: 0
E               
E               Match Messages:
E               2026 Mar 23 19:18:30.120361 bjw2-can-7260-9 ERR syncd#syncd: [none] SAI_API_SRV6:_brcm_sai_create_my_sid_entry:448 Device doesnot support SRV6
E               
E               2026 Mar 23 19:18:30.120361 bjw2-can-7260-9 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_NOT_SUPPORTED
E               
E               2026 Mar 23 19:18:30.120519 bjw2-can-7260-9 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MY_SID_ENTRY_ATTR_TUNNEL_ID: oid:0x2a000000001795
E               
E               2026 Mar 23 19:18:30.120519 bjw2-can-7260-9 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR: SAI_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_UN
E               
E               2026 Mar 23 19:18:30.120519 bjw2-can-7260-9 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR: SAI_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_FLAVOR_USD
E               
E               2026 Mar 23 19:18:30.120769 bjw2-can-7260-9 ERR swss#orchagent: :- create: create status: SAI_STATUS_NOT_SUPPORTED
E               
E               2026 Mar 23 19:18:30.120769 bjw2-can-7260-9 ERR swss#orchagent: :- createUpdateMysidEntry: Failed to create my_sid entry 32:16:0:0:fcbb:bbbb:1::, rv -2
E               
E               2026 Mar 23 19:18:30.120769 bjw2-can-7260-9 ERR swss#orchagent: :- doTaskMySidTable: Failed to create/update my_sid entry for sid 32:16:0:0:fcbb:bbbb:1::
E               
E               2026 Mar 23 19:19:07.850264 bjw2-can-7260-9 ERR swss#orchagent: :- meta_sai_validate_my_sid_entry: virtual router is set to null object id
E               
E               2026 Mar 23 19:19:07.850264 bjw2-can-7260-9 ERR swss#orchagent: :- deleteMysidEntry: Failed to delete my_sid entry rv -5
E               
E               2026 Mar 23 19:19:07.850264 bjw2-can-7260-9 ERR swss#orchagent: :- doTaskMySidTable: Failed to delete my_sid entry for sid 32:16:0:0:fcbb:bbbb:1::

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.

5 participants