From nobody Thu Jun 09 20:48:33 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2353D846B68 for ; Thu, 9 Jun 2022 20:48:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJx5F6t6qz3mJq for ; Thu, 9 Jun 2022 20:48:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDC022FC5 for ; Thu, 9 Jun 2022 20:48:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 259KmXXD076122 for ; Thu, 9 Jun 2022 20:48:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 259KmX0o076121 for bugs@FreeBSD.org; Thu, 9 Jun 2022 20:48:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264578] release/tools/vmimage.subr has no error handling for pkg failures Date: Thu, 09 Jun 2022 20:48:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654807714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ULW4zYmeeFNFQoL/r+YyWKqM/bdeWEJO2/KaV5cQ7Os=; b=jjXPms66uO/zD6dsKdSWxnpJCWkO6kX2e8NLXBmbJqfOwaTyeEhR1FAIDwNOMKswAW5txn F9a4I1d45FcaZdXLLtiJ9W9Jk97qOijHlB2mm5sn6qt9/kqEn05UsBXuvKVDfuXG90U7VI QXlDLEzY8GeqsqvuNkzP3rlES9A3Rw2r6u0k0hfO73msDdN0t0cDZ7vX7G7hcIwAcL0CBl 2sWoQfvWCecQwXfTWT83iEyRkyMyb+TfpVgUoOvUTScX07c7uyjc+0DVnZGOnlSb8C1rbs WLVlI5tRN7Q9iOYDOi9a3TSfjB5xT3rF3HTJezMspg0ncabkbvPob2Ht/Ix6qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654807714; a=rsa-sha256; cv=none; b=NfVPVOR7fL0nw7lRu4cl4WtHrJRVyo4be0/Zr2XLYVzFCWa1Q30qrRFai5V0yh8RQ4Ia9G hjg1hQvUYN7nRiOzWvdBkEKD1TGDIFfoby4KWSUpiY9nhmlcm/vjPr2cYDV/dZWYlIiQ9f VQnzFW3dxnUUFILq72nBnV5iC+LsQJkN0AIcMMuGPlHDgi+/HfEi1AohiQT7aMdCjZV7UO XS0G/vcvFhyQT92RAwjALB+VdCqQH1/8XizAIQBhRXtBlfBhVEyijwIzMsXN5Fcmq1Hueo o77j7Fuo/QyY+MiFw7DY0RC15XfB/FDI3CEjp/rcMJJzOJFl7pksI0oYfCkzFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264578 --- Comment #3 from Ed Maste --- This patch catches the error: > Package textproc/jq installation failed however release/scripts/mk-vmimage.sh does not check for errors from vm_extra_install_packages, so it carries on anyway: --- Package textproc/jq installation failed umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory umount: /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/dev: not a file system root directory Cannot umount(8) /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/= dev Something has gone horribly wrong. /tmp/cirrus-ci-build/release/scripts/mk-vmimage.sh: cannot create /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/cw-oci/usr/local/etc/clo= ud/cloud.cfg.d/98_oci.cfg: No such file or directory Creating image... Please wait. Creating `/tmp/efiboot.kjHJWm' /tmp/efiboot.kjHJWm: 65528 sectors in 65528 FAT32 clusters (512 bytes/clust= er) BytesPerSec=3D512 SecPerClust=3D1 ResSectors=3D32 FATs=3D2 Media=3D0xf0 Sec= PerTrack=3D63 Heads=3D255 HiddenSecs=3D0 HugeSectors=3D66584 FATsecs=3D512 RootCluster=3D= 2 FSInfo=3D1 Backup=3D2 Populating `/tmp/efiboot.kjHJWm' Image `/tmp/efiboot.kjHJWm' complete Building filesystem... Please wait. Calculated size of `/usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/oci.img': 5368709120 by= tes, 25952 inodes Extent size set to 32768 density reduced from 206871 to 8192 /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/oci.img: 5120.0MB (10485= 760 sectors) block size 32768, fragment size 4096 using 9 cylinder groups of 626.31MB, 20042 blks, 80256 inodes. super-block backups (for fsck -b #) at: 192, 1282880, 2565568, 3848256, 5130944, 6413632, 7696320, 8979008, 10261696, Populating `/usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/oci.img' Image `/usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/oci.img' complete Building final disk image... Please wait. Disk image /usr/obj/tmp/cirrus-ci-build/arm64.aarch64/release/oci.qcow2 created. --=20 You are receiving this mail because: You are the assignee for the bug.=