From 9b3faf77481017fa35110e24b93a8daa5863efa9 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Thu, 21 May 2026 02:57:46 +0000 Subject: [PATCH] xfail test_trimming_with_srv6 on 202412 isolated topology ### Description of PR Adds an `xfail` rule for `TestPacketTrimmingAsymmetric::test_trimming_with_srv6` on 202412 isolated topologies, where `vlan decap` is disabled in the image. ### Type of change - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [x] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [ ] 202505 - [ ] 202511 ### Approach - **Motivation:** `vlan decap` is disabled in the 202412 image on isolated topologies, causing `test_trimming_with_srv6` (asymmetric) to fail in a non-actionable way. - **Change:** Added an `xfail` entry in `tests/common/plugins/conditional_mark/tests_mark_conditions.yaml`. - **Verification:** Running on internal 202412 isolated testbeds; the test is xfailed as expected. Signed-off-by: Sonic Build Admin --- .../plugins/conditional_mark/tests_mark_conditions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml index 9d57b061ee..e24a5dcf99 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml @@ -3036,6 +3036,12 @@ packet_trimming/test_packet_trimming_asymmetric.py::TestPacketTrimmingAsymmetric conditions: - "asic_gen in ['th5']" +packet_trimming/test_packet_trimming_asymmetric.py::TestPacketTrimmingAsymmetric::test_trimming_with_srv6: + xfail: + reason: "vlan decap is disabled in 202412 image" + conditions: + - "'isolated' in topo_name and release in ['202412']" + packet_trimming/test_packet_trimming_symmetric.py::TestPacketTrimmingSymmetric::test_trimming_counters_with_feature_toggle: skip: reason: "TH5 clears trim counters when packet trimming is turned off, skipping until trim counter persistance is supported."