Skip to content

[action] [PR:12146] Ignore ansible log message when check TACACS accounting syslog.#13643

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/12146
Jul 12, 2024
Merged

[action] [PR:12146] Ignore ansible log message when check TACACS accounting syslog.#13643
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/12146

Conversation

@mssonicbld
Copy link
Collaborator

Ignore ansible log message when check TACACS accounting syslog.

Why I did it

Every ansible command will generate a syslog, when check TACACS accounting with sed command, the sed query will match the ansible log, this will make test case can't find regression.

Work item tracking
  • Microsoft ADO: 25270078

How I did it

Ignore ansible log message when check TACACS accounting syslog.

How to verify it

Pass all test case.
Fix TACACS accounting test case to prevent regression.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

will updated with this PR image later.

  • [] SONiC.master-16482.360728-2c8b4066f

Description for the changelog

Ignore ansible log message when check TACACS accounting syslog.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…c-net#12146)

Ignore ansible log message when check TACACS accounting syslog.

#### Why I did it
Every ansible command will generate a syslog, when check TACACS accounting with sed command, the sed query will match the ansible log, this will make test case can't find regression. 

### How I did it
Ignore ansible log message when check TACACS accounting syslog.

#### How to verify it
Pass all test case.
Fix TACACS accounting test case to prevent regression.

### Tested branch (Please provide the tested image version)

will updated with this PR image later.
- [] SONiC.master-16482.360728-2c8b4066f

#### Description for the changelog
Ignore ansible log message when check TACACS accounting syslog.
@mssonicbld
Copy link
Collaborator Author

Original PR: #12146

@mssonicbld mssonicbld merged commit 54c3b7b into sonic-net:202311 Jul 12, 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