Skip to content

[action] [PR:11757] [E1031] Update loganalyzer regex in test_autostate_disabled#11761

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/11757
Feb 23, 2024
Merged

[action] [PR:11757] [E1031] Update loganalyzer regex in test_autostate_disabled#11761
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/11757

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
In PR #11383, we try to ignore autoneg related error logs in loganalyzer.
However, some logs with below format are not marched by previous regex.

Feb 17 11:39:40.131019 e1031-1 ERR swss#orchagent: message repeated 2 times: [ :- doPortTask: Ethernet52: autoneg is not supported (cap=0)]

In current PR, I updated the regex to ignore above logs.

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

Update loganalyzer regex in test_autostate_disabled to ensure all the autoneg related error logs are ignored on Celestica-E1031 platform.

How did you do it?

Updated regex in testcase.

How did you verify/test it?

Verified on Celestica-E1031 M0 testbed with SONiC.202305 image.
 

Any platform specific information?

This PR only for Celestica-E1031 platform.

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

Documentation

…t#11757)

In PR sonic-net#11383, we try to ignore autoneg related error logs in loganalyzer.
However, some logs with below format are not marched by previous regex.

Feb 17 11:39:40.131019 e1031-1 ERR swss#orchagent: message repeated 2 times: [ :- doPortTask: Ethernet52: autoneg is not supported (cap=0)]

In current PR, I updated the regex to ignore above logs.

What is the motivation for this PR?
Update loganalyzer regex in test_autostate_disabled to ensure all the autoneg related error logs are ignored on Celestica-E1031 platform.

How did you do it?
Updated regex in testcase.

How did you verify/test it?
Verified on Celestica-E1031 M0 testbed with SONiC.202305 image.
 
Any platform specific information?
This PR only for Celestica-E1031 platform.
@mssonicbld
Copy link
Collaborator Author

Original PR: #11757

@mssonicbld mssonicbld merged commit be6a340 into sonic-net:202305 Feb 23, 2024
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.

2 participants