"make check" fails on examples/imsm in some environments
Bug #1936248 reported by
Dan Bungert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, CI is passing and reporting no issues.
However, starting with merge commit c31e2a06, `make check` fails to `python3 scripts/
Interestingly, I can run-in-lxd locally and it still fails
I've generated example config files and a log of the run-in-lxd for the 5 image targets.
To post a comment you must log in.
Note the logs are slightly modified code for debugging purposes, but vanilla main / the imsm merge commit fail also
diff --git a/scripts/ runtests. sh b/scripts/ runtests. sh runtests. sh runtests. sh .subiquity/ test-autoinstal l-schema. json
index 6fd8e88a..2f4909f5 100755
--- a/scripts/
+++ b/scripts/
@@ -4,6 +4,7 @@ set -eux
testschema=
validate () { subiquity- curtin- install. conf validate- yaml.py .subiquity/ subiquity- curtin- install. conf subiquity- client- debug.log ] || [ ! -e .subiquity/ subiquity- server- debug.log ]; then
+ cat .subiquity/
python3 scripts/
if [ ! -e .subiquity/
echo "log file not created"
@@ -28,6 +29,9 @@ tty=$(tty) || tty=/dev/console
export SUBIQUITY_ REPLAY_ TIMESCALE= 100 answers* .yaml; do answers- imsm.yaml" ] ; then config: \(.*\)/\1/p' $answers || true) validate- yaml.py b/scripts/ validate- yaml.py validate- yaml.py validate- yaml.py action[ 'device' ]] action[ 'device' ]]['type' ] == 'disk' action[ 'device' ]] of_device[ 'type'] == 'disk', \ of_device} ["type" ] != "disk"'
for answers in examples/
+ if [ "$answers" != "examples/
+ continue
+ fi
clean
config=$(sed -n 's/^#machine-
if [ -z "$config" ]; then
diff --git a/scripts/
index 9b53566b..f83de5fc 100644
--- a/scripts/
+++ b/scripts/
@@ -19,7 +19,9 @@ class StorageChecker:
assert action['device'] in self.actions
assert 'ptable' in self.actions[
if action.get('flag') in ('boot', 'bios_grub', 'prep'):
- assert self.actions[
+ action_of_device = self.actions[
+ assert action_
+ f'{action_
def _check_format(self, action):
assert 'volume' in action