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

[PATCH] automation: Switch u-boot boot command to bootz for arm32 tests


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 24 Nov 2023 13:09:07 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=8oebaTVPYPPEn3j7Hjt48AyhfPRq2C9llOLws4Q96Is=; b=AV/xPuu7QvelvGHhV6JUd4p8+C17iaynz3e88TeuSBt4d+enVsGPC//MQjQIWxefSN4wHuiaUI3SqNpL8p/kUiQny4lKXHo/w3wo8nIN+vu+9GS95XW1NVbcElX6eSwOHDnInvuqC/DZ5ahaPILsL79roWCWFtEqS0XW5b+9Z4g4hylNKhUd0Jl1XYXUSLmaYuTabtmsguVPiYZkYzQBjtyqo2VLSvVy2WomWthbM4rKT27phgO71cOOrvvfJxDAvDd8bTrvwgORh79Dl2pwkttrkfrksEauN5Vx3dJypjS9no0FBv9bGpNKximulC6Bw5BCH263vFl1SACOE6ilFw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fNYIpmC30QrK2drnNOGLfRMXw7ZNe/dLiHhg5bM2024XP/K/xJUtTOZSdSFYXNkWuS4xTEOluUWUN8NF6C5N8eyzx1i17hBKT1rxCueP2mXEh2EYCTNF19L4+m9VqR38k9ShrCucytjodGmpq1GXP074suOwLnU41e89sUvAEyJ0Mg40gz05ZzSDrZRr1RRolW+J5M+kH/ZuTPr4yVvhOVkfhv1MPzqXM3VXpKJgC07xVyXI/tkNtD11+1xF6hzweW0JmYKqjSEjHCbg2QdtzKXz5f0+xgBDkNXMiJGbK8ZEqzbQL2z1bcyvprbXQgdyhrbQgeWz6HQAYuD/ZlALMA==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 24 Nov 2023 12:09:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Thanks to recent changes added to ImageBuilder to support the bootz
command, which allows obtaining the effective image size (including NOLOAD
sections) from the zImage header, switch the BOOT_CMD for arm32 tests to
bootz. Among other scenarios, this change will enable us, in the future,
to add tests with UBSAN enabled Xen, which would otherwise fail due to
incorrect image placement resulting in overlapping.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
Before adding UBSAN CI tests, we still need to decide if we want to add support
to panic on UBSAN epilogue guarded by some config option or to just grep for
UBSAN message.

CI pipeline:
https://gitlab.com/xen-project/people/morzel/xen-orzelmichal/-/pipelines/1083821754
---
 automation/scripts/qemu-smoke-dom0-arm32.sh     | 2 +-
 automation/scripts/qemu-smoke-dom0less-arm32.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/automation/scripts/qemu-smoke-dom0-arm32.sh 
b/automation/scripts/qemu-smoke-dom0-arm32.sh
index a4b487b08055..d91648905669 100755
--- a/automation/scripts/qemu-smoke-dom0-arm32.sh
+++ b/automation/scripts/qemu-smoke-dom0-arm32.sh
@@ -68,7 +68,7 @@ XEN_CMD="console=dtuart dom0_mem=1024M bootscrub=0 
console_timestamps=boot"
 NUM_DOMUS=0
 
 LOAD_CMD="tftpb"
-BOOT_CMD="bootm"
+BOOT_CMD="bootz"
 UBOOT_SOURCE="boot.source"
 UBOOT_SCRIPT="boot.scr"' > config
 
diff --git a/automation/scripts/qemu-smoke-dom0less-arm32.sh 
b/automation/scripts/qemu-smoke-dom0less-arm32.sh
index 7e3cfbe9c4d0..e31b6b9014e1 100755
--- a/automation/scripts/qemu-smoke-dom0less-arm32.sh
+++ b/automation/scripts/qemu-smoke-dom0less-arm32.sh
@@ -101,7 +101,7 @@ DOMU_MEM[0]="512"
 NUM_DOMUS=1
 
 LOAD_CMD="tftpb"
-BOOT_CMD="bootm"
+BOOT_CMD="bootz"
 UBOOT_SOURCE="boot.source"
 UBOOT_SCRIPT="boot.scr"' > config
 
-- 
2.25.1




 


Rackspace

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