---- [[ subiquity step initial ]] ---- curtin: Installation started. (22.1-125-g7c18bf6a2) curtin: Installation finished. ---- [[ subiquity step partitioning ]] ---- curtin: Installation started. (22.1-125-g7c18bf6a2) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.051 devsync happy - path /dev/sda now exists return volume path /dev/sda get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.050 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.062 devsync happy - path /dev/sda now exists return volume path /dev/sda2 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.056 devsync happy - path /dev/sda now exists return volume path /dev/sda block-meta: extracted devices to clear: ['/dev/sda', '/dev/sda2'] Declared block devices: ['/dev/sda', '/dev/sda2'] clearing devices=['/dev/sda', '/dev/sda2'] start: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: removing previous storage devices Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed return codes [0, 1, 2] (capture=True) mdadm assemble scan results: mdadm: looking for devices for further assembly mdadm: no recogniseable superblock on /dev/loop13 mdadm: no recogniseable superblock on /dev/loop10 mdadm: no recogniseable superblock on /dev/loop11 mdadm: no recogniseable superblock on /dev/loop12 mdadm: no recogniseable superblock on /dev/loop9 mdadm: no recogniseable superblock on /dev/loop8 mdadm: no recogniseable superblock on /dev/sdb4 mdadm: no recogniseable superblock on /dev/sdb3 mdadm: Cannot assemble mbr metadata on /dev/sdb2 mdadm: no recogniseable superblock on /dev/sdb1 mdadm: Cannot assemble mbr metadata on /dev/sdb mdadm: cannot open device /dev/sr0: No medium found mdadm: no recogniseable superblock on /dev/sda2 mdadm: no recogniseable superblock on /dev/sda1 mdadm: Cannot assemble mbr metadata on /dev/sda mdadm: no recogniseable superblock on /dev/loop7 mdadm: no recogniseable superblock on /dev/loop6 mdadm: no recogniseable superblock on /dev/loop5 mdadm: no recogniseable superblock on /dev/loop4 mdadm: no recogniseable superblock on /dev/loop3 mdadm: no recogniseable superblock on /dev/loop2 mdadm: no recogniseable superblock on /dev/loop1 mdadm: no recogniseable superblock on /dev/loop0 mdadm: No arrays found in config file or automatically Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes [0, 1] (capture=True) mdadm detail scan after assemble: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.004 Running command ['pvscan'] with allowed return codes [0] (capture=True) Running command ['vgscan'] with allowed return codes [0] (capture=True) Running command ['vgchange', '--activate=y'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.005 Loading kernel module bcache via modprobe Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False) Generating device storage trees for path(s): ['/dev/sda', '/dev/sda2'] devname '/sys/class/block/sda' had holders: [] /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False devname '/sys/class/block/sda2' had holders: [] devname '/sys/class/block/sda1' had holders: [] devname '/sys/class/block/sda2' had holders: [] Current device storage tree: sda |-- sda2 `-- sda1 sda2 Shutdown Plan: {'level': 3, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'} {'level': 2, 'device': '/sys/class/block/sda1', 'dev_type': 'partition'} {'level': 1, 'device': '/sys/class/block/sda', 'dev_type': 'disk'} shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda2' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "c4b1be15-17c5-4714-9b02-d50f7868d0d1", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda2 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/sda2 wiping /dev/sda2 attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) /dev/sda2: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef wiping 1M on /dev/sda2 at offsets [0, -1048576] successfully wiped device /dev/sda2 on attempt 1/4 shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda1' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "c4b1be15-17c5-4714-9b02-d50f7868d0d1", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda1 is a swap device Found swap magic: b'\xf2\x11i\xf5\x17d\x08\xdaG\x97' wiping superblock on /dev/sda1 wiping /dev/sda1 attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda1'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda1 at offsets [0, -1048576] successfully wiped device /dev/sda1 on attempt 1/4 shutdown running on holder type: 'disk' syspath: '/sys/class/block/sda' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/sda wiping /dev/sda attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) /dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 8 bytes were erased at offset 0x1bf2975e00 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa wiping 1M on /dev/sda at offsets [0, -1048576] successfully wiped device /dev/sda on attempt 1/4 /sys/class/block/sda had partitions, issuing partition reread Running command ['blockdev', '--rereadpt', '/dev/sda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.033 block.sys_block_path: devname /dev/sda2 does not exist devname '/sys/class/block/sda' had holders: [] /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices blockmeta: detected storage config, using mode=custom start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: disk-sda get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.026 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda at offsets [0, -1048576] labeling device: '/dev/sda' with 'gpt' partition table Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda at offsets [0, -1048576] devname '/dev/sda' had holders: [] get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.039 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" } } get_blockdev_sector_size: (log=512, phys=512) sfdisk input: --- label: gpt 1: start=2048 size=2048 type=21686148-6449-6E6F-744E-656564454649 2: start=4096 size=4194304 3: start=4198400 size=230240256 --- Running command ['losetup', '--version'] with allowed return codes [0] (capture=True) Running command ['sfdisk', '--no-reread', '/dev/sda', '--no-tell-kernel'] with allowed return codes [0] (capture=False) Disk /dev/sda: 111,79 GiB, 120034123776 bytes, 234441648 sectors Disk model: KINGSTON SV300S3 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes >>> Script header accepted. >>> Created a new GPT disklabel (GUID: AAB855F2-AFEB-4C83-903F-B3E30D47B9A7). /dev/sda1: Created a new partition 1 of type 'BIOS boot' and of size 1 MiB. /dev/sda2: Created a new partition 2 of type 'Linux filesystem' and of size 2 GiB. /dev/sda3: Created a new partition 3 of type 'Linux filesystem' and of size 109,8 GiB. /dev/sda4: Done. New situation: Disklabel type: gpt Disk identifier: AAB855F2-AFEB-4C83-903F-B3E30D47B9A7 Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 4198399 4194304 2G Linux filesystem /dev/sda3 4198400 234438655 230240256 109,8G Linux filesystem The partition table has been altered. Running command ['partprobe', '/dev/sda'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.066 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda2 at offsets [0, -1048576] Running command ['wipefs', '--all', '--force', '/dev/sda3'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda3 at offsets [0, -1048576] Running command ['wipefs', '--all', '--force', '/dev/sda1'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda1 at offsets [0, -1048576] get_path_to_storage_volume for volume partition-0({'device': 'disk-sda', 'size': 1048576, 'flag': 'bios_grub', 'number': 1, 'preserve': False, 'offset': 1048576, 'id': 'partition-0', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.073 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.059 devsync happy - path /dev/sda now exists return volume path /dev/sda1 Running command ['blkid', '-o', 'export', '/dev/sda1'] with allowed return codes [0, 2] (capture=True) No partition-specific dname get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.087 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.070 devsync happy - path /dev/sda now exists return volume path /dev/sda2 Running command ['blkid', '-o', 'export', '/dev/sda2'] with allowed return codes [0, 2] (capture=True) No partition-specific dname get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.072 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.069 devsync happy - path /dev/sda now exists return volume path /dev/sda3 Running command ['blkid', '-o', 'export', '/dev/sda3'] with allowed return codes [0, 2] (capture=True) No partition-specific dname finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-sda start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-0 get_path_to_storage_volume for volume partition-0({'device': 'disk-sda', 'size': 1048576, 'flag': 'bios_grub', 'number': 1, 'preserve': False, 'offset': 1048576, 'id': 'partition-0', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.071 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.075 devsync happy - path /dev/sda now exists return volume path /dev/sda1 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-1 get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.079 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.081 devsync happy - path /dev/sda now exists return volume path /dev/sda2 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-0 get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.057 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.058 devsync happy - path /dev/sda now exists return volume path /dev/sda2 mkfs /dev/sda2 info: {'fstype': 'ext4', 'volume': 'partition-1', 'preserve': False, 'id': 'format-0', 'type': 'format'} Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda2'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "2147483648", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', '4412e41e-c6f0-499a-ae60-3be80af95c1e', '/dev/sda2'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-2 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.059 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.076 devsync happy - path /dev/sda now exists return volume path /dev/sda3 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-2 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring dm_crypt: dm_crypt-0 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.060 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.058 devsync happy - path /dev/sda now exists return volume path /dev/sda3 Checking if zkey encryption is supported... Loading kernel module pkey via modprobe Running command ['modprobe', '--use-blacklist', 'pkey'] with allowed return codes [0] (capture=False) modprobe: FATAL: Module pkey not found in directory /lib/modules/6.5.0-9-generic Failed to load 'pkey' kernel module Using cryptsetup on /dev/sda3 Running command ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] with allowed return codes [0] (capture=False) An error occured handling 'dm_crypt-0': ProcessExecutionError - Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring dm_crypt: dm_crypt-0 TIMED BLOCK_META: 4.890 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Traceback (most recent call last): File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 116, in _subp sp = subprocess.Popen(args, stdout=stdout, File "/snap/ubuntu-desktop-installer/1272/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/snap/ubuntu-desktop-installer/1272/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'cryptsetup' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/log.py", line 97, in wrapper return log_time("TIMED %s: " % msg, func, *args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/log.py", line 79, in log_time return func(*args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 127, in block_meta return meta_custom(args) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 2248, in meta_custom handler(command, storage_config_dict, context) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 1694, in dm_crypt_handler util.subp(cmd) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 283, in subp return _subp(*args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 137, in _subp raise ProcessExecutionError(cmd=args, reason=e) curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' curtin: Installation failed with exception: Unexpected error while running command. Command: ['curtin', 'block-meta', 'simple'] Exit code: 3 Reason: - Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.051 devsync happy - path /dev/sda now exists return volume path /dev/sda get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.050 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.062 devsync happy - path /dev/sda now exists return volume path /dev/sda2 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial 0x50026b725604c77b via udev to 0x50026b725604c77b lookup_disks found: ['wwn-0x50026b725604c77b', 'wwn-0x50026b725604c77b-part2', 'wwn-0x50026b725604c77b-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.056 devsync happy - path /dev/sda now exists return volume path /dev/sda block-meta: extracted devices to clear: ['/dev/sda', '/dev/sda2'] Declared block devices: ['/dev/sda', '/dev/sda2'] clearing devices=['/dev/sda', '/dev/sda2'] start: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: removing previous storage devices Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed return codes [0, 1, 2] (capture=True) mdadm assemble scan results: mdadm: looking for devices for further assembly mdadm: no recogniseable superblock on /dev/loop13 mdadm: no recogniseable superblock on /dev/loop10 mdadm: no recogniseable superblock on /dev/loop11 mdadm: no recogniseable superblock on /dev/loop12 mdadm: no recogniseable superblock on /dev/loop9 mdadm: no recogniseable superblock on /dev/loop8 mdadm: no recogniseable superblock on /dev/sdb4 mdadm: no recogniseable superblock on /dev/sdb3 mdadm: Cannot assemble mbr metadata on /dev/sdb2 mdadm: no recogniseable superblock on /dev/sdb1 mdadm: Cannot assemble mbr metadata on /dev/sdb mdadm: cannot open device /dev/sr0: No medium found mdadm: no recogniseable superblock on /dev/sda2 mdadm: no recogniseable superblock on /dev/sda1 mdadm: Cannot assemble mbr metadata on /dev/sda mdadm: no recogniseable superblock on /dev/loop7 mdadm: no recogniseable superblock on /dev/loop6 mdadm: no recogniseable superblock on /dev/loop5 mdadm: no recogniseable superblock on /dev/loop4 mdadm: no recogniseable superblock on /dev/loop3 mdadm: no recogniseable superblock on /dev/loop2 mdadm: no recogniseable superblock on /dev/loop1 mdadm: no recogniseable superblock on /dev/loop0 mdadm: No arrays found in config file or automatically Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes [0, 1] (capture=True) mdadm detail scan after assemble: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.004 Running command ['pvscan'] with allowed return codes [0] (capture=True) Running command ['vgscan'] with allowed return codes [0] (capture=True) Running command ['vgchange', '--activate=y'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.005 Loading kernel module bcache via modprobe Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False) Generating device storage trees for path(s): ['/dev/sda', '/dev/sda2'] devname '/sys/class/block/sda' had holders: [] /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False devname '/sys/class/block/sda2' had holders: [] devname '/sys/class/block/sda1' had holders: [] devname '/sys/class/block/sda2' had holders: [] Current device storage tree: sda |-- sda2 `-- sda1 sda2 Shutdown Plan: {'level': 3, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'} {'level': 2, 'device': '/sys/class/block/sda1', 'dev_type': 'partition'} {'level': 1, 'device': '/sys/class/block/sda', 'dev_type': 'disk'} shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda2' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "c4b1be15-17c5-4714-9b02-d50f7868d0d1", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda2 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/sda2 wiping /dev/sda2 attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) /dev/sda2: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef wiping 1M on /dev/sda2 at offsets [0, -1048576] successfully wiped device /dev/sda2 on attempt 1/4 shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda1' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "c4b1be15-17c5-4714-9b02-d50f7868d0d1", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda1 is a swap device Found swap magic: b'\xf2\x11i\xf5\x17d\x08\xdaG\x97' wiping superblock on /dev/sda1 wiping /dev/sda1 attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda1'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda1 at offsets [0, -1048576] successfully wiped device /dev/sda1 on attempt 1/4 shutdown running on holder type: 'disk' syspath: '/sys/class/block/sda' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120030494720", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/sda wiping /dev/sda attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) /dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 8 bytes were erased at offset 0x1bf2975e00 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa wiping 1M on /dev/sda at offsets [0, -1048576] successfully wiped device /dev/sda on attempt 1/4 /sys/class/block/sda had partitions, issuing partition reread Running command ['blockdev', '--rereadpt', '/dev/sda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.033 block.sys_block_path: devname /dev/sda2 does not exist devname '/sys/class/block/sda' had holders: [] /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False /dev/sda is multipath device partition? False finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices blockmeta: detected storage config, using mode=custom start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: disk-sda get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.026 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda at offsets [0, -1048576] labeling device: '/dev/sda' with 'gpt' partition table Running command ['wipefs', '--all', '--force', '/dev/sda'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda at offsets [0, -1048576] devname '/dev/sda' had holders: [] get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.039 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "KINGSTON SV300S37A120G", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "120034123776", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" } } get_blockdev_sector_size: (log=512, phys=512) sfdisk input: --- label: gpt 1: start=2048 size=2048 type=21686148-6449-6E6F-744E-656564454649 2: start=4096 size=4194304 3: start=4198400 size=230240256 --- Running command ['losetup', '--version'] with allowed return codes [0] (capture=True) Running command ['sfdisk', '--no-reread', '/dev/sda', '--no-tell-kernel'] with allowed return codes [0] (capture=False) Disk /dev/sda: 111,79 GiB, 120034123776 bytes, 234441648 sectors Disk model: KINGSTON SV300S3 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes >>> Script header accepted. >>> Created a new GPT disklabel (GUID: AAB855F2-AFEB-4C83-903F-B3E30D47B9A7). /dev/sda1: Created a new partition 1 of type 'BIOS boot' and of size 1 MiB. /dev/sda2: Created a new partition 2 of type 'Linux filesystem' and of size 2 GiB. /dev/sda3: Created a new partition 3 of type 'Linux filesystem' and of size 109,8 GiB. /dev/sda4: Done. New situation: Disklabel type: gpt Disk identifier: AAB855F2-AFEB-4C83-903F-B3E30D47B9A7 Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 4198399 4194304 2G Linux filesystem /dev/sda3 4198400 234438655 230240256 109,8G Linux filesystem The partition table has been altered. Running command ['partprobe', '/dev/sda'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.066 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda2 at offsets [0, -1048576] Running command ['wipefs', '--all', '--force', '/dev/sda3'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda3 at offsets [0, -1048576] Running command ['wipefs', '--all', '--force', '/dev/sda1'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda1 at offsets [0, -1048576] get_path_to_storage_volume for volume partition-0({'device': 'disk-sda', 'size': 1048576, 'flag': 'bios_grub', 'number': 1, 'preserve': False, 'offset': 1048576, 'id': 'partition-0', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.073 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.059 devsync happy - path /dev/sda now exists return volume path /dev/sda1 Running command ['blkid', '-o', 'export', '/dev/sda1'] with allowed return codes [0, 2] (capture=True) No partition-specific dname get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.087 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.070 devsync happy - path /dev/sda now exists return volume path /dev/sda2 Running command ['blkid', '-o', 'export', '/dev/sda2'] with allowed return codes [0, 2] (capture=True) No partition-specific dname get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.072 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.069 devsync happy - path /dev/sda now exists return volume path /dev/sda3 Running command ['blkid', '-o', 'export', '/dev/sda3'] with allowed return codes [0, 2] (capture=True) No partition-specific dname finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-sda start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-0 get_path_to_storage_volume for volume partition-0({'device': 'disk-sda', 'size': 1048576, 'flag': 'bios_grub', 'number': 1, 'preserve': False, 'offset': 1048576, 'id': 'partition-0', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.071 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.075 devsync happy - path /dev/sda now exists return volume path /dev/sda1 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-1 get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.079 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.081 devsync happy - path /dev/sda now exists return volume path /dev/sda2 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-0 get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 2147483648, 'wipe': 'superblock', 'number': 2, 'preserve': False, 'offset': 2097152, 'id': 'partition-1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.057 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.058 devsync happy - path /dev/sda now exists return volume path /dev/sda2 mkfs /dev/sda2 info: {'fstype': 'ext4', 'volume': 'partition-1', 'preserve': False, 'id': 'format-0', 'type': 'format'} Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda2'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "2147450880", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "2147483648", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', '4412e41e-c6f0-499a-ae60-3be80af95c1e', '/dev/sda2'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-2 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.059 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.076 devsync happy - path /dev/sda now exists return volume path /dev/sda3 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-2 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring dm_crypt: dm_crypt-0 get_path_to_storage_volume for volume partition-2({'device': 'disk-sda', 'size': 117883011072, 'wipe': 'superblock', 'number': 3, 'preserve': False, 'offset': 2149580800, 'id': 'partition-2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': 'KINGSTON_SV300S37A120G_50026B725604C77B', 'wwn': '0x50026b725604c77b', 'path': '/dev/sda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.060 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.058 devsync happy - path /dev/sda now exists return volume path /dev/sda3 Checking if zkey encryption is supported... Loading kernel module pkey via modprobe Running command ['modprobe', '--use-blacklist', 'pkey'] with allowed return codes [0] (capture=False) modprobe: FATAL: Module pkey not found in directory /lib/modules/6.5.0-9-generic Failed to load 'pkey' kernel module Using cryptsetup on /dev/sda3 Running command ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] with allowed return codes [0] (capture=False) An error occured handling 'dm_crypt-0': ProcessExecutionError - Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring dm_crypt: dm_crypt-0 TIMED BLOCK_META: 4.890 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Traceback (most recent call last): File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 116, in _subp sp = subprocess.Popen(args, stdout=stdout, File "/snap/ubuntu-desktop-installer/1272/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/snap/ubuntu-desktop-installer/1272/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'cryptsetup' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/log.py", line 97, in wrapper return log_time("TIMED %s: " % msg, func, *args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/log.py", line 79, in log_time return func(*args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 127, in block_meta return meta_custom(args) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 2248, in meta_custom handler(command, storage_config_dict, context) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/commands/block_meta.py", line 1694, in dm_crypt_handler util.subp(cmd) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 283, in subp return _subp(*args, **kwargs) File "/snap/ubuntu-desktop-installer/1272/lib/python3.10/site-packages/curtin/util.py", line 137, in _subp raise ProcessExecutionError(cmd=args, reason=e) curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' Unexpected error while running command. Command: ['cryptsetup', 'luksFormat', '/dev/sda3', '/tmp/luks-key-40vidyz9'] Exit code: - Reason: [Errno 2] No such file or directory: 'cryptsetup' Stdout: '' Stderr: '' Stderr: ''