Skip to content

[C0] Fix console testcase failure in PR check#24086

Merged
Blueve merged 1 commit intosonic-net:masterfrom
lizhijianrd:fix-console-pr-test
Apr 21, 2026
Merged

[C0] Fix console testcase failure in PR check#24086
Blueve merged 1 commit intosonic-net:masterfrom
lizhijianrd:fix-console-pr-test

Conversation

@lizhijianrd
Copy link
Copy Markdown
Contributor

Description of PR

Summary:

  1. tests/console/test_console_udevrule.py should only run on C0 or C0-lo topo.
  2. tests/console/test_console_availability.py doesn't rely on fixture cleanup_module which require the topo be c0 or c0-lo.

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?

  1. tests/console/test_console_udevrule.py should only run on C0 or C0-lo topo.
  2. tests/console/test_console_availability.py doesn't rely on fixture cleanup_module which require the topo be c0 or c0-lo.

How did you do it?

Update pytest mark and remove unnecessary fixture call.

How did you verify/test it?

Verified by PR test.

Any platform specific information?

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).

Signed-off-by: Zhijian Li <zhijianli@microsoft.com>
@lizhijianrd lizhijianrd force-pushed the fix-console-pr-test branch from 10ba159 to da5672d Compare April 21, 2026 05:39
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Blueve Blueve enabled auto-merge (squash) April 21, 2026 08:36
@Blueve Blueve merged commit 1402c97 into sonic-net:master Apr 21, 2026
20 checks passed
@lizhijianrd lizhijianrd deleted the fix-console-pr-test branch April 21, 2026 09:37
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202603: Azure/sonic-mgmt.msft#1144

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.

3 participants