Skip to content

[action] [PR:7597] Add regex for syslog timestamp in extract_log#8676

Merged
mssonicbld merged 1 commit intosonic-net:202012from
mssonicbld:cherry/202012/7597
Jun 21, 2023
Merged

[action] [PR:7597] Add regex for syslog timestamp in extract_log#8676
mssonicbld merged 1 commit intosonic-net:202012from
mssonicbld:cherry/202012/7597

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Warm-reboot test is failing at extracting timestamp from syslog

How did you do it?

Add regex for this timestamp format: 2023-02-28T15:42:27.355561+00:00

How did you verify/test it?

Warm reboot test originally failed at preboot when parsing through syslog. Adding the regex fixed the failure.
Ran convert_date with all three formats of syslog timestamp logs

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator Author

Original PR: #7597

@mssonicbld mssonicbld merged commit 0ca2ca3 into sonic-net:202012 Jun 21, 2023
@mssonicbld mssonicbld deleted the cherry/202012/7597 branch February 4, 2024 08:22
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