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

[PATCH v2 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: Wed, 2 Dec 2026 08:23:44 +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=YNXgw2Hsyr/1MgLwYN8WzPOLGBUqq2y+MW6+WX2lbd8=; b=cS+1wOcWKsordK2DuR2ccdSodqFaFz3bVkI1VMPxaPgjiP9hl+TwPNPWi1fH9Cr5+gNt18PtgCFk6E/CLPMRE28LwFPwWVxPviJVyKT3HgWyrznUJn6PmOhIBGjSSCEtkIf5uj4zqujxp7ousFC8yujzl8XN4ZUc9kBF54BK7FBsByO16odG7RvDFnfdkz9+E+kLdpOOs5ZdHDZzmig/W/Q+XpWhRxdU9lcALU1vK/olwNOqEJeOzxY9goguyMg8IUcki/g7BgR87fblnZZ6QDolrsFAyeZhlDaJbKAV9TnMOCpuusEUdsVAq5G9sltllyMLkpdEaqeyhUUqwqaDjQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e9CTyEfAEh2lCxwZlPZ8T6g6cXzeA0Qo+TUuW6gOMoocPUvpLPdaw2KNtnm+yVi0GqcpWVf4WmbTCTBKOjMFu11VdokkrL5ET+d1Shz2AYoYmcXFov1fUcXYiTFEnMAsaHOq/krTvjSz4ta4HLyn21klNxsBt0VpOslQqF7a9tYUwHPdxMh2+Mewknm673YQvL4IB/OdGthiRtIsD/Kav4wcnG58D8PvW6JqsRdawR9G6COdWND8jPUwxBrwFK7PJRVft0OxxVZO2N5XAfrIxBFa/N2Q2fb09DhNqpvmeInQQo5se/3Gw8yFS8tRyPsMSfGYCh5H670rOxiwydv99w==
  • 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: Wed, 02 Dec 2026 08:23:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHdgjZx//UpD8eebE6wu5HFOmAiRQ==
  • Thread-topic: [PATCH v2 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>
---
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®.