tests_mark_conditions: xfail test_decap and test_vnet_decap on SN5640#23302
Merged
yxieca merged 1 commit intosonic-net:masterfrom Mar 26, 2026
Merged
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
7cfa330 to
e7f2ff1
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Add xfail mark for decap/test_decap.py::test_decap and vxlan/test_vnet_decap.py::test_vnet_decap 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>
e7f2ff1 to
d963a29
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yxieca
approved these changes
Mar 26, 2026
Collaborator
yxieca
left a comment
There was a problem hiding this comment.
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
…t_decap on SN5640 Add xfail mark for decap/test_decap.py::test_decap and vxlan/test_vnet_decap.py::test_vnet_decap on x86_64-nvidia_sn5640-r0 platform. Upstream PR: sonic-net#23302 ---- #### AI description (iteration 1) #### PR Classification Test update: modifying test conditions to mark expected failures on the SN5640 platform. #### PR Summary This pull request adjusts test configurations to avoid false failures on the x86_64-nvidia_sn5640-r0 platform by marking two tests as xfail. - `tests/common/plugins/conditional_mark/tests_mark_conditions.yaml`: Added an xfail condition for `vxlan/test_vnet_decap.py::test_vnet_decap` with appropriate platform criteria. - `decap/test_decap.py`: Introduced an xfail block for test cases, applying the same platform condition for expected failures. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
ravaliyel
pushed a commit
to ravaliyel/sonic-mgmt
that referenced
this pull request
Mar 27, 2026
…sonic-net#23302) What is the motivation for this PR?\n and consistently fail on because decap is not supported on this platform.\n\nHow did you do it?\nAdded xfail entries in tests/common/plugins/conditional_mark/tests_mark_conditions.yaml for platform with reason explaining decap is not supported.\n\nHow did you verify/test it?\nVerified the YAML syntax and confirmed the conditional mark system picks up the new entries.\n\nSigned-off-by:\nZe Gan <ganze718@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Add xfail mark for
decap/test_decap.py::test_decapandvxlan/test_vnet_decap.py::test_vnet_decaponx86_64-nvidia_sn5640-r0platform because decap is not supported on this platform.Type of change
Back port request
Approach
What is the motivation for this PR?
test_decapandtest_vnet_decapconsistently fail onx86_64-nvidia_sn5640-r0because decap is not supported on this platform.How did you do it?
Added xfail entries in
tests/common/plugins/conditional_mark/tests_mark_conditions.yamlfor platformx86_64-nvidia_sn5640-r0with reason explaining decap is not supported.How did you verify/test it?
Verified the YAML syntax and confirmed the conditional mark system picks up the new entries.
Any platform specific information?
Applies to
x86_64-nvidia_sn5640-r0platform only.Documentation
N/A