Skip to content

Commit

Permalink
Bring back kernel/snapd/gadget snaps revert/refresh jobs to the SRU t…
Browse files Browse the repository at this point in the history
…est plan (BugFix) (#1176)

Bring back kernel/snapd/gadget snaps revert/refresh jobs to the SRU test plan

The snap-refresh-revert nested part had been removed from the SRU test
plan in cd17d9a following some
discoveries that, when executed, the jobs executed would change the
system state in the wrong order (e.g. updating the kernel snap without
reverting it while running other jobs afterwards).

The jobs were modified to prevent this kind of scenario[1], and the use
of manifest entries[2] prevents the jobs from being run on all the
devices yet (currently, the only project that enables them is the Xinyi
project).

Fix LM-1522

[1] #1124
[2]
https://github.com/canonical/checkbox/tree/main/providers/base/units/snapd#manifest-entries
  • Loading branch information
pieqq authored Apr 11, 2024
1 parent 16a63c5 commit 18d9bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/sru/units/sru.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ nested_part:
# Now we ask to switch to the integrated graphics card.
after-suspend-graphics-integrated-gpu-cert-automated
# after-suspend-monitor-integrated-gpu-cert-automated # not defined
com.canonical.certification::snap-refresh-revert
bootstrap_include:
device
graphics_card
Expand Down

0 comments on commit 18d9bd8

Please sign in to comment.