From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.113892.1669628239705517469 for ; Mon, 28 Nov 2022 01:37:19 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=hY+FvQbz; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: dun.tan@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669628239; x=1701164239; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=weUYvy0hYIIm9z0NIVmtkic93xYxi7LcaXDZVHS+odc=; b=hY+FvQbzh5t2YgclF0LnCk7y0l3mbMKRnV8C7AfrjzJRrw3yUfs5yMIo 1oB8QX8nWit8MQyLQ4WwHJi0tGYznYCqJXVx9GdGWKuWMS0k33tma3Hlv LFMMaqC2d3Av/lj13eoreh1J8X/kLIa6+I7apOe5L4ssx5nrz9ABt0hCI VRsrV0AThdLQcc0KO8UxABOBprt2WFTZe6u0srksFLZ3DDyz1xCprD6SN Z2st4CsBWFzk8j68+wx3LiyBRK//VsbCBMuQIaKKNTo7iSPGf/3x4UIZu TqaipLECYI9LEy3vvU7nbL1Xbh+DAzufcXRke0fIW65YIt0GJK9yFOjS3 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="294492641" X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="294492641" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2022 01:37:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="888351491" X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="888351491" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 28 Nov 2022 01:37:19 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 28 Nov 2022 01:37:17 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 28 Nov 2022 01:37:17 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 28 Nov 2022 01:37:17 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 28 Nov 2022 01:37:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IEH3EomC4NzCJh5oJF0MGYo7UBIjaPvq1KzHdaNFFBCaoWFVjjF/VLTm5fQ/OZk/gtRyrIt7KIUPxUlnkKjihfYN2Hc7TQb4pjBbXspJ6lMFwq4FW7PoBqTWrZR97aPeGAHjHD4o6lAB5UZ8hr8THWkyuCUtGfakIJDUFn78+jUBCM4F6l4KI17g7jFpTAnBUEQQwNREU7GGDpzxseAUxZozyQTVK4kVYh8kFdm3HWqGplSzbLPo9+RR2Eg2+VarKe/sYz5r6+bLW6X5p1RqHI39O2AKHGb3lXkJK7ALQJB5ID3NBlzuBO2FTVUxTkS9u6rWR5p5cuQspJHG6Hw0aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uZQp+ihEPvnR7u4hl6LZt3xcZAGd+/Am+9vcJ1Gq/ss=; b=KUT/M/TuCTDwuoyT85WLc2rVG2iskGQC/mRH2bU5CSwXtYTV9LwlwTeZOkyW23d7rmQnVnvB1lA/YbuzVNbj4EncVNRtsNT9R6ZYqVqSAbB/5hXVHvkb1zDQvxswKE/0WO/yBaCBD9BeQM9/pJ8ftPDXTMOMXUDUt3x0q2nbVDI1k4QgZGIND3epYsuX+t0wFvo2uml0LV4D9HZpdQMorijYxpys1RLzhZujtd3JTvt3KZvFjH483salxrpUhGS+xwzwYhNB83tkf89NmcmHAlDphFeKHb9/eG1iu6ELPWB4i5ePCX8ww6DN4532LHE54jLWOX/NQU8BcT7auJ6eqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by PH7PR11MB6769.namprd11.prod.outlook.com (2603:10b6:510:1af::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Mon, 28 Nov 2022 09:37:00 +0000 Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::c945:6fc3:ca84:dd9b]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::c945:6fc3:ca84:dd9b%9]) with mapi id 15.20.5857.023; Mon, 28 Nov 2022 09:37:00 +0000 From: "duntan" To: "devel@edk2.groups.io" , "Tan, Dun" CC: Ard Biesheuvel , "Yao, Jiewen" , "Justen, Jordan L" , "Gerd Hoffmann" , "Ni, Ray" Subject: Re: [edk2-devel] [PATCH 2/3] OvmfPkg/PlatformCI: Add new JOB in .yml of OvmfPkg PlatformCI Thread-Topic: [edk2-devel] [PATCH 2/3] OvmfPkg/PlatformCI: Add new JOB in .yml of OvmfPkg PlatformCI Thread-Index: AQHY/mhVNs8tfjCr/kSDdDEbAAONcK5UGxpg Date: Mon, 28 Nov 2022 09:36:59 +0000 Message-ID: References: <20221122114737.393-1-dun.tan@intel.com> <1729E5B0889AD806.5511@groups.io> In-Reply-To: <1729E5B0889AD806.5511@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|PH7PR11MB6769:EE_ x-ms-office365-filtering-correlation-id: ead93ebb-df26-430b-65eb-08dad124194a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QpN9/PlcAyQtVE9uQqlCXzeSocDgKgVIKFLzAf89De0zKMjZKXeKMJzrHp7YggYIt4RwXUy81McMFZDC+m33BvlLIIc7u3n5csyN71rJNyQlwxun0HvCNOuvDrWRKxQlaLQCXxQgG5FgVYkGlnwOCqQhltkB1CEyesxuusHSoamS1Pm5BtQG/xxrL+ozShxOQYo3S9KCEV2FLRHh4DnsPqnaoXOqTl/+Vo4Htp8OSdFAR0IVqtzLF20dB9R7HFweNMPLkIEvhGWuTuYJrfOrWpOV0Q/5PS33h+kjgG96vZX7B0TqI+qWm/lp8iDpQnio+udNoLpyJLz2gpmP+0QRbluwOgDAFjt+IZzUDgxvaPil0UgeEhf+yM5Y+6P3MKKvtfC5ZJVe88vO83J+fDF/jpuLQvRETV9QNP7IxmSiMgktBaDF2r05np/CfXgEgqfd1j3+lW7QpDK/VIJKpnNlyRnKOsIVMJkpgkv1/zou+0Pk/CQP0PTnGm2E3qeK6XWUVQxRGT3RFE6NQ8IrjldbKP6BC9ea5G3FG0RyyGfit5ov+uiBnoQ2Yr+86BSv7h7BOiCAvxi2zSvnjtLd7GJyTK6uqGnwAkzxd9RIBSrXXrG9DHi4ONQmCi2br+evs9Y2yRE+DvAGGTXGH7V1opXgb2f2GkFswOb0CVEMRiLGhsq7ZTDtyODn6bEfqaz3EQ3IpbUmV2FniWjV4XI2j9eN7O8JQiL9PMvlDQW/jmauuJQVClwFvQKgo8+nyPBv6z1gO6hmm33ofuJai0Qkp4/GZcouakQ770AqHv5CsoiwqqU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5483.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(366004)(136003)(396003)(346002)(39860400002)(451199015)(66899015)(316002)(19627235002)(2906002)(8936002)(186003)(83380400001)(52536014)(33656002)(5660300002)(86362001)(41300700001)(66446008)(38100700002)(66476007)(82960400001)(76116006)(66556008)(66946007)(38070700005)(55016003)(122000001)(54906003)(110136005)(64756008)(53546011)(966005)(478600001)(7696005)(6506007)(107886003)(4326008)(26005)(9686003)(8676002)(71200400001)(142923001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/7TX/jZZmp2CM/6oil1dEm+uxjSBj5QN8vYzJuW5xHGq4ZvHiwDgtqL5cKVQ?= =?us-ascii?Q?Xmy9j6K5ub3sHTIW038ciESt2jhlj6S3lsD765eM+rqZ01+MZx5TCP998WaR?= =?us-ascii?Q?h64SG1fv1vjcAfJlEzEIYie8veMKTgJdl3vcn+VSKee8wffnx8AP2qJSu2F6?= =?us-ascii?Q?V5yhYJxwcNUaIhsPNIPu4A6EnJTIvi5iuhdOiMNlE3yJqpyaim3dXg7MoSl6?= =?us-ascii?Q?yYHmi3HZCoJZZ9lHk/Ek39Ux0YC7ExbE3E3k7PA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fe8xUWFAsm+yeutkXqhBa0KuR2sqT13lQbUkzNoNYHadDGH63edEwM3?= =?us-ascii?Q?zguNi01S+3tYQK/6yZZEJepgSpwC92ud1T5nl0/n11/fwjVjzTSjaSS7nfAf?= =?us-ascii?Q?tLAXVmU0kvEhlBrYRaRKYgmCVccaOHjH++NspL02iDdHsZ0xjI2q4qcvutf7?= =?us-ascii?Q?/oXPRNLDKgoJQMIlCqa8lrwJRf0jTuw5aclii39o0zXWX+y1xnMOn9RqGp28?= =?us-ascii?Q?1bmZBzddvuz0Dfpd6TOlqC0GasuvlEAm4C8Q5XM65+7voCgLpOJtFbumyAHl?= =?us-ascii?Q?9CPpfinoYKuR0PoLmAZeQaAXOX+gtZarqnWQb+jjklKvmHSaIJHCTqxqOe5v?= =?us-ascii?Q?5JMpCTIJ2iMSe5k83OT4fXRqBJz1hSXOe1apvwdKvcIaWyN2e1NGS55SVVnO?= =?us-ascii?Q?HolHKVKly4wSbGpFJc6L/4Df5HpQla7Z5iiIB5ma?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ead93ebb-df26-430b-65eb-08dad124194a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2022 09:36:59.9524 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JaMX+G2lHSq+gKI6apHyA1hFUZxY0WE/mtGGzQIc5k3mDpbUgT6peLGdfRHtaraFYmmYi1uhaaCbscKq85J/aA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6769 Return-Path: dun.tan@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, Could you please help to review this patch? Thanks a lot! Thanks, Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Tuesday, November 22, 2022 7:48 PM To: devel@edk2.groups.io Cc: Ard Biesheuvel ; Yao, Jiewen ; Justen, Jordan L ; Gerd Hoffmann ; Ni, Ray Subject: [edk2-devel] [PATCH 2/3] OvmfPkg/PlatformCI: Add new JOB in .yml o= f OvmfPkg PlatformCI Add new job like OVMF_X64_DEBUG_UNIT_TEST in OvmfPkg PlatformCI .yml file. = New parameter unit_test_list is used to specify Shell Unit Test list which = needs to build and run. Format for this input should be:'-u ModulePath1:Dsc= Path1,ModulePath2:DscPath2' or '-u ModulePath1:DscPath1 -u ModulePath2:DscPath2'. (Path is edk2 workspace relative) Signed-off-by: Dun Tan Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Ray Ni --- OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 11 +++++++++++ OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 7160d95f7e..2242ffebb5 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -22,6 +22,7 @@ jobs: vm_image: 'ubuntu-18.04' should_run: true run_flags: "MAKE_STARTUP_NSH=3DTRUE QEMU_HEADLESS=3DTRUE" + unit_test_list: '' =20 #Use matrix to speed up the build process strategy: @@ -55,6 +56,15 @@ jobs: Build.Target: "DEBUG" Run.Flags: $(run_flags) Run: $(should_run) + OVMF_X64_DEBUG_UNIT_TEST: + Build.File: "$(package)/PlatformCI/PlatformBuild.py" + Build.Arch: "X64" + Build.Flags: "" + Build.Target: "DEBUG" + Run.Flags: $(run_flags) + Run: $(should_run) + # unit_test_list should be the format: '-u ModulePath1:DscPath= 1,ModulePath2:DscPath2' or '-u ModulePath1:DscPath1 -u ModulePath2:DscPath2= '.(Path is workspace relative) + unit_test_list: '' OVMF_X64_RELEASE: Build.File: "$(package)/PlatformCI/PlatformBuild.py" Build.Arch: "X64" @@ -187,6 +197,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + unit_test_list: $(unit_test_list) 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 7d6344d638..881db9eb27 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -21,6 +21,7 @@ jobs: vm_image: 'windows-2019' should_run: true run_flags: "MAKE_STARTUP_NSH=3DTRUE QEMU_HEADLESS=3DTRUE" + unit_test_list : '' =20 #Use matrix to speed up the build process strategy: @@ -54,6 +55,15 @@ jobs: Build.Target: "DEBUG" Run.Flags: $(run_flags) Run: $(should_run) + OVMF_X64_DEBUG_UNIT_TEST: + Build.File: "$(package)/PlatformCI/PlatformBuild.py" + Build.Arch: "X64" + Build.Flags: "" + Build.Target: "DEBUG" + Run.Flags: $(run_flags) + Run: $(should_run) + # unit_test_list should be the format: '-u ModulePath1:DscPath= 1,ModulePath2:DscPath2' or '-u ModulePath1:DscPath1 -u ModulePath2:DscPath2= '.(Path is workspace relative) + unit_test_list: '' OVMF_X64_RELEASE: Build.File: "$(package)/PlatformCI/PlatformBuild.py" Build.Arch: "X64" @@ -133,6 +143,7 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) + unit_test_list: $(unit_test_list) 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 -- 2.31.1.windows.1