Skip to content

Add certain error signatures to loganalyzer ignore list#18017

Merged
bingwang-ms merged 4 commits intosonic-net:masterfrom
prabhataravind:paravind/kdump_ignore
Apr 18, 2025
Merged

Add certain error signatures to loganalyzer ignore list#18017
bingwang-ms merged 4 commits intosonic-net:masterfrom
prabhataravind:paravind/kdump_ignore

Conversation

@prabhataravind
Copy link
Copy Markdown
Contributor

@prabhataravind prabhataravind commented Apr 16, 2025

Description of PR

The PR ignores the following errors seen on kvm test runs on master branch:

E Failed: Got matched syslog in processes "analyze_logs--" exit code:"1"
E match: 7
E expected_match: 0
E expected_missing_match: 0
E
E Match Messages:
E 2025 Apr 16 19:34:25.031707 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--disable'] - failed: return code - 1, output:#012None
E
E 2025 Apr 16 19:34:25.714266 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--memory', '0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M'] - failed: return code - 1, output:#012None
E
E 2025 Apr 16 19:34:26.830424 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--num_dumps', '3'] - failed: return code - 1, output:#012None
E
E 2025 Apr 16 19:34:27.988539 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--remote', 'false'] - failed: return code - 2, output:#012None
E
E 2025 Apr 16 19:34:29.771931 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--ssh_string', 'user@localhost'] - failed: return code - 1, output:#012None
E
E 2025 Apr 16 19:34:30.948038 vlab-01 ERR hostcfgd: ['sonic-kdump-config', '--ssh_path', '/a/b/c'] - failed: return code - 1, output:#012None
E
E 2025 Apr 16 19:34:59.698716 vlab-01 ERR pmon#chassis_db_init: Failed to load chassis due to ModuleNotFoundError("No module named 'sonic_platform'")

Summary:
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

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

To unblock features/PRs blocked by these errors

How did you do it?

By adding the error regex to loganalyzer ignore list.

How did you verify/test it?

By running the relevant tests on kvm testbeds

Any platform specific information?

kvm

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

 * These errors are temporarily ignored until the issue referenced in
   sonic-net/sonic-buildimage#22346 is fixed.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
@prabhataravind prabhataravind force-pushed the paravind/kdump_ignore branch from 27f3529 to 601d66c Compare April 16, 2025 23:55
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

 * Temporarily ignore this error log until sonic-net/sonic-buildimage#22348
   is fixed. This might even be expected for kvm testbeds.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind changed the title Ignore kdump related errors Add certain error signatures to loganalyzer ignore list Apr 17, 2025
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind marked this pull request as ready for review April 18, 2025 16:29
@bingwang-ms
Copy link
Copy Markdown
Collaborator

The PR is a temporary workaround to unblock PR test in submodule update in swss and sairedis. We will revert the PR once submodule update is done. The error log issue will be triaged in another thread.

r12f added a commit to Azure/sonic-mgmt.msft that referenced this pull request Jun 24, 2025
… list (#445)

Sync PR #18017 from sonic-net/sonic-mgmt to 202412.
Original PR: sonic-net/sonic-mgmt#18017

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Co-authored-by: prabhataravind <108555774+prabhataravind@users.noreply.github.com>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
)

* Ignore kdump related errors

 * These errors are temporarily ignored until the issue referenced in
   sonic-net/sonic-buildimage#22346 is fixed.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
)

* Ignore kdump related errors

 * These errors are temporarily ignored until the issue referenced in
   sonic-net/sonic-buildimage#22346 is fixed.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
)

* Ignore kdump related errors

 * These errors are temporarily ignored until the issue referenced in
   sonic-net/sonic-buildimage#22346 is fixed.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
)

* Ignore kdump related errors

 * These errors are temporarily ignored until the issue referenced in
   sonic-net/sonic-buildimage#22346 is fixed.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
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.

4 participants