From nobody Sun Sep 14 08:16:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1757688298; cv=none; d=zohomail.com; s=zohoarc; b=f5OOV3QwU191yPI7qthwT8BGiP1MYCijcXXuWcZ4T4LfiWGPimjXNVh4cCVPFRGWIE0uhYeod2NbZXiJBuPFSsR56twiJIgB1agaNCgmGzMZV6GDVwXXOEzjQLmefmDa3GSTG9f8qbI8NVb3tDdsR7pLFPh5cdog0B42z1JhHtU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1757688298; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=WoTkLLzczgfJCAgT/pEdPHpSfLp9QlUgMwmAH0OgjKI=; b=PwXoyixy08c8rJU5T29V96vqqR8yoMyedI4TlZ3566vsyMPUDMZcF1BARn5pnVGQFWDyehKXa9saNKCWrcgeelrWT/OKvbKgdj9DZWCYzZf2sYuvzxswoLnJJJhZuqFRLO8lxhT+d7ZQbVJQaLh1VDNAVRKnRE+RCvA8i8X1rkA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1757688298151692.3801658382466; Fri, 12 Sep 2025 07:44:58 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1122092.1466020 (Exim 4.92) (envelope-from ) id 1ux50x-0005Qr-Dx; Fri, 12 Sep 2025 14:44:39 +0000 Received: by outflank-mailman (output) from mailman id 1122092.1466020; Fri, 12 Sep 2025 14:44:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ux50x-0005PA-7G; Fri, 12 Sep 2025 14:44:39 +0000 Received: by outflank-mailman (input) for mailman id 1122092; Fri, 12 Sep 2025 14:44:38 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ux50w-0004JT-3p for xen-devel@lists.xenproject.org; Fri, 12 Sep 2025 14:44:38 +0000 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [2a00:1450:4864:20::42d]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 018a5300-8fe7-11f0-9d13-b5c5bf9af7f9; Fri, 12 Sep 2025 16:44:37 +0200 (CEST) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3e7643b0ab4so1116023f8f.2 for ; Fri, 12 Sep 2025 07:44:37 -0700 (PDT) Received: from localhost.localdomain (host-195-149-20-212.as13285.net. [195.149.20.212]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45e015784c3sm72070045e9.10.2025.09.12.07.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Sep 2025 07:44:36 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 018a5300-8fe7-11f0-9d13-b5c5bf9af7f9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1757688277; x=1758293077; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WoTkLLzczgfJCAgT/pEdPHpSfLp9QlUgMwmAH0OgjKI=; b=KGPHkxMN0yexB2GGHtqTvvyTLWv5/C+76aFJ2s/78mrdthWgObhsmJ4JFuTiDEAqLW K+R/XjdRLdX81y+sleVf5sgkILIJ8PnDcQTV55BvkiJFzBmqyfioKFd9Z2koUBSx2v1W 7r9cVzBFcAlIPioJo7Ks7fi56QEMoXhGYS/h8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757688277; x=1758293077; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WoTkLLzczgfJCAgT/pEdPHpSfLp9QlUgMwmAH0OgjKI=; b=gPtbM2CiozQinqRMg/w1VlpXxQ+Z1YckuHO6rUeYTGPwQqYGUshRIY4ddrvhnQzHcs k7f805ZhUDrxWdT5B+TLebXv/tPO0nWQCNudVDyJn5dxNkXTiPcSgPM09bGah2XgZz59 Cfpey/6KYHzJPQIqtY+pPTF22PlHc15/VAphVcbR3ezIYedyBisun4RqaT9zVf4wOj9D Wguqkm8o79pdcn5hFobVc202kr880vABvEQUmTu6F42DcEC0QckLugfvB/lA3U2MJ/Pj c3l9BSQsTC2ffiWFUzuqP9GgSjY1t4hiS9WmHOl4Z/lsd+1ZkSGGWXLRfkKQFeGFczuV KQIA== X-Gm-Message-State: AOJu0YyJ11T3eAyYTmF8PgTPJiIk85+jkVSfC64U/IdkmutiCmoFblSX isIIB6jZ4SRVL+DjH4W9vwy/lRSxgFwT4NfMTHPcIXu/nqwsDSi238D2KsNUnyGsxWm74qtdV+X HQ351 X-Gm-Gg: ASbGncsjJNUE9ErN0legYeyeUrGEh50JZwEBiBZ/6+pdV19dnAJLGD931xvawN+82mh /QoNE+hMpt6p0e6XYnbTI38AThScXRcJ++AD6nyaciYy9r2RC6AcpoFF8fCuFKun4AunoIVpsDi ZFJKYWPicdYmCUavdHnncqCNMtBpbtjxQ1hy8LBzjs/Xxc5pO8ppjcSJ+244iy8Y9cibe/ai2e1 nj98kt6Jft2joHJMCZ9AM+is8olLkDLgroieboKwVBa5M8EvZlUeXgia4TvrvXUV8kP4FsqyFBu DxKO4H8HsPt7q7TbP/510bKxqUwAA8tP2jW4ewKVbLnQlnThvGlZH6TGhEs7jHT2DZgNXiqoOd/ tYU86MJXrKivOVMxAqGnU4E6KLJE+SNWUM1WgNdQ4xP4h9Q5uWUuskercbBSle+yP/Dp+tA44jT HYMHchBPsJoquPZMn5fDfc/A== X-Google-Smtp-Source: AGHT+IHujJvcSHrLmVnyhhPcSJgTM1tAhBqsElDCkNGpTY6jV0fsEGre6zSrxLSpmMlrywVyLYecqw== X-Received: by 2002:a05:6000:2885:b0:3e3:c5a8:a1be with SMTP id ffacd0b85a97d-3e76552eb61mr3131530f8f.0.1757688276676; Fri, 12 Sep 2025 07:44:36 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini , Shawn Anastasio , Oleksii Kurochko , Doug Goldstein , Victor Lira Subject: [PATCH v4 6/8] CI: Use pipefail in scripts/build Date: Fri, 12 Sep 2025 15:44:25 +0100 Message-Id: <20250912144427.1905141-7-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250912144427.1905141-1-andrew.cooper3@citrix.com> References: <20250912144427.1905141-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1757688300324116600 Marek noticed that some builds were failing with: + cd dist/install + find + cpio -R 0:0 -o -H newc ./automation/scripts/build: line 111: cpio: command not found + gzip but succeeding overall, and producing a zero length xen-tools.cpio.gz as an artefact. In fact, it's all of: archlinux:current debian:12-x86_32 fedora:41 opensuse:tumbleweed ubuntu (all versions) Add cpio into all of these containers, including opensuse leap for good measure, and use pipefail in the build script. Fixes: 4611ae6fb8f9 ("CI: save toolstack artifact as cpio.gz") Reported-by: Marek Marczykowski-G=C3=B3recki Signed-off-by: Andrew Cooper Reviewed-by: Denis Mukhin =20 Reviewed-by: Marek Marczykowski-G=C3=B3recki --- CC: Anthony PERARD CC: Michal Orzel CC: Jan Beulich CC: Julien Grall CC: Roger Pau Monn=C3=A9 CC: Stefano Stabellini CC: Shawn Anastasio CC: Oleksii Kurochko CC: Doug Goldstein CC: Marek Marczykowski-G=C3=B3recki CC: Victor Lira v4: * New I have already deployed the updated containers. All failures: https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2036157692 --- automation/build/archlinux/current.dockerfile | 1 + automation/build/debian/12-x86_32.dockerfile | 1 + automation/build/fedora/41-x86_64.dockerfile | 1 + automation/build/opensuse/leap-15.6-x86_64.dockerfile | 1 + automation/build/opensuse/tumbleweed-x86_64.dockerfile | 1 + automation/build/ubuntu/16.04-x86_64.dockerfile | 1 + automation/build/ubuntu/18.04-x86_64.dockerfile | 1 + automation/build/ubuntu/20.04-x86_64.dockerfile | 1 + automation/build/ubuntu/22.04-x86_64.dockerfile | 1 + automation/build/ubuntu/24.04-x86_64.dockerfile | 1 + automation/scripts/build | 2 ++ 11 files changed, 12 insertions(+) diff --git a/automation/build/archlinux/current.dockerfile b/automation/bui= ld/archlinux/current.dockerfile index 657ddd77a85c..4e53c835fa50 100644 --- a/automation/build/archlinux/current.dockerfile +++ b/automation/build/archlinux/current.dockerfile @@ -8,6 +8,7 @@ RUN pacman-key --init RUN pacman -S --refresh --sysupgrade --noconfirm --noprogressbar --needed \ bridge-utils \ bzip2 \ + cpio \ discount \ dtc \ e2fsprogs \ diff --git a/automation/build/debian/12-x86_32.dockerfile b/automation/buil= d/debian/12-x86_32.dockerfile index ef7a2571556b..447152d7e5e4 100644 --- a/automation/build/debian/12-x86_32.dockerfile +++ b/automation/build/debian/12-x86_32.dockerfile @@ -23,6 +23,7 @@ RUN <