From nobody Wed Feb 11 03:48:40 2026 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=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1748954571; cv=none; d=zohomail.com; s=zohoarc; b=L3KxtHHLsA9TO3o7/s7U4zcoeRJIAYra5JuWYV8upUmNQS99dd25ScNl9jExEbsJSXl7Ubpq6BMfPPNJFEegWz5px4PdfS0Nz3H1iZCfQeotBlRiFoAx0WGO+L7QOnPA3HRkfn4syl4krGw3lhgJb8qNvWY0frFSfz6FOMe+N4E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1748954571; h=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=kK1Tx9vm5iULGdSLvjqkBnXbzSdn9xeUjOcjEOgDs9I=; b=FBgqNxkK3qWjCwUTzUOWbQEgwfNZcEKRTn/SDn+DLY+oTvuOiuW3klyWojI/h/Q02BHAHVQT6RvOCTT7x+SBQViD+rCcb+0ZJxwQMHkIGzyywrOpsdtHOHW0SmXqTEuHroNZWH9vdEMwSGZQrAuEKRIw3kd/Fn1q+VSPj7vDAcQ= 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=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1748954571744507.04008620102877; Tue, 3 Jun 2025 05:42:51 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1004290.1383988 (Exim 4.92) (envelope-from ) id 1uMQyL-0006Em-7B; Tue, 03 Jun 2025 12:42:29 +0000 Received: by outflank-mailman (output) from mailman id 1004290.1383988; Tue, 03 Jun 2025 12:42:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMQyL-0006EP-3O; Tue, 03 Jun 2025 12:42:29 +0000 Received: by outflank-mailman (input) for mailman id 1004290; Tue, 03 Jun 2025 12:42:27 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMQyJ-0005oa-Q0 for xen-devel@lists.xenproject.org; Tue, 03 Jun 2025 12:42:27 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uMQyJ-000CGe-1f; Tue, 03 Jun 2025 12:42:27 +0000 Received: from [2a01:e0a:1da:8420:b77:bd5:6e45:7633] (helo=l14..) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uMQyJ-005di7-1r; Tue, 03 Jun 2025 12:42:27 +0000 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" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=kK1Tx9vm5iULGdSLvjqkBnXbzSdn9xeUjOcjEOgDs9I=; b=RfQjopJDxB0v5oOjsgVzYOnxOa qLO9U7tU3YklWnVN9ZpkCB5r7HGur5rNt1MVF+QUZfWVksWUvhFQMm+BEnBF+xCEPL+YYeb1AYH4Q gOcVg6hFWgouu82Gz24PF83hKj8Bu62PVwgEYi6z7N3QN37F0PUd7j/yGGyHmM4dYO6s=; From: Anthony PERARD To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Andrew Cooper , Anthony PERARD , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH 3/9] CI: Fix status check for tools/tests Date: Tue, 3 Jun 2025 14:42:16 +0200 Message-Id: <20250603124222.52057-4-anthony@xenproject.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603124222.52057-1-anthony@xenproject.org> References: <20250603124222.52057-1-anthony@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) X-ZM-MESSAGEID: 1748954572796116601 Content-Type: text/plain; charset="utf-8" From: Anthony PERARD Without "pipefail", $? have the exit value of `tee`, which should always be 0. But instead of using "pipefail", do collect the value of from the test with $PIPESTATUS. Signed-off-by: Anthony PERARD Acked-by: Stefano Stabellini Reviewed-by: Andrew Cooper --- Notes: Without the next patch "CI: Ignore run-tools-test return value", this just mean that if one test fail, the script `qubes-x86-64.sh` will detect a ERROR-Timeout because the expected string is never printed. automation/scripts/run-tools-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/scripts/run-tools-tests b/automation/scripts/run-to= ols-tests index 2bca1589db..695ed77e46 100755 --- a/automation/scripts/run-tools-tests +++ b/automation/scripts/run-tools-tests @@ -20,7 +20,7 @@ for f in "$1"/*; do echo "Running $f" printf ' \n' "$f" >> "$xml_out" "$f" 2>&1 | tee /tmp/out - ret=3D$? + ret=3D${PIPESTATUS[0]} if [ "$ret" -ne 0 ]; then echo "FAILED: $f" failed+=3D" $f" --=20 Anthony PERARD