From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98580+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98580+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890861; cv=none; d=zohomail.com; s=zohoarc; b=Qc/lN4jL+209+mW3oM2ICds9tdGuDakMFgZbytDzSTHcXxNwgjQuYz/Yd6XST8UrrRb1jlHjTBnqhx5Fwqneg65MOCosGkFl9NiyW83LrsktMDDWhEVxAZME0ZnXA0Pj7JqEI2nNjxOYJlIKcgJFK5sbnwkgwfDaIOtNi9A5z0k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890861; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=SPV0zuFLIb3J7uyEM398fTNSG4R1sD60yNYIuyQL/5Y=; b=l81VPrt87RK9APZTl16aTs1BKbUsTpl4B83fcWdY1M33GGcdoPbp4C3u1LhOW9lC8HUpFwrcT0/oHeMQzAmM8TYcH916tq9xMop9jOQNz39NGrjXmESMXQlr+dloxf9u7j7Yf2y9/7bdulyClqDdbfpVuvJZQI/KlnMESrCxIwc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98580+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890861817846.9778142846218; Mon, 16 Jan 2023 09:41:01 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id JzUsYY1788612xcuVVLpVbPE; Mon, 16 Jan 2023 09:41:01 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.173930.1673890860978624812 for ; Mon, 16 Jan 2023 09:41:01 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-605-k7MPViZwPf6QYgCxmwFl0Q-1; Mon, 16 Jan 2023 12:40:58 -0500 X-MC-Unique: k7MPViZwPf6QYgCxmwFl0Q-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ED0503C0F660; Mon, 16 Jan 2023 17:40:57 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD05FC15BAD; Mon, 16 Jan 2023 17:40:54 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 01/17] CI: make Python version configurable Date: Mon, 16 Jan 2023 18:40:28 +0100 Message-Id: <20230116174044.3346383-2-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: XR1YO25efVlwQlbSMD7ULjPux1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890861; bh=o002jLpKBCH/kH1JENRnfvJa7taNvIBe9sTa5AC1d8s=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=bj8s/zsIXdea9Jx6vvwYwSUXjPW3IgtZbmH/EMfGt9ImUgWKHRdD6oVbVXMVGwzc7Gi Yu5itm87ppDzMT2N+I2E76/WPTCGRyzAjdpS16ULm8AyGqy8W8dlMorbPHop+sPE8KUmy AGuFcIBZXgJA37tulv0PEw2EY9mCeozTKNU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890862545100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Add a new parameter "usePythonVersion" to the CI job templates. This makes it possible to specify the version of Python to use. The default value is '', in which case Python will not be downloaded at runtime and the one provided by the VM/container image will be used. Additionally, add a template .azurepipelines/templates/defaults.yml, from which the default Pyhton version string can be obtained. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- .azurepipelines/Ubuntu-GCC5.yml | 9 +++++---- .azurepipelines/Windows-VS2019.yml | 4 ++++ .azurepipelines/templates/defaults.yml | 11 +++++++++++ .../templates/platform-build-run-steps.yml | 6 +++++- .azurepipelines/templates/pr-gate-build-job.yml | 2 ++ .azurepipelines/templates/pr-gate-steps.yml | 6 ++++-- 6 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 .azurepipelines/templates/defaults.yml diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.= yml index f83951eeaf86..4ed6cb601b8e 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -13,13 +13,14 @@ pr: - master - stable/* =20 +variables: + - template: templates/defaults.yml + jobs: - template: templates/pr-gate-build-job.yml parameters: tool_chain_tag: 'GCC5' vm_image: 'ubuntu-latest' arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64" - extra_install_step: - - bash: sudo apt-get install -y lcov - displayName: Install Code Coverage Tools - condition: and(gt(variables.pkg_count, 0), succeeded()) + usePythonVersion: ${{ variables.default_python_version }} + diff --git a/.azurepipelines/Windows-VS2019.yml b/.azurepipelines/Windows-V= S2019.yml index c07e5bb43424..58bb98d42b28 100644 --- a/.azurepipelines/Windows-VS2019.yml +++ b/.azurepipelines/Windows-VS2019.yml @@ -12,12 +12,16 @@ pr: - master - stable/* =20 +variables: + - template: templates/defaults.yml + jobs: - template: templates/pr-gate-build-job.yml parameters: tool_chain_tag: 'VS2019' vm_image: 'windows-2019' arch_list: "IA32,X64" + usePythonVersion: ${{ variables.default_python_version }} extra_install_step: - powershell: choco install opencppcoverage; Write-Host "##vso[task.pr= ependpath]C:\Program Files\OpenCppCoverage" displayName: Install Code Coverage Tool diff --git a/.azurepipelines/templates/defaults.yml b/.azurepipelines/templ= ates/defaults.yml new file mode 100644 index 000000000000..b4909448bdea --- /dev/null +++ b/.azurepipelines/templates/defaults.yml @@ -0,0 +1,11 @@ +## @file +# File templates/default.yml +# +# template file containing common default values +# +# Copyright (c) Red Hat, Inc. +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +variables: + default_python_version: ">=3D3.10.6" diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azur= epipelines/templates/platform-build-run-steps.yml index 40a31a509fc5..8803d80cf51c 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -34,6 +34,9 @@ parameters: - name: extra_install_step type: stepList default: [] +- name: usePythonVersion + type: string + default: '' =20 steps: - checkout: self @@ -42,8 +45,9 @@ steps: =20 - task: UsePythonVersion@0 inputs: - versionSpec: ">=3D3.10.6" + versionSpec: ${{ parameters.usePythonVersion }} architecture: "x64" + condition: ne('${{ parameters.usePythonVersion }}', '') =20 - script: pip install -r pip-requirements.txt --upgrade displayName: 'Install/Upgrade pip modules' diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index fff61a3193b0..b8573b90da1c 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -13,6 +13,7 @@ parameters: vm_image: '' arch_list: '' extra_install_step: [] + usePythonVersion: '' =20 # Build step jobs: @@ -78,6 +79,7 @@ jobs: build_pkgs: $(Build.Pkgs) build_targets: $(Build.Targets) build_archs: ${{ parameters.arch_list }} + usePythonVersion: ${{ parameters.usePythonVersion }} extra_install_step: ${{ parameters.extra_install_step }} =20 - job: Build_${{ parameters.tool_chain_tag }}_TARGET_CODE_COVERAGE diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/= templates/pr-gate-steps.yml index 080f60aea6ab..ebc1e86c37d4 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -12,6 +12,7 @@ parameters: build_pkgs: '' build_targets: '' build_archs: '' + usePythonVersion: '' extra_install_step: [] =20 steps: @@ -21,8 +22,9 @@ steps: =20 - task: UsePythonVersion@0 inputs: - versionSpec: '>=3D3.10.6' - architecture: 'x64' + versionSpec: ${{ parameters.usePythonVersion }} + architecture: "x64" + condition: ne('${{ parameters.usePythonVersion }}', '') =20 - script: pip install -r pip-requirements.txt --upgrade displayName: 'Install/Upgrade pip modules' --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98580): https://edk2.groups.io/g/devel/message/98580 Mute This Topic: https://groups.io/mt/96311817/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98581+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98581+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890868; cv=none; d=zohomail.com; s=zohoarc; b=E7h4DgpSVWcFUWpi//4VzKAG2RGqV3hJzJuhVcMehAdEtrtjjqhfpIdHRsTYEAjOV5HRup8mjapllbpmYfsxDGum31dSZoFVqEiU+R53tzyrzwVmJQk2On4coNQeZ/2FxcI2XT/kRmOM/m/nGqBzbD+2PVxSc3UHYnyHAN211/4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890868; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+Qb+gpPU6enccl9MI5UvS6pZvR0ZqJA54ZjRSkDT4kQ=; b=R5eogxKwywWX5ZVipglSNXWLDW+THHg1jzN/Kg4D5JfC8/dA7FI+0N4Iv8W5xJdSpE7orjjgl0mUGHSNK5ypshnPGZkqngYIgZLYqMt1f0blKrrYHsR0CmFSZldOH8BUN8S/ew8hksIrkSonlKpcte0CTkkqgZ9kxvh5w4xou/Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98581+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890868415717.2226204946274; Mon, 16 Jan 2023 09:41:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Vm5pYY1788612xbTkVvJdvFU; Mon, 16 Jan 2023 09:41:07 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.173711.1673890867252969896 for ; Mon, 16 Jan 2023 09:41:07 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-283-3-Y93LaUMR6b4wrpFAyE_Q-1; Mon, 16 Jan 2023 12:41:02 -0500 X-MC-Unique: 3-Y93LaUMR6b4wrpFAyE_Q-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8077C1C0878C; Mon, 16 Jan 2023 17:41:01 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38566C15BA0; Mon, 16 Jan 2023 17:40:58 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 02/17] ArmVirtPkg: CI: use Python version from defaults template Date: Mon, 16 Jan 2023 18:40:29 +0100 Message-Id: <20230116174044.3346383-3-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: 0HE4ld7u9LZN0jbMdk7LHzB5x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890867; bh=Yg39N3R6O8Rfz5QewaPQJm6bDUQYnOSP9V9Je7oKxrI=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=ohN1kt5AcZCoWnxYH/RyUqUn1Cu/q0MqjmarJsSIfQM/98dLgk/7zWfsr03I5knMV2T FQJMv8uBGtXGvXiS6x9Z+Y6y7wIYuJ1lVU2FkCmJZSIR9pZXFTmdAIfMnFSM/g7HY1KlL qLXgb+sQnGTzM8s/cIvmjZRvAiqinhbUExQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890870564100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the default Python version from the defaults template (.azurepipelines/templates/defaults.yml) in the Windows and Linux CI jobs. Previous changes to the CI job templates make it necessary to specify a version number, if Python shall be pulled at CI runtime. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index b07e3199f143..5a0e589ed4a7 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -15,6 +15,9 @@ pr: - master - stable/* =20 +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -85,6 +88,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} extra_install_step: - bash: sudo apt-get install qemu displayName: Install qemu --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98581): https://edk2.groups.io/g/devel/message/98581 Mute This Topic: https://groups.io/mt/96311821/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98582+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98582+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890872; cv=none; d=zohomail.com; s=zohoarc; b=Rsp4/tu2bqZCxdsFmF4Rhhjc3Gw3xHQjKfe96JDERZWmti9DT/9r0EGNEnvROyLpNNwNfrhTc1zGYHoCQ8jAuz9EqnMaM+EgWPOPNxFGMymriH+f5aHsdBSW+5GBPaqI/ccvv4xZ8Dtcj0Q2marnAMr9KSb0Uf3xnm1RexsxDgk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890872; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zu1d+Ndj7oiMbM7U66C5igOLKbLHhC2N9BBw3uNztks=; b=N0pY6E1wOJtNmvEyPJOhRCkgUeVIpN8NUAsUj3TPpUEVXropFI5NDNe7DrXwkr6tGBNQi+TGwTDzhs2sEcaOkwUyyMPldOB3IyG56TQBJV0GGC1O78icwjetVez/57eQjfH6erlXSec5ccwHFN+EDC4xddMogQefPqef3R+JGYg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98582+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890872771777.9697527010151; Mon, 16 Jan 2023 09:41:12 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id pUwZYY1788612xeobu9UQla1; Mon, 16 Jan 2023 09:41:12 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.173714.1673890871842345586 for ; Mon, 16 Jan 2023 09:41:11 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-QGmOiIwWMpORcRGGEZIBaA-1; Mon, 16 Jan 2023 12:41:06 -0500 X-MC-Unique: QGmOiIwWMpORcRGGEZIBaA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E4EC0858F09; Mon, 16 Jan 2023 17:41:04 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id C01C2C15BA0; Mon, 16 Jan 2023 17:41:01 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 03/17] EmulatorPkg: CI: use Python version from defaults template Date: Mon, 16 Jan 2023 18:40:30 +0100 Message-Id: <20230116174044.3346383-4-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: Ig6fsMfUWuvcf3o27FTYZbgAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890872; bh=rH+qcyhEJ/SK2T3EEv669Y0Hw3AlEEt4xBl0Uo9hlyk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=kCCtOQyZk2U93t4ItgfORjHlSA8dYpg3FPghCZXjq1BBVvwgrL4+VNy9M4fn37JNu4v pgBVuHWltgztiEQm9vkjJfDzt+jhmvCkYqoyCj08SJhnCVh/a+SawGJYQrdcAMSBEwtQx utA7RBDTgXd4pvpQ5FgX1Zlgo6i4w2gFNqw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890874598100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the default Python version from the defaults template (.azurepipelines/templates/defaults.yml) in the Windows and Linux CI jobs. Previous changes to the CI job templates make it necessary to specify a version number, if Python shall be pulled at CI runtime. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 5 +++++ EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 416c15e70840..a32c57d4aab4 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -15,6 +15,10 @@ trigger: pr: - master - stable/* + +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -85,3 +89,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/Em= ulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml index e7ead06ae266..09960e7c7a6e 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -16,6 +16,9 @@ pr: - master - stable/* =20 +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -128,3 +131,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98582): https://edk2.groups.io/g/devel/message/98582 Mute This Topic: https://groups.io/mt/96311826/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98583+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98583+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890874; cv=none; d=zohomail.com; s=zohoarc; b=FrAuk/1McmOw0wDV24DVQkNs4YeY4nwlHqS2e1Pa6JwBataxtesRfo+YpiCWVGOWryWWUI8qhDV7wEgwXim6HYUxMDLi7dBrTLCvrvOysePf1x42cWODtOubuGwAB5BP0f9mprPfspEjat+PD68oJbkL1elp+8qmxPeFbA7duJ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890874; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=QGh0vxADeejtVILGS2mfLhvX5SyurPAP6OGtDLoYXaU=; b=XwLURBEseJcG2B52Q7JleLerpVdLdPxliPq5PAeqv+tDTwPkuRskFz2epxlDRq6FtgG41YkaUfHqGmL+/K9mySKqp3Feow/thxWYYejyP14yn1J7x4KOfWrOsM10qp9VKoQ6FrcEmJP3vulL+G9oXPwcE2Q0/FsXGmyusHn9iEI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98583+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890874362718.7793181545333; Mon, 16 Jan 2023 09:41:14 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id TKErYY1788612xcgp2DXVRk5; Mon, 16 Jan 2023 09:41:14 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.173937.1673890873405545487 for ; Mon, 16 Jan 2023 09:41:13 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-45-Th_xQkT3MF-yxEmaPoTfDA-1; Mon, 16 Jan 2023 12:41:09 -0500 X-MC-Unique: Th_xQkT3MF-yxEmaPoTfDA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7309D1871D94; Mon, 16 Jan 2023 17:41:08 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F040C15BA0; Mon, 16 Jan 2023 17:41:05 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 04/17] OvmfPkg: CI: use Python version from defaults template Date: Mon, 16 Jan 2023 18:40:31 +0100 Message-Id: <20230116174044.3346383-5-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: NA1Kbmktvwlls8hAlQFDyjTlx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890874; bh=FBkCZ3CheOKgwPTaBp2AyN01O9z2BEjc2IlQv3vaGFw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=MKrffvSDWXZWP4MmGiXPYjm6rAP90qYC+F0Qvw0v8wGr9g8Ocd+RYqgALRM7n9NTfcx 6ZF4ibtQMJkEJk7epLfZHrmb7xiHSakzFm7iQNdrlpXZCKenH/O1qDRvN2Vb8HrdBYGmu /F3W/y8NbyF8nr9WmnmFYj4xOeyKmiHw43I= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890874615100002 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the default Python version from the defaults template (.azurepipelines/templates/defaults.yml) in the Windows and Linux CI jobs. Previous changes to the CI job templates make it necessary to specify a version number, if Python shall be pulled at CI runtime. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Reviewed-by: Chris Fernald --- OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 4 ++++ OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 7160d95f7e04..6dd90711ac70 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -15,6 +15,9 @@ pr: - master - stable/* =20 +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -187,6 +190,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} extra_install_step: - bash: sudo apt-get install qemu displayName: Install qemu diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/OvmfPk= g/PlatformCI/.azurepipelines/Windows-VS2019.yml index 7d6344d6383d..7e63f419b26b 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -14,6 +14,10 @@ trigger: pr: - master - stable/* + +variables: + - template: ../../../.azurepipelines/templates/defaults.yml + jobs: - job: Platform_CI variables: @@ -133,6 +137,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + usePythonVersion: ${{ variables.default_python_version }} extra_install_step: - powershell: choco install qemu --version=3D2021.5.5; Write-Host = "##vso[task.prependpath]c:\Program Files\qemu" displayName: Install QEMU and Set QEMU on path # friendly name d= isplayed in the UI --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98583): https://edk2.groups.io/g/devel/message/98583 Mute This Topic: https://groups.io/mt/96311827/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98584+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98584+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890888; cv=none; d=zohomail.com; s=zohoarc; b=Ba8OaJYZo05qjMM8Ai/bGtPNMJQZc4eoXsv26SXKNajOP1l+Mx7hkjxiEudMjn5iWklFPugjakOkhoIFZRziDXgRnKzkqXlf2+TjHgzNE6X6go9n8He9R2G9ALVVvNYMe2i2o7jxMLqtK3Ch5MLQfa3bAbAm8RBrh4qekCBKzg0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890888; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=UqJapXyHDzKaa8wU/gApiBqJq7uEd4RSjHzf/MKIBQI=; b=iPhQzAptKzlGshcEFN7KbQ2SPom+q4bNHvsxsgh9Cn00+gV0n6ilCmyYmBOzYxk74+jB2Zs45rxgox4rtR+ROUm02xWI1qZibP5s3YQ4a9FwEUoBlef+A9apWLsTSg6+QTHlobr4Ba104pVyLk+8HKI+I9qI9kAh/e6t5zoyF4g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98584+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890888346222.65183425723376; Mon, 16 Jan 2023 09:41:28 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id C6RdYY1788612x6JCq1wMMyS; Mon, 16 Jan 2023 09:41:27 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.173941.1673890887143882025 for ; Mon, 16 Jan 2023 09:41:27 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-433-N_AnrP-QNfa-bcMw8jzupQ-1; Mon, 16 Jan 2023 12:41:23 -0500 X-MC-Unique: N_AnrP-QNfa-bcMw8jzupQ-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 59756101A521; Mon, 16 Jan 2023 17:41:22 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id B2E99C15BA0; Mon, 16 Jan 2023 17:41:08 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 05/17] CI: add ~/.local/bin to PATH (Linux only) Date: Mon, 16 Jan 2023 18:40:32 +0100 Message-Id: <20230116174044.3346383-6-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: LhhtqWcl5COAeGA13PWkd3tfx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890887; bh=17CCbInO2ummqBdonM6oY5cSOJuvF7L1nL2mBnZYDSc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=FPHfvcbzckpZGap74TLrp5LXDz3oTw38F5oFbgXTDpBDtOtSeJA3XEDtcAEvbVgRYzC 5eaVaSJmrZtsxV0w0g9kSEq9ZTCYvrox1RPzKpco0n6FjzD45/HWbIVeD7QPbhxzy1lfO x5ueW7IK7d+NakBaas6mDHZPuq8Axz1M+us= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890889689100002 Content-Type: text/plain; charset="utf-8"; x-default="true" Without adding ~/.local/bin to PATH, `pip install` will throw an error when running inside a container. Containers will be introduced to the CI in the following commits. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- .azurepipelines/templates/platform-build-run-steps.yml | 6 ++++++ .azurepipelines/templates/pr-gate-steps.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azur= epipelines/templates/platform-build-run-steps.yml index 8803d80cf51c..087f460d7fec 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -39,6 +39,12 @@ parameters: default: '' =20 steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=3D${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/= templates/pr-gate-steps.yml index ebc1e86c37d4..78b2b2c8d934 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -16,6 +16,12 @@ parameters: extra_install_step: [] =20 steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=3D${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98584): https://edk2.groups.io/g/devel/message/98584 Mute This Topic: https://groups.io/mt/96311835/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98585+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98585+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890895; cv=none; d=zohomail.com; s=zohoarc; b=iJy2Ak6MNbM5XhYg1ayHLGAirWtlm0QA/m+wECc3QdhiaiXGyCNmJT5gk7gSjhKNL+0IpK6HB4OTpm0JiSl6dAr4xpBnGtIpRa6/NpnXQBjExkAZ5hvdU03/KhVKgPwWe7FukZmyRLoH5PBpCvREaJtTwqhWdnbMaoc+x0i4oHg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890895; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=y8D5HSN7h4Aqr9w+O9ndhV+pLNM3/CuqpTi4DZy1udI=; b=lszxHxobj0bbiu5x9L+3y+wmAzWniq4E98Ewhhj/vzJ9pcQk4a0P46Xe69RO9rXz6Dgrc2hezTfKhhEL0yACHgPt3LMuS4wUqCAy8f51ZsujrPl/dUYRtHBJJKmwYhPSu0d9lLoyXuHsS9Mcb/zpyk4ef19H0Zj96lpz5MGbA9Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98585+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890895425264.27210862222796; Mon, 16 Jan 2023 09:41:35 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LvhoYY1788612xGzg3gVC5Gh; Mon, 16 Jan 2023 09:41:35 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173729.1673890893307433193 for ; Mon, 16 Jan 2023 09:41:33 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-152-OTj0HUqlNkC66vnfWAKGnA-1; Mon, 16 Jan 2023 12:41:26 -0500 X-MC-Unique: OTj0HUqlNkC66vnfWAKGnA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AC1A188B77D; Mon, 16 Jan 2023 17:41:25 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 98582C15BA0; Mon, 16 Jan 2023 17:41:22 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 06/17] CI: Allow running in a container. Date: Mon, 16 Jan 2023 18:40:33 +0100 Message-Id: <20230116174044.3346383-7-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: SCf6vL7Aq2LIwFBm1Bw8XL8vx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890895; bh=8qQTPz65hX4DOVbpzkkNN/+D93oQV9QAVhM/WYAl/qg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=YiSvjFmcSW0D+0yjEeaiDOUryBZldGAN9CEX+rqMR553w1AL9EhkXg8aVljYg1t1yeo F1dRQRlDF3XgLMJR7ToTm/VdieulBZPWJS/z3biJQLvSwzec3F4zhTM7rQK5ZDiNzyEf+ Q5fyGF0wucspBZKHAgPSdHzj3JYuM5P7jjs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890897690100002 Content-Type: text/plain; charset="utf-8"; x-default="true" Add a parameter of the pr-gate-build-job template to specify a container image URL. If the value is not '' (default), then the jobs will be run inside a container based on that image. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- .azurepipelines/templates/pr-gate-build-job.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index b8573b90da1c..3999bb166813 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -14,6 +14,7 @@ parameters: arch_list: '' extra_install_step: [] usePythonVersion: '' + container: '' =20 # Build step jobs: @@ -72,6 +73,9 @@ jobs: pool: vmImage: ${{ parameters.vm_image }} =20 + ${{ if not(eq(parameters.container, '')) }}: + container: ${{ parameters.container }} + steps: - template: pr-gate-steps.yml parameters: --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98585): https://edk2.groups.io/g/devel/message/98585 Mute This Topic: https://groups.io/mt/96311840/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98586+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98586+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890896; cv=none; d=zohomail.com; s=zohoarc; b=YhnQdEADYRFDguOwhRNdUsnMhzONC2Tnep0Gq1je7UR2ki8gCbpcA5EPGENOAJTYCYcDAwULB1rM7Z1ve8JptMh+3dFQKaUO3LOungTFHOn22We2yhH7XdSsT1M5XgfxB+FEQMhDip6GhcJe6pvq3hsCj0tx/SUqOJ90pcl8mG0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890896; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=4xs8/ZoWzsdZaHrqQdZanOhHOrYQ23REze6WwuqEv6I=; b=eos8iRGhlS2vXxrM9xbpIJd0f4+gCvmyNNPjj/+tFbjWzPtdcyxKjUfO9Wo5RNvEsd2NpADZGwRZzbHlJMYT1R/NdRubPVbCLQ55Qe74tFPg976YBv8LDKVDhn9LC5E0Xuw1o4cUCRqP3EkUjdNm0+w1IgnSbZS/LkbQhIUuyn4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98586+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890896141176.4111873705442; Mon, 16 Jan 2023 09:41:36 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id mhvaYY1788612x3X2NCQ06Tt; Mon, 16 Jan 2023 09:41:35 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173730.1673890893689468350 for ; Mon, 16 Jan 2023 09:41:33 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-588-nnP_GRkyNL2m37hwPHDT3A-1; Mon, 16 Jan 2023 12:41:29 -0500 X-MC-Unique: nnP_GRkyNL2m37hwPHDT3A-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DA67538149A4; Mon, 16 Jan 2023 17:41:28 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB27BC15BA0; Mon, 16 Jan 2023 17:41:25 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 07/17] CI: Use Fedora 35 container (Linux only) Date: Mon, 16 Jan 2023 18:40:34 +0100 Message-Id: <20230116174044.3346383-8-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: m1frYviD5VQ79BFqwIAG6wj1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890895; bh=AduChU6C0YZew9Zly6eNxGxYvI6AyqhrvnQiyKdDmhE=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=uqhSv93w0ND/XL6cIlRe5wCaATOX6nr+7GahXhvKeLvtdr3V2sPWNKyAYES9cgd1tGu SdmIv4/zuMXJsyFq5ts/C+Z7m+w8ZmafrKHLPrPxZiqZF3OVtp50DEb5tMYucb5wzdEw6 gvLJHxMgLk+yJiZpjkrAix5kj8ZCwvFp7Ho= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890897706100004 Content-Type: text/plain; charset="utf-8"; x-default="true" Run all Linux based jobs in a container, using a custom Fedora 35 image (gcc 11). The image URL specified in the defaults.yml template, so that all CI jobs can use it. The image is hosted on ghcr.io and the Dockerfiles are here: https://github.com/tianocore/containers The version numbers of gcc, iasl, and nasm are pinned to avoid unintended upgrades during image rebuild. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald Reviewed-by: Michael Kubacki --- .azurepipelines/Ubuntu-GCC5.yml | 3 ++- .azurepipelines/templates/basetools-build-steps.yml | 9 --------- .azurepipelines/templates/defaults.yml | 1 + 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.= yml index 4ed6cb601b8e..246e2d272e20 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -21,6 +21,7 @@ jobs: parameters: tool_chain_tag: 'GCC5' vm_image: 'ubuntu-latest' + container: ${{ variables.default_linux_image }} arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64" - usePythonVersion: ${{ variables.default_python_version }} + usePythonVersion: '' # use Python from the container image =20 diff --git a/.azurepipelines/templates/basetools-build-steps.yml b/.azurepi= pelines/templates/basetools-build-steps.yml index d8c108c6e212..a72758bc3395 100644 --- a/.azurepipelines/templates/basetools-build-steps.yml +++ b/.azurepipelines/templates/basetools-build-steps.yml @@ -10,15 +10,6 @@ parameters: tool_chain_tag: '' =20 steps: -- ${{ if contains(parameters.tool_chain_tag, 'GCC') }}: - - bash: sudo apt-get update - displayName: Update apt - condition: and(gt(variables.pkg_count, 0), succeeded()) - - - bash: sudo apt-get install gcc g++ make uuid-dev - displayName: Install required tools - condition: and(gt(variables.pkg_count, 0), succeeded()) - - task: CmdLine@1 displayName: Build Base Tools from source inputs: diff --git a/.azurepipelines/templates/defaults.yml b/.azurepipelines/templ= ates/defaults.yml index b4909448bdea..74d6b417839d 100644 --- a/.azurepipelines/templates/defaults.yml +++ b/.azurepipelines/templates/defaults.yml @@ -9,3 +9,4 @@ =20 variables: default_python_version: ">=3D3.10.6" + default_linux_image: "ghcr.io/tianocore/containers/fedora-35-test:47addc= 9" --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98586): https://edk2.groups.io/g/devel/message/98586 Mute This Topic: https://groups.io/mt/96311842/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98587+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98587+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890899; cv=none; d=zohomail.com; s=zohoarc; b=fRkNQ5JZc/piMGJ+NPdF9bncVtKrg9sxEeIMGWChNH8ZP8/CTT2sBpN9eMPn5oQ9W4vRhofDDRjQ9BPiWPNyKay+G2vm0SbW1eAn26FgpOge724qmuF0jOBPpwccp7Ud1th/6fPboUEQAWq+rtOIf1qtmhxnn0gt7qsrz01hbts= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890899; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=OfrHWu3U+nNgU4GTt65doIbIWcWwxhZHivDzg8BVuEc=; b=TfH8Ao08zRojOYKRtVSGlu5gNsR74J40iJfcbrVRXnXYscq3wiLas2TmvbBdySdiy3ns4xpioxS5ogTCqz1CNVojbLbEpQv2lmjR3W3QndD14E6LxC3bIYDYq2biLkJ/bAqONjRIprnozgZNG2cDrI9QjgYPFmnNF4yD9KHP3T0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98587+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890899910770.7077107987595; Mon, 16 Jan 2023 09:41:39 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9hGPYY1788612xMmcoEMFFiD; Mon, 16 Jan 2023 09:41:39 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.173947.1673890898992901370 for ; Mon, 16 Jan 2023 09:41:39 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-658-4Xn-WtHxNUGg8MWrlRGmIA-1; Mon, 16 Jan 2023 12:41:33 -0500 X-MC-Unique: 4Xn-WtHxNUGg8MWrlRGmIA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1C72D8027FE; Mon, 16 Jan 2023 17:41:32 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 24992C15BAD; Mon, 16 Jan 2023 17:41:29 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 08/17] ArmVirtPkg: CI: Use Fedora 35 container (Linux only) Date: Mon, 16 Jan 2023 18:40:35 +0100 Message-Id: <20230116174044.3346383-9-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: QUhoTv15p85XmfVrSpUdUOlzx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890899; bh=W26oBrDl2tzbKq3UXjMLeQYNo+0CDYpiGMWCeQXzx5I=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=jjS8U/ERnTx/wDeIv+yJ5Wc9fAtdKGF9bo9HGYGC6P97sMINsCmz4tVmOVaCjctxSHA OTps9it5wtCXrQZFDluiVsv345ZOxHsvuPA9+yO++UF9iji30kchEGgyWJ25EqWfCp80W 24hTsVpq0oBSfhoNX+tqfVBqZSIimTx/Le4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890901691100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Run the Linux jobs of the ArmVirtPkg platform CI inside a container, in the same way the general CI does now. Make use of the default image specified in the defaults.yml template. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald Reviewed-by: Michael Kubacki --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 5a0e589ed4a7..c0a2e0f20d4f 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -78,6 +78,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: ${{ variables.default_linux_image }} + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -88,8 +90,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - usePythonVersion: ${{ variables.default_python_version }} - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) + usePythonVersion: '' # use Python from the container image --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98587): https://edk2.groups.io/g/devel/message/98587 Mute This Topic: https://groups.io/mt/96311843/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98589+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98589+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890906; cv=none; d=zohomail.com; s=zohoarc; b=EqgTwiUtaGEE9zg7zSq0C2UUNM8BVqEHQSZ0oB3psf2RyXOXLK0gdqR9lJgj+Pbxn//dXX2UChBU6rKvdUptMClgKuE1AWsNp3ei9zrIptfmW99ooIfNnw4Nljjk+8PZWHp/aOKra73+SG/1OaogsQmXp+hGxFFrYHi9BlCtdz8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890906; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=6KmOWypYC97A/woJy8AGNlzwR7AvupfLVXkX/zs/5P8=; b=mPn7e7epvdWvF/+ZoKwm4WYuTDjwY4FaqTnGofLZgwn1jQqlZVXBukSzpu+2nd3v11QLYuBx8TUGNmpeVBh/1Zbw66XZgpkUWPuPRBL952tdqbOJf3/PUtAMIapM1hIURySY+zjfeNUzIPwO4m9DvxorXIdquouBA2ZG+TB+em8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98589+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890906247429.6482966662354; Mon, 16 Jan 2023 09:41:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id xsIlYY1788612xqU1gEhrguU; Mon, 16 Jan 2023 09:41:45 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173738.1673890905061707138 for ; Mon, 16 Jan 2023 09:41:45 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-550-Rn4p9SiJP22YeBd_sbXzCg-1; Mon, 16 Jan 2023 12:41:36 -0500 X-MC-Unique: Rn4p9SiJP22YeBd_sbXzCg-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5020D1C08786; Mon, 16 Jan 2023 17:41:35 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5C6F2C15BAE; Mon, 16 Jan 2023 17:41:32 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 09/17] EmulatorPkg: CI: Use Fedora 35 container (Linux only) Date: Mon, 16 Jan 2023 18:40:36 +0100 Message-Id: <20230116174044.3346383-10-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: 09ORJMBTvtjSwpOd6692NQezx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890905; bh=YIOqZXl+SabazsofdQSb8fNRMethrZG+ELy2I+mn3L8=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=AAGXbpkE51Z7Xyd0FIQYKgXfMIpIUtIT0ClM1Vf40/vuVguh6ECafAp58HpDvET19dS w3pYfK+ptWUHheMOe6ne3Kb+NNQIkg0KJwOL0AwBM6TN6x0Ns3whcuQTxnI3dBWDr5VT1 pcNozU062RKWFvXPAmd6NOxEIKdCvjyaxxM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890907692100006 Content-Type: text/plain; charset="utf-8"; x-default="true" Run the Linux jobs of the EmulatorPkg platform CI inside a container, in the same way the general CI does now. Make use of the default image specified in the defaults.yml template. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald Reviewed-by: Michael Kubacki --- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index a32c57d4aab4..3861457ac70a 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -79,6 +79,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: ${{ variables.default_linux_image }} + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -89,4 +91,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - usePythonVersion: ${{ variables.default_python_version }} + usePythonVersion: '' # use Python from the container image --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98589): https://edk2.groups.io/g/devel/message/98589 Mute This Topic: https://groups.io/mt/96311847/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98590+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98590+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890906; cv=none; d=zohomail.com; s=zohoarc; b=V1QC0AJmevIX8UZBz7yIIwq6dr0dGmYedjLMa9vuDS+uDufuXE67YpyjIu5P9yidmSjsQXnqeln6fDX27b0HyMBHAMxOa60vFaqL0aYM2spEGm/qTKk0vrE71qsgTWLkvnXKw2mzLn1sg6A+nCJM3dPkhO7ql8XjYkE3Oua9umM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890906; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=jwp+zYRdsV1+OY0tMnSXLxgLHI/4YB0QglqkiqZ8els=; b=RKy9VnD1NCol8PZ+PBNmfwl3iDAf+1m1eIBcuFi//5nAMwErXLblKBUFEgOYLaoXHGuWQaVnOv4IyjF2G/744MBoddPhEVkH17jakTaArR1rFXtbdil4mlroFUfKwcFy2AFR0AloN4rB/w2Iqwuo8OHhphNdX0gyBlGslI+lg+w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98590+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890906423787.6717674123132; Mon, 16 Jan 2023 09:41:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Yv9HYY1788612x0NH8YvwwpL; Mon, 16 Jan 2023 09:41:46 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.173951.1673890905163319561 for ; Mon, 16 Jan 2023 09:41:45 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-421-f5OemNO3OO-YI76r1dBfnQ-1; Mon, 16 Jan 2023 12:41:39 -0500 X-MC-Unique: f5OemNO3OO-YI76r1dBfnQ-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 837FA1C0878C; Mon, 16 Jan 2023 17:41:38 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8EB16C15BA0; Mon, 16 Jan 2023 17:41:35 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 10/17] OvmfPkg: CI: Use Fedora 35 container (Linux only) Date: Mon, 16 Jan 2023 18:40:37 +0100 Message-Id: <20230116174044.3346383-11-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: AN4DUIrhOpYQv1KQMI70vGSxx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890906; bh=aAXXD+VzmPc/0CEb4gcqyEdJLDxXM89BC9RY4Me2G3g=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=NLypydHBkZtVdnhScmuVVOfc9O9kXg0xAztYhZRKVFWQIS7Cfkb3wue9QkY55fAXITm 5FL00yWJYyU2jfe2to0N+Uv7e7s5jYqcQHXEMxjCFC25PEMFoMHsYxhGAnDs8YPwiNx4a cDhXzuHKEBb7RAtBljx4heLJ1hEkDGbFoy0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890907696100008 Content-Type: text/plain; charset="utf-8"; x-default="true" Run the Linux jobs of the OvmfPkg platform CI inside a container, in the same way the general CI does now. Make use of the default image specified in the defaults.yml template. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Reviewed-by: Chris Fernald Reviewed-by: Michael Kubacki --- OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 6dd90711ac70..85be431ca5e7 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -180,6 +180,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: ${{ variables.default_linux_image }} + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -190,8 +192,4 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - usePythonVersion: ${{ variables.default_python_version }} - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) + usePythonVersion: '' # use Python from the container image --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98590): https://edk2.groups.io/g/devel/message/98590 Mute This Topic: https://groups.io/mt/96311848/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98588+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98588+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890905; cv=none; d=zohomail.com; s=zohoarc; b=T0DCJVEKv0ACjqllVsinv+H1laDrIvVGvuAlggEFvIu6WrLO5WbwZGphId5UmaLDtUpjERy0cFKHHoEuW9mdaWX6vdhSUI0uFqcARybkEtW3LlVyr2WhgwZt8AGUtipMoipvvl1a9qLxV/zs8DY5TQtNHOmM8RkZwwrKeAZ5r+g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890905; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Ej7XYIHIJhbmgpRhsVC67LqkB/ftK/+btmppt3UT8Pw=; b=T2uk+p5kAuP38q6AZAziL+nnN3+YDmcASh1h41DWg21DlP3OK763mTUQphEqb9fPHsdigATPEvJprdXlnhhgbHpP1JuuPsi3BwQE77yC144XaTGVqCCnsMzyueYqeDBOV1hesNphxeknrU5nKuQuk6JIT89iyPzT7p87/98vCuM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98588+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890905368257.43231910866314; Mon, 16 Jan 2023 09:41:45 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6BH0YY1788612x8EJ1TFrCqc; Mon, 16 Jan 2023 09:41:45 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173737.1673890904381193563 for ; Mon, 16 Jan 2023 09:41:44 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-652-EPHVBnpoOeaaWYV-iqvJ-w-1; Mon, 16 Jan 2023 12:41:42 -0500 X-MC-Unique: EPHVBnpoOeaaWYV-iqvJ-w-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D6C6D3C0F676; Mon, 16 Jan 2023 17:41:41 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id C2222C15BA0; Mon, 16 Jan 2023 17:41:38 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 11/17] .pytool: CISettings.py: don't add scopes for GCC Date: Mon, 16 Jan 2023 18:40:38 +0100 Message-Id: <20230116174044.3346383-12-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: eFZa9ZbbmWOuvb09A4g30VHyx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890905; bh=j7Q93KwJfTs67Ex3ixQs21uPv7T4e5vazA1/EWKjedc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=oqOlb0tmOIGty8XoRT0kCbIjd0fU+YrDsnPZcn2BWDrUBlMfx5nj2cBmhwtgbeUgElg rNJ8gmLOzBsDxg21VhtTqBKxzHpAnywCxecqcA/SFqEbwKUvW3N6V8mY/MH3sKisV631p o45OkxPe8QI1jg2dFo8slXCfjvDaszN/ryo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890905756100002 Content-Type: text/plain; charset="utf-8"; x-default="true" All ext_dep.yml files for gcc have been removed and gcc is expected to be installed on the system (GCC5_*_PREFIX may indicate the location). No need to adjust the toolchain scopes for Linux builds anymore. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- .pytool/CISettings.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index 76ac2b09dba6..d87c8e838e61 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -169,15 +169,6 @@ class Settings(CiBuildSettingsManager, UpdateSettingsM= anager, SetupSettingsManag else: logging.warning("Falling back to using in-tree BaseTools") =20 - if is_linux and self.ActualToolChainTag.upper().startswith("GC= C"): - if "AARCH64" in self.ActualArchitectures: - scopes +=3D ("gcc_aarch64_linux",) - if "ARM" in self.ActualArchitectures: - scopes +=3D ("gcc_arm_linux",) - if "RISCV64" in self.ActualArchitectures: - scopes +=3D ("gcc_riscv64_unknown",) - if "LOONGARCH64" in self.ActualArchitectures: - scopes +=3D ("gcc_loongarch64_unknown_linux",) self.ActualScopes =3D scopes return self.ActualScopes =20 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98588): https://edk2.groups.io/g/devel/message/98588 Mute This Topic: https://groups.io/mt/96311846/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98591+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98591+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890911; cv=none; d=zohomail.com; s=zohoarc; b=R7kUsQoVtO2Et0hiR/LyG29BWXUE/VZ+dLgTLwelMwylNLUhHNB1qpp/oWiC/+jhOnZB6MXRrDQz4QO30oFQy1YUx+1E8cRYaIu2TANYPeO/+SvCIFK75sQ+vxgBEfsmTYWu1I9YSHlXI1YqOOa7/cdatRzgXkJGEJPPXuCNovk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890911; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=xQfvu6nwt8+TV99wAKapbwYR97XqgvIyr2gMvL1539w=; b=OwitpZykFJkZ/7aukuCcCVhAlM4LAa9nBMKn6Q08qQIBPnH8RJ2CFXtvJ3MDTchc7B4clZeUekyK+k7Xqu/+KIP4g0euHkS/fOLv6ACBK6F6E+A5iY+O0Wm80DfnxJ4e+FkXiXTSyXTQ2Ha+CYJAzxUWgio1OWNUS9h9X/xLxj0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98591+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890911299431.69110230779415; Mon, 16 Jan 2023 09:41:51 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id wjRLYY1788612x2rrEube3E6; Mon, 16 Jan 2023 09:41:51 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173740.1673890910285847703 for ; Mon, 16 Jan 2023 09:41:50 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-42-VnJ0dITqOHent9ooO65cXQ-1; Mon, 16 Jan 2023 12:41:46 -0500 X-MC-Unique: VnJ0dITqOHent9ooO65cXQ-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2D23480234E; Mon, 16 Jan 2023 17:41:45 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 20DF1C15BA0; Mon, 16 Jan 2023 17:41:42 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 12/17] BaseTools: remove ext_dep files for gcc Date: Mon, 16 Jan 2023 18:40:39 +0100 Message-Id: <20230116174044.3346383-13-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: x1izGGTLFCjl9WFg7VOcaYStx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890911; bh=wDqxT1a6VdGEToR0Z2Y+IU9bkAqHFe0+QDLycRSR9Kw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=odneAEi2r+zY4SCxyERV/opwesEd4InO9vulHicWyy/3Ov4BG8QLFg87gwA0x9XFOQE sUJhhrXkfBDXtwz2EyBccI7fMNVJnTY2pMjLszUWDNDl6HcZz/zpksUFL+6VI95HihhqL l5Z2Ssuda0Gphtih0pBVowi6dgqNtD9w1LU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890911768100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Remove BaseTools/Bin/gcc_*_ext_dep.yaml to stop downloading gcc from external locations; use the gcc provided by the container image instead. The container image sets the variable GCC5_*_PREFIX accordingly. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml | 21 ------------------ BaseTools/Bin/gcc_arm_linux_ext_dep.yaml | 21 ------------------ ...gcc_loongarch64_unknown_linux_ext_dep.yaml | 22 ------------------- .../Bin/gcc_riscv64_unknown_ext_dep.yaml | 22 ------------------- 4 files changed, 86 deletions(-) delete mode 100644 BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml delete mode 100644 BaseTools/Bin/gcc_arm_linux_ext_dep.yaml delete mode 100644 BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml delete mode 100644 BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml diff --git a/BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml b/BaseTools/Bin/g= cc_aarch64_linux_ext_dep.yaml deleted file mode 100644 index ff8a9e868100..000000000000 --- a/BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml +++ /dev/null @@ -1,21 +0,0 @@ -## @file -# Download GCC AARCH64 compiler from Arm's release site -# Set shell variable GCC5_AARCH64_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_aarch64_linux -# -# Copyright (c) Microsoft Corporation. -# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_aarch64_linux", - "type": "web", - "name": "gcc_aarch64_linux", - "source": "https://developer.arm.com/-/media/Files/downloads/gnu/11.2-20= 22.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz", - "version": "11.2-2022.02", - "sha256": "52dbac3eb71dbe0916f60a8c5ab9b7dc9b66b3ce513047baa09fae56234e5= 3f3", - "compression_type": "tar", - "internal_path": "/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu/", - "flags": ["set_shell_var", ], - "var_name": "GCC5_AARCH64_INSTALL" -} diff --git a/BaseTools/Bin/gcc_arm_linux_ext_dep.yaml b/BaseTools/Bin/gcc_a= rm_linux_ext_dep.yaml deleted file mode 100644 index 151cbfa4b532..000000000000 --- a/BaseTools/Bin/gcc_arm_linux_ext_dep.yaml +++ /dev/null @@ -1,21 +0,0 @@ -## @file -# Download GCC ARM compiler from Arm's release site -# Set shell variable GCC5_ARM_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_arm_linux -# -# Copyright (c) Microsoft Corporation. -# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_arm_linux", - "type": "web", - "name": "gcc_arm_linux", - "source": "https://developer.arm.com/-/media/Files/downloads/gnu/11.2-20= 22.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz", - "version": "11.2-2022.02", - "sha256": "c254f7199261fe76c32ef42187502839bda7efad0a66646cf739d074eff45= fad", - "compression_type": "tar", - "internal_path": "/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf/= ", - "flags": ["set_shell_var", ], - "var_name": "GCC5_ARM_INSTALL" -} diff --git a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml b/Bas= eTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml deleted file mode 100644 index 6ebc93a07c66..000000000000 --- a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml +++ /dev/null @@ -1,22 +0,0 @@ -## @file -# Download GCC LoongArch64 compiler from LoongArch GitHub release site -# Set shell variable GCC5_LOONGARCH64_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_loongarch64_unk= nown_linux -# -# Copyright (c) Microsoft Corporation. -# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights = reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_loongarch64_unknown_linux", - "type": "web", - "name": "gcc_loongarch64_unknown_linux", - "source":"https://github.com/loongson/build-tools/releases/download/2022= .09.06/loongarch64-clfs-6.3-cross-tools-c-only.tar.xz", - "version": "13.0.0", - "sha256":"744cbb50c6ef07c96551bddf07a8b85cee3250bb18b6040f6ed051e3895149= 51", - "compression_type": "tar", - "internal_path": "/cross-tools/", - "flags": ["set_shell_var", ], - "var_name": "GCC5_LOONGARCH64_INSTALL" -} diff --git a/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml b/BaseTools/Bin= /gcc_riscv64_unknown_ext_dep.yaml deleted file mode 100644 index 8abbcd7ba040..000000000000 --- a/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml +++ /dev/null @@ -1,22 +0,0 @@ -## @file -# Download GCC RISCV64 compiler from RISC-V Organization release site -# Set shell variable GCC5_RISCV64_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_riscv64_unknown -# -# Copyright (c) Microsoft Corporation. -# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_riscv64_unknown", - "type": "web", - "name": "gcc_riscv64_unknown", - "source": "https://raw.githubusercontent.com/riscv/riscv-uefi-edk2-docs/= master/gcc-riscv-edk2-ci-toolchain/gcc-riscv-9.2.0-2020.04-x86_64_riscv64-u= nknown-gnu.tar.xz", - "version": "9.2.0", - "compression_type": "tar", - "sha256": "28373643b69f0ce008273c3dc63f172aa1121952f1b9ae94d7485ac94af7f= 344", - "internal_path": "/gcc-riscv-9.2.0-2020.04-x86_64_riscv64-unknown-gnu", - "flags": ["set_shell_var", ], - "var_name": "GCC5_RISCV64_INSTALL" -} --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98591): https://edk2.groups.io/g/devel/message/98591 Mute This Topic: https://groups.io/mt/96311849/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98592+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98592+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890916; cv=none; d=zohomail.com; s=zohoarc; b=WltwgPk+MpOXoV/wt/77rszUZlmmSD9PmgMFzXwXEwdCQMo10uc2yaS3fNzFJlsJLMPOrmNX6tgu7Rq1n/P01yfv3Bn0brg+t0kDKJCb/MSKmWc9xcVhhRbD3RjvXhAav0asnKb30zBQSImEH3WiRrW+GNFWoRRUiCMzyK/vnmA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890916; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=0IuhUVgcTrsqYQSZ9wpXen9EvLUX9NukWXdRsDfdeH0=; b=ZBy7r0lPg0dYbFdf7cwdpjE61Lz088DYL8Kvo2dVl7+7jfgzL8OcINN9iJu9zUct0VyX9oxxs0Wm6zj1cTcRlRgbU1Xb3Ozbo9GChZx8ORns/hBWhduVDfbvE0OZJTrAa+6aUOKzhkYKn7ghYuiZnOGrgMJQ2rbbG8lbgUs4fI8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98592+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890916019406.8507920813363; Mon, 16 Jan 2023 09:41:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id mWlgYY1788612xny94oID5eO; Mon, 16 Jan 2023 09:41:55 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.173742.1673890914985573231 for ; Mon, 16 Jan 2023 09:41:55 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-353-PPimZmo1MVuu6xaugI5tuQ-1; Mon, 16 Jan 2023 12:41:50 -0500 X-MC-Unique: PPimZmo1MVuu6xaugI5tuQ-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7A7AE185A794; Mon, 16 Jan 2023 17:41:48 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6B8D6C15BAD; Mon, 16 Jan 2023 17:41:45 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 13/17] ArmVirtPkg: CI: use ubuntu-22.04 vm_image (Linux only) Date: Mon, 16 Jan 2023 18:40:40 +0100 Message-Id: <20230116174044.3346383-14-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: iVUJ21StJT1B4XfEfoeU7QdGx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890915; bh=9miQU361kyhYMAV9vGYxUUfurKKka69ZMC2shwLZT/A=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=FX0JjRFRF89VWGlv0ZXQkTXYscfCnBOYsNm5VLC3pL5WXrkKb2fQVxXoMRqPJQ3YRIn n8XNd5SgGI6v8WY81KucNYEz38hscz0IIcODw9VGr19YGgfcFDCxaKBs/Qg9yZyWPftfY mGtz+PQ2veYCUPw+GLrjqzYCOksfBtt3lvI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890917758100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Switch over to ubuntu-22.04 as the vm_image for Linux CI jobs. The previously used ubuntu-18.04 which is not available anymore since Dec 1st 2022. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index c0a2e0f20d4f..5fa7518d2c5e 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -22,7 +22,7 @@ jobs: - job: Platform_CI variables: package: 'ArmVirtPkg' - vm_image: 'ubuntu-18.04' + vm_image: 'ubuntu-22.04' should_run: true run_flags: "MAKE_STARTUP_NSH=3DTRUE QEMU_HEADLESS=3DTRUE" =20 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98592): https://edk2.groups.io/g/devel/message/98592 Mute This Topic: https://groups.io/mt/96311852/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98593+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98593+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890920; cv=none; d=zohomail.com; s=zohoarc; b=ju/+HG6MmAqxUfWZdbedc5DqJsaS/YRKj0rlXCrrTZ3anFrPtyJIB51Z0hJgbA4CRmetu35VN16mcRHoVHfNw+B7MbQthPemIZzm8+ed5IEkcSFVcMLUyP7auZgeEygArq66rXyx0iFGR0c81B7Tt8nPx4gT1GeeIrn7G7I1aw8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890920; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=9V69Rpif+Qa5rz47VjomxUSXaXjxaowC1FV6RZsMV20=; b=kDtk4IUVXRqbcLznr4drwLWbp+XvuusXk6ZE1pjfzDwYLsAYo4zWHckjlCKYLKkjb7sLhjl2b4y7PW6fIIS2yD9bkwk8ZNv6ijagjHkWfNh0sh2Z6lie6KfKi7Uirq5KZHQi5eri/FNfupZEwbxUZsFX86LOZDweNh5yRRG++Yg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98593+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890920286377.9844771525251; Mon, 16 Jan 2023 09:42:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id EqSyYY1788612x8XWMFSqjGh; Mon, 16 Jan 2023 09:42:00 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.173960.1673890919465358263 for ; Mon, 16 Jan 2023 09:41:59 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-26-9iVzMSV1O_GdLbJGo3CcuA-1; Mon, 16 Jan 2023 12:41:52 -0500 X-MC-Unique: 9iVzMSV1O_GdLbJGo3CcuA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D2B9A1C08786; Mon, 16 Jan 2023 17:41:51 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id BAF58C15BA0; Mon, 16 Jan 2023 17:41:48 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 14/17] EmulatorPgk: CI: use ubuntu-22.04 vm_image (Linux only) Date: Mon, 16 Jan 2023 18:40:41 +0100 Message-Id: <20230116174044.3346383-15-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: LjQMoEfUUNP72JdODfwjzE0Vx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890920; bh=myqR7m+UIGrR7Ncqhs37bY0vT60Ovgj5gOOMJ4RcMWM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=qfxEqzKNwAPFR9bK7LUjKTHYeKI4VI/5wEVe7fCYrrv0lvh0PAniFAP2TIodPA8gy+q 6E1gouEiO43j3jOofV3EN1R5Xxyq03uie0azdW3zlkC9IxXEH7rfC6d/oSjkupDiRLT7V foVUimFs2YzqNU4M8U08KrDUK50CVGzqwI4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890922013100002 Content-Type: text/plain; charset="utf-8"; x-default="true" Switch over to ubuntu-22.04 as the vm_image for Linux CI jobs. The previously used ubuntu-18.04 which is not available anymore since Dec 1st 2022. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 3861457ac70a..8af4c9c778cb 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -23,7 +23,7 @@ jobs: - job: Platform_CI variables: package: 'EmulatorPkg' - vm_image: 'ubuntu-18.04' + vm_image: 'ubuntu-22.04' should_run: false run_flags: "MAKE_STARTUP_NSH=3DTRUE" =20 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98593): https://edk2.groups.io/g/devel/message/98593 Mute This Topic: https://groups.io/mt/96311854/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98594+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98594+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890920; cv=none; d=zohomail.com; s=zohoarc; b=gn3tcnyxOsGiGjq9lr67oqiamkiQT4xKwxFy2CyLjn/Jt7dQyJ773LD7vpSsCD3VEdfLc2maw5jtywmhezzqVNJXFNnCwbnFlCfZ5utxBLtUfelXCD58p0rhi4ghhQcx0sDr5TIXUW3a9pZsAQ0raEkDSXHO5iQIZm1HoWSUfcQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890920; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=UZCv2iBWMfw7+tmjZ+FmOJ/5kwAFyS1z49V7YuyjrMQ=; b=OAnY/GykrhcFfCHTHbnHqrs3ItcZD5x3tgWIRAVA7MucMcuPp3WzRNhBEYs9vky38L8tcTqK5qUbFGZLxTh9wFpui2iVbwQ3DlDWmcVbYP97RRaroKgjv9RdNYJCI312srVUDVKsjloNcXyi1eWfPJlGwS0Y1brc3wIk/0FR+g4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98594+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890920896726.8841255876138; Mon, 16 Jan 2023 09:42:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id qqXAYY1788612xy2cZy1Jl4m; Mon, 16 Jan 2023 09:42:00 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.173961.1673890919844201985 for ; Mon, 16 Jan 2023 09:42:00 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-182-8AKwEOvUPkC32FdDKwf7lg-1; Mon, 16 Jan 2023 12:41:56 -0500 X-MC-Unique: 8AKwEOvUPkC32FdDKwf7lg-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2E2AD2A59559; Mon, 16 Jan 2023 17:41:55 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D800C15BA0; Mon, 16 Jan 2023 17:41:51 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 15/17] OvmfPkg: CI: use ubuntu-22.04 vm_image (Linux only) Date: Mon, 16 Jan 2023 18:40:42 +0100 Message-Id: <20230116174044.3346383-16-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: yekKne1BxmdXFBjJLr6FxLXVx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890920; bh=WvELtXNw25FEiZC38QbyvWHFrqRErlp2hd2RwnbhJKk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=WHSv15vd29za8rvWQSuOpf+34KGiAuUOl9P2VbKbGofdPu7eGmkvWuDQlMMgAYv0GZh nC0qMlvqXGY2VJxHAd4Tf1HQHZfbMUAHXYrIMscuuC8T7kwf1US/CitMLDRMRzreecMPv /uilZj+Ckk0RYvtPHEP1sxfH+Z6TE+5nF/o= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890922036100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Switch over to ubuntu-22.04 as the vm_image for Linux CI jobs. The previously used ubuntu-18.04 which is not available anymore since Dec 1st 2022. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Reviewed-by: Chris Fernald --- OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 85be431ca5e7..1cf9bdf8b9c2 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -22,7 +22,7 @@ jobs: - job: Platform_CI variables: package: 'OvmfPkg' - vm_image: 'ubuntu-18.04' + vm_image: 'ubuntu-22.04' should_run: true run_flags: "MAKE_STARTUP_NSH=3DTRUE QEMU_HEADLESS=3DTRUE" =20 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98594): https://edk2.groups.io/g/devel/message/98594 Mute This Topic: https://groups.io/mt/96311855/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98595+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98595+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890924; cv=none; d=zohomail.com; s=zohoarc; b=SHYgw46NNipwRkJKCMPe5Mw5bnvwXnVSe7Azu+GL+nC1q4K7UAtP7QlZ8BV6B1FUAgVuKQpV9+6Mx2mZw9/VLxbF0txLq1ByFhpfY+xg/DDdo0/hWUQqUHpSr2+L4ZspcJU4W6vZXoBagEqHa2PX3dzdMMmKzcnqU5dZCoWurWM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890924; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=ZoIKIjcyG28W1fBAgd14PLaVZrkowXOCzERzZVpqdCQ=; b=eZhNCmOgIFNIch6OeJyT1UDjUbfovZY52vGTyVizUOHfKhSkKpC+XKCUQdPqE21eAN3JZQt7g+A1WHawqpeGMGInhA0EZ4Iv8D2oE8lZfzpMH/geu1R+q7rx9qgs0otH2oRTKsrxBf/Hjhi9zcL64lUypdk9VyuhSYDjyXdHSsc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98595+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890924599363.732251992515; Mon, 16 Jan 2023 09:42:04 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id XsX6YY1788612xGB2EDjDWxM; Mon, 16 Jan 2023 09:42:04 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.173965.1673890923695833717 for ; Mon, 16 Jan 2023 09:42:03 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-391-2venYiz5Pau4rfSqdOZw0g-1; Mon, 16 Jan 2023 12:41:59 -0500 X-MC-Unique: 2venYiz5Pau4rfSqdOZw0g-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7A6BD38149A6; Mon, 16 Jan 2023 17:41:58 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E2ECC15BA0; Mon, 16 Jan 2023 17:41:55 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen , Michael Kubacki Subject: [edk2-devel] [PATCH v11 16/17] CI: use ubuntu-22.04 image (Linux only) Date: Mon, 16 Jan 2023 18:40:43 +0100 Message-Id: <20230116174044.3346383-17-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: Q9XVQ8wuTOWiWSs3TjC0w7uex1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890924; bh=RJDqE9bLCp3hOgNKR2LMzJN0NmpWXlF2flviVRDyYD4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=rFVGD/8CAqEMbJmfvX76QWbK57dRRIAEFxamPpf7Vj9kmpNyy3a8c/u182l+wXeCXiJ oZWsdXdy2L+1fMyc52vr7SrSRuauE6wIXBjAsbbX7KxtgTd5b0t/H1GutjTbDqotWNYs8 wOEjRekhI/dd9LVq0ixdTuV+roALU/HA5kc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890926009100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the same vm_image as the other Linux CIs in ArmVirtPkg, EmulatorPkg, and OvmfPkg. Switch over to ubuntu-22.04 form ubuntu-latest. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- .azurepipelines/Ubuntu-GCC5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.= yml index 246e2d272e20..d93604fadbdb 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -20,7 +20,7 @@ jobs: - template: templates/pr-gate-build-job.yml parameters: tool_chain_tag: 'GCC5' - vm_image: 'ubuntu-latest' + vm_image: 'ubuntu-22.04' container: ${{ variables.default_linux_image }} arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64" usePythonVersion: '' # use Python from the container image --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98595): https://edk2.groups.io/g/devel/message/98595 Mute This Topic: https://groups.io/mt/96311857/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 03:51:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+98596+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98596+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1673890932; cv=none; d=zohomail.com; s=zohoarc; b=LbWL0ekIzrofpPb4YfGcwQk8Mhg0jpa9Jkj7g9wrjfh/uXWstu6LOYTAyzZr/6w9eoROOh/p2u/uD910+HdZm/7Nl8E3FzduWcHHRHxVoyGXBjA9rJedww6mK+uxSx5AlmIztbK2+JmFrJI5co5HqrAqe9S1M5epSNfuwvry8xI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673890932; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=BvfVU2Yi3FwrDn/h8P0vW8byIKHELFfBheR2TWrdhv4=; b=ejB5Uj6lFsNXo8tSH8qdTRvlanz6k4bOV5acW8shPfiKuTmwPgYbQ8YFyRRcM0jUrQp/lPgfmwSM39ljT5C1tkZk7UZLbVs7q1vUuS8L2IlI4vzhKnzD/srMySPv1IeV/DLwIe5/W6xGtHG0SQpH0KMikcgO0aIB6qAPmAYrAuo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+98596+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1673890932316595.6408226242518; Mon, 16 Jan 2023 09:42:12 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6PEvYY1788612xvyIbVC46GC; Mon, 16 Jan 2023 09:42:10 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.173754.1673890929234590131 for ; Mon, 16 Jan 2023 09:42:09 -0800 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-542-a253UhtmMaadtIkRTw4Zxw-1; Mon, 16 Jan 2023 12:42:02 -0500 X-MC-Unique: a253UhtmMaadtIkRTw4Zxw-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ABAFB2A59556; Mon, 16 Jan 2023 17:42:01 +0000 (UTC) X-Received: from osteffen-laptop.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id B99C5C15BA0; Mon, 16 Jan 2023 17:41:58 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Dandan Bi , Gerd Hoffmann , Jian J Wang , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski , chris.fernald@outlook.com, Oliver Steffen Subject: [edk2-devel] [PATCH v11 17/17] OfmvPkg: CI: Qemu tests: set CPU to Broadwell Date: Mon, 16 Jan 2023 18:40:44 +0100 Message-Id: <20230116174044.3346383-18-osteffen@redhat.com> In-Reply-To: <20230116174044.3346383-1-osteffen@redhat.com> References: <20230116174044.3346383-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: zrSxr3selyZYHHqII3mVSJGLx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1673890930; bh=OIN7LjaVaGcVcwPEt9bdcygKDleZJgEZIXg7Gc46i74=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=IC6rBdkgT40OcVM90UfQRBkVYjkujjqudGLZ4cYvqRhpE+fdYEgaWmh0I5j0dqss2RM o8HcL24QUjI1epPA3R9qWd+yTWzpGhZRMINNrji58pCqUcTGkRgvR/vMZ93gHndd4IA5x RXYNOfadH2XvAF1U5VKCTwXJiGbFbhCHZTQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1673890934092100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Work around a bug in Ovmf that causes Ovmf to crash on startup when running in recent versions of Qemu. Setting the cpu model to something older, for example "Broadwell" works around the issue. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Reviewed-by: Chris Fernald --- OvmfPkg/PlatformCI/PlatformBuildLib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/Pl= atformBuildLib.py index bfef9849c749..93f7d7aa13d6 100644 --- a/OvmfPkg/PlatformCI/PlatformBuildLib.py +++ b/OvmfPkg/PlatformCI/PlatformBuildLib.py @@ -194,6 +194,7 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManage= r): cmd =3D "qemu-system-x86_64" args =3D "-debugcon stdio" = # write messages to stdio args +=3D " -global isa-debugcon.iobase=3D0x402" = # debug messages out thru virtual io port + args +=3D " -cpu Broadwell" = # workaround Qvmf bug args +=3D " -net none" = # turn off network args +=3D f" -drive file=3Dfat:rw:{VirtualDrive},format=3Draw,medi= a=3Ddisk" # Mount disk with startup.nsh =20 --=20 2.39.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98596): https://edk2.groups.io/g/devel/message/98596 Mute This Topic: https://groups.io/mt/96311858/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-