From patchwork Mon Sep 26 11:04:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988608 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9EAEC6FA86 for ; Mon, 26 Sep 2022 11:05:05 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411619.654616 (Exim 4.92) (envelope-from ) id 1oclui-0001i1-6o; Mon, 26 Sep 2022 11:04:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411619.654616; Mon, 26 Sep 2022 11:04:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclui-0001hX-2P; Mon, 26 Sep 2022 11:04:40 +0000 Received: by outflank-mailman (input) for mailman id 411619; Mon, 26 Sep 2022 11:04:38 +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 1oclug-00019b-Nm for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:04:38 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2060.outbound.protection.outlook.com [40.107.93.60]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 01fcdded-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:04:37 +0200 (CEST) Received: from BN9PR03CA0044.namprd03.prod.outlook.com (2603:10b6:408:fb::19) by IA1PR12MB6044.namprd12.prod.outlook.com (2603:10b6:208:3d4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 11:04:32 +0000 Received: from BN8NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::3a) by BN9PR03CA0044.outlook.office365.com (2603:10b6:408:fb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:04:32 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT034.mail.protection.outlook.com (10.13.176.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:04:31 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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.28; Mon, 26 Sep 2022 06:04:30 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 26 Sep 2022 06:04:27 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:26 -0500 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: 01fcdded-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=huYSwbO/Up1yeGBU6QHEigeA9Om0mjWp+mwZvSX5pkcxlcokyN92sJ9ZzABztkifxcznDRkhxMTumbMpctFiba06n2NXBHQgyqPfPrbYm6LdezJBNw2B00NpYFud+gP2ZJoEtTo3qimb8vwvuu3FBAw8iZ16a4MgZ4ECRuWF4cHakRBiTgFHv9kzEIyrZPWLn+HfNoyetr/6co9+DH05Q/Itqd4553QejJzUeB4vcANZQaylgAazsYXAjA0y4wTcp5sYxjLlou4PkD3TsdLrJc035pUUK5O1ToNp8itLW4JYPuQ97GW6AWCUi7wn/7I57D2s4XzVW2gMx6jvh1WSmw== 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=at1Tt/XQ9b3STVOqJM76Aoj7GeN5AMiBivYZKaCUdFE=; b=Nuq4hGM7lZb9mbis1g9RPCpV4vv2jO0Df7v/2gEh0I9XgwFvD8yrP2/tlaUUZuHx5DYm2aBWlu5Rg6CqR5lcQtFHnJ1x0kRkAbC0fuxi6VEODV8N8NsA9j93flVPY/iINZBv5tMU2Fixm2t/xk9erhvKY+NVqqpRNrFJpSi74rRVdTt/Tu0hTsM97bcQ/hpSe148bqAy/6hWRUK7UiMt9Ym0gh3/ccZnGFz5O26gCATrN9lPAjVMzAPvlM9u7xTVelhmRRioE2sDayEvOl6tYW3/vM0BzQr/O8bo2SOB6LlFTknnnghiHbHZROTP90ccoZwuPAeXqucHLFZj/dlPeQ== 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=at1Tt/XQ9b3STVOqJM76Aoj7GeN5AMiBivYZKaCUdFE=; b=joOm6EHaCDXxbxneow8Tc7PMOB47ol3gwMnXPuCc9vYskSNtEncGkcJk9dEXQkSHpo6I4r/JKCS65UmNTBY+S6qHts/sAina5muuZP37XCt8PoFjhupgZXMOQYpQPClyxvElGcPR754x42vkP/1JMDJVev+o034A8yIoOYlijtY= 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 (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 01/10] automation: Use custom build jobs when extra config options are needed Date: Mon, 26 Sep 2022 13:04:14 +0200 Message-ID: <20220926110423.26030-2-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT034:EE_|IA1PR12MB6044:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a6ef89e-0ade-4e1c-6892-08da9faee3b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NztyCu+/48sBFXREylwTXH5yXcxLzujaqasCUWOGPFGG2zgY+v05KlKrbTTP+Lc9XZ3zoif52ptDXye3DbVoRs/p1N8aICHKpMSEWoTEuR8CD+TWJw9HH76EFvGp+MfLaZj+Kw01vWIQW4x3Wk1oFqP2+lOOjUPUPZLZu4VF9z57EJsirpIrMSk+IBu+I03DKcey2poOIwCTEFMhQwDQlvn51l7GhzUFmYCjkxfTPKDPAzqSjbR88ie//0TqjpaSRAzPscp2YqLvP8Gxvj52uOe9tUVlFqgwy5Q3fvx8oJe9a3X+s5F2yTDDcro4E6VvFrNY1xhECxU2kxjTMvQhzVDgEjD/uDUfbBtdF4BZEvrS6HiNdb+JP51+tLqWuILn7cbdiXbL59pxebyXW7AkrXrf569vMgeJgDuDFSm9CMCQCAtwDbd6up88zYPK3i6AbYPLG62m3vfXhwZ9MkjnumLh74ksaF61yX+iStxVgXsqusDPSFXblegvwMixda1zQYoNk4/5RogbL7fsgVnU7ZWyw1pX3cVbithH+ZBS3HruoChjtrlj5iJr29f0CcHRIVGzjGbFzMOxsF9VExohvqkZx+P3FMXpB9H9qXBwrp0q6MJXF8lhrSrV2ER2tgULjL+5gmyX1qN86rH6HCuc2o1d9OJZfvZBy0DUQuYbx16zcW7o3JbYIRZSqQCyPbpFnVbqkowbkiT21Lc5bAoBiyV75zoVyIj+l9dkkS3d8g/JPdmIhv17oTlPetRNR+9sQRsTDMS3l8AzlBirIqrc9VC0IXzHTisiY4PA0itaZDZe2LYaC+EJFAIc4k1K4tlg 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)(376002)(136003)(39860400002)(396003)(346002)(451199015)(46966006)(36840700001)(40470700004)(41300700001)(8936002)(5660300002)(2616005)(1076003)(336012)(186003)(426003)(36756003)(44832011)(316002)(6916009)(54906003)(86362001)(2906002)(82310400005)(478600001)(26005)(6666004)(40480700001)(83380400001)(47076005)(82740400003)(356005)(81166007)(70206006)(70586007)(8676002)(4326008)(36860700001)(40460700003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:04:31.9033 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a6ef89e-0ade-4e1c-6892-08da9faee3b3 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: BN8NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6044 Currently, all the arm64 defconfig build jobs, regardless of the container used, end up building Xen with the extra config options specified in the main build script (e.g. CONFIG_EXPERT, CONFIG_STATIC_MEMORY). Because these options are only needed for specific test jobs, the current behavior of the CI is incorrect as we add the extra options to all the defconfig builds. This means that on arm64 there is not a single job performing proper defconfig build. To fix this issue, add custom build jobs each time there is a need for building Xen with additional config options. Introduce EXTRA_XEN_CONFIG variable to be used by these jobs to store the required options. This variable will be then read by the main build script to modify the .config file. This will also help users to understand what is needed to run specific test. Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu Reviewed-by: Ayan Kumar halder Reviewed-by: Stefano Stabellini --- This patch is supposed to be merged for 4.17. The release manager agreed on that. Changes in v2: - replace [ with [[ to be consistent with other ifs in build script --- automation/gitlab-ci/build.yaml | 15 +++++++++++++++ automation/gitlab-ci/test.yaml | 4 ++-- automation/scripts/build | 8 ++------ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index 720ce6e07ba0..a39ed72aac6d 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -566,6 +566,21 @@ alpine-3.12-gcc-debug-arm64: variables: CONTAINER: alpine:3.12-arm64v8 +alpine-3.12-gcc-arm64-staticmem: + extends: .gcc-arm64-build + variables: + CONTAINER: alpine:3.12-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_EXPERT=y + CONFIG_UNSUPPORTED=y + CONFIG_STATIC_MEMORY=y + +alpine-3.12-gcc-arm64-boot-cpupools: + extends: .gcc-arm64-build + variables: + CONTAINER: alpine:3.12-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_BOOT_TIME_CPUPOOLS=y ## Test artifacts common diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index d899b3bdbf7a..4f96e6e322de 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -88,7 +88,7 @@ qemu-smoke-arm64-gcc-staticmem: script: - ./automation/scripts/qemu-smoke-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log needs: - - alpine-3.12-gcc-arm64 + - alpine-3.12-gcc-arm64-staticmem - alpine-3.12-arm64-rootfs-export - kernel-5.19-arm64-export - qemu-system-aarch64-6.0.0-arm64-export @@ -107,7 +107,7 @@ qemu-smoke-arm64-gcc-boot-cpupools: script: - ./automation/scripts/qemu-smoke-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log needs: - - alpine-3.12-gcc-arm64 + - alpine-3.12-gcc-arm64-boot-cpupools - alpine-3.12-arm64-rootfs-export - kernel-5.19-arm64-export - qemu-system-aarch64-6.0.0-arm64-export diff --git a/automation/scripts/build b/automation/scripts/build index 2f15ab3198e6..bcfa6838f0bb 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -15,12 +15,8 @@ if [[ "${RANDCONFIG}" == "y" ]]; then make -j$(nproc) -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig hypervisor_only="y" else - if [[ "${XEN_TARGET_ARCH}" = "arm64" ]]; then - echo " -CONFIG_EXPERT=y -CONFIG_UNSUPPORTED=y -CONFIG_STATIC_MEMORY=y -CONFIG_BOOT_TIME_CPUPOOLS=y" > xen/.config + if [[ -n "${EXTRA_XEN_CONFIG}" ]]; then + echo "${EXTRA_XEN_CONFIG}" > xen/.config make -j$(nproc) -C xen olddefconfig else make -j$(nproc) -C xen defconfig From patchwork Mon Sep 26 11:04:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988606 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 599D3C32771 for ; Mon, 26 Sep 2022 11:05:04 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411617.654595 (Exim 4.92) (envelope-from ) id 1oclug-0001DP-Hb; Mon, 26 Sep 2022 11:04:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411617.654595; Mon, 26 Sep 2022 11:04:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclug-0001C6-9w; Mon, 26 Sep 2022 11:04:38 +0000 Received: by outflank-mailman (input) for mailman id 411617; Mon, 26 Sep 2022 11:04:37 +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 1ocluf-00019b-1O for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:04:37 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2071.outbound.protection.outlook.com [40.107.92.71]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 0011e77a-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:04:33 +0200 (CEST) Received: from MW4PR03CA0210.namprd03.prod.outlook.com (2603:10b6:303:b8::35) by MN2PR12MB4224.namprd12.prod.outlook.com (2603:10b6:208:1dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Mon, 26 Sep 2022 11:04:30 +0000 Received: from CO1NAM11FT086.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::e) by MW4PR03CA0210.outlook.office365.com (2603:10b6:303:b8::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:04:30 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT086.mail.protection.outlook.com (10.13.175.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:04:29 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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.28; Mon, 26 Sep 2022 06:04:29 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 26 Sep 2022 06:04:28 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:27 -0500 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: 0011e77a-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zk4XcQcMWbviSrvndo3NjrZ5h53lXYtKIrc11ydOw1bMmSfB9KZcF75DsSDjAQ0wFdKRf/WqiJ+0mA4LNr0i7c5n9/cMGbTcB2ZRJctuman5ubWUDkbHyKyJsTnd+YrfyWVmb629JbL+uRv7I9vMx6lng2iG3EQs8gpLGpKxmbGy+5UD/DrN8URKm6k3uAieGFbENtZHauTwIVJikKSnrofV5tguni1WaYwIS96oBAPvFXiRu7WrkHwdBZi1o1VbYTpLnqo8YvpFNurGPPTvFqEVD+qIXVlFXbG22qzC/tGBSi/ucXLwmAP9Cn3Ar+YhwzBh3g6SlJ7h+Xd3j1o3Tw== 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=UpOdCBVw2/Uk5sfAz8C2OIxTFfIf2yMq4g3IemE/uFA=; b=L9PE1PffxfWL9/3un0kFK9HDWPJslc3gHfUW5Sjk5Dq2zjCiitJ9fin9f2sP/QexSoivyrJa6xZsxcGWD3f+xhOJs/R/+eZg9QoAHUqbDw5F1BSNg8X3otKlJne5QdceSUxM7hvZtV08hlkQ+UM5uax6nnZa8WehBX826HxJ2QyVf9eDpYMrFWBnh/W50OU/9DCmRqgUrPcRwKNT+TK62MaCb2pX5qIR8gZLWccqYNPpbVGBkWgBxk08AmVQKu1Fj4biL+ayayIiUI2/HYNt3mS1TLgrKr82mviBu0+zhMTS30qQWgNlLvKpzflHf13AQ7DlrPkPhhybtBlvJ5+OTg== 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=UpOdCBVw2/Uk5sfAz8C2OIxTFfIf2yMq4g3IemE/uFA=; b=JHwC9qGzZk4iNs5RzoLjsUHCqgzUZCpBBJjSAS2g2N8j4LhfdRV7f9k22mCzoguvhSICylMXiV1x2Oi8elwqFXcdUlx3BGLxszNWRsVr2p/wDOhe1ILvSO2DWo1D0SFP83VQw0IQmiDbXsfQ13izzmV82KsUd1husYXP+mFpeoc= 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 (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 02/10] automation: Add randconfig build jobs for arm64 alpine container Date: Mon, 26 Sep 2022 13:04:15 +0200 Message-ID: <20220926110423.26030-3-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT086:EE_|MN2PR12MB4224:EE_ X-MS-Office365-Filtering-Correlation-Id: 850e27ad-4899-427d-32c4-08da9faee29e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5rPmFXHXHgtub/lJdHITzrX/tHFybkxqJkIcP/1Y1Jd8P7gr+8UhwLJM7K1vHNXb0128hd/XdF9CTe/czRyTVc0ltsEZzxgslJpDs9v/qJ4mV4MQw1QeddYYWqb8E3pWg7Bmc4ZCBI1pY81mCohjiFiwji9hSI4tMj3VezysuKLwIinNNmkZ13VhoNCyoEUD/tbcpF6t12k6YXkQ/cQUEjWPsd3upn9FeRWrVF1zsZe9YuaoS62eLmkMB10082IbhTw7vVvcsVvJ58NsZ1irVezdz+/WMfwbZeecAWxe3YnCGYOr6KT5NO5kzx1q5GcLkFLSQOINsa3GpS8T3XtS1U1GGutAq4VdRbaf5qLXh7mnx5jBnkOjaZV7AOaZEBkU2c9eB6woHv7RGl44/ceRnBqb9rHxcuYyLVUwj+bvjB6CoX7I4ku5JaBVPlxXdQx4q8itmfYnRrJxqULCiUNQ9yg2ahQV9gvbnTHL6CcZ/sezW8gUw5GBsf8YJulbs9VpHHAy5+hJoVKRcSzOT0c1mwgiixqAjnkwPnwn77beSbWo7mgZ4dr8G+iHFULAjGU4vgyJsM6rNuQ+fswOqYlsrsCr+IWyuV/2c34kEopfa+Qc0C46EuBUkorx0wcfiBIwQe3lbZzSu6huTaxZTlyiVgMHWDAseO3O+p9juqy9jS3l8ADfNaRlB4VYklFQCvyucYszjQjayqNfJ0uPyEP0yxWhJ9VLSk0Hs9icJ1xEYJeNfUQNmgLw1hJmmhIuRnFsVuDJfgI+yP83hB0PRDOd5DTkZ4r4qiOxoOQh5kjMLluIznVEgTCEM6hgRQtDpZap 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)(47076005)(426003)(41300700001)(81166007)(8676002)(4326008)(70586007)(70206006)(356005)(26005)(40480700001)(2906002)(44832011)(86362001)(1076003)(186003)(36756003)(2616005)(336012)(8936002)(5660300002)(478600001)(6666004)(36860700001)(82310400005)(316002)(82740400003)(40460700003)(54906003)(6916009)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:04:29.9616 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 850e27ad-4899-427d-32c4-08da9faee29e 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: CO1NAM11FT086.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4224 For arm64 we perform builds using debian and alpine containers. We are missing the randconfig build jobs for the latter, so add them. This way for each container we have 4 fundamental build jobs: - defconfig non-debug/debug - randconfig non-debug/debug Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu Reviewed-by: Stefano Stabellini --- Changes in v2: - none --- automation/gitlab-ci/build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index a39ed72aac6d..d931441b910a 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -566,6 +566,18 @@ alpine-3.12-gcc-debug-arm64: variables: CONTAINER: alpine:3.12-arm64v8 +alpine-3.12-gcc-arm64-randconfig: + extends: .gcc-arm64-build + variables: + CONTAINER: alpine:3.12-arm64v8 + RANDCONFIG: y + +alpine-3.12-gcc-debug-arm64-randconfig: + extends: .gcc-arm64-build-debug + variables: + CONTAINER: alpine:3.12-arm64v8 + RANDCONFIG: y + alpine-3.12-gcc-arm64-staticmem: extends: .gcc-arm64-build variables: From patchwork Mon Sep 26 11:04:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75568C6FA83 for ; Mon, 26 Sep 2022 11:05:04 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411620.654633 (Exim 4.92) (envelope-from ) id 1ocluj-0002AF-DB; Mon, 26 Sep 2022 11:04:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411620.654633; Mon, 26 Sep 2022 11:04:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ocluj-0002A7-9w; Mon, 26 Sep 2022 11:04:41 +0000 Received: by outflank-mailman (input) for mailman id 411620; Mon, 26 Sep 2022 11:04:39 +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 1ocluh-00019b-JU for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:04:39 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2084.outbound.protection.outlook.com [40.107.94.84]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 01f854ad-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:04:37 +0200 (CEST) Received: from BN9PR03CA0059.namprd03.prod.outlook.com (2603:10b6:408:fb::34) by BL1PR12MB5351.namprd12.prod.outlook.com (2603:10b6:208:317::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Mon, 26 Sep 2022 11:04:31 +0000 Received: from BN8NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::6) by BN9PR03CA0059.outlook.office365.com (2603:10b6:408:fb::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Mon, 26 Sep 2022 11:04:31 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT034.mail.protection.outlook.com (10.13.176.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:04:31 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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.28; Mon, 26 Sep 2022 06:04:30 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 26 Sep 2022 06:04:30 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:29 -0500 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: 01f854ad-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MPWotNZqldA204miG2KMgcabAzWqAfh9VmuNcFasGdyWMnT2uKoJxeGtJFJgdVCJXUs08s3fBsJ1+euPjeyCpVKcooffraFmtFm0GDbHdqWCu/yrsw6JgwR21D3RKELzY9MCqAv4LeuRYMRUfthdrKXvDfvshT0h9Q1WXXxNsEzHiQtIlAHPxdVm2yoCX4mlTL5Z4Wecp0ajTRJf9lwRxMCUkb/KCAjNl0MO/m/VqKj7dfzwAIOt0vWB+J05ZGU1pnd8SmOL8r+F5GbCnGp/D8Oi7xbBk5oePUaC4zHVEeAedzc5I7rmCeyAXqsjckejohNwbE5Y1bwZMyQhX+5azw== 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=XhykJUo9YFworA8q6pNfA9PuivCZjxRRVKJJQTCPJoI=; b=PGZClx1V0u8wxsIE0z6HXWHniIacSDTUD+OztuMglCYYfcqX6VJSn+SGIous0Izsg4/oVzN6KDBXBFP0/i8SsPF732If5Djb7haFAXZXFBW/mOLFCIUWIt6O1OHzfJqjaL1cCabA3Nfi0ZWwE3giuRry+RDK9Cm8zr4t3NcCOGLaAxXbe5wCDBaUzLROjNdLbm0Wi1LO5oMqW2f4ckw79O12EPkUZE/I3J7gFlMnwMCMxK81zbitvwGvjYz1Y3yaoh6FUV0sgtHMcAwgXO5BIdLY3VLED9u188J53vRaJ50q6SkxWNVFaxkNlVpIN1v91vOc2Ly2HztlOlDosW+2Zw== 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=XhykJUo9YFworA8q6pNfA9PuivCZjxRRVKJJQTCPJoI=; b=mUPgaM6TDP7okXCbHeZ34SWCuAySQyYSRo4S9Oe8F2wvwjwUMhqZ39m9YMX1tAqVcRFsANJLucmiw4fVuqOjZUsmUG3o861t3ljTBi4p6SNTHQHbNfCbVuTjb55+hfiQYWaohKGNl8zU21lLO433Bi3Q0sAcaSqM9kmJfk93wBQ= 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 (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 03/10] automation: qemu-smoke-arm64.sh: Increase RAM size Date: Mon, 26 Sep 2022 13:04:16 +0200 Message-ID: <20220926110423.26030-4-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT034:EE_|BL1PR12MB5351:EE_ X-MS-Office365-Filtering-Correlation-Id: c27f0036-780d-433e-7f2b-08da9faee388 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nmPVktz8wTV7Lsz5ZSGfXtG2sFT7zugObt9sxjzMjWcD2AK2Llzk+82km9qXTWGZAFQSiYiLGAfJie+wOWUN0EgcExxurItF0tDziJ4kzkggKBCpKXiGz6juOTLusjwxeIBN3G4B917W4rPoYt8XWNKXXpFAShwmTTxGSfw1ueXSc8frr8Z65RzljzFDWRepIkXyZI4Qw95plpZMeHJz6x+nYzYV7wodn1tKy2mQc+zpDbHREP1Cdrl5mVgynGFtwsPQ2THHnSnPjZlopOcjWj/2zkluhoWJKBtnqG0lTv3DAzAOH1c5q5BoZLEmsF9AYEy3uUmvVdoJMeRynDT5y0IHT4xShaLLV0mtH6GbWgmFF0U/FA9XkQaKxnM7+d/rMjnYxcpvVi5pWqZ9RktY+ZTfQwdBD7xMGWoMmPU2P2/PCUIj1fP8U8y9YZJCXShwRy7sqE3oJi/pcKXTVBBsg4PfPb+bkwmwcR4Zqa3355SZwtCM1mVYLDd3mAfo20CrPKwqXwe6A32LQHf9WvLRmp8ksYMXQpuewvluvylGxSg3Y/lcsnWoIMuoGOG6jfzxB7CVJ6PsrTl3OI2cOXyw8UCpqdLjaPQCTcQ2/0ZOzNSpFJ844bpgwMHWKXXfYA2BMe64pS36GOLGAZOTfuB6t6aWGjLmoIA50STX9LfJSEwBNH+0lGtvsAF1W/mNEQbgLq1CqFhGbP6e3twmkbX8dv5KorykrBkoV5tlK4apM4IVd/jG4Sxc22CUBteaf+utIjhP9NGIv1UOl3BRCaMKdMt30GBh+H2RB8gP9H4I357Tt96vJN2Hq8hsv+1Siz/V9y6zF9tCvXV/Uxq4r7HV4lz73E3718rtbSAmfGztjRY= 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)(376002)(346002)(136003)(39860400002)(396003)(451199015)(36840700001)(46966006)(40470700004)(6666004)(41300700001)(26005)(478600001)(966005)(5660300002)(44832011)(2906002)(40460700003)(82310400005)(40480700001)(36756003)(86362001)(54906003)(6916009)(316002)(8936002)(4326008)(8676002)(70586007)(70206006)(47076005)(81166007)(356005)(2616005)(1076003)(82740400003)(36860700001)(83380400001)(426003)(336012)(186003)(21314003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:04:31.6064 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c27f0036-780d-433e-7f2b-08da9faee388 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: BN8NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5351 In the follow-up patch we will add new jobs using debug Xen builds. Because the debug builds take more space and we might end up in a situation when there is not enough free space (especially during a static memory test that reserves some region in the middle), increase RAM size for QEMU from 1GB to 2GB. Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu Reviewed-by: Stefano Stabellini --- Changes in v2: - new patch carved out from previous v1 [3/9] patch --- automation/scripts/qemu-smoke-arm64.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automation/scripts/qemu-smoke-arm64.sh b/automation/scripts/qemu-smoke-arm64.sh index f803835779f4..dea26c6c0a8f 100755 --- a/automation/scripts/qemu-smoke-arm64.sh +++ b/automation/scripts/qemu-smoke-arm64.sh @@ -52,7 +52,7 @@ curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom ./binaries/qemu-system-aarch64 \ -machine virtualization=true \ -cpu cortex-a57 -machine type=virt \ - -m 1024 -smp 2 -display none \ + -m 2048 -smp 2 -display none \ -machine dumpdtb=binaries/virt-gicv2.dtb # XXX disable pl061 to avoid Linux crash @@ -117,7 +117,7 @@ cd .. # ImageBuilder echo 'MEMORY_START="0x40000000" -MEMORY_END="0x80000000" +MEMORY_END="0xC0000000" DEVICE_TREE="virt-gicv2.dtb" XEN="xen" @@ -158,7 +158,7 @@ timeout -k 1 240 \ ./binaries/qemu-system-aarch64 \ -machine virtualization=true \ -cpu cortex-a57 -machine type=virt \ - -m 1024 -monitor none -serial stdio \ + -m 2048 -monitor none -serial stdio \ -smp 2 \ -no-reboot \ -device virtio-net-pci,netdev=n0 \ From patchwork Mon Sep 26 11:04:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988605 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE8D5C6FA83 for ; Mon, 26 Sep 2022 11:05:00 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411621.654641 (Exim 4.92) (envelope-from ) id 1ocluk-0002Hr-0y; Mon, 26 Sep 2022 11:04:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411621.654641; Mon, 26 Sep 2022 11:04:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ocluj-0002Ff-Py; Mon, 26 Sep 2022 11:04:41 +0000 Received: by outflank-mailman (input) for mailman id 411621; Mon, 26 Sep 2022 11:04:40 +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 1oclui-00019b-Ja for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:04:40 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2086.outbound.protection.outlook.com [40.107.243.86]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 0217ed46-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:04:37 +0200 (CEST) Received: from MW4PR03CA0189.namprd03.prod.outlook.com (2603:10b6:303:b8::14) by SJ0PR12MB7005.namprd12.prod.outlook.com (2603:10b6:a03:486::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Mon, 26 Sep 2022 11:04:32 +0000 Received: from CO1NAM11FT086.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::93) by MW4PR03CA0189.outlook.office365.com (2603:10b6:303:b8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:04:32 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT086.mail.protection.outlook.com (10.13.175.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:04:32 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 06:04:31 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:30 -0500 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: 0217ed46-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MhvdR0h/R41oByteBayC1Rh/YEvrlugnHVoUFNvIJUQd05EL4m/m8Xba8TsmG6kdUwjbJNxedfpRDEbYlYu/8pVM6WBaMNRfAL3KiQ7EJV+2g6VTRUBsvUasA5OvV9TegZjmxoO8+OFBNYA07oa4+eaWV6kdaP1UUjx/rAwnNsQTJBRL2HS38HTcwh8HS35Hk6bkuRPUjd39ZL4ITrPkuQglmhwFjCJVfG+G567wCtkUF5lnUXUFMcSL7wRwC0r7WXHuOPV530KgQLfs0IofjjeEW0663zknKe6b+paJtS6QzUpUvoyyEF5NCu1YKzYNOC/r+25BPvzfS8gpvJ5+TQ== 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=KWCaDZXLfwxQLLRp12PA1vsdtwQFknk6o5olLX6kvjc=; b=UvxZ6m5Qgs9X8l9rwbYW1mSYoz228O1KiRSp4PeHSPyzXsR2RvfziGKaS1rmknGApt/Sqmj8JexkJvhC9SMIhHiGH6RLFxDZ6K93gImri/VWRUYY3ZLpAp4Cbw1W3nqoYy2YDYb4MqgDOGzlfDS36pX1nQi65zVVYgoBlBR7dbcHU+npXJj94s6u9X3Lgxsc8btUTiU4umpFHV3UHfUvFy9ujMnGNKMT9toLs6ndz1nM/7X0yXydyhsLDOQ7K1RnbhzSS5Q/sT7b6qhwQAVJo0hR4wKEfoI8XeentMM/KY6wB2Acw3wweUHara9O9VJi0JjESFanVCKkuxe6b4C/4w== 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=KWCaDZXLfwxQLLRp12PA1vsdtwQFknk6o5olLX6kvjc=; b=xrAZ8hnm6iSqxiEzyG+izFOYLn33rfPfOYP+qjLitHPOVsvN3iScIYMU0D55INRgNXLTfKmv9CLQsy7Miy/ipI09OKNHjHM+LCHXXNBvQvJNzFkwNM8vNAKg0gGKfS+COU7mhHCnK7RA0ZZBCG6lTHvZaFBxQm5Hklerqjno7no= 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 (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 04/10] automation: Add debug versions of Arm tests Date: Mon, 26 Sep 2022 13:04:17 +0200 Message-ID: <20220926110423.26030-5-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT086:EE_|SJ0PR12MB7005:EE_ X-MS-Office365-Filtering-Correlation-Id: b4dac79b-8a6f-4ce9-8f2b-08da9faee427 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LJoWH/bAv7Rx6+bXdaj94CerovCt36CTED1bhWO8GZWrrlSzsdhdgOXbypMsaWb3dxBVpM1WvGU6nI2iviKLm4MsUHaHMrHk3d0+ttqlHL7n9NLvijWdKP9caE82Osy1ThkFvsyt+stBuMsaMES3+l5Yxu6KVCs+3FdrdVMCQz9Chzw9qxYz/dHOAYgeQM7urC2cDtGs9X1yIqWqXeJs9GBuM3LtUv0fx6jf8GmyLEkhHBzR3mF+ARmG4N15eDzQ6IufP8+GugknMNODA/ZTw0IEadjwlooEK9vQUy1vpz37h8W9X4Bi+H4a3EfNYjd2xk4lUC/HboRHOXuxOozgRg+C1/retMz8Hi39iZl/acnZlCBSchuzF3+nLqNy1TYVKcAnD1tm1qIMrz2bbxqY/LqZWt45oB/d3e5vSPRRsJcXoE5I70XARKUx3FGlsCybHSrq6EWInz6M3lotHw41NyYtPjUSyVV862pyOpgjDW8gg2OoUsxJuTeZzSKk9yVDHgLWjXN++6RKNg6ukp6vNVyv3M58rN0lzQaZGb9dFH1T/bWhFRG+cy44vIpxHGydB/ncWrPSm/dlqSpBTk35Fti6I/ucWYU0rqrT5MFwPvsnzJ2lAJKT0JGUJhhsdKIcMDmUqsQcHq+QFHCvQ6FMeGRqep22aiOpQylICdaaQYRKPNSZ63FHcXDSGN27vo15WOy0d01pyf58cYx9NrsMp06+hicWOKqsAJh/sZxCv0C4kDB/sohjXC4w0QkWp5iYudr+kPrkmvbK+h2HKhSakSNtL/OebBSXUDqDicv6T578hgBuu2G+LdGWg8SUac7f 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)(346002)(376002)(396003)(39860400002)(136003)(451199015)(40470700004)(46966006)(36840700001)(47076005)(36756003)(40480700001)(86362001)(186003)(336012)(1076003)(40460700003)(426003)(36860700001)(82740400003)(2616005)(82310400005)(356005)(81166007)(8676002)(4326008)(70586007)(70206006)(54906003)(478600001)(6916009)(316002)(26005)(5660300002)(2906002)(44832011)(41300700001)(8936002)(6666004)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:04:32.5395 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4dac79b-8a6f-4ce9-8f2b-08da9faee427 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: CO1NAM11FT086.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB7005 At the moment, all the tests are executed on non-debug Xen builds. To improve the coverage (e.g. we might catch some asserts), add new test jobs using debug Xen builds. Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu Reviewed-by: Stefano Stabellini --- Changes in v2: - carve out the RAM size change to a separate patch [v2 03/10] --- automation/gitlab-ci/build.yaml | 16 ++++++ automation/gitlab-ci/test.yaml | 93 +++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index d931441b910a..6ce92531f61f 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -587,6 +587,15 @@ alpine-3.12-gcc-arm64-staticmem: CONFIG_UNSUPPORTED=y CONFIG_STATIC_MEMORY=y +alpine-3.12-gcc-debug-arm64-staticmem: + extends: .gcc-arm64-build-debug + variables: + CONTAINER: alpine:3.12-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_EXPERT=y + CONFIG_UNSUPPORTED=y + CONFIG_STATIC_MEMORY=y + alpine-3.12-gcc-arm64-boot-cpupools: extends: .gcc-arm64-build variables: @@ -594,6 +603,13 @@ alpine-3.12-gcc-arm64-boot-cpupools: EXTRA_XEN_CONFIG: | CONFIG_BOOT_TIME_CPUPOOLS=y +alpine-3.12-gcc-debug-arm64-boot-cpupools: + extends: .gcc-arm64-build-debug + variables: + CONTAINER: alpine:3.12-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_BOOT_TIME_CPUPOOLS=y + ## Test artifacts common .test-jobs-artifact-common: diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 4f96e6e322de..1b51030c6175 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -44,6 +44,25 @@ qemu-alpine-arm64-gcc: tags: - arm64 +qemu-alpine-arm64-gcc-debug: + extends: .test-jobs-common + variables: + CONTAINER: debian:unstable-arm64v8 + script: + - ./automation/scripts/qemu-alpine-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + needs: + - alpine-3.12-gcc-debug-arm64 + - alpine-3.12-arm64-rootfs-export + - kernel-5.19-arm64-export + - qemu-system-aarch64-6.0.0-arm64-export + artifacts: + paths: + - smoke.serial + - '*.log' + when: always + tags: + - arm64 + qemu-alpine-x86_64-gcc: extends: .test-jobs-common variables: @@ -81,6 +100,25 @@ qemu-smoke-arm64-gcc: tags: - arm64 +qemu-smoke-arm64-gcc-debug: + extends: .test-jobs-common + variables: + CONTAINER: debian:unstable-arm64v8 + script: + - ./automation/scripts/qemu-smoke-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + needs: + - alpine-3.12-gcc-debug-arm64 + - alpine-3.12-arm64-rootfs-export + - kernel-5.19-arm64-export + - qemu-system-aarch64-6.0.0-arm64-export + artifacts: + paths: + - smoke.serial + - '*.log' + when: always + tags: + - arm64 + qemu-smoke-arm64-gcc-staticmem: extends: .test-jobs-common variables: @@ -100,6 +138,25 @@ qemu-smoke-arm64-gcc-staticmem: tags: - arm64 +qemu-smoke-arm64-gcc-debug-staticmem: + extends: .test-jobs-common + variables: + CONTAINER: debian:unstable-arm64v8 + script: + - ./automation/scripts/qemu-smoke-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log + needs: + - alpine-3.12-gcc-debug-arm64-staticmem + - alpine-3.12-arm64-rootfs-export + - kernel-5.19-arm64-export + - qemu-system-aarch64-6.0.0-arm64-export + artifacts: + paths: + - smoke.serial + - '*.log' + when: always + tags: + - arm64 + qemu-smoke-arm64-gcc-boot-cpupools: extends: .test-jobs-common variables: @@ -119,6 +176,25 @@ qemu-smoke-arm64-gcc-boot-cpupools: tags: - arm64 +qemu-smoke-arm64-gcc-debug-boot-cpupools: + extends: .test-jobs-common + variables: + CONTAINER: debian:unstable-arm64v8 + script: + - ./automation/scripts/qemu-smoke-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log + needs: + - alpine-3.12-gcc-debug-arm64-boot-cpupools + - alpine-3.12-arm64-rootfs-export + - kernel-5.19-arm64-export + - qemu-system-aarch64-6.0.0-arm64-export + artifacts: + paths: + - smoke.serial + - '*.log' + when: always + tags: + - arm64 + qemu-smoke-arm32-gcc: extends: .test-jobs-common variables: @@ -136,6 +212,23 @@ qemu-smoke-arm32-gcc: tags: - arm64 +qemu-smoke-arm32-gcc-debug: + extends: .test-jobs-common + variables: + CONTAINER: debian:unstable-arm64v8 + script: + - ./automation/scripts/qemu-smoke-arm32.sh 2>&1 | tee qemu-smoke-arm32.log + needs: + - debian-unstable-gcc-arm32-debug + - qemu-system-aarch64-6.0.0-arm32-export + artifacts: + paths: + - smoke.serial + - '*.log' + when: always + tags: + - arm64 + qemu-smoke-x86-64-gcc: extends: .test-jobs-common variables: From patchwork Mon Sep 26 11:04:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FAB4C32771 for ; Mon, 26 Sep 2022 11:04:58 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411618.654611 (Exim 4.92) (envelope-from ) id 1ocluh-0001eo-V4; Mon, 26 Sep 2022 11:04:39 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411618.654611; Mon, 26 Sep 2022 11:04:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ocluh-0001eh-Pj; Mon, 26 Sep 2022 11:04:39 +0000 Received: by outflank-mailman (input) for mailman id 411618; Mon, 26 Sep 2022 11:04:38 +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 1oclug-00019b-6t for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:04:38 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2078.outbound.protection.outlook.com [40.107.94.78]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 01cf9f92-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:04:37 +0200 (CEST) Received: from MW4PR03CA0189.namprd03.prod.outlook.com (2603:10b6:303:b8::14) by DM4PR12MB7669.namprd12.prod.outlook.com (2603:10b6:8:106::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 11:04:33 +0000 Received: from CO1NAM11FT086.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::8f) by MW4PR03CA0189.outlook.office365.com (2603:10b6:303:b8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:04:33 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT086.mail.protection.outlook.com (10.13.175.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:04:33 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 06:04:32 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:31 -0500 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: 01cf9f92-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q0YNg4e+aMJMRWBjQKaGc3NI/fTKBZ4O/4OUvO8G8iUOB7XMciy2l0+bQBRNd7dwXWxO+JJYmetHVVpdv73V372FTsVd8SB5Z/hw8nmxcEmv8arEC6mIRrYsnzPhKi9zfvjwFJ7OVD0UwCUvR2j2eW2FZC3OkAVMRENAHvmx3txf9bP36Za7rn6l16OdqqmvL5Co7xpmzp5d9XOXVwvs++Ase93wqemQis44H27FFU9lsNuFm09K+4o3h5rTG5wM/ETz8es1i17benRZ5wyxt6yctljXX9XyPZgPd8mhtFY1Smv5zw0n6/V/kCDoexkhqibTqqUVx95Tsg9jXwjO7g== 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=XNgqClqMiM51F2XPe1n6tn6T8qkG5GsnlFend6N3M50=; b=aXHFK/KawR/VVCguBsseHEI9NXS/1VyjYFawEi3/pVCefGDGayI5W21dyMsf1JyilF9Q7uD7XEhDPnMVJYYTQgB2gjsjaV2ILi1SG2VN6AnjhTXvSyg9JPPynzA/wE82SnAMZjuCTUAoFh4l1QpOYnY17hq0l16W+eTfwuvkd9VwwPzyib5ofTLRkXVpJVwbHG2kRnMXA0WqEkxD8TpYynw8kwldTwQ31oI2T80E+DVB/+LOcvS3w05kZmj/m6mQlqmL9N66ny/Fy4z9647rKYRQ2uaR1MJI35hJC5j+PeRyPCheITKHX82FmElvloQRNVyAGmbUJxAhd/BXPM3KtQ== 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=XNgqClqMiM51F2XPe1n6tn6T8qkG5GsnlFend6N3M50=; b=nDP4JByeE5W4p5BaIG9MF+ToefnE8EMNwhI+uZ7f9USV20qD+f72Q8ZEPTu8xrcVxbKDvKWkoqIJqoSt0mhMgBqDdr+hLw14Ue0yXbdkNxLniBle+tIWSALXsGdPYvZSuon1xntMi2DvcRt01UpQKcnX1rbpZ9K32voAcvBIFGw= 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 (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 05/10] automation: Add Arm containers to containerize script Date: Mon, 26 Sep 2022 13:04:18 +0200 Message-ID: <20220926110423.26030-6-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT086:EE_|DM4PR12MB7669:EE_ X-MS-Office365-Filtering-Correlation-Id: 7666bf9b-b8ef-46f4-eb58-08da9faee486 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AQeLAsifxt/OmEZ4xc14CGlAKKi/U83cO3zVNY6xI33/mh+ONFmLMOQ8F1Yu0ahYW/d198Urv0aVrGxCG7AAYFFkordJE75Ed9rPMI3mce493QpDp3hTC07CHMigjxBJ3TZuKxmBmW2TiswAB99F5H1SacL30Q25wItSyOrY8jYktao1ncJWhCWkyzXwXGY4GJGAo673QjdCWe5DNFLfZaprd+Rg2dFL9vDlu5h04VeZWx3eOJprtPbTxvkJMUASd7y8jXh+1RBcAHxaOVPrTl2OvRy9nYs00g7xigjMZskqTWGSTzLIODjpdNQL7tAKB66Fu+yXJ7bji6dhIe4WLGATFCPaZFWbcO4/kbTvO/x4GE8ZQxSJFhFYgAV/WuCFN+N94R3ySlusy2H/W4d0ZodnusswHDunEvdOrlmZXB7kPqGFKpCrKQq6Q0ql7o1HoH5lokWP2+bFNRz4S0l2th2cH1S8evT1kJeN4fli6DFLaWg4/HTKEbyUjlwtwe4m5aEjy0peL1kaKiguqockaIdibvKQKbIe1FTKIkq5fgYCEcUAAJJDn/r18/krcAWINJJeAzJ21ZugcgTJaKGf2i01M2cs/1PXll2nTGkeX9dRg+eBu3P3PffJrQyyTr6OEJmDzi3ssc8y93cKvzRwqRe1/XWWHYhAjikHgRP0G9UN8ZErrt/PTJbWXM70et1eQ9d4IkUsL4+7/uBTQf+ZmfsjPAzAPRyfjsjtRS0yMdphb6vgBlm/HREuZta1LXZFJ7FtNisVl1o99EbdxRIK8RJNFjDyntDaWwgxQ6blRrAkdpVBq4l0DE58jhrAW/3M 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)(396003)(39860400002)(376002)(136003)(346002)(451199015)(40470700004)(46966006)(36840700001)(81166007)(356005)(336012)(186003)(426003)(36860700001)(2616005)(82740400003)(1076003)(26005)(478600001)(6666004)(41300700001)(8936002)(47076005)(70206006)(4326008)(70586007)(8676002)(2906002)(82310400005)(40460700003)(44832011)(5660300002)(6916009)(54906003)(316002)(86362001)(36756003)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:04:33.1644 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7666bf9b-b8ef-46f4-eb58-08da9faee486 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: CO1NAM11FT086.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7669 Script automation/scripts/containerize makes it easy to build Xen within predefined containers from gitlab container registry. This script is currently missing the helpers to select Arm containers, so populate the necessary entries. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- Changes in v2: - modify commit msg to reflect that we are missing helpers but in reality it could be possible to use Arm containers by specifying the full path to gitlab container registry. However, such usage is annoying. --- automation/scripts/containerize | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 9d4beca4fa4b..0f4645c4cccb 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -25,6 +25,7 @@ die() { BASE="registry.gitlab.com/xen-project/xen" case "_${CONTAINER}" in _alpine) CONTAINER="${BASE}/alpine:3.12" ;; + _alpine-arm64v8) CONTAINER="${BASE}/alpine:3.12-arm64v8" ;; _archlinux|_arch) CONTAINER="${BASE}/archlinux:current" ;; _riscv64) CONTAINER="${BASE}/archlinux:riscv64" ;; _centos7) CONTAINER="${BASE}/centos:7" ;; @@ -35,6 +36,8 @@ case "_${CONTAINER}" in _stretch|_) CONTAINER="${BASE}/debian:stretch" ;; _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;; _unstable|_) CONTAINER="${BASE}/debian:unstable" ;; + _unstable-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm32-gcc" ;; + _unstable-arm64v8) CONTAINER="${BASE}/debian:unstable-arm64v8" ;; _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;; _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;; _opensuse-leap|_leap) CONTAINER="${BASE}/suse:opensuse-leap" ;; From patchwork Mon Sep 26 11:04:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7DAC0C6FA86 for ; Mon, 26 Sep 2022 11:15:12 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411687.654710 (Exim 4.92) (envelope-from ) id 1ocm4j-00006V-KJ; Mon, 26 Sep 2022 11:15:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411687.654710; Mon, 26 Sep 2022 11:15:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ocm4j-00006O-G5; Mon, 26 Sep 2022 11:15:01 +0000 Received: by outflank-mailman (input) for mailman id 411687; Mon, 26 Sep 2022 11:14:59 +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 1oclvY-00019b-HL for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:05:32 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2089.outbound.protection.outlook.com [40.107.94.89]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 22044c17-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:05:31 +0200 (CEST) Received: from MW4PR04CA0310.namprd04.prod.outlook.com (2603:10b6:303:82::15) by SJ1PR12MB6217.namprd12.prod.outlook.com (2603:10b6:a03:458::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Mon, 26 Sep 2022 11:05:27 +0000 Received: from CO1NAM11FT093.eop-nam11.prod.protection.outlook.com (2603:10b6:303:82:cafe::cd) by MW4PR04CA0310.outlook.office365.com (2603:10b6:303:82::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Mon, 26 Sep 2022 11:05:27 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT093.mail.protection.outlook.com (10.13.175.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:05:27 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) 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.28; Mon, 26 Sep 2022 06:05:24 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 26 Sep 2022 04:04:56 -0700 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:33 -0500 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: 22044c17-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2pyr5uWWlI01m43QVlqsCOonS/Y1Bu2i8sTeXed9jFG4w2tzIBNOOAY1b28BeM2lqeqsjKUiKHzW+V7+7dQl6n0XQI1X4xqf8/BLBpWJ0wCyPSc0+x/A1UBrawiDuhAcvqkmdSoF4xsagYl11CZ/XRm4iTO+b9eVjZz5PAEUhxWVjbZma0dd5NTkaT21VAfb85QyEYKLt+0oKNhA0e8RXTDsaorg3KQ4s8irK2H327zx6pUDSt7PgpJjjbJMJIXjJUXUGc1WXbdTId0jy5aVtK1c4SAh/u21OFU2zohHy6P6p9C8FHvAV+hPEiwx7Ax2rw7QkAy7Hi250Lio+uYgA== 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=4vDkMoPV9kVsd1zqn5FqV9gc7xGiXRW41PFaT+D57pk=; b=ChHetdq2Rj5gn068n0RCG3vG34+UtYFuOvTe8inEimK8vHbR9mGRKRVEmzY+s5evDuHSLbhD0GKbS2OSgH4SakVCiPDUtppBqF020df4BVqB4cqIj61iSFIeZhEzoFOD2lmdFbOP38Mo4RImYSOLysv2R1StmnT5DUQBq4EzGZPVAgKrn7rnFXMHMZDFSH3Mazs0y16DSx1UohvXxpdElmSMIhTaayP9Zn4E+9ZzQ4t89svl5/Nloj/0piPgKVC+URzX/zoH1JyjCPOrFE9719sAQFmtY5g+g0aKs90szE248HzgH4gkBi8+R7gDz2u4xSArSHgzPwydId89ipip1g== 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=4vDkMoPV9kVsd1zqn5FqV9gc7xGiXRW41PFaT+D57pk=; b=X1sDxpsSXXa1JyO0zf+4A1itMhWIwiMbS/GDbr4NrsgVHCwjGClvzqIdSw9+bkAZkf93k420/sWCbgzs9S9NUYpGXe2qEYOvUPp4xbaC2Aj0tBpPmYlwEOPI4cJR8pdiOmhX3SuhVNTnl3IdkKcewU0klkU5OZEmQM9gwY0eSLI= 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 (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 06/10] automation: qemu-smoke-arm32.sh: Modify script to use ImageBuilder Date: Mon, 26 Sep 2022 13:04:19 +0200 Message-ID: <20220926110423.26030-7-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT093:EE_|SJ1PR12MB6217:EE_ X-MS-Office365-Filtering-Correlation-Id: bd03a3ac-ec7e-455b-b8ea-08da9faf04fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WeQGSqP3E3j/3LKgaZai6DJypHpI5dFPRze7SLPg2SvW+XCT0tg12p9jR7Acf3ftl/cyBHXhoQRxgXUYoFEyoStUO8laOHIlBLNYHYBv0cwiFQ7LqZSxNM5Ww0D4IL4s39UQ86L8P6A931hv3QravYjUlNU4urQ/3u4yzpEv71D9r8roaKrZ7PELfSnFM6rPvCOSptMeFTyKLJx6ghbBn9GBfxx5tVRpi4FYUE0OboWA+/MB/UWbQnucIt2NRVK0ALyHaAM7fPj2oFAsxu4/SJz55vq02U7wqmzji8g0NRsHEN8Naf3UWZ/sUkCPFK/Yr11oS0znwddUXBx9swrpfMTJqSYiUQVPjvHk+QyjEZtvMVgyCiaqPUBQsXD8WK3Ah46tnnG3ZOpQYeHgpwGptG2dj5cm5onQ0zdYUpPG0OHMACwwKFFMwFHeRbN+32gsqUQ0XUXSzgHy5nkyTc/DaF2VhjlcdCd4nFibdfj0RYtgpKXIMDjS1TJdj0cbqAtbTck3AetpS7tOLzx8xF9bu60UwIaiUxphS8CzJZMxXxFL9SpiEEKLjeTiGE5FNZD+i4diErVF57358FQPw8PKSXOek2vRopTUdTlGBq/eMi6YHqe68spnczYR+ss4bcQcGIRd2G/+D4cy6SaM19pZl9irw7EBj4NCHr2Oa1XFiekxUO/WJBXIP4w2KTsnvYaejF6QWSKylxC+lJR2DsvLpPlhYaAOpHsci2wt2L9xmJB/F/i7mcEz1cyq7A9f4sNwUmiWo1yNX8rdxDBlGaczy7mpWNeGthD0hNx7NQIHuBJ9x1qPDZJ8cL4M9+hTlyDJ9UcUlIVHL/epBFZNJwMrFDvNbfDZfJQjxFlLQJ0h9RMxkyzVq+69/qjEI8T1/nTqBj3XIz8lMGToJXD/XTn9HmY59t0vNPEYlvurlDDsZ/U= 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)(346002)(39860400002)(396003)(376002)(136003)(451199015)(40470700004)(36840700001)(46966006)(8676002)(82310400005)(36860700001)(40460700003)(81166007)(356005)(40480700001)(82740400003)(70586007)(70206006)(36756003)(4326008)(41300700001)(44832011)(5660300002)(966005)(478600001)(26005)(6666004)(316002)(6916009)(54906003)(86362001)(1076003)(2616005)(426003)(186003)(336012)(47076005)(83380400001)(2906002)(8936002)(21314003)(36900700001)(139555002);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:05:27.6367 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd03a3ac-ec7e-455b-b8ea-08da9faf04fe 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: CO1NAM11FT093.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6217 Take an example from arm64 qemu test scripts and use ImageBuilder to generate u-boot script automatically. Calculating the addresses manually is quite error prone and also we will be able to benefit from using ImageBuilder when adding domUs to this test in the future. Install and use u-boot from the debian package. Modify the script so that binaries are loaded from u-boot via tftp. Remove dtuart=/pl011@9000000 because stdout-path in QEMU dtb is always set to pl011 node path. Signed-off-by: Michal Orzel Reviewed-by: Luca Fancellu Reviewed-by: Stefano Stabellini --- Changes in v2: - add explanation in commit msg why we remove dtuart path --- automation/scripts/qemu-smoke-arm32.sh | 57 ++++++++++++-------------- 1 file changed, 27 insertions(+), 30 deletions(-) diff --git a/automation/scripts/qemu-smoke-arm32.sh b/automation/scripts/qemu-smoke-arm32.sh index 530f3892fdd3..765facbe4d66 100755 --- a/automation/scripts/qemu-smoke-arm32.sh +++ b/automation/scripts/qemu-smoke-arm32.sh @@ -4,7 +4,9 @@ set -ex export DEBIAN_FRONTENT=noninteractive apt-get -qy update -apt-get -qy install --no-install-recommends device-tree-compiler \ +apt-get -qy install --no-install-recommends u-boot-qemu \ + u-boot-tools \ + device-tree-compiler \ curl \ cpio @@ -20,10 +22,6 @@ tar xvzf ../initrd.tar.gz find . | cpio -H newc -o | gzip > ../initrd.gz cd .. -kernel=`stat -L --printf="%s" vmlinuz` -initrd=`stat -L --printf="%s" initrd.gz` - -# For Xen, we need a couple of more node. Dump the DT from QEMU and add them # 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 ./qemu-system-arm \ @@ -36,31 +34,31 @@ curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom -display none \ -machine dumpdtb=virt.dtb -dtc -I dtb -O dts virt.dtb > virt.dts +# ImageBuilder +echo 'MEMORY_START="0x40000000" +MEMORY_END="0x80000000" + +DEVICE_TREE="virt.dtb" +XEN="xen" +DOM0_KERNEL="vmlinuz" +DOM0_RAMDISK="initrd.gz" +DOM0_CMD="console=hvc0 earlyprintk clk_ignore_unused root=/dev/ram0 rdinit=/bin/sh" +XEN_CMD="console=dtuart dom0_mem=512M bootscrub=0" + +NUM_DOMUS=0 + +LOAD_CMD="tftpb" +BOOT_CMD="bootm" +UBOOT_SOURCE="boot.source" +UBOOT_SCRIPT="boot.scr"' > config -cat >> virt.dts << EOF -/ { - chosen { - #address-cells = <0x2>; - #size-cells = <0x2>; - stdout-path = "/pl011@9000000"; - xen,xen-bootargs = "console=dtuart dtuart=/pl011@9000000 dom0_mem=512M bootscrub=0"; - xen,dom0-bootargs = "console=tty0 console=hvc0 earlyprintk clk_ignore_unused root=/dev/ram0 rdinit=/bin/sh"; - dom0 { - compatible = "xen,linux-zimage", "xen,multiboot-module"; - reg = <0x0 0x1000000 0x0 $kernel>; - }; - dom0-ramdisk { - compatible = "xen,linux-initrd", "xen,multiboot-module"; - reg = <0x0 0x3200000 0x0 $initrd>; - }; - }; -}; -EOF -dtc -I dts -O dtb virt.dts > virt.dtb +rm -rf imagebuilder +git clone https://gitlab.com/ViryaOS/imagebuilder +bash imagebuilder/scripts/uboot-script-gen -t tftp -d . -c config rm -f smoke.serial set +e +echo " virtio scan; dhcp; tftpb 0x40000000 boot.scr; source 0x40000000"| \ timeout -k 1 240 \ ./qemu-system-arm \ -machine virt \ @@ -70,11 +68,10 @@ timeout -k 1 240 \ -serial stdio \ -monitor none \ -display none \ - -dtb virt.dtb \ -no-reboot \ - -kernel ./xen \ - -device loader,file=./vmlinuz,addr=0x1000000 \ - -device loader,file=./initrd.gz,addr=0x3200000 |& tee smoke.serial + -device virtio-net-pci,netdev=n0 \ + -netdev user,id=n0,tftp=./ \ + -bios /usr/lib/u-boot/qemu_arm/u-boot.bin |& tee smoke.serial set -e (grep -q "^/ #" smoke.serial) || exit 1 From patchwork Mon Sep 26 11:04:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988618 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6EBEC32771 for ; Mon, 26 Sep 2022 11:15:10 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411688.654716 (Exim 4.92) (envelope-from ) id 1ocm4k-0000Ak-3D; Mon, 26 Sep 2022 11:15:02 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411688.654716; Mon, 26 Sep 2022 11:15:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ocm4j-0000AY-QL; Mon, 26 Sep 2022 11:15:01 +0000 Received: by outflank-mailman (input) for mailman id 411688; Mon, 26 Sep 2022 11:15:00 +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 1oclva-00019b-7D for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:05:34 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 233857fe-3d8b-11ed-9374-c1cf23e5d27e; Mon, 26 Sep 2022 13:05:33 +0200 (CEST) Received: from BN9PR03CA0526.namprd03.prod.outlook.com (2603:10b6:408:131::21) by MW4PR12MB6684.namprd12.prod.outlook.com (2603:10b6:303:1ee::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 11:05:29 +0000 Received: from BN8NAM11FT078.eop-nam11.prod.protection.outlook.com (2603:10b6:408:131:cafe::4a) by BN9PR03CA0526.outlook.office365.com (2603:10b6:408:131::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Mon, 26 Sep 2022 11:05:29 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT078.mail.protection.outlook.com (10.13.176.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:05:28 +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.28; Mon, 26 Sep 2022 06:05:25 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 04:04:57 -0700 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:04:56 -0500 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: 233857fe-3d8b-11ed-9374-c1cf23e5d27e ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TwHG0Uw/YE/yIMCCE5Alr31ht846VmICjyZwcpHIpCCC+Yn55avaLQtJsujAKbdzR8ssyAUGIurigHUOydB/OK2Puub+dWtCjBX8aZL09DeVHn6GMh4s5tGDpVrf2FJYV1X7Y7f43O5X43zVQ4+NPbEOawHjaJxw+bI4gwpygr8nY/zJY94l9bpBqscuUrVu8H4sbCVY+xecgG+8CbMOS1ut44uFhknkcVYdz9jqMLmIUBxbuM7Qf/NVqpPGxGyrDmWWmCAnxpYGjiQn0w5N+p4di9ZMzx/BaYzGIxTRtoM7pBvxpGS37iEEl5ifX7s7AYRsLkQAvHHsHz6herwi6A== 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=qx4EC4KMsyhRnGE2453GEGKH2mT41/PmpiSKyiT7+AI=; b=b6ZaRJQSky7T11KAQPqAgsi8UcXEtAn7g6/AbdSANHRK4QQy/mqjnrdsoTrNQAGu5/iSZ47d9unfTVLP5U7pcP6kbR2HfhW03fEcn+Rnk58umZISL8xcZS0YFp5xFHYyiy2qLaL6JfIG8jK4tjI4PhayKNGccXCygS3sDHyOVjyNRNpzrHiSUnM2c1vbnj2SW6t1WO3MjlixJu7029JYX1ASjwC06xwgeAw/5gnKgIHFe51VZHLNxj2bfcl5dV3x2qR0DZAhkP25qLRvWfaSB/4D04L0AcSlY1TeZm1aO9Xtu4/ZqxEiYEjUuMqM2NvRdk7OwxDbQ6pKF8Cx/KZvjQ== 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=qx4EC4KMsyhRnGE2453GEGKH2mT41/PmpiSKyiT7+AI=; b=pi0RQkFDspIRz0hdXd9sE1XjTZCjKnv7QqxthQe59dKl9wtv0O7bGyfakY8CKI3gsAWRCdDDI3kqW+Yf73H64Or05I9gZKoOyC6ONSd+HLMCL04ryVAueF5v41TaRoB4k30vB8RYatNkz8FrT4Fv6KjUYaz84GMZIyAjo1Dxnm4= 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 (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 07/10] automation: qemu-alpine-arm64: Cleanup and fixes Date: Mon, 26 Sep 2022 13:04:20 +0200 Message-ID: <20220926110423.26030-8-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT078:EE_|MW4PR12MB6684:EE_ X-MS-Office365-Filtering-Correlation-Id: aaeddd57-f6ee-455c-50ab-08da9faf05ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IqQiqwIwZoQsoqYW6qhoFQtS+Gmx3JyIUd3rZyPuwX/yeZBYbI27udJmvp9s0EvOb4wPESk8O+22lme1zxBoDZEgD6ay9aYfLvP7LTkznUDLCN54QZMxSWUVtb1CVRNOL9X50HPWPp012XVGpScUrF++c4MBt9lvgnaFaFldb3zF7SnkaQCCVE7B/yPEyFjO2W/zAExJavuLk71xk6qozG3vNJlG+0/qBPM8PJ2jnNHMBPqDo0G5MPScw3N/6G9xogzfZUsUP+R7AGzCAevWqbNmfWN/rcrUAJGI+GbmC5bMrT8Xo+OouLWKOBKI409Xgvwh9CnYsEfc2ZxmTrZvV79aQ3jsilIeXyjsmYQHYXEOzWfWbZiM9lBPMFQRYGl26zZJgiskhbgBCo7F7bPU19QtXvJ1KZCG/pB/KaVKeWZL9K7l7KaCFzMBnNUlzCSFzEndv1Eh6ocG8+hZeMKEqxi7cfCRJortthwofQeHPSC2xHOSvNouO5qN7FVvqosM8/lY5R79QhKMPK6/xs2FWM7QVTTHHPN/FM3stBMeRFUF4jt9m0twJQVNc75UIG2N2UdrOXFrMWalPT4uvvGAZt/fXxBwKjG5WcPPtefuivq0Ht0TwPOT7ZKm/NE8bh5ygxOcVNEBEMLRpIj6K7twOfUdhXdeTz+1h8OoqK+08XWgXsF5swaMHps7wU01iy57j4bGVj60qucAHqhMpYA7OnnBh6GvgcOlSZ3tBtT3Shqustgb7lccrRmXtAlQf++KvuflJXFcppC3k++fAgtos4Xcw4My/ehIzS5RA4RUWLh69Du3PcRqpf7q8hjCslJByd0BOC4Pfavi364HQB+Xb+mhA3E9ErrzPFH9tjS9yPY= 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)(346002)(136003)(396003)(376002)(39860400002)(451199015)(40470700004)(36840700001)(46966006)(966005)(6916009)(54906003)(83380400001)(478600001)(316002)(6666004)(70586007)(70206006)(8676002)(4326008)(41300700001)(5660300002)(2906002)(8936002)(36756003)(2616005)(26005)(44832011)(336012)(186003)(1076003)(36860700001)(47076005)(426003)(356005)(40460700003)(82310400005)(81166007)(82740400003)(86362001)(40480700001)(21314003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:05:28.8993 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aaeddd57-f6ee-455c-50ab-08da9faf05ac 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: BN8NAM11FT078.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6684 Perform the following cleanup: - rename the device tree from virt-gicv3 to virt-gicv2 as the GIC version used in this test is v2, - use fdtput to perform modifications on the dtb, - use DEBIAN_FRONTENT=noninteractive to prevent interactive prompt being stuck waiting for answer other than "yes", - fix the number of cpus in the device tree because currently we generate it with a single cpu and try to run QEMU with two, - fix the memory size we pass when generating QEMU device tree as it does not match the memory size with what we run QEMU. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- Changes in v2: - none --- automation/scripts/qemu-alpine-arm64.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/automation/scripts/qemu-alpine-arm64.sh b/automation/scripts/qemu-alpine-arm64.sh index f4ac2d856fa0..7b52d77d3c84 100755 --- a/automation/scripts/qemu-alpine-arm64.sh +++ b/automation/scripts/qemu-alpine-arm64.sh @@ -2,6 +2,7 @@ set -ex +export DEBIAN_FRONTENT=noninteractive apt-get -qy update apt-get -qy install --no-install-recommends u-boot-qemu \ u-boot-tools \ @@ -73,18 +74,17 @@ curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom ./binaries/qemu-system-aarch64 \ -machine virtualization=true \ -cpu cortex-a57 -machine type=virt \ - -m 1024 -display none \ - -machine dumpdtb=binaries/virt-gicv3.dtb + -m 2048 -smp 2 -display none \ + -machine dumpdtb=binaries/virt-gicv2.dtb + # XXX disable pl061 to avoid Linux crash -dtc -I dtb -O dts binaries/virt-gicv3.dtb > binaries/virt-gicv3.dts -sed 's/compatible = "arm,pl061.*/status = "disabled";/g' binaries/virt-gicv3.dts > binaries/virt-gicv3-edited.dts -dtc -I dts -O dtb binaries/virt-gicv3-edited.dts > binaries/virt-gicv3.dtb +fdtput binaries/virt-gicv2.dtb -p -t s /pl061@9030000 status disabled # ImageBuilder echo 'MEMORY_START="0x40000000" -MEMORY_END="0x80000000" +MEMORY_END="0xC0000000" -DEVICE_TREE="virt-gicv3.dtb" +DEVICE_TREE="virt-gicv2.dtb" XEN="xen" DOM0_KERNEL="Image" DOM0_RAMDISK="xen-rootfs.cpio.gz" From patchwork Mon Sep 26 11:04:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988610 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A382C07E9D for ; Mon, 26 Sep 2022 11:06:20 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411645.654677 (Exim 4.92) (envelope-from ) id 1oclwC-000557-2J; Mon, 26 Sep 2022 11:06:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411645.654677; Mon, 26 Sep 2022 11:06:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclwB-00054y-UM; Mon, 26 Sep 2022 11:06:11 +0000 Received: by outflank-mailman (input) for mailman id 411645; Mon, 26 Sep 2022 11:06:10 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclwA-0004X6-BT for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:06:10 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 350254da-3d8b-11ed-9648-05401a9f4f97; Mon, 26 Sep 2022 13:06:02 +0200 (CEST) Received: from BN9PR03CA0799.namprd03.prod.outlook.com (2603:10b6:408:13f::24) by PH7PR12MB7377.namprd12.prod.outlook.com (2603:10b6:510:20c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 11:05:59 +0000 Received: from BN8NAM11FT088.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13f:cafe::e2) by BN9PR03CA0799.outlook.office365.com (2603:10b6:408:13f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25 via Frontend Transport; Mon, 26 Sep 2022 11:05:59 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT088.mail.protection.outlook.com (10.13.177.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:05:59 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 06:05:25 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:05:24 -0500 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: 350254da-3d8b-11ed-9648-05401a9f4f97 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mhdt0DPx2hVrLkrDlnl19Dq7u3wsevucKM2T+jLHpJa2L55mJDbGD30Hqo633oNzXufx2dJN01Q6duwtq5Kcg+9OepR3HX7oqcwlxYJBZicItPPykYuxmj3aRCPUKNLnvC3r3L93jLuMZ2KUxBO3noxIC1ggGu9RwyvHii+v2KwmpwFcLZk938Il9qe1GvavmxkMPM1Se3mnFJk0fFEKCj3yydJkWcUW4b915kehr3oGYwl80I6+OUW1DKJYXk+u4rJyLcFSuoX6sXL7WNQyr/AdpGTcj9OozFji7mHevekBDbEE49diP1yZBDsoSNyTdyljV2rQr4IhjbUKevGf1Q== 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=qBbxrf3OGmi5kmC0blOEMBhohXAO6yhvPt8yeU+u8o8=; b=UDRBGs4un3+jZGoOAU95l2CsUh60EEyWLYIO1NavgQp7d1ZUmahtO43VROax0i6KCJbZncQsjAARJjeF3UaLRbk29eeBigXGqnAPUAkHth5qH+8nIKhxNMbV291/0g8RT7+TTvCqUCqF0sAe5YL3v/TOutR5Z7NryEeMFghf4Q9iAMmTwWI1CIll3YlhjMgvqSPpSmXuYRM1po3GZt03GQ1V8OHeNipR4rWqAMvGR6LIDVew/f+StGne/uSC8rAPR+U8TimDydSkG/67gWLfx6l71WGIJKEMN4gFGOwpLCifLatqQv406GqcT6pTB/MmVowfOLRMRQiKmk7Q8IjnOw== 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=qBbxrf3OGmi5kmC0blOEMBhohXAO6yhvPt8yeU+u8o8=; b=QXuX+5GQW5ECPBXeE+ToUaNEKJ2pBKwiyEuH8YLdNf5YS1jpafMhxN5fG8TLOH1z4iefb1YmGP0TWMwraDSLd9SbYCmSFNnSBM1Te00Vs7zPFaMYVBcQA6mhTKlVi7rnjZhK5mABGSIILC5szyf9IKhLHsQczR1jmQztU2JeAOo= 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 (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 08/10] automation: Rename qemu-smoke-arm64.sh to qemu-smoke-dom0less-arm64.sh Date: Mon, 26 Sep 2022 13:04:21 +0200 Message-ID: <20220926110423.26030-9-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT088:EE_|PH7PR12MB7377:EE_ X-MS-Office365-Filtering-Correlation-Id: ba530dc5-3b39-4828-6c06-08da9faf17b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ndkkxzio2O8LjIqyPX7dWnja58+0qv1QpG9UgG/EFJwhhHu5fdUgKdHCIGwo9N9oL1/hyPLBzBcdMUFizbbx2MQNTCrubtjM+Qwq6VVmsOSy6GSeM25HTQC0HqBXhsuvXT1dvHAQXreWJDwfSQht5zNUnOP/oxUNTfcO8UR9V4QOH0cN2CyLqjXSOL81ch4JyEKxFmY/cnjRVVjxdqa3osXyomJu+lNhsZ1fX3vqZCXw7sF54bv0UB9S+yjro1+Dgc0gPs44ZZnSkW2VbmHgDNtzJEzsUiDpHRbdnzlXHkxQRtBLupguGvSS/gOdNbJC/Rs5gmAXSMTj96WABOQ0XFAyub7dFP664CJeEN+a2xRJaxQJVoUTPnj+kbCMVPF5HSLH5mxXdG6z35X483pKUalZ92np1UG4IdcC9kYgffK6BmbyiikJVo3aZpxprE7MNjgJpA8OIckBNP3mL8pwx8+dD0Cp7yQEgcX52F2hTU2XlzyqTAEQZFZkTDze1MHyE1eEdVtYcRDFU4Eo2nDz1I6isWQ4rCa7hi+VarTi0DfwN29PUEv9WxH/sEj5E7Nx7gmQYaXVLQMIvBXuCgLnHOrwce1p1A6K0I/wEFYpHj+0RJvap+pCv+8IxaGANFmlET7G/J5vtbp3MIDJn1nk5/A4YGNgYzMQuRqSqIK1T2YoM1WeHtoU004P/WeWCj8cvmkwmQvlIGZO+Nl09TDPlNGg1urO67jfbYtGE5nJOx1rWY+JqOIPY5Lta92AthlPHRtP+aDlAueExtZF/C4mYCjfwl+EeCKUgn+TUSSRfAtUvEWczPSub/NnNocx/SFi 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)(346002)(396003)(39860400002)(136003)(376002)(451199015)(40470700004)(36840700001)(46966006)(82740400003)(86362001)(81166007)(36756003)(356005)(36860700001)(2906002)(336012)(1076003)(186003)(5660300002)(26005)(40460700003)(82310400005)(40480700001)(44832011)(6666004)(41300700001)(478600001)(47076005)(83380400001)(426003)(2616005)(316002)(54906003)(6916009)(8676002)(4326008)(8936002)(70206006)(70586007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:05:59.1842 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba530dc5-3b39-4828-6c06-08da9faf17b9 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: BN8NAM11FT088.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7377 Testing arm64 is done using the qemu-alpine-arm64.sh and qemu-smoke-arm64.sh scripts. These scripts are executed with exactly the same artifacts (container, rootfs, kernel, qemu) and the only difference is that the former is used to perform dom0 based testing and the latter - dom0less based testing. Because the current naming is quite umbiguous, rename qemu-smoke-arm64.sh script to qemu-smoke-dom0less-arm64.sh to reflect its usage. qemu-alpine-arm64.sh will be renamed in the follow-up patch. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- Changes in v2: - none --- automation/gitlab-ci/test.yaml | 24 +++++++++---------- ...-arm64.sh => qemu-smoke-dom0less-arm64.sh} | 0 2 files changed, 12 insertions(+), 12 deletions(-) rename automation/scripts/{qemu-smoke-arm64.sh => qemu-smoke-dom0less-arm64.sh} (100%) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 1b51030c6175..f620622671f8 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -81,12 +81,12 @@ qemu-alpine-x86_64-gcc: tags: - x86_64 -qemu-smoke-arm64-gcc: +qemu-smoke-dom0less-arm64-gcc: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-arm64 - alpine-3.12-arm64-rootfs-export @@ -100,12 +100,12 @@ qemu-smoke-arm64-gcc: tags: - arm64 -qemu-smoke-arm64-gcc-debug: +qemu-smoke-dom0less-arm64-gcc-debug: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-debug-arm64 - alpine-3.12-arm64-rootfs-export @@ -119,12 +119,12 @@ qemu-smoke-arm64-gcc-debug: tags: - arm64 -qemu-smoke-arm64-gcc-staticmem: +qemu-smoke-dom0less-arm64-gcc-staticmem: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-arm64-staticmem - alpine-3.12-arm64-rootfs-export @@ -138,12 +138,12 @@ qemu-smoke-arm64-gcc-staticmem: tags: - arm64 -qemu-smoke-arm64-gcc-debug-staticmem: +qemu-smoke-dom0less-arm64-gcc-debug-staticmem: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh static-mem 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-debug-arm64-staticmem - alpine-3.12-arm64-rootfs-export @@ -157,12 +157,12 @@ qemu-smoke-arm64-gcc-debug-staticmem: tags: - arm64 -qemu-smoke-arm64-gcc-boot-cpupools: +qemu-smoke-dom0less-arm64-gcc-boot-cpupools: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-arm64-boot-cpupools - alpine-3.12-arm64-rootfs-export @@ -176,12 +176,12 @@ qemu-smoke-arm64-gcc-boot-cpupools: tags: - arm64 -qemu-smoke-arm64-gcc-debug-boot-cpupools: +qemu-smoke-dom0less-arm64-gcc-debug-boot-cpupools: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh boot-cpupools 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-debug-arm64-boot-cpupools - alpine-3.12-arm64-rootfs-export diff --git a/automation/scripts/qemu-smoke-arm64.sh b/automation/scripts/qemu-smoke-dom0less-arm64.sh similarity index 100% rename from automation/scripts/qemu-smoke-arm64.sh rename to automation/scripts/qemu-smoke-dom0less-arm64.sh From patchwork Mon Sep 26 11:04:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988611 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A35E1C6FA83 for ; Mon, 26 Sep 2022 11:06:20 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411644.654666 (Exim 4.92) (envelope-from ) id 1oclwA-0004ne-JB; Mon, 26 Sep 2022 11:06:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411644.654666; Mon, 26 Sep 2022 11:06:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclwA-0004nT-Fl; Mon, 26 Sep 2022 11:06:10 +0000 Received: by outflank-mailman (input) for mailman id 411644; Mon, 26 Sep 2022 11:06:09 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclw9-0004X6-BG for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:06:09 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 359ceca6-3d8b-11ed-9648-05401a9f4f97; Mon, 26 Sep 2022 13:06:03 +0200 (CEST) Received: from BN9PR03CA0578.namprd03.prod.outlook.com (2603:10b6:408:10d::13) by MW5PR12MB5651.namprd12.prod.outlook.com (2603:10b6:303:19f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Mon, 26 Sep 2022 11:06:01 +0000 Received: from BN8NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::7e) by BN9PR03CA0578.outlook.office365.com (2603:10b6:408:10d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:06:00 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT025.mail.protection.outlook.com (10.13.177.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:06:00 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 06:05:27 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:05:26 -0500 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: 359ceca6-3d8b-11ed-9648-05401a9f4f97 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lL19f6g1ObKP2PJF/gYVT4PmeZZliqsCrX1AxwSVvpPK1Ufy2I89J73OiYDoJhIhcylM0oLvdSILeOk0WL9TNUqoJSa8rEjmjQZRXTZDEPAg5B8mfYau5S87mN+397DA/k+/+uLgSKnqxnSgXocC1g1qDxS+XAFZHI1lbzr9amJRGFLQoSgrG0JYkQ8x9YT/pznYeGbbRFa63nkxkmA3S2RZuK9s8uxq5z3mOACuW/3F1nwevUMjg/K3AQGY8WU8E5bQtlrmbQFez9CxDdufWXeO/H8chRTGpG0NmydDfxkemXNj7JNo9u0iabKK91CdWsS9GwGCoRn6QLnq/bvmVg== 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=6mXPXve5ULvv7mPC7ImSugKKpHJU0dvJobrOhPi4FXU=; b=UTDZEWrYEvGoEuAVsvPSYsjNCQEUvhG/ttQm76SX9nWX33HKOolnvm1O6jnIbcQ+2Goorc8hcKUg0ZpxfIWjIOl7Mhmk+H5oT3W9U5T9bwuYP+RHIlaD13ydOMoO6GtszEd+Xnpj2l5VQl7ltv4+aHG4svLkif4br1Tis24dMezBxvkzGQH//yvSrfmT5e0SwY02969HkmGKBF2oZZuiv1xRoXQcdS9XxDaSnh7Zv3M3Wo4JF5sLh3uO2KCruHdcdmtwsTN0agY/2+OiW0KRlGE/5nNQ/iiSn+ixTSb3HxSrBt0pcZGALD8hBsN5bPXxqpU02LMylOdeqpg7xrrwbQ== 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=6mXPXve5ULvv7mPC7ImSugKKpHJU0dvJobrOhPi4FXU=; b=V0M8QaGOSR9lYedRKL+Ng4W4dbId5IoN2gG/z1avHY//Uu3hZOLBWVjFjsGVVdPD0XItUJ2HV6Z/Hs2FZKw82QmKnO45BjuEg3VbsAuVya/CcC7MG+7k7d5fp6ZiHogZ/MjAaGW0RXens77xT0hFVfEqgzAfpf8oc9yNP4ZQnk8= 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 (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 09/10] automation: Rename qemu-alpine-arm64.sh to qemu-smoke-dom0-arm64.sh Date: Mon, 26 Sep 2022 13:04:22 +0200 Message-ID: <20220926110423.26030-10-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT025:EE_|MW5PR12MB5651:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d6724f4-2097-4dfe-38fa-08da9faf1857 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wPd3NaXl5bQuc/jp1HxDmV07XxrqCPFP73NqN09t4XN7wtVHpMpnW4Pb2ySp+yYbDT6HGjRWvDEiteEPKuNNxL6DnW2gVVehwPETJhuz+w909vF/Jx9kJGoUNmC8zMZUCF4p473hMM1AmvXoOiH5fRhKji92rL7TTgdrrN3N/xWi9NxXaKaAEcFAXvZP3EcEnz+g9PYMpxVMcT3bWiebUFKDbJci+xxHjFC/HNLELs21QgLINrMg8Nk7ECVhvCZeIQF8t9eAniUgpMhnbDXkXQsda319FTNkIs9ocDpdcmDgnvHMkimMB/BHiiihH3chhbcjR8fdC3AFGgbEBWA7ByyD2oLisH+gz0vuGjdOdfnYdTPK3dYcfRtq5pJtCrwo1Mdtu0+vzWQX9qESbwG/U9YU45ToZkzuFbILjb/lUI/HPe/Y+s3TNFfrQD5pbGfI2L643wzWNq0n69v0Lzjb7S/4AfhvOG1iH3NlGhQxOugLjwbItrcFW8Sr/u8O3tMTI54p/u/iZ3+zffsm3zCWurq24Hpup1a/2Gjqt2eU6h2MavuHZZ9XwsR+hqQGGABg5Fq4Ud3J5j8XTWEUU1U7Z6b+FyE1azF2Rj1GLVmPN5zcC+w7x67qdZk1J/8PCzYr5oSO2KAa7C0/Fpoz1TRyS3hI0lPX8IubJ4g9WYrAHeERDMn52r1P2KpxyrLneuO5S5KdpmutM6li09wD1LQW/8TPyV5uZsR8E5sBqGhvPOAPx3kkOg0OTYRUMiTFnPtwsCNMKWDVc3nHMhQR8ppvmw3GIRbTrdvV9gXCt87qkDQrb3ZTAKlG2xegycAwaWM/ 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)(346002)(396003)(136003)(39860400002)(376002)(451199015)(46966006)(36840700001)(40470700004)(186003)(2906002)(2616005)(336012)(47076005)(1076003)(83380400001)(426003)(26005)(40480700001)(36860700001)(70586007)(4326008)(8676002)(70206006)(36756003)(8936002)(6666004)(81166007)(86362001)(356005)(44832011)(41300700001)(82740400003)(54906003)(6916009)(82310400005)(316002)(478600001)(5660300002)(40460700003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:06:00.2027 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5d6724f4-2097-4dfe-38fa-08da9faf1857 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: BN8NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR12MB5651 qemu-alpine-arm64.sh script is used to perform dom0 based testing. Rename this script to qemu-smoke-dom0-arm64.sh to reflect its usage. Also rename the corresponding test jobs. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- Changes in v2: - none --- automation/gitlab-ci/test.yaml | 8 ++++---- .../{qemu-alpine-arm64.sh => qemu-smoke-dom0-arm64.sh} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename automation/scripts/{qemu-alpine-arm64.sh => qemu-smoke-dom0-arm64.sh} (100%) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index f620622671f8..3b147c88ab08 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -25,12 +25,12 @@ build-each-commit-gcc: tags: - x86_64 -qemu-alpine-arm64-gcc: +qemu-smoke-dom0-arm64-gcc: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-alpine-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0-arm64.sh 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-arm64 - alpine-3.12-arm64-rootfs-export @@ -44,12 +44,12 @@ qemu-alpine-arm64-gcc: tags: - arm64 -qemu-alpine-arm64-gcc-debug: +qemu-smoke-dom0-arm64-gcc-debug: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-alpine-arm64.sh 2>&1 | tee qemu-smoke-arm64.log + - ./automation/scripts/qemu-smoke-dom0-arm64.sh 2>&1 | tee qemu-smoke-arm64.log needs: - alpine-3.12-gcc-debug-arm64 - alpine-3.12-arm64-rootfs-export diff --git a/automation/scripts/qemu-alpine-arm64.sh b/automation/scripts/qemu-smoke-dom0-arm64.sh similarity index 100% rename from automation/scripts/qemu-alpine-arm64.sh rename to automation/scripts/qemu-smoke-dom0-arm64.sh From patchwork Mon Sep 26 11:04:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Orzel, Michal" X-Patchwork-Id: 12988609 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6F3CC32771 for ; Mon, 26 Sep 2022 11:06:19 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.411643.654655 (Exim 4.92) (envelope-from ) id 1oclw9-0004Xf-Aq; Mon, 26 Sep 2022 11:06:09 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 411643.654655; Mon, 26 Sep 2022 11:06:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclw9-0004XY-8F; Mon, 26 Sep 2022 11:06:09 +0000 Received: by outflank-mailman (input) for mailman id 411643; Mon, 26 Sep 2022 11:06:08 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oclw8-0004X6-I7 for xen-devel@lists.xenproject.org; Mon, 26 Sep 2022 11:06:08 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2048.outbound.protection.outlook.com [40.107.94.48]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 35b3f7a9-3d8b-11ed-9648-05401a9f4f97; Mon, 26 Sep 2022 13:06:05 +0200 (CEST) Received: from BN9PR03CA0058.namprd03.prod.outlook.com (2603:10b6:408:fb::33) by PH7PR12MB7308.namprd12.prod.outlook.com (2603:10b6:510:20c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.24; Mon, 26 Sep 2022 11:06:01 +0000 Received: from BN8NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::a4) by BN9PR03CA0058.outlook.office365.com (2603:10b6:408:fb::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26 via Frontend Transport; Mon, 26 Sep 2022 11:06:01 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT028.mail.protection.outlook.com (10.13.176.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Mon, 26 Sep 2022 11:06:00 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Mon, 26 Sep 2022 06:05:28 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Mon, 26 Sep 2022 06:05:27 -0500 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: 35b3f7a9-3d8b-11ed-9648-05401a9f4f97 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GpR3qIUqEnvab4Q4jS7aFNbjd09dWNfzw98TA7r+jYqNRJizKU4mMldvUaFDbuHn2F0/wNTe9D4I/TN4wxkL7dLUn/AetHJpbuJaiElqEY3Q1AEUlcn3VGaJuHDqBEG8IwPOLKV6WcfvOfnLpJfW2XRgl7AGTTHwAPBtAvI/2gGfOPI8wxn36hMHvw8yHODLJjiXw86LB8ZlXkkVHdnckT+S7hBoe8pJgUQiiillKXGQeVV5gUtVwyejT8tTtRVtOVZzzVsvmQKhKN6YUc13U0tDAnD++FLXAH+BMF7yXNkVMJ/hVN8TjvrkeflC5Hc0zv7i75CjUwdNgkPzkYyMUg== 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=nm2GB71Av9Lfb7OcaO5zjKxQmHNj/cnStyksFxhKYP0=; b=iiV3yTKhtSmaswn0zZV72XJDNqk6cmZW0+Ta0ChDTUUUZ1F1srvR8c4EeURu9/5mkvDA2oeEKn1USSmzyQbF/3oll6DABdmko+4MY8dsisB5fpnMabiYeboXRmBkgLecfisHE/0ml6KUTivPeXEhyAoFV6Bl3hiuKqnxGf9Zhn2q9h/DFxk2yisdYEItBo6Kxt2vj4D49MseEjM1iLlEfKU/pniFeRKWdShSt4vZoOa5VgFeAQ7RvwKCurso8gAEWEXLZVut8k9WlcKBtEQQwW4w6vpa7gwpuxmSnuia8DHtTFZF6upUZlcWY2aMLjOTueXqXDh6xW/m+Ro1ftx7iw== 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=nm2GB71Av9Lfb7OcaO5zjKxQmHNj/cnStyksFxhKYP0=; b=41CP7794EaWlR2JNzbM8OdXiepWtiJNP17xdNpKNpL5GETShCVQIGIjBJ02XRhFnYiGDKabAEz2F5woEBApEqvwaWxL9rwHjXOX4pRGVuPQ34VtGSG/WMlE1DR2cV70L8KqNd1uT/6tHRtTE1tYk0NMLcuR/VF3qGxvEVWn6IXo= 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 (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 10/10] automation: Rename qemu-smoke-arm32.sh to qemu-smoke-dom0-arm32.sh Date: Mon, 26 Sep 2022 13:04:23 +0200 Message-ID: <20220926110423.26030-11-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926110423.26030-1-michal.orzel@amd.com> References: <20220926110423.26030-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT028:EE_|PH7PR12MB7308:EE_ X-MS-Office365-Filtering-Correlation-Id: 70640995-7621-4cdc-e943-08da9faf18b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0nGaKP+YZ7UB2c56B1ITZGDtifEmYrxvF16UI1OGDrIHBsybAwSURRxrP9v5UBHfX7/GRWAckpPGuHo2lNH9PLk+9nnGa2hJX+ivlW+OUX0lYkI+3A2mVrsKztV3fOVZ4QRhOrZWaZ4nPavyJWv6Js4mWpuyq2hJT9zKgIYV/i2KPioJgQsOiHkP3mDaJEPiqSZjjpKkyrWyAzqWJXYO0Cip/S4pMykF/6/VImSlwIW8Yjm65k9RCpJMNmnNDpemFZiVwPc+0xy3Ef+EJ0+dg1Y7wsACGfHE6lC8YmimWArHboyPXHxfoBZX26r6VtujmnV/2Nm2/ykbRX5jFj5rp08+bGY63uFpKEmseUb3iBX76w6Dhqr6UplhPvt/U1CumNj5Hj6IZQ3A+t+s78ZLzrdBQm5wFcquGKt0gDaH53OYREZhlQexUGfKfoILLC+j6P5qhZw+BhPFvU96XMuhj/gqJ0SVdUr8zSKiiNYLL1Jx3GJ74AKv/bU5wb+5/XYHrDXfxB5W1QUqVq2zeP78kPwlkJ67P8O6A69nXB54FUPFLYDFrFCnqLvCx+9OevnUn/IN5FHG9/LEsJyg2DHfb+gSO/rgzQcpVjPKXmbXUoaSyRdL2wJTRpUuwTSdAxV4P0pTn+gmU+nyHHcqpuDu/0FqKcRgCk2rRDMAysTVmKmhDlSzdwqEFQJHTVlpz9KLLrfi9AW4NrRKH15M4rHlYk/yQ3bd0V+nPVU/6sl7eSexbSWLE43XPMlnD+S7/z1TI4OomgvYPGTlBaNowLmfY6GjgBNNK2tf/ORa8trqEpjYBPEFWmscz4lOwB6qTPIQ 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)(376002)(346002)(396003)(39860400002)(451199015)(36840700001)(40470700004)(46966006)(2616005)(26005)(44832011)(41300700001)(6666004)(36756003)(2906002)(316002)(82740400003)(8676002)(70586007)(40480700001)(336012)(8936002)(70206006)(47076005)(4326008)(82310400005)(426003)(83380400001)(5660300002)(81166007)(478600001)(54906003)(1076003)(186003)(86362001)(6916009)(356005)(40460700003)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2022 11:06:00.8389 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70640995-7621-4cdc-e943-08da9faf18b5 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: BN8NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7308 After qemu arm64 test scripts had been renamed to reflect their usage, do the same for the qemu arm32 test script. Currently it only boots dom0, so we can assume that this script will be used to perform dom0 based testing. In the future we will be able to create corresponding script qemu-smoke-dom0less-arm32.sh to perform dom0less based testing. This is the last step to get rid of ambiguity with regards to naming of Arm test scripts. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- Changes in v2: - none --- automation/gitlab-ci/test.yaml | 8 ++++---- .../{qemu-smoke-arm32.sh => qemu-smoke-dom0-arm32.sh} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename automation/scripts/{qemu-smoke-arm32.sh => qemu-smoke-dom0-arm32.sh} (100%) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 3b147c88ab08..92e0a1f7c510 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -195,12 +195,12 @@ qemu-smoke-dom0less-arm64-gcc-debug-boot-cpupools: tags: - arm64 -qemu-smoke-arm32-gcc: +qemu-smoke-dom0-arm32-gcc: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm32.sh 2>&1 | tee qemu-smoke-arm32.log + - ./automation/scripts/qemu-smoke-dom0-arm32.sh 2>&1 | tee qemu-smoke-arm32.log needs: - debian-unstable-gcc-arm32 - qemu-system-aarch64-6.0.0-arm32-export @@ -212,12 +212,12 @@ qemu-smoke-arm32-gcc: tags: - arm64 -qemu-smoke-arm32-gcc-debug: +qemu-smoke-dom0-arm32-gcc-debug: extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: - - ./automation/scripts/qemu-smoke-arm32.sh 2>&1 | tee qemu-smoke-arm32.log + - ./automation/scripts/qemu-smoke-dom0-arm32.sh 2>&1 | tee qemu-smoke-arm32.log needs: - debian-unstable-gcc-arm32-debug - qemu-system-aarch64-6.0.0-arm32-export diff --git a/automation/scripts/qemu-smoke-arm32.sh b/automation/scripts/qemu-smoke-dom0-arm32.sh similarity index 100% rename from automation/scripts/qemu-smoke-arm32.sh rename to automation/scripts/qemu-smoke-dom0-arm32.sh