Skip to content

tests_mark_conditions: skip test_reboot on SN5640#23303

Open
Pterosaur wants to merge 1 commit intosonic-net:masterfrom
Pterosaur:zegan/skip_sn5640_hash_reboot
Open

tests_mark_conditions: skip test_reboot on SN5640#23303
Pterosaur wants to merge 1 commit intosonic-net:masterfrom
Pterosaur:zegan/skip_sn5640_hash_reboot

Conversation

@Pterosaur
Copy link
Copy Markdown
Contributor

@Pterosaur Pterosaur commented Mar 25, 2026

Description of PR

Add skip mark for hash/test_generic_hash.py::test_reboot on x86_64-nvidia_sn5640-r0 platform because warm reboot is not supported on this platform.

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_reboot in test_generic_hash.py consistently fails on x86_64-nvidia_sn5640-r0 because warm reboot is not supported on this platform.

How did you do it?

Added skip entry in tests/common/plugins/conditional_mark/tests_mark_conditions.yaml for platform x86_64-nvidia_sn5640-r0 with reason explaining warm reboot is not supported.

How did you verify/test it?

Verified the YAML syntax and confirmed the conditional mark system picks up the new entry.

Any platform specific information?

Applies to x86_64-nvidia_sn5640-r0 platform only.

Documentation

N/A

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Pterosaur Pterosaur force-pushed the zegan/skip_sn5640_hash_reboot branch from 6032109 to 77d423b Compare March 25, 2026 14:15
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Add skip mark for hash/test_generic_hash.py::test_reboot on
x86_64-nvidia_sn5640-r0 platform.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
@Pterosaur Pterosaur force-pushed the zegan/skip_sn5640_hash_reboot branch from 77d423b to 2519e55 Compare March 25, 2026 14:20
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI agent on behalf of Ying. Reviewed; no issues found.

Pterosaur added a commit to Pterosaur/sonic-mgmt that referenced this pull request Mar 26, 2026
Add skip mark for hash/test_generic_hash.py::test_reboot on x86_64-nvidia_sn5640-r0 platform.

Upstream PR: sonic-net#23303

----
#### AI description  (iteration 1)
#### PR Classification
Test configuration update to skip a failing test on a specific hardware platform.

#### PR Summary
Adds the `x86_64-nvidia_sn5640-r0` platform to the skip conditions for the `test_reboot` test in the generic hash test suite due to platform-specific limitations.

- `tests_mark_conditions.yaml`: Added `x86_64-nvidia_sn5640-r0` platform to the skip conditions list for `hash/test_generic_hash.py::test_reboot` test, alongside existing skips for Mellanox SPC1 and Broadcom platforms.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
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