Skip to content

chore: skip critical process monitoring on VS#24644

Open
cyw233 wants to merge 1 commit into
sonic-net:masterfrom
cyw233:skip-critical-process-mon-on-vs
Open

chore: skip critical process monitoring on VS#24644
cyw233 wants to merge 1 commit into
sonic-net:masterfrom
cyw233:skip-critical-process-mon-on-vs

Conversation

@cyw233
Copy link
Copy Markdown
Contributor

@cyw233 cyw233 commented May 15, 2026

Description of PR

Summary:
Add a VS-specific conditional skip for process_monitoring/test_critical_process_monitoring.py::test_monitoring_critical_processes when sonic-buildimage issue 10336 is active.

The test was already marked xfail while the issue is active. This PR keeps that behavior for all platforms, and adds a narrower skip mark for VS so VS runs do not execute the known failing test while the issue remains open.

Fixes # (issue): N/A
Related issue: sonic-net/sonic-buildimage#10336

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

test_monitoring_critical_processes is affected by sonic-buildimage issue 10336, causing test_monitoring_critical_processes to hang until timeout in the PR checker. The existing conditional mark xfails the test for all platforms while the issue is active. VS needs to skip the test entirely for the same active issue.

How did you do it?

Added a skip mark to the existing conditional mark entry for test_monitoring_critical_processes with two required conditions:

  • asic_type in ['vs']
  • https://github.com/sonic-net/sonic-buildimage/issues/10336

The existing issue-gated xfail remains unchanged for non-VS platforms.

How did you verify/test it?

Verified the YAML parses successfully and that the new skip entry contains both required conditions.

Any platform specific information?

The new skip applies only to VS ASIC type. Non-VS platforms continue to use the existing conditional xfail while issue 10336 is active.

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

N/A.

Documentation

N/A.

Skip process_monitoring/test_critical_process_monitoring.py::test_monitoring_critical_processes on VS when sonic-buildimage issue 10336 is active while preserving the existing xfail for other platforms.

Signed-off-by: Chenyang Wang <chenyangw233@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@cyw233 cyw233 changed the title [conditional_mark]: Skip critical process monitoring on VS chore: skip critical process monitoring on VS May 15, 2026
@cyw233
Copy link
Copy Markdown
Contributor Author

cyw233 commented May 15, 2026

Duplicated with #24077

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.

2 participants