subiquity crash on unattended-upgrades failure

Bug #1992342 reported by corrado venturini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Expired
Medium
Unassigned

Bug Description

Installing canary from ISO dated Oct 10.

Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'unattended-upgrades', '-v'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38761]: System is on metered connection, stopping
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: TIMED subp(['udevadm', 'settle']): 0.004
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Oct 10 13:39:03 ubuntu subiquity_log.6528[38750]: finish: cmd-in-target: FAIL: curtin command in-target

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 5.19.0-19.19-generic 5.19.7
Uname: Linux 5.19.0-19-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.475
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Mon Oct 10 11:39:03 2022
ExecutablePath: /snap/ubuntu-desktop-installer/658/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/658/usr/bin/python3.8
LiveMediaBuild: Ubuntu 22.10 "Kinetic Kudu" - Daily amd64 (20221010)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/658/usr/bin/python3.8 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/658/etc/subiquity/postinst.d --autoinstall=
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz layerfs-path=minimal.standard.live.squashfs maybe-ubiquity --- quiet splash
Python3Details: /usr/bin/python3.10, Python 3.10.7, python3-minimal, 3.10.6-1
PythonDetails: N/A
SnapChannel:

SnapRevision: 658
SnapUpdated: False
SnapVersion: 0+git.0358b74d
SourcePackage: subiquity
Title: install failed crashed with CalledProcessError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/11/2017
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.10
dmi.board.name: H110M-G/M.2
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.10:bd05/11/2017:br5.12:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH110M-G/M.2:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
corrado venturini (corradoventu) wrote :
information type: Private → Public
Revision history for this message
Dan Bungert (dbungert) wrote :

Unattended upgrades is unhappy about something. Maybe that shouldn't be a fatal error.

Is there anything interesting in /target/var/log/unattended-upgrades?

summary: - install failed crashed with CalledProcessError
+ subiquity crash on unattended-upgrades failure
Changed in subiquity:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for subiquity because there has been no activity for 60 days.]

Changed in subiquity:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.