From 18d9bd8862f3b80f9af1963b95889ff180fdb12c Mon Sep 17 00:00:00 2001 From: Pierre Equoy Date: Thu, 11 Apr 2024 17:42:38 +0800 Subject: [PATCH] Bring back kernel/snapd/gadget snaps revert/refresh jobs to the SRU test 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 cd17d9a51b6565b8736f5fddf3a09102197c3efd 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] https://github.com/canonical/checkbox/pull/1124 [2] https://github.com/canonical/checkbox/tree/main/providers/base/units/snapd#manifest-entries --- providers/sru/units/sru.pxu | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/sru/units/sru.pxu b/providers/sru/units/sru.pxu index 67ab31a93..e5b887874 100644 --- a/providers/sru/units/sru.pxu +++ b/providers/sru/units/sru.pxu @@ -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