From nobody Sun May 5 12:41:26 2024 Delivered-To: importer@patchew.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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1671197465; cv=pass; d=zohomail.com; s=zohoarc; b=W3NdpD1HiQZeEXTXtJ7XolSHYYzIwD3Vf0yWNeRjcRBOFW5LK6DNR1JjZN7LuHTGL2oaDM8ghkczCfniDeOeNHOZAFLM76kHPxHajoh0g8cnOgfsFngWEEfeBR8sC1ZavdZ73w3bDZv8H1tc7tnOFykatsiLYc5UWxGA72QwlLE= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671197465; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=UmEwVKVFHGB3eYR4WpZEJ4xQiKOmYLMi+3waBFqTc7g=; b=c+40N74SH0nZt+/yNXy/8rD8rEjOlFdUm81PsFLAAe4chJWyolq4pn0POSbP54qQwQ0WqS3UEtJIWYVlIOMkG22fS5ioa4rRr5EILtQoW5MRVgrvv13nG25SuBrW7UC9YyHagQlLbJuFkUdB7KD5gKJSYjMFgc0EpVB7BUFKBSk= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1671197465238659.4659918685627; Fri, 16 Dec 2022 05:31:05 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.464703.723181 (Exim 4.92) (envelope-from ) id 1p6AnF-0007oj-3X; Fri, 16 Dec 2022 13:30:29 +0000 Received: by outflank-mailman (output) from mailman id 464703.723181; Fri, 16 Dec 2022 13:30: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 1p6AnE-0007nL-VS; Fri, 16 Dec 2022 13:30:28 +0000 Received: by outflank-mailman (input) for mailman id 464703; Fri, 16 Dec 2022 13:30:28 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1p6AnD-0007go-SF for xen-devel@lists.xenproject.org; Fri, 16 Dec 2022 13:30:27 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ccb17f61-7d45-11ed-8fd4-01056ac49cbb; Fri, 16 Dec 2022 14:30:26 +0100 (CET) Received: from MW4P222CA0027.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::32) by DS0PR12MB8220.namprd12.prod.outlook.com (2603:10b6:8:f5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.12; Fri, 16 Dec 2022 13:30:23 +0000 Received: from CO1NAM11FT045.eop-nam11.prod.protection.outlook.com (2603:10b6:303:114:cafe::84) by MW4P222CA0027.outlook.office365.com (2603:10b6:303:114::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.15 via Frontend Transport; Fri, 16 Dec 2022 13:30:23 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT045.mail.protection.outlook.com (10.13.175.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5924.15 via Frontend Transport; Fri, 16 Dec 2022 13:30:22 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 16 Dec 2022 07:30:21 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 16 Dec 2022 05:30:20 -0800 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 16 Dec 2022 07:30:20 -0600 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: ccb17f61-7d45-11ed-8fd4-01056ac49cbb ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ky5HVGVGmpqXttryjNfWL2mrFZSy7DJ4hnX5anR4ETG6Og/ydnxbLxAY5LF3cmZrB3wvaFIUD8pqB7F/V5LswUJgzyUvktUOWoacvVTF4E1mUydOqkfhgJTeUEukHNKv9otdv9eLa4973xMxT63x2KiPNxf6LSGjszy9NS2o0EWKJY86eXTmCBgZu1DoRBgCj6coJdp/+18DLwZRnULIM07eFaUgBmCaHFmx8z7s74IaJOijCc8MOdahRUAwCBpck40bWue55gZ0wiDu8vFWYmju6dx0sJdeWhRF4vnmiQ3aFWimBVYDeTHhbR/bLTGJ1gjdswx0cTGeF0twyr6QkQ== 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=UmEwVKVFHGB3eYR4WpZEJ4xQiKOmYLMi+3waBFqTc7g=; b=P439mvSm7YNYsfME+a0T0WQWQZtzutd/S4sC5VFLJSdXHgHoKkjqLCyTGSrNg9oJlPG6YVN09qLJq8g3aWtxVRcW9iIMdhWSThTa21u/M5RSlGM8vVa/Ojv/jzRhNUkJGCr4yQ3BLbssLoQb+7jXbwN2dyXlM2ZIfM9K819Onf9fuQbpHZJVvwW6tHd87ujM2K6c2SMCXWKO2sRLUfrY7wpcXLHCErYOpnEIpzr2jp5hWjVQGTV0A/cOdDERzFX79LmmB17HsuU6Cw+ktBSoYUuXrggVJlbasbZV2TBp0PwEFYQuXhKN2vjpbLXQySPZ/O3Ows46yyWdckLrQQfUQQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UmEwVKVFHGB3eYR4WpZEJ4xQiKOmYLMi+3waBFqTc7g=; b=J7GL34fVLV5DRmpZulTjgplPiFB9NceitEme9beOq0Nwy8LLt1dAcG+9cnzDzEM7o1m1an/CfUl+6k2krsCIiXSUJV3jcORwLT1cx8xdBGuBuIuexRBRAmFD7i0IvLxfKV6p21uHSsAnOo/ggkyPpYDbZOEWDn5QkbsFuic0yZM= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Doug Goldstein , Stefano Stabellini Subject: [PATCH v2 1/2] automation: Add support for using XTF for arm64 testing Date: Fri, 16 Dec 2022 14:30:11 +0100 Message-ID: <20221216133012.19927-2-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221216133012.19927-1-michal.orzel@amd.com> References: <20221216133012.19927-1-michal.orzel@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT045:EE_|DS0PR12MB8220:EE_ X-MS-Office365-Filtering-Correlation-Id: 6260f1f3-ab13-40a8-3e85-08dadf69aef8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hV6jDaNzFS1zM6W4RlhpIdMFQsGn9e1gP9E3Bn1ZBKZGcR9UD6y9PgfzU3e7rCxrtTtgrmPyA3AL0fnYufOI8YY3lsLWqO9mJTBtuhulku+qfRs5OnRMZGwSdQBdvDmj+cnyggFpjFd04jWJ9mdLgZD/YpEVfg773ER47hXRTtGGUPVecftz7bA//bqGPvAhHXJNDtytcetlOaZgdHDbVMFgMsQ9JWwXCetiixHTfO0oZtcDEeOSDwxhQ1SBkfXPllsboAJM7QHMzUAu5P9oRGYvFraRqhQnlNTptpC3rjrRmNgrVxf2a1wkiux2W6hkjGie9XFO/1hfn1zPVExnJEDb9+sdeyEv651uD6fTFKYA3H+6vObc7AqV2WdFqlhtq5It2GIGbdBKJNYXS5mQCgbkcFbedmi/pogzXdbDeBw1J1SQefQ6qBbTR0mA2nXM1Glk6WY3cNF7zC0gRQmxZuG/p+DLdin4qkWRBPZsiWFY8lYE33GJXocAodCmGGND80UvFVjGvjXRkVK0HyK2B+2EsbccyYEleqU4xIDG7oV2Y88mwGMI2PwtlpHpsZj7/x1KpdXf5q2y+55KrV8/hSN3D1vJ492xvxHgyIxDXTrCBjGwfxHS4LL+Ax6A2bO4maRdNPamtgfK+tL70Q7ukUPN8YeuXNXYVyAo4DsyEedQozQbfH9Fk5rUbetUoLq1TEIISeT8mLqNH6B+ILoYBpdZmmYZiL/rpQSpECz/kDm759iy1vb37WOD6n0dHMnAqaIwtrme2zht59FGqd11MhnvSdxzXeLOQoKLYJ8qCoaQBJEllicJ/xOugmGunzuO8ZzOPYFW8mOJMYKkfEqaOE6IDb4KeoDFshxsV6Gbi+8= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(136003)(396003)(346002)(39860400002)(376002)(451199015)(40470700004)(36840700001)(46966006)(82310400005)(2616005)(82740400003)(1076003)(336012)(36860700001)(86362001)(47076005)(426003)(40480700001)(83380400001)(40460700003)(81166007)(356005)(36756003)(44832011)(316002)(41300700001)(2906002)(8936002)(70206006)(70586007)(4326008)(8676002)(5660300002)(54906003)(186003)(478600001)(26005)(6666004)(966005)(6916009)(21314003)(36900700001)(139555002);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2022 13:30:22.4692 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6260f1f3-ab13-40a8-3e85-08dadf69aef8 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT045.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8220 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1671197466846100001 Content-Type: text/plain; charset="utf-8" Introduce support for using XTF on Arm to perform low-level testing. For the purpose of the CI testing, let's use the fork [1] from upstream XTF with implemented support for arm64 (the upstream XTF only supports x86). Add a new script under automation/scripts to be used by the CI XTF test jobs to perform the following tasks: - Compiling XTF, - Generating u-boot script using ImageBuilder, - Running Xen with XTF as domU in pure dom0less configuration using Qemu, - Checking test result. The script takes the name of the XTF test to run as a first parameter. [1] https://gitlab.com/xen-project/fusa/xtf.git (branch xtf-arm) Signed-off-by: Michal Orzel Reviewed-by: Stefano Stabellini --- Changes in v2: - run XTF in pure dom0less configuration --- automation/scripts/qemu-xtf-dom0less-arm64.sh | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100755 automation/scripts/qemu-xtf-dom0less-arm64.sh diff --git a/automation/scripts/qemu-xtf-dom0less-arm64.sh b/automation/scr= ipts/qemu-xtf-dom0less-arm64.sh new file mode 100755 index 000000000000..3ec9cf74e129 --- /dev/null +++ b/automation/scripts/qemu-xtf-dom0less-arm64.sh @@ -0,0 +1,68 @@ +#!/bin/bash + +set -ex + +# Name of the XTF test +xtf_test=3D$1 + +# Message returned by XTF in case of success +passed=3D"Test result: SUCCESS" + +# XXX QEMU looks for "efi-virtio.rom" even if it is unneeded +curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom +./binaries/qemu-system-aarch64 \ + -machine virtualization=3Dtrue \ + -cpu cortex-a57 -machine type=3Dvirt \ + -m 2048 -smp 2 -display none \ + -machine dumpdtb=3Dbinaries/virt-gicv2.dtb + +# XTF +# Build a single XTF test passed as a first parameter to the script. +# Build XTF with GICv2 support to match Qemu configuration and with SBSA U= ART +# support, so that the test will use an emulated UART for printing message= s. +# This will allow us to run the test on both debug and non-debug Xen build= s. +rm -rf xtf +git clone https://gitlab.com/xen-project/fusa/xtf.git -b xtf-arm +make -C xtf TESTS=3Dtests/${xtf_test} CONFIG_SBSA_UART=3Dy CONFIG_GICV2=3D= y -j$(nproc) +cp xtf/tests/${xtf_test}/test-mmu64le-${xtf_test} binaries/xtf-test + +# ImageBuilder +echo 'MEMORY_START=3D"0x40000000" +MEMORY_END=3D"0xC0000000" + +XEN=3D"xen" +DEVICE_TREE=3D"virt-gicv2.dtb" + +XEN_CMD=3D"console=3Ddtuart" + +DOMU_KERNEL[0]=3D"xtf-test" +DOMU_MEM[0]=3D"128" + +NUM_DOMUS=3D1 + +LOAD_CMD=3D"tftpb" +UBOOT_SOURCE=3D"boot.source" +UBOOT_SCRIPT=3D"boot.scr"' > binaries/config + +rm -rf imagebuilder +git clone https://gitlab.com/ViryaOS/imagebuilder +bash imagebuilder/scripts/uboot-script-gen -t tftp -d binaries/ -c binarie= s/config + +# Run the test +rm -f smoke.serial +set +e +echo " virtio scan; dhcp; tftpb 0x40000000 boot.scr; source 0x40000000"| \ +timeout -k 1 120 \ +./binaries/qemu-system-aarch64 \ + -machine virtualization=3Dtrue \ + -cpu cortex-a57 -machine type=3Dvirt \ + -m 2048 -monitor none -serial stdio \ + -smp 2 \ + -no-reboot \ + -device virtio-net-pci,netdev=3Dn0 \ + -netdev user,id=3Dn0,tftp=3Dbinaries \ + -bios /usr/lib/u-boot/qemu_arm64/u-boot.bin |& tee smoke.serial + +set -e +(grep -q "${passed}" smoke.serial) || exit 1 +exit 0 --=20 2.25.1 From nobody Sun May 5 12:41:26 2024 Delivered-To: importer@patchew.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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1671197461; cv=pass; d=zohomail.com; s=zohoarc; b=Kdc5F/IsesVZ8Cox1pIZMsw3zX1IHe5gxwGsI1kcQ0uxZ9qVijpT7+uIhxSV3YSGOhFGKSVNeqs9GdRZ7PlH0i1H9dA3Nn6F7JJGT8oB3GwEoL6Yz8TnIC+tC0z1HSMfaeA5DOKselE2nCXKCDFL/mYfG1OumR6VHX8u23BntgE= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671197461; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LZBILgdEpcJ1YNOCDG5xLjBoP09KEkHNCmsLWra8eHA=; b=kvFgZBZS5DdB6VvjDUtfkkwhlKkiXs8AeP49gsjuj0IWJVBDfvkYCNb4jhaDOMQSnJxlepEKSnqcf5NLusqw6b3uWojPB6Efr58lCIDOoNTtdtK53Xx7II7lDEcqlbORP+7dxFUgEmu/OcT/51wXpFGXd2FPSHiPBUB7c1+4uaE= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1671197460967768.4126449657628; Fri, 16 Dec 2022 05:31:00 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.464704.723197 (Exim 4.92) (envelope-from ) id 1p6AnG-0008Bb-AX; Fri, 16 Dec 2022 13:30:30 +0000 Received: by outflank-mailman (output) from mailman id 464704.723197; Fri, 16 Dec 2022 13:30:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1p6AnG-0008BU-7c; Fri, 16 Dec 2022 13:30:30 +0000 Received: by outflank-mailman (input) for mailman id 464704; Fri, 16 Dec 2022 13:30:29 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1p6AnE-0007go-SL for xen-devel@lists.xenproject.org; Fri, 16 Dec 2022 13:30:28 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2085.outbound.protection.outlook.com [40.107.220.85]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ccbc070f-7d45-11ed-8fd4-01056ac49cbb; Fri, 16 Dec 2022 14:30:27 +0100 (CET) Received: from MW4PR03CA0112.namprd03.prod.outlook.com (2603:10b6:303:b7::27) by SN7PR12MB6981.namprd12.prod.outlook.com (2603:10b6:806:263::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.15; Fri, 16 Dec 2022 13:30:23 +0000 Received: from CO1NAM11FT097.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b7:cafe::b9) by MW4PR03CA0112.outlook.office365.com (2603:10b6:303:b7::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.12 via Frontend Transport; Fri, 16 Dec 2022 13:30:23 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT097.mail.protection.outlook.com (10.13.175.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5924.15 via Frontend Transport; Fri, 16 Dec 2022 13:30:22 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 16 Dec 2022 07:30:22 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 16 Dec 2022 05:30:22 -0800 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 16 Dec 2022 07:30:21 -0600 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: ccbc070f-7d45-11ed-8fd4-01056ac49cbb ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GV62qyMfODAq9/LJMTIpzkqC8e03fCV8NeRb2foCfDu26WaSkr5Dt7HC8aQ/ocPIf6lp6kgp7Deb3xHs8RlbhVNFO5pVD3e0a7ixaXY20lSPQy2jgVeu2z4DxKTLq3GGTjJRdn+AHVI2pHYt2xU6SZvDNze/8J5GD3GU8WME0/bhFxI3bqN1n2cTbXrMUBp/cqJzQ2UY10AuoLY+i1Zz55XaxtqKvBohwjZw1iTCeXy7dO58/r46glzJgsRsuDk1hu1y/Ao+Ri/SJ3iqrHQI/JWWlsyolAInXWGyMm1WRVjHJ8rfAcu4tL5CcZ5Wnu0Ov5fNnJ5v2LHfhZdaxBhevQ== 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=LZBILgdEpcJ1YNOCDG5xLjBoP09KEkHNCmsLWra8eHA=; b=eBH+ZZi3ugRWW6aGYZPIqs7Dv1nZUwfIAxzvZoXs5fPa7S4TgLuTKWkODcfuM3rh0yHBAPuq1pcgpLaE5BTLYk1oiTrbl1zl+JkR+1xak8srsmQm4MdtcnLwkkz1pSi6lRfITBde07bQgkueA8VlZPIkR0Pcf4+c784FvGRBwMkUuyyS4IpXEYXxwbOX8EnIsLf1WooRMfrP5n+vWzjEZogl3LLgvt6J27SEHcjhICohzg8yOzKD5Hqp4W+9T9m4BS4XxS+FDpoyTPSctDY5vbfmMRAzKaDQj96PCMMbqT4FoRJ6UcjIbjCWCSL/eQl0hu+3W6O3ztWSO5yQpN6RaQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LZBILgdEpcJ1YNOCDG5xLjBoP09KEkHNCmsLWra8eHA=; b=LvKqcVl9GXHc0kg3M89eC3kAm90ducTxUNNrCHggzMAPC1quE2AlM3COKdRmctGnjGivAvSDXsDXI8i+nrFv8/MuCKRG1FBFGNhkK6pxrXGX6Aj6ZOsIMLQFXGXc8Vbkz7JYgv8Njbj+RZV1aPLYIsIdiS0yTigPHFJRU9X0e9o= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Doug Goldstein , Stefano Stabellini Subject: [PATCH v2 2/2] automation: Add test jobs to run XTF hypercall xen_version test Date: Fri, 16 Dec 2022 14:30:12 +0100 Message-ID: <20221216133012.19927-3-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221216133012.19927-1-michal.orzel@amd.com> References: <20221216133012.19927-1-michal.orzel@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT097:EE_|SN7PR12MB6981:EE_ X-MS-Office365-Filtering-Correlation-Id: dd5ad4aa-dfdd-4a2c-4d18-08dadf69af3e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JkmML2Urn5nXdEgZ3XwmreyX9rz9YE0t7OnlQyh4lzdFl8+0rtlefdvURHt6YZUqgOThtP8GxXig3WBKOUm0Pirl5ye53EG5hGQBLF1DZ5l9jrwkOUiDU4xL1G1aQ9W83BCsjg+pZikH/zwvNok74LErjzTby0c/tFMUQ32IsZCq7uNgoPfEAP9wEj0eNlvGNT+XslAbHE02cRCsqj+WK0mjaY3Zun8ZhwjVZlNtctIU3GflwU46KG41gVPkAKNY5l61L4kcS68gUsLi1hKwFrkyegyrLtmd9CASAVttIVm+nECHwX99tulR1duUALwfmZRzx6ZOOASPWxjWAQgXlS3iKGHkCrh6ivQyhLtnaprFcPIGPez1FLo4nNLnCKbNp+MyErDGSsVst9oDQa8riRY238z4OnHxR+oElT/GOV4Ef87m7BmnEtMpDacqSCPymLG0WuHaPwQaCgeZbfoTkc+TrznkPmT/07qgd+7b9yvBc/JlXVjS4n8PvV1XGkmVKnAq3t34Mzlmo8ctq2sF8k6TJYBGJp+d+D9e7Dn/tZJdMGLlG/eUbjOSx4Fw0yC/0gVDnEpzRFHyxmJUMLmihrZlUWkP0WasTo69448PsvLtnLjSPBR/fywBbNDyzhQoD3TQ70fdtvDDo9giIzcP491h74jcVANw8BnRdn6iaw1Lfre/ACxh7Jl2wKaJYiX3SZl6bqwYR6TLParRO27z1LxXIyazyBf6vqtYtjk27+E= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(396003)(39860400002)(136003)(451199015)(40470700004)(46966006)(36840700001)(36756003)(54906003)(6916009)(316002)(2906002)(47076005)(426003)(83380400001)(40460700003)(478600001)(86362001)(40480700001)(6666004)(2616005)(1076003)(336012)(26005)(186003)(82740400003)(41300700001)(8936002)(36860700001)(82310400005)(81166007)(44832011)(70586007)(70206006)(356005)(8676002)(5660300002)(4326008)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2022 13:30:22.9440 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd5ad4aa-dfdd-4a2c-4d18-08dadf69af3e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT097.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6981 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1671197462882100003 Content-Type: text/plain; charset="utf-8" Add test jobs in both debug and non-debug versions to run hyp-xen-version XTF test as a dom0less domU on arm64. The purpose of this test is to validate the functional behavior of xen_version hypercall. Signed-off-by: Michal Orzel Reviewed-by: Stefano Stabellini --- Changes in v2: - as we are going to run XTF in pure dom0less configuration, specify only the need for Xen and Qemu --- automation/gitlab-ci/test.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 2d57f4feb74a..afd80adfe17c 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -165,6 +165,22 @@ qemu-smoke-dom0less-arm64-gcc-debug-boot-cpupools: - *arm64-test-needs - alpine-3.12-gcc-debug-arm64-boot-cpupools =20 +qemu-xtf-dom0less-arm64-gcc-hyp-xen-version: + extends: .qemu-arm64 + script: + - ./automation/scripts/qemu-xtf-dom0less-arm64.sh hyp-xen-version 2>&1= | tee ${LOGFILE} + needs: + - alpine-3.12-gcc-arm64 + - qemu-system-aarch64-6.0.0-arm64-export + +qemu-xtf-dom0less-arm64-gcc-debug-hyp-xen-version: + extends: .qemu-arm64 + script: + - ./automation/scripts/qemu-xtf-dom0less-arm64.sh hyp-xen-version 2>&1= | tee ${LOGFILE} + needs: + - alpine-3.12-gcc-debug-arm64 + - qemu-system-aarch64-6.0.0-arm64-export + qemu-smoke-dom0-arm32-gcc: extends: .qemu-arm32 script: --=20 2.25.1