summaryrefslogtreecommitdiff
diff options
authorSergio Cazzolato <sergio.cazzolato@canonical.com>2023-06-30 18:04:28 -0300
committerMichael Vogt <michael.vogt@gmail.com>2023-07-07 09:11:59 +0200
commit7e22ca9392deb86ba4e151addc4a52df391268df (patch)
tree724dc0e90aa754e317ddd9d4c336204314eaecbe
parent7f0bcdfd55b6693914746a258b8be9c00b8af163 (diff)
Skip uc20-create-partitions-encrypt in ubuntu-23.*
This skip is required because the test is getting stuck /usr/lib/snapd/snap-fde-keymgr add-recovery-key --key-file /home/gopath/src/github.com/snapcore/snapd/tests/main/uc20-create-partitions-encrypt/recovery-key --devices /dev/loop1p5 --authorizations file:/home/gopath/src/github.com/snapcore/snapd/tests/main/uc20-create-partitions-encrypt/unsealed-key --devices /dev/loop1p4 --authorizations file:/home/gopath/src/github.com/snapcore/snapd/tests/main/uc20-create-partitions-encrypt/save-key Getting stuck in keymgr_luks3.go if err := luks2.AddKey(dev, currKey, recoveryKey[:], &options); err != nil { return fmt.Errorf("cannot add key: %v", err) } dev: /dev/loop1p5 currKey: [147 82 161 187 119 61 54 50 164 67 214 97 112 65 122 24 186 176 1 239 110 94 3 108 52 204 252 215 105 68 53 245] recoveryKey: [135 240 162 165 227 144 234 164 196 133 220 32 104 174 169 112] options: {{0s 1048576 4 0} 1}
-rw-r--r--tests/main/uc20-create-partitions-encrypt/task.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/main/uc20-create-partitions-encrypt/task.yaml b/tests/main/uc20-create-partitions-encrypt/task.yaml
index 3d49da6a63..9e3aedc699 100644
--- a/tests/main/uc20-create-partitions-encrypt/task.yaml
+++ b/tests/main/uc20-create-partitions-encrypt/task.yaml
@@ -1,7 +1,8 @@
summary: Integration tests for the snap-bootstrap binary
# use the same system and tooling as uc20
-systems: [ubuntu-2*]
+# TODO: revert skip for ubuntu-23*
+systems: [ubuntu-20.*,ubuntu-22.*]
environment:
SNAPD_DEBUG: "1"