Skip to content

Add conditional skip for test_load_minigraph_with_golden_config#22775

Merged
wangxin merged 1 commit intosonic-net:masterfrom
StormLiangMS:skip-test-load-minigraph-golden-config
Mar 7, 2026
Merged

Add conditional skip for test_load_minigraph_with_golden_config#22775
wangxin merged 1 commit intosonic-net:masterfrom
StormLiangMS:skip-test-load-minigraph-golden-config

Conversation

@StormLiangMS
Copy link
Collaborator

Why I did it

The test override_config_table/test_override_config_table.py::test_load_minigraph_with_golden_config performs 4 consecutive config load_minigraph operations. After the systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340), container services like pmon are no longer listed as sonic.target dependencies, so their systemd start rate limit counters are never reset between reloads. This causes pmon to hit start-limit-hit on the 4th reload, leaving pmon in a failed state that affects subsequent tests in the nightly run.

Root cause issue: sonic-net/sonic-buildimage#25931

Fix PRs (in progress):

How I did it

Added a conditional skip entry in tests_mark_conditions.yaml for test_load_minigraph_with_golden_config linked to issue sonic-net/sonic-buildimage#25931. The skip will automatically resolve (test re-enabled) when the issue is closed.

How to verify it

The test will be skipped in nightly runs until the fix PRs are merged and issue #25931 is closed.

Which release branch to backport

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Description for the changelog

Add conditional skip for test_load_minigraph_with_golden_config to prevent pmon start-limit-hit failures in nightly runs.

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit 524f2a0 into sonic-net:master Mar 7, 2026
22 of 23 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Mar 7, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
Signed-off-by: mssonicbld <sonicbld@microsoft.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202511: #22793

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>
ksravani-hcl pushed a commit to ksravani-hcl/sonic-mgmt that referenced this pull request Mar 10, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
ksravani-hcl pushed a commit to ksravani-hcl/sonic-mgmt that referenced this pull request Mar 10, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
aronovic pushed a commit to aronovic/sonic-mgmt that referenced this pull request Mar 10, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
Signed-off-by: Mihut Aronovici <aronovic@cisco.com>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Mar 16, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
Signed-off-by: selldinesh <dinesh.sellappan@keysight.com>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
Signed-off-by: Abhishek <abhishek@nexthop.ai>
vrajeshe pushed a commit to vrajeshe/sonic-mgmt that referenced this pull request Mar 23, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
Signed-off-by: Venkata Gouri Rajesh Etla <vrajeshe@cisco.com>
ravaliyel pushed a commit to ravaliyel/sonic-mgmt that referenced this pull request Mar 27, 2026
…c-net#22775)

Skip test_load_minigraph_with_golden_config when issue #25931 is open.
This test performs 4 consecutive config reloads which causes pmon to hit
start-limit-hit due to missing sonic.target.wants/ symlinks after the
systemd-sonic-generator rework (sonic-net/sonic-buildimage#23340).

The test leaves pmon in a bad state (start-limit-hit), which can affect
subsequent tests in the nightly run.

Fix PRs:
- sonic-net/sonic-buildimage#25932 (add [Install] to service templates)
- sonic-net/sonic-utilities#4314 (fix _reset_failed_services)

The skip will auto-resolve when sonic-net/sonic-buildimage#25931 is closed.

Signed-off-by: Storm Liang <stormliang@microsoft.com>
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