Track 5.20 is no longer available for lxd, so refresh to 5.0/stable
instead. Version 5.21 or newer suffers from LP: #2061107, track
5.0/stable is currently the most recent version that can be used.
Signed-off-by: Manuel Diewald <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>
cleanup.sh: add a new script for post-test cleanup
KERNTT-1167
Certification team has notified us the installed docker.io package is
breaking their tests on manually provisioned MTK instances. Add a
cleanup.sh script to remove it.
Corresponding changes need to be added to autotest-client-tests.
Since lxd snap revision #29727 (lxd 6.1-4cd98ce) overlayfs mount
operations will be denied by apparmor policies due to insufficient
permissions unless security.nesting is enabled in the container
configuration.
Signed-off-by: Manuel Diewald <email address hidden>
Acked-by: Francis Ginther <email address hidden>
Signed-off-by: Francis Ginther <email address hidden>
On Focal the newly released LXD 5.21 in latest/stable require ZFS 2.1
from 5.15 HWE kernel.
With that version of LXD installed the shiftfs-lxd.sh test will fail
with:
Error: Required tool zpool is missing
LXD team suggests to use 5.21/stable, which contains ZFS 0.8 suport.
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Francis Ginther <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>
Shiftfs support will be dropped from 6.5 variants on Jammy as well.
The result we saw for J-hwe-6.5 in sru-20231030 is because we are
still in the middle of this transition.
Use `dpkg --compare-versions` for kernel version comparison.
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>
On Jammy, the preloaded 5.0 stable lxd is too old for 6.5 ZFS. And thus
causing this issue even with the presence of zpool command:
Error: Required tool zpool is missing
Fix this by refreshing the snap with with latest/stable channel.
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Francis Ginther <email address hidden>