Skip to content

[202511] Fix duplicate key 'bgp/test_bgp_vnet.py' in tests_mark_conditions.yaml#22796

Merged
vmittal-msft merged 1 commit intosonic-net:202511from
Pterosaur:fix/202511-duplicate-yaml-key
Mar 9, 2026
Merged

[202511] Fix duplicate key 'bgp/test_bgp_vnet.py' in tests_mark_conditions.yaml#22796
vmittal-msft merged 1 commit intosonic-net:202511from
Pterosaur:fix/202511-duplicate-yaml-key

Conversation

@Pterosaur
Copy link
Contributor

Description

Remove duplicate bgp/test_bgp_vnet.py entry in tests/common/plugins/conditional_mark/tests_mark_conditions.yaml. The key appeared twice (identical content), causing the check-yaml pre-commit hook to fail.

Impact

This duplicate key is blocking the following open PRs targeting 202511:

Change

Removed the second identical bgp/test_bgp_vnet.py block (6 lines). No functional change.

cc @vmittal-msft @liushilongbuaa

Remove duplicate 'bgp/test_bgp_vnet.py' entry (lines 485-490) which is
identical to the first occurrence (lines 479-484). The duplicate key causes
check-yaml pre-commit hook failures on all PRs that modify this file.

This unblocks PRs sonic-net#22793, sonic-net#22779, sonic-net#22321, sonic-net#22112, sonic-net#22041, sonic-net#22006.

Signed-off-by: Ze Gan <ganze718@gmail.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft vmittal-msft merged commit 270e95d into sonic-net:202511 Mar 9, 2026
15 of 21 checks passed
@Pterosaur Pterosaur deleted the fix/202511-duplicate-yaml-key branch March 9, 2026 22:51
StormLiangMS added a commit to StormLiangMS/sonic-mgmt that referenced this pull request Mar 10, 2026
Cherry-pick of PR sonic-net#22775 to 202511, rebased on latest 202511 to include
the duplicate key fix from PR sonic-net#22796.

The test performs multiple config reloads that cause pmon start-limit-hit
due to missing sonic.target symlinks after systemd-sonic-generator rework.

Fix PRs: sonic-net/sonic-buildimage#25932, sonic-net/sonic-utilities#4314
Tracking issue: sonic-net/sonic-buildimage#25931

Signed-off-by: Storm Liang <stormliang@microsoft.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
StormLiangMS added a commit that referenced this pull request Mar 10, 2026
…fig (#22830)

Cherry-pick of PR #22775 to 202511, rebased on latest 202511 to include
the duplicate key fix from PR #22796.

The test performs multiple config reloads that cause pmon start-limit-hit
due to missing sonic.target symlinks after systemd-sonic-generator rework.

Fix PRs: sonic-net/sonic-buildimage#25932, sonic-net/sonic-utilities#4314
Tracking issue: sonic-net/sonic-buildimage#25931

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

3 participants