curtin: Installation started. (18.1-17-gae48e86f-0ubuntu1~18.04.1) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta start: cmd-install/stage-partitioning/builtin/cmd-block-meta: 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/md/ubuntu-server:0p1 mdadm: Cannot assemble mbr metadata on /dev/md/ubuntu-server:0 mdadm: /dev/vdd is busy - skipping mdadm: /dev/vdc is busy - skipping mdadm: /dev/vdb is busy - skipping mdadm: no recogniseable superblock on /dev/vda2 mdadm: no recogniseable superblock on /dev/vda1 mdadm: Cannot assemble mbr metadata on /dev/vda mdadm: no recogniseable superblock on /dev/sr0 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: ARRAY /dev/md/ubuntu-server:0 level=raid5 num-devices=3 metadata=1.2 name=ubuntu-server:0 UUID=b40ade9d:876465d9:63ea7183:f78443d7 devices=/dev/vdb,/dev/vdc,/dev/vdd Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Loading kernel module bcache via modprobe Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False) Running command ['modinfo', 'zfs'] with allowed return codes [0] (capture=True) Loading kernel module zfs via modprobe Running command ['modprobe', '--use-blacklist', 'zfs'] with allowed return codes [0] (capture=False) get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda devname '/sys/class/block/vda' had holders: [] devname '/sys/class/block/vda/vda2' had holders: [] devname '/sys/class/block/vda/vda1' had holders: [] Current device storage tree: vda |-- vda2 `-- vda1 Shutdown Plan: {'level': 1, 'device': '/sys/class/block/vda/vda2', 'dev_type': 'partition'} {'level': 1, 'device': '/sys/class/block/vda/vda1', 'dev_type': 'partition'} {'level': 0, 'device': '/sys/class/block/vda', 'dev_type': 'disk'} 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', '--nodeps'] with allowed return codes [0] (capture=True) 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/loop0'] with allowed return codes [0] (capture=True) 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/loop1'] with allowed return codes [0] (capture=True) 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/loop2'] with allowed return codes [0] (capture=True) 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/loop3'] with allowed return codes [0] (capture=True) 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/loop4'] with allowed return codes [0] (capture=True) 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/loop5'] with allowed return codes [0] (capture=True) 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/sr0'] with allowed return codes [0] (capture=True) 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/vda'] with allowed return codes [0] (capture=True) 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/vdb'] with allowed return codes [0] (capture=True) 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/vdc'] with allowed return codes [0] (capture=True) 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/vdd'] with allowed return codes [0] (capture=True) Running command ['blockdev', '--rereadpt', '/dev/vda', '/dev/vdb', '/dev/vdc', '/dev/vdd'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) shutdown running on holder type: 'partition' syspath: '/sys/class/block/vda/vda2' 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/vda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "vda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "21474836480", "STATE": "", "TYPE": "disk", "UUID": "", "device_path": "/dev/vda" }, "vda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda1" }, "vda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "vda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "20401094656", "STATE": "", "TYPE": "part", "UUID": "7246bb76-850f-11e8-86bd-52540043252e", "device_path": "/dev/vda2" } } 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/vda2 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/vda2 wiping /dev/vda2 attempt 1/4 wiping 1M on /dev/vda2 at offsets [0, -1048576] successfully wiped device /dev/vda2 on attempt 1/4 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', '--nodeps'] with allowed return codes [0] (capture=True) 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/loop0'] with allowed return codes [0] (capture=True) 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/loop1'] with allowed return codes [0] (capture=True) 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/loop2'] with allowed return codes [0] (capture=True) 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/loop3'] with allowed return codes [0] (capture=True) 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/loop4'] with allowed return codes [0] (capture=True) 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/loop5'] with allowed return codes [0] (capture=True) 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/sr0'] with allowed return codes [0] (capture=True) 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/vda'] with allowed return codes [0] (capture=True) 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/vdb'] with allowed return codes [0] (capture=True) 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/vdc'] with allowed return codes [0] (capture=True) 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/vdd'] with allowed return codes [0] (capture=True) Running command ['blockdev', '--rereadpt', '/dev/vda', '/dev/vdb', '/dev/vdc', '/dev/vdd'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) shutdown running on holder type: 'partition' syspath: '/sys/class/block/vda/vda1' 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/vda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "vda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "21474836480", "STATE": "", "TYPE": "disk", "UUID": "", "device_path": "/dev/vda" }, "vda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda1" }, "vda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "20401094656", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda2" } } 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/vda1 is a swap device Found swap magic: b'>\x19\x9a\xb03\xe1t\xa2{\x1f' wiping superblock on /dev/vda1 wiping /dev/vda1 attempt 1/4 wiping 1M on /dev/vda1 at offsets [0, -1048576] successfully wiped device /dev/vda1 on attempt 1/4 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', '--nodeps'] with allowed return codes [0] (capture=True) 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/loop0'] with allowed return codes [0] (capture=True) 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/loop1'] with allowed return codes [0] (capture=True) 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/loop2'] with allowed return codes [0] (capture=True) 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/loop3'] with allowed return codes [0] (capture=True) 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/loop4'] with allowed return codes [0] (capture=True) 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/loop5'] with allowed return codes [0] (capture=True) 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/sr0'] with allowed return codes [0] (capture=True) 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/vda'] with allowed return codes [0] (capture=True) 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/vdb'] with allowed return codes [0] (capture=True) 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/vdc'] with allowed return codes [0] (capture=True) 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/vdd'] with allowed return codes [0] (capture=True) Running command ['blockdev', '--rereadpt', '/dev/vda', '/dev/vdb', '/dev/vdc', '/dev/vdd'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) shutdown running on holder type: 'disk' syspath: '/sys/class/block/vda' 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/vda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "vda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "21474836480", "STATE": "", "TYPE": "disk", "UUID": "", "device_path": "/dev/vda" }, "vda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda1" }, "vda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "20401094656", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda2" } } 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/vda is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/vda wiping /dev/vda attempt 1/4 wiping 1M on /dev/vda at offsets [0, -1048576] successfully wiped device /dev/vda on attempt 1/4 devname '/sys/class/block/vda' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: removing previous storage devices start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: disk-0 get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda wiping 1M on /dev/vda at offsets [0, -1048576] labeling device: '/dev/vda' with 'gpt' partition table wiping 1M on /dev/vda at offsets [0, -1048576] devname '/dev/vda' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: part-0 get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda partition 'number' key not set in config: { "device": "disk-0", "flag": "bios_grub", "id": "part-0", "preserve": false, "size": 1048576, "type": "partition" } vda logical_block_size_bytes: 512 adding partition 'part-0' to disk 'disk-0' (ptable: 'gpt') partnum: 1 offset_sectors: 2048 length_sectors: 2047 Running command ['sgdisk', '--new', '1:2048:4095', '--typecode=1:ef02', '/dev/vda'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: part-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: part-1 get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda partition 'number' key not set in config: { "device": "disk-0", "flag": "", "id": "part-1", "preserve": false, "size": 21471690752, "type": "partition" } vda logical_block_size_bytes: 512 partition 'number' key not set in config: { "device": "disk-0", "flag": "bios_grub", "id": "part-0", "preserve": false, "size": 1048576, "type": "partition" } previous partition number for 'part-1' found to be '1' previous partition: /sys/class/block/vda/vda1 previous partition.size_sectors: 2048 previous partition.start_sectors: 2048 adding partition 'part-1' to disk 'disk-0' (ptable: 'gpt') partnum: 2 offset_sectors: 4096 length_sectors: 41936895 Running command ['sgdisk', '--new', '2:4096:41940991', '--typecode=2:8300', '/dev/vda'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: part-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: fs-0 get_path_to_storage_volume for volume part-1 partition 'number' key not set in config: { "device": "disk-0", "flag": "", "id": "part-1", "preserve": false, "size": 21471690752, "type": "partition" } get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda2 mkfs /dev/vda2 info: {'id': 'fs-0', 'type': 'format', 'fstype': 'ext4', 'volume': 'part-1', 'preserve': False} 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/vda2'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "vda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "vda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "252:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "vda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "21471690752", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/vda2" } } Running command ['mkfs.ext4', '-F', '-U', 'd3363dac-8ea2-11e8-813c-52540043252e', '/dev/vda2'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: fs-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring mount: mount-0 get_path_to_storage_volume for volume part-1 partition 'number' key not set in config: { "device": "disk-0", "flag": "", "id": "part-1", "preserve": false, "size": 21471690752, "type": "partition" } get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda2 volume_path=/dev/vda2 found slaves: ['vda2'] kname_is_iscsi: no iscsi disk found for kname vda2 kname_is_iscsi: no iscsi disk found for kname vda2 Running command ['mount', '-t', 'ext4', '-o', 'defaults', '/dev/vda2', '/target/'] with allowed return codes [0] (capture=True) Running command ['blkid', '-o', 'export', '/dev/vda2'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-0 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: curtin command block-meta start: cmd-install/stage-network/builtin/cmd-net-meta: curtin command net-meta net-meta mode is 'custom'. devices=[] writing to file /tmp/tmpu_7n4m23/state/network_config with network config: network: ethernets: ens3: addresses: [] dhcp4: true version: 2 finish: cmd-install/stage-network/builtin/cmd-net-meta: SUCCESS: curtin command net-meta start: cmd-install/stage-extract/builtin/cmd-extract: curtin command extract Installing sources: [{'type': 'tgz', 'uri': 'cp:///media/filesystem'}] to target at /target start: cmd-install/stage-extract/builtin/cmd-extract: acquiring and extracting image from cp:///media/filesystem Running command ['sh', '-c', 'mkdir -p "$2" && cd "$2" && rsync -aXHAS --one-file-system "$1/" .', '--', '/media/filesystem', '/target'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from cp:///media/filesystem Applying write_files from config. finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-config: configuring apt configuring apt curthooks handling apt to target /target with config {'http_proxy': 'http://ds216.lowtech:3128/', 'https_proxy': 'http://ds216.lowtech:3128/', 'preserve_sources_list': False, 'primary': [{'arches': ['default'], 'uri': 'http://br.archive.ubuntu.com/ubuntu'}]} Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) got primary mirror: http://br.archive.ubuntu.com/ubuntu got security mirror: None Apt Mirror info: {'PRIMARY': 'http://br.archive.ubuntu.com/ubuntu', 'SECURITY': 'http://br.archive.ubuntu.com/ubuntu', 'MIRROR': 'http://br.archive.ubuntu.com/ubuntu'} debconf_selections was not set in config Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) No custom template provided, fall back to modifymirrors in /etc/apt/sources.list on the target system Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_InRelease to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic_InRelease Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_i18n_Translation-en to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-updates_main_i18n_Translation-en Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-proposed_main_binary-amd64_Packages to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-proposed_main_binary-amd64_Packages Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-proposed_InRelease to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-proposed_InRelease Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_i18n_Translation-en to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic_main_i18n_Translation-en Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-proposed_main_i18n_Translation-en to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-proposed_main_i18n_Translation-en Renaming apt list /target/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_bionic-security_InRelease to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-security_InRelease Renaming apt list /target/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_bionic-security_main_i18n_Translation-en to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-security_main_i18n_Translation-en Renaming apt list /target/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_bionic-security_main_binary-amd64_Packages to /target/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_bionic-security_main_binary-amd64_Packages write apt proxy info to /target/etc/apt/apt.conf.d/90curtin-aptproxy finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-config: SUCCESS: configuring apt configuring apt Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: installing missing packages Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Curtin config dependencies requires additional packages: ['e2fsprogs'] Skipping install of {'vlan', 'ifenslave', 'bridge-utils'}. Not needed on netplan system. finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: SUCCESS: installing missing packages start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--codename', '--short'] with allowed return codes [0] (capture=True) Couldn't detect kernel package to install for 4.15.0-29-generic. Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', '--option=Dir::Etc::sourcelist=/tmp/tmpbr_nuv1_/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmpbr_nuv1_/sources.list.d', 'update'] with allowed return codes [0] (capture=False) Hit:1 http://br.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://br.archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get:3 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://br.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [123 kB] Get:5 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [252 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages [38.7 kB] Fetched 828 kB in 2s (389 kB/s) Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-generic'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... linux-generic is already the newest version (4.15.0.29.31). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: SUCCESS: installing kernel start: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: setting up swap Running command ['sh', '-c', 'rm -f "$1" && umask 0066 && { fallocate -l "${2}M" "$1" || dd if=/dev/zero "of=$1" bs=1M "count=$2"; } && mkswap "$1" || { r=$?; rm -f "$1"; exit $r; }', 'setup_swap', '/target//swap.img', '2048'] with allowed return codes [0] (capture=False) Setting up swapspace version 1, size = 2 GiB (2147479552 bytes) no label, UUID=61f86187-b170-451d-8094-497bfb26e997 creating swap file '/swap.img' of 2048MB took 0.061 seconds finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: SUCCESS: setting up swap start: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: apply networking config applying network_config Checking cloud-init in target [/target] for network configuration passthrough support. Checking in-target cloud-init for feature: NETWORK_CONFIG_V2 Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', '/usr/bin/cloud-init', 'features'] with allowed return codes [0] (capture=True) cloud-init feature NETWORK_CONFIG_V2 available? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Passing network configuration through to target: /target Writing network config to etc/cloud/cloud.cfg.d/50-curtin-networking.cfg: /target/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg Failed to find legacy network conf file /target/etc/network/interfaces.d/eth0.cfg Attempting to remove ipv6 privacy extensions Removing ipv6 privacy extension config file: /target/etc/sysctl.d/10-ipv6-privacy.conf del_file: removed /target/etc/sysctl.d/10-ipv6-privacy.conf Injecting fix for ipv6 mtu settings: /target/etc/network/if-pre-up.d/mtuipv6 Injecting fix for ipv6 mtu settings: /target/etc/network/if-up.d/mtuipv6 finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: SUCCESS: apply networking config start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: writing etc/fstab finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: SUCCESS: writing etc/fstab start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: configuring multipath 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', '--nodeps'] with allowed return codes [0] (capture=True) 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/loop0'] with allowed return codes [0] (capture=True) 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/loop1'] with allowed return codes [0] (capture=True) 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/loop2'] with allowed return codes [0] (capture=True) 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/loop3'] with allowed return codes [0] (capture=True) 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/loop4'] with allowed return codes [0] (capture=True) 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/loop5'] with allowed return codes [0] (capture=True) 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/sr0'] with allowed return codes [0] (capture=True) 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/vda'] with allowed return codes [0] (capture=True) 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/vdb'] with allowed return codes [0] (capture=True) 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/vdc'] with allowed return codes [0] (capture=True) 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/vdd'] with allowed return codes [0] (capture=True) Running command ['blockdev', '--rereadpt', '/dev/vdb', '/dev/vdc', '/dev/vdd'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Running command ['blkid', '-o', 'full'] with allowed return codes [0] (capture=True) detect_multipath found blkid info: {'/dev/loop0': {'TYPE': 'squashfs'}, '/dev/loop1': {'TYPE': 'squashfs'}, '/dev/loop2': {'TYPE': 'squashfs'}, '/dev/loop3': {'TYPE': 'squashfs'}, '/dev/loop4': {'TYPE': 'squashfs'}, '/dev/loop5': {'TYPE': 'squashfs'}, '/dev/sr0': {'UUID': '2018-07-22-08-15-51-00', 'LABEL': 'Ubuntu-Server 18.04 LTS amd64', 'TYPE': 'iso9660', 'PTUUID': '739443f7', 'PTTYPE': 'dos'}, '/dev/vda1': {'PARTUUID': '0bdd01c8-6cc8-45d8-979f-082fd60447be'}, '/dev/vda2': {'UUID': 'd3363dac-8ea2-11e8-813c-52540043252e', 'TYPE': 'ext4', 'PARTUUID': '92023a8d-6f90-488f-a587-21e9f63604f1'}, '/dev/vdb': {'UUID': 'b40ade9d-8764-65d9-63ea-7183f78443d7', 'UUID_SUB': 'eded19cd-2331-9156-d268-c8c52ba0f134', 'LABEL': 'ubuntu-server:0', 'TYPE': 'linux_raid_member'}, '/dev/vdc': {'UUID': 'b40ade9d-8764-65d9-63ea-7183f78443d7', 'UUID_SUB': '56a1f344-577b-2565-801d-bf1bc1e0790a', 'LABEL': 'ubuntu-server:0', 'TYPE': 'linux_raid_member'}, '/dev/md127': {'PTUUID': '79468691-b1f4-4250-8f6b-f150adc060fe', 'PTTYPE': 'gpt'}, '/dev/vdd': {'UUID': 'b40ade9d-8764-65d9-63ea-7183f78443d7', 'UUID_SUB': '06a1fe9f-bad9-477d-83f9-acec4a0d7e4d', 'LABEL': 'ubuntu-server:0', 'TYPE': 'linux_raid_member'}, '/dev/md127p1': {'UUID': '7246bb77-850f-11e8-86bd-52540043252e', 'TYPE': 'xfs', 'PARTUUID': '218c0050-76d2-4dba-9681-6eec3eb84d25'}} 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) target_devs: ['/dev/vda2'] /dev/vda2: d3363dac-8ea2-11e8-813c-52540043252e finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: SUCCESS: configuring multipath start: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: updating packages on target system system_upgrade disabled by config. finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: SUCCESS: updating packages on target system start: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: configuring pollinate user-agent on target system finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: SUCCESS: configuring pollinate user-agent on target system setup grub on target /target checking: {'id': 'disk-0', 'type': 'disk', 'ptable': 'gpt', 'path': '/dev/vda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': True} get_path_to_storage_volume for volume disk-0 devsync for /dev/vda Running command ['partprobe', '/dev/vda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) devsync happy - path /dev/vda now exists return volume path /dev/vda install_devices: ['/dev/vda'] installing grub to ['/dev/vda'] [replace_default=True] Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '/target', '/dev/vda'] with allowed return codes [0] (capture=True) ['install-grub', '/target'] carryover command line params: curtin non-uefi: installing grub-pc to: /dev/vda + pkg=grub-pc + shift + dpkg-reconfigure grub-pc Replacing config file /etc/default/grub with new version + update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-29-generic Found initrd image: /boot/initrd.img-4.15.0-29-generic done + grub-install /dev/vda Installing for i386-pc platform. Installation finished. No error reported. Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: curtin command curthooks start: cmd-install/stage-hook/builtin/cmd-hook: curtin command hook Finalizing /target finish: cmd-install/stage-hook/builtin/cmd-hook: SUCCESS: curtin command hook curtin: Installation finished.