[Bug 2069290] Re: TEST-13-ENC-RAID-LVM fails with 256~rc3-5ubuntu1
Benjamin Drung
2069290 at bugs.launchpad.net
Thu Jun 13 13:38:24 UTC 2024
Adding tpm2-tools to the autopkgtest dependencies is not enough. It
fails then with:
```
CLIENT TEST START: Any LUKS
run-qemu: /usr/bin/qemu-system-x86_64 '-cpu' 'IvyBridge-v2' '-M' 'q35' '-smp' '2' '-m' '1024' '-nodefaults' '-vga' 'none' '-display' 'none' '-no-reboot' '-device' 'i6300esb' '-watchdog-action' 'poweroff' '-device' 'virtio-rng-pci' '-serial' 'stdio' '-kernel' '/boot/vmlinuz-6.8.0-31-generic' '-device' 'virtio-scsi-pci,id=scsi0' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/marker.img,id=drive-data0' '-device' 'scsi-hd,bus=scsi0.0,drive=drive-data0,id=data0,serial=marker' '-device' 'virtio-scsi-pci,id=scsi1' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-1.img,id=drive-data1' '-device' 'scsi-hd,bus=scsi1.0,drive=drive-data1,id=data1,serial=disk1' '-device' 'virtio-scsi-pci,id=scsi2' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-2.img,id=drive-data2' '-device' 'scsi-hd,bus=scsi2.0,drive=drive-data2,id=data2,serial=disk2' '-device' 'virtio-scsi-pci,id=scsi3' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-3.img,id=drive-data3' '-device' 'scsi-hd,bus=scsi3.0,drive=drive-data3,id=data3,serial=disk3' '-append' 'root=/dev/dracut/root rw rd.auto rd.retry=20' '-initrd' '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/initramfs.testing'
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [0;31m [FAILED] [0;39m
tail: cannot open '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba/TEST-13-ENC-RAID-LVM/server.log' for reading: No such file or directory
==> /tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba/TEST-13-ENC-RAID-LVM/test.log <==
[...]
CLIENT TEST START: Any LUKS
run-qemu: /usr/bin/qemu-system-x86_64 '-cpu' 'IvyBridge-v2' '-M' 'q35' '-smp' '2' '-m' '1024' '-nodefaults' '-vga' 'none' '-display' 'none' '-no-reboot' '-device' 'i6300esb' '-watchdog-action' 'poweroff' '-device' 'virtio-rng-pci' '-serial' 'stdio' '-kernel' '/boot/vmlinuz-6.8.0-31-generic' '-device' 'virtio-scsi-pci,id=scsi0' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/marker.img,id=drive-data0' '-device' 'scsi-hd,bus=scsi0.0,drive=drive-data0,id=data0,serial=marker' '-device' 'virtio-scsi-pci,id=scsi1' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-1.img,id=drive-data1' '-device' 'scsi-hd,bus=scsi1.0,drive=drive-data1,id=data1,serial=disk1' '-device' 'virtio-scsi-pci,id=scsi2' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-2.img,id=drive-data2' '-device' 'scsi-hd,bus=scsi2.0,drive=drive-data2,id=data2,serial=disk2' '-device' 'virtio-scsi-pci,id=scsi3' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-3.img,id=drive-data3' '-device' 'scsi-hd,bus=scsi3.0,drive=drive-data3,id=data3,serial=disk3' '-append' 'root=/dev/dracut/root rw rd.auto rd.retry=20' '-initrd' '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/initramfs.testing'
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [0;31m [FAILED] [0;39m
make[1]: *** [../Makefile.testdir:4: all] Error 1
make[1]: Leaving directory '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba/TEST-13-ENC-RAID-LVM'
make: *** [Makefile:4: TEST-13-ENC-RAID-LVM] Error 2
make: Leaving directory '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba'
```
Probably test_marker_check fails, but sadly the logs from the boot are
missing in the output (even with V=2).
** Bug watch added: github.com/dracut-ng/dracut-ng/issues #349
https://github.com/dracut-ng/dracut-ng/issues/349
** Also affects: systemd via
https://github.com/dracut-ng/dracut-ng/issues/349
Importance: Unknown
Status: Unknown
** Project changed: systemd => dracut
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dracut in Ubuntu.
Matching subscriptions: dracut
https://bugs.launchpad.net/bugs/2069290
Title:
TEST-13-ENC-RAID-LVM fails with 256~rc3-5ubuntu1
Status in Dracut:
Unknown
Status in dracut package in Ubuntu:
New
Status in systemd package in Ubuntu:
New
Bug description:
TEST-13-ENC-RAID-LVM from dracut 102-3ubuntu1 fails with systemd
256~rc3-5ubuntu1:
```
dracut[I]: Executing: /usr/bin/dracut --kernel-cmdline "panic=1 oops=panic softlockup_panic=1 systemd.crash_reboot quiet rd.retry=10 rd.info rd.shell=0 selinux=0 console=ttyS0,115200n81 " --local --no-hostonly --no-hostonly-cmdline --no-early-microcode --add test --force --kver 6.8.0-31-generic -i ./cryptroot-ask.sh /sbin/cryptroot-ask -i /tmp/crypttab /etc/crypttab -i /tmp/key /etc/key /tmp/autopkgtest.qrz2pl/autopkgtest_tmp/dracut-test.jMkBhK/initramfs.testing
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
```
The 91tpm2-tss module fails to setup, because it "require_binaries
tpm2" but the tpm2-tools package (shipping /usr/bin/tpm2) is not
installed. systemd neither depends, recommends, or suggests
tpm2-tools.
Note: The next dracut upload will include the autopkgtest changes to
show those failure logs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dracut/+bug/2069290/+subscriptions
More information about the foundations-bugs
mailing list