[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 3/3] CI: Pass -no-reboot to QEMU in the RISC-V smoke test


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Anandu Padinhare <Anandu.Padinhare@xxxxxxxxxxxxxx>
  • Date: Fri, 4 Dec 2026 03:15:09 +0000
  • Accept-language: en-IN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=electrifex.com; dmarc=pass action=none header.from=electrifex.com; dkim=pass header.d=electrifex.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j/wb4xlsGZzPFxOYVpFhtASdfFLzHy06eyAd+RfXdqI=; b=BKcz42aKAaDmecQsBK4sUJ1XR9EiJnBKkoLzg4DGEs3OT6yHpYBjyscaVFqHLj4HBDUbBeipUuo0AB3Hc+vGO1+SoRfvTaiI8POMWm4iAT9xkfYbjqb19O3MdJuq3kg4wsLkDf1xi5lHSBCZZe+GPm2+bN8T1H5qtPu17ya8IlpFsXnbyCtYe7CjylhAMM5f3ygCOuW03LfWNYwYGp3i15Yf4kiuEP5Ouw/yP2/164SKBJ+MCyAAGft65a4oAStSdjMxSFm5CL2qL162EXJic9p9r1o8KP426w21KrYPWGndkjxL5ZZzbj3jjuqRaqQVce/xE3t+corTjeQrH2FtFw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WbT25CMhYDrAOgAP7386+Mh2LKTMqgMgjSabElAjPKTv7Act0iPmxYta46RnsQ9rq1FfrQTpsYNbpd/ryfz9gw6GkKFVXXYPep6j+Tcy9VUMnxoQTYlQl/+XpfYtekJ6/83BfL0/f03AUsWyF+APOKza4LzAYHqRuzNJKhowWUmZYA9D0qa759umiBR9AoOp43K57nj/Tau2dYirnBo0ZXAcCsgh5mnNx17SEJNWDywyJrHuIDZ5idJ0Kg4I1ua3Ypqr/D1bbA3BUegWHpOOvzlXJ7Du1K19WVI2CGPM5KVRn3n5qvD/fr6G3NQ+Dz2vDCh0vGfvznoRWyiPkSLc3Q==
  • Authentication-results: eu.smtp.expurgate.cloud; none
  • Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=electrifex.com;
  • Cc: Alistair Francis <alistair.francis@xxxxxxx>, Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, "roger@xxxxxxxxxxxxxx" <roger@xxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
  • Delivery-date: Fri, 04 Dec 2026 03:15:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHdg52qXvdUvcND/0CwwxCBiG1RsQ==
  • Thread-topic: [PATCH v3 3/3] CI: Pass -no-reboot to QEMU in the RISC-V smoke test

Now that machine_restart() reboots on RISC-V, a Xen panic during the
smoke test makes QEMU reset and boot Xen again, over and over, until
console.exp gives up at its default 1500 second timeout. Before, a
panic powered QEMU off and the job failed straight away.

Pass -no-reboot, as the Arm and x86 smoke tests do, so that QEMU exits
when Xen resets and the job fails straight away again. A successful
boot is not affected.

Signed-off-by: Anandu Padinhare <Anandu.Padinhare@xxxxxxxxxxxxxx>
Reviewed-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>
---
Changes in v3:
- No changes.

Changes in v2:
- New patch.

Baptiste's QTB series ("[PATCH v3 6/6] CI: drop the riscv64
expect-based smoke test") removes this script, and he will pass
-no-reboot in the QTB riscv64 machine too. Until that series is in,
this keeps the current job failing fast.

 automation/scripts/qemu-smoke-riscv64.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/automation/scripts/qemu-smoke-riscv64.sh 
b/automation/scripts/qemu-smoke-riscv64.sh
index c0b1082a08..dd7e8efa70 100755
--- a/automation/scripts/qemu-smoke-riscv64.sh
+++ b/automation/scripts/qemu-smoke-riscv64.sh
@@ -10,6 +10,7 @@ export TEST_CMD="qemu-system-riscv64 \
     -cpu rv64,svpbmt=on \
     -smp 1 \
     -nographic \
+    -no-reboot \
     -m 2g \
     -kernel binaries/xen"
 
-- 
2.53.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.