test: skip salt.pkgrepo in kitchen to avoid upgrading the image's salt

The *-3006* / *-3007* suites fail on every platform: salt.pkgrepo adds the
salt-repo-latest repo (currently 3008.1), and the unpinned pkg.installed then
upgrades the image's salt in place, swapping the running onedir and crashing
the post-install module refresh with:

    ModuleNotFoundError: spec not found for the module 'site'

The kitchen images already ship a pinned Salt repo. This drops salt.pkgrepo
from the suite's state_top so pkg.installed should resolve salt from the
image's repo rather than the layered 'latest' one — avoiding the salt:version
pin that changed salt._mapdata on #591.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Paul Tobias
2026-06-25 22:59:27 +07:00
co-authored by Claude
parent 543760ac1c
commit c8a821a24a
+1 -1
View File
@@ -249,7 +249,7 @@ suites:
base:
'*':
- salt._mapdata
- salt.pkgrepo
# no salt.pkgrepo: it upgrades image's salt to latest in place and crashes
- salt.master
- salt.minion
verifier: