Comment 3 for bug 1896509

Revision history for this message
dann frazier (dannf) wrote :

= focal verification =
== Regression test a system that is online and uses a tang pin. ==
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Volume group "ubuntu-vg" not found
  Cannot process volume group ubuntu-vg
[ 3.927883] pcieport 0000:00:02.5: pciehp: Failed to check link status
Please unlock disk dm_crypt-0: Begin: clevis: Waiting for interface enp1s0 to become available ... done.
IP-Config: enp1s0 hardware address 52:54:00:a0:ea:b7 mtu 1500 DHCP RARP
IP-Config: no response after 2 secs - giving up
IP-Config: enp1s0 hardware address 52:54:00:a0:ea:b7 mtu 1500 DHCP RARP
IP-Config: enp1s0 complete (dhcp from 192.168.122.1):
 address: 192.168.122.155 broadcast: 192.168.122.255 netmask: 255.255.255.0
 gateway: 192.168.122.1 dns0 : 192.168.122.1 dns1 : 0.0.0.0
 rootserver: 192.168.122.1 rootpath:
 filename :

cryptsetup: dm_crypt-0: set up successfully
done.
Begin: Running /scripts/local-premount ... [ 18.436541] Btrfs loaded, crc32c=crc32c-intel
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 18.613839] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... Terminated
done.
<...>
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Volume group "ubuntu-vg" not found
  Cannot process volume group ubuntu-vg
[ 3.927883] pcieport 0000:00:02.5: pciehp: Failed to check link status
Please unlock disk dm_crypt-0: Begin: clevis: Waiting for interface enp1s0 to become available ... done.
IP-Config: enp1s0 hardware address 52:54:00:a0:ea:b7 mtu 1500 DHCP RARP
IP-Config: no response after 2 secs - giving up
IP-Config: enp1s0 hardware address 52:54:00:a0:ea:b7 mtu 1500 DHCP RARP
IP-Config: enp1s0 complete (dhcp from 192.168.122.1):
 address: 192.168.122.155 broadcast: 192.168.122.255 netmask: 255.255.255.0
 gateway: 192.168.122.1 dns0 : 192.168.122.1 dns1 : 0.0.0.0
 rootserver: 192.168.122.1 rootpath:
 filename :

cryptsetup: dm_crypt-0: set up successfully
done.
Begin: Running /scripts/local-premount ... [ 18.436541] Btrfs loaded, crc32c=crc32c-intel
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 18.613839] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... Terminated
done.

== Test a system using a tang pin that is offline, and confirm the user is prompted with a passphrase prompt without delay ==
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Volume group "ubuntu-vg" not found[ 3.720164] pcieport 0000:00:02.5: pciehp: Failed to check link status

  Cannot process volume group ubuntu-vg
Please unlock disk dm_crypt-0: Begin: clevis: Waiting for interface enp1s0 to become available ...
Failure: clevis: Interface enp1s0 did not appear in time
done.
cryptsetup: dm_crypt-0: set up successfully
done.
Begin: Running /scripts/local-premount ... [ 15.374107] Btrfs loaded, crc32c=crc32c-intel
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 15.549809] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... Terminated
done.
Begin: Running /scripts/init-bottom ... ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: enp1s0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
no search or nameservers found in /run/net-enp1s0.conf /run/net-*.conf /run/net6-*.conf
done.

== Test a system that does not use a tang pin and verify that network config is not attempted. ==
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Volume group "ubuntu-vg" not found
  Cannot process volume group ubuntu-vg
[ 3.853031] pcieport 0000:00:02.5: pciehp: Failed to check link status
Please unlock disk dm_crypt-0:
cryptsetup: dm_crypt-0: set up successfully
done.
Begin: Running /scripts/local-premount ... [ 9.853782] Btrfs loaded, crc32c=crc32c-intel
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 9.980780] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
done.