From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id E9B03AC1732 for ; Wed, 5 Jun 2024 14:47:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2MelZLVRTnzmiWn6fjFwI1JcUdQY06UU9zAeyP6mNCg=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240206; t=1717598844; v=1; b=0GpRcBjhCtoHKvcUupDdrmM2NJnF0e988bHI54N8xWnmq23sLHZvrE/JeGkMHdgpMdU2+YZH gI73mq7Fcuyh6wFstluqtHCoPJ19W/26hlKxEvadjguCoVBY/uTbX/zTvfu1RGA8EBCvhMgYbFa S/gf02u6jhKfMjd4SfQ8ROFu3tjTET2+olNA/BBRwlgyQ53ksaPPzHuSYLc3XTcsMBjcsjqsnwT UjpVi5hJAskeLSXrVg3fYXtzmIMpYCXDHu3/Tn89EsO4Cf0gFJ0wU0794X4VE2ruIyYmadg0Sno AkGgB5L3pV3S4yD4QJUj7Khcm+Y9RU73i1v/h/R6Gav9g== X-Received: by 127.0.0.2 with SMTP id pFcHYY7687511xxlcqksfbI2; Wed, 05 Jun 2024 07:47:23 -0700 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.64]) by mx.groups.io with SMTP id smtpd.web11.17473.1717598842257787648 for ; Wed, 05 Jun 2024 07:47:22 -0700 X-Received: from AS9PR04CA0115.eurprd04.prod.outlook.com (2603:10a6:20b:531::25) by PAVPR08MB9037.eurprd08.prod.outlook.com (2603:10a6:102:325::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 14:47:18 +0000 X-Received: from AMS0EPF00000194.eurprd05.prod.outlook.com (2603:10a6:20b:531:cafe::82) by AS9PR04CA0115.outlook.office365.com (2603:10a6:20b:531::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30 via Frontend Transport; Wed, 5 Jun 2024 14:47:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AMS0EPF00000194.mail.protection.outlook.com (10.167.16.214) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Wed, 5 Jun 2024 14:47:17 +0000 X-Received: ("Tessian outbound 3fb86adce702:v327"); Wed, 05 Jun 2024 14:47:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5d6a4eb5113bed4a X-CR-MTA-TID: 64aa7808 X-Received: from 176dda584aa9.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5B00F39B-C87F-47C6-A46F-0E3766C9BB68.1; Wed, 05 Jun 2024 14:47:07 +0000 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 176dda584aa9.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 05 Jun 2024 14:47:07 +0000 X-Received: from AM0PR08MB4483.eurprd08.prod.outlook.com (2603:10a6:208:145::21) by GV1PR08MB10501.eurprd08.prod.outlook.com (2603:10a6:150:163::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Wed, 5 Jun 2024 14:47:03 +0000 X-Received: from AM0PR08MB4483.eurprd08.prod.outlook.com ([fe80::e255:8a54:7149:ee5c]) by AM0PR08MB4483.eurprd08.prod.outlook.com ([fe80::e255:8a54:7149:ee5c%4]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 14:47:03 +0000 From: "Prachotan Bathi" To: "devel@edk2.groups.io" , Prachotan Bathi CC: G Edhaya Chandran , Barton Gao , Carolyn Gjertsen , Samer El-Haj-Mahmoud , Eric Jin , Arvin Chen , Supreeth Venkatesh Subject: Re: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT improvement - Print out the PCIe device path Thread-Topic: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT improvement - Print out the PCIe device path Thread-Index: AQHatfxWwxrxP9wh5U2vFKV58mbjz7G4D2yagAEy8to= Date: Wed, 5 Jun 2024 14:47:03 +0000 Message-ID: References: <17D59B57F459D1B4.11931@groups.io> <17D5E71624FFAB6A.27337@groups.io> In-Reply-To: <17D5E71624FFAB6A.27337@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AM0PR08MB4483:EE_|GV1PR08MB10501:EE_|AMS0EPF00000194:EE_|PAVPR08MB9037:EE_ X-MS-Office365-Filtering-Correlation-Id: d37e9e47-63d2-4862-769b-08dc856e657b x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|376005|366007|1800799015|69100299006|38070700009; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?oBUrdSMVTcogL+sxXHSblQj+NgqziGBLLEykHltigVqhWjdRpOnp2r7+Cqxc?= =?us-ascii?Q?cWmbMh5QUrnUfAZfIYl8CBwhDE7pOitlwsJ7/uE101/r6IBDepF+iEWTGYJ4?= =?us-ascii?Q?VbmkOD03AfUdgJJHwHt2aTv24DlVPkqJipqXE3WsQ/Of7WEtPFYkzQOnvh73?= =?us-ascii?Q?4QZQ9EZ7Lj7fRvr2LcU/vpKnRrIHg1AzOS5AHlOv03RghSoFaKmRu0lXsLRc?= =?us-ascii?Q?rel3eU3/BYdJ70Jqk2uGJ3W8oKCt0km9vS3aWX8wSEl/rCxsZiMX5Ci/gdyd?= =?us-ascii?Q?e2wS5aOa1cqSO1V2dHzCkeXUcTPW/BrcgBshvtifsKjbTV4Vr21gREGw0aEF?= =?us-ascii?Q?7Tfe8hWkzunqLlqhFe6FCbXpYjC0SgzjCML6ESSJIpTI26v8OHr4Ur28rs2K?= =?us-ascii?Q?zR2L8Mfe8bIzGVnkeUQRjs3rFNu6yDbtIPAQQVWzW2kdvCU20axFF7kJ5/An?= =?us-ascii?Q?XQp73KDKfdE2eT6L+IHzkjdRHVlW5igIZFizwnoxPx0wIFEtGwWwV+uXIkoR?= =?us-ascii?Q?1/9+P2Pux5jjkpEjm/T4RnDoORFYss8amv+35TOrdAEUCspR5hlPVccdtxhn?= =?us-ascii?Q?1ZROnc9opNOZMxwvR0CiqeDqkiao0Tbso3pd62B6tYbQ4zUuSXFSpwho22zj?= =?us-ascii?Q?ryoKosEybgJH1VKn52wIrG/X45rOcTOUYvfg+XTMiQ5S7gwfe4vSVJcImOpb?= =?us-ascii?Q?mclKkVufzk2Y0Iy6M4nQ7w/ELlQy1aKQVXvEgR4bfbQogxJjPfZawW1mLd8x?= =?us-ascii?Q?5ZODVw9QucOgnT/XHWwhd689B6szFZrbSn3QKP/J45lecxhJDaadOOTKsHFG?= =?us-ascii?Q?jVVgPq6zC9TVZNg5K1dUoJP7TxnWq6EUmAkHkZS32Ax/z/+h5mUx2TFjx4au?= =?us-ascii?Q?jarCFjJz2sQI4j5RNnAKUfBxpUNWtXIdlV//ddTnHXlyBhjdOAAOBclA7qpK?= =?us-ascii?Q?5CHEnaIRt9QpxCVu4NN1aEacM1ab7Zo1dKK5YLqaEslXdrYM6SAp1L74ltBv?= =?us-ascii?Q?lk6tti+Gsq1/L2dv+v26Yk5a9qQTdljU+zaK0Xv+NN7exW6PcW/8ChInyFML?= =?us-ascii?Q?EExhLlK5mYhKuwdUGC4GOKJYHmAHvAOsHvGAnrfy52F6OERxD5NstMqwB/eR?= =?us-ascii?Q?RdzwdBubxF/YVeM1AR5219fCY2bax1BVYmRN1FtRt+DFJt/E3JhYxgSpcyok?= =?us-ascii?Q?BmVELAkRD7+BB1TeWEzvxRzqC9bF9b4/vXPdkdLlUCqLIDjPiDFMs5JG+VXQ?= =?us-ascii?Q?FcBv2mc4REFrjxXlnIZuBy5f5sFB6/pR8KjqfSFNGz0G/IdfWAW+Fd3GB5x7?= =?us-ascii?Q?JFg=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR08MB4483.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(69100299006)(38070700009);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10501 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF00000194.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a3352c11-b1fd-4630-e3e1-08dc856e5d21 X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?dy0eWqXGa62pRmNvtzT8RjBKwV+o+rb9b9IeKb263w6QySTJVKf0Kvwz?= =?Windows-1252?Q?1DjGTL5VTuJ2R7o3j7hh7mktkJsl/aemazY6JvIJgT/8dMfEo1r7vnGB?= =?Windows-1252?Q?ybKQDpZqft3RiHlvAQKVFd/oieXblSlHC7m/tW2oe2KYBa7sc99ST/os?= =?Windows-1252?Q?x5leNEGKFRYeY2QLLv7/V1kRqnDYWsG0FLJ3B4u67F6JM8nFVIwCwFWM?= =?Windows-1252?Q?a5e2AuEVri8xx3dlGYdm7bal4RuWBJRckCV0bT3UGGSrTyijh7Gkj0Yf?= =?Windows-1252?Q?JeHGPCIBqvueiFCXMyzBLQ+S/FHx8ARGkxIpb1DrgbU7CuQTdVcA2/jE?= =?Windows-1252?Q?AgWaTeqSJ9cVs+H64mEGbOXoE8oT9qJXpeChw+xUw6lL/ICBUYXATBG0?= =?Windows-1252?Q?CgUTdZMhEJRBrIBzw0Cj+RjT6VtIogIBLAmezjHGvThbhGNo5GAuSsVp?= =?Windows-1252?Q?KzUOoj/0zjfvr6qmbXPtFcnefp19TCj09JPge6YcaJg8trJ9zGY3Ost5?= =?Windows-1252?Q?kb+VFzvQA/yT3qMQaswNtuZ1UUUJVAb264XSE0HQz7/aZ0sVRn3O13Iy?= =?Windows-1252?Q?MgVZC5I7jdkzmVkt09WTSjJST5xO64S/LYA3rxX/UNGAydkTaQ9IWEWP?= =?Windows-1252?Q?/F3SvT+Vzh6d2Et3ujlkTJSR+gLnkhPcitJiiU86JdE1B33K7aav64J6?= =?Windows-1252?Q?nioooNnB8HQqrhHzYkkDnhcRvrMMycb7APh0NtMMVzd/xFkn6Aduh7FT?= =?Windows-1252?Q?beUH+itvgNg1yuv0WLUtzLu7YVgaq+5lZmULfMpsRbBInJfjPEXCmeBH?= =?Windows-1252?Q?8PRZJhT2Znv0FX6jiBxSQfibWpZxF54JFazldr6gZqmR8pnxCwMIzyD9?= =?Windows-1252?Q?2R1zN/g1jy5SIkOwPnqEnutDk09ejswZINiy/GcUD0nKl3b/FY/aUnGF?= =?Windows-1252?Q?6VJM2D1R+/idZzHtt/j+0rdPGWqPuaUaYxQrxKSWwhCef5dpHf2RO2YK?= =?Windows-1252?Q?kSjf1IZU1odIIe9970Oq9iGKQT3CECenIVj6Vw7GzkFq4kCpteJY7tRe?= =?Windows-1252?Q?JnYtJrN5Qkvg1Y010ZMNo+RsS9aD3+n8/EqNya85tAhV5qFDkc7BbuWh?= =?Windows-1252?Q?ueWKgonBnymLi2MyZmiMetgk+z7PRbyCsmh+si3LUsi4h01nPgaH+FQC?= =?Windows-1252?Q?1iJkSbHQvCPcRHr79ynQMFvYPoOwf0b/LMNoUsmv4wiMm6imV0SeCShC?= =?Windows-1252?Q?4u85965ZOLc8LKR2PCizZl40M978g0ok1lOXxZhih+/qUzpK+J5jKBAE?= =?Windows-1252?Q?Kx/8WoZVXAorUwmQdKYJuKfodXbBpM/NGS6qritTzDN4WMp2bhfXca9Y?= =?Windows-1252?Q?/hmtXXGmMsZyTz6j860Y1DEw5Wi7w5/I+N6F52Urfz/UvEZsgIMCVOYa?= =?Windows-1252?Q?7oJAor5LjVxoXWxXD115fg=3D=3D?= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 14:47:17.4629 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d37e9e47-63d2-4862-769b-08dc856e657b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000194.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9037 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 05 Jun 2024 07:47:22 -0700 Resent-From: prachotan.bathi@arm.com Reply-To: devel@edk2.groups.io,prachotan.bathi@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: UGYUwsa0pGLEEVkIQRTiI33Yx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_AM0PR08MB44839052FFD9E5A58BC4938EEFF92AM0PR08MB4483eurp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=0GpRcBjh; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_AM0PR08MB44839052FFD9E5A58BC4938EEFF92AM0PR08MB4483eurp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Here's a sample output reflecting the changes: https://github.com/tianocore/edk2-test/pull/96#issuecomment-2150234924 [https://opengraph.githubassets.com/693d739ae94bb87787ee0ac25f41c83df2babd6= 8a6b23b54cb21b9a5e52fb6bc/tianocore/edk2-test/pull/96] EDK2-Test: Bug 4244 - SCT improvement - Print out the PCIe device pat=85 by= PrachotanReddy =B7 Pull Request #96 =B7 tianocore/edk2-test https://bugzilla.tianocore.org/show_bug.cgi?id=3D4244 Tests Modified: Adapt= erInfoBBTestConformance HIIConfigAccessBBTestConformance PxeBaseCodeBBTestC= onformance SimpleNetworkBBTestConformance UEFI-SC... github.com ________________________________ From: devel@edk2.groups.io on behalf of Prachotan Ba= thi via groups.io Sent: Tuesday, June 4, 2024 3:28 PM To: devel@edk2.groups.io ; Prachotan Bathi Cc: G Edhaya Chandran ; Barton Gao ; Carolyn Gjertsen ; Samer El-Haj-Mahmoud= ; Eric Jin ; Arvin Chen = ; Supreeth Venkatesh Subject: Re: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT improvem= ent - Print out the PCIe device path Here's the PR for your convenience: https://github.com/tianocore/edk2-test/= pull/96 ________________________________ From: devel@edk2.groups.io on behalf of Prachotan Ba= thi via groups.io Sent: Monday, June 3, 2024 1:27 PM To: devel@edk2.groups.io Cc: G Edhaya Chandran ; Barton Gao ; Carolyn Gjertsen ; Samer El-Haj-Mahmoud= ; Eric Jin ; Arvin Chen = ; Supreeth Venkatesh Subject: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT improvement = - Print out the PCIe device path Worked on the following protocols=92 test cases as we have seen PCIe card U= EFI driver related failures with these test cases: EFI_HII_CONFIG_ACCESS_PROTOCOL EFI_ADAPTER_INFORMATION_PROTOCOL EFI_SIMPLE_NETWORK_PROTOCOL EFI_PXE_BASE_CODE_PROTOCOL Output of a failed PCIe test Auto Conformance Test for Arp ------------------------------------------------------------ Logfile: "\EFI\BOOT\bbr\SCT\Overall\Summary.log" Test Started: 02/16/23 05:04p ------------------------------------------------------------ EFI_PXE_BASE_CODE_PROTOCOL.Start - Check Return Code -- FAILURE 6A8CAA83-B9DA-46C7-98F6-D4969DABDAA0 /home/cherat01/ATEG/SystemReady/SystemReady/arm-systemready/SR/scripts/edk2= -test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBaseCodeBBTestConformance.c:2140:Status - Unsupported Returned Status Code: Unsupported Arp_Conf: [FAILED] Passes........... 0 Warnings......... 0 Errors........... 1 We want to see message like COMPONENT_NAME2_PROTOCOL test case having the m= essage in red to show what device/driver was tested. ------------------------------------------------------------ Conformance Test for GetControllerName ------------------------------------------------------------ Logfile: "\EFI\BOOT\bbr\SCT\Overall\Summary.log" Test Started: 02/16/23 05:14p ------------------------------------------------------------ Device Path: Fv(5C60F367-A505-419A-859E-2A4FF6CA6FE5)/FvFile(F2AD0AD0-D4B6-= 11E3-9C1A-0800200C9A66) COMPONENT_NAME2_PROTOCOL.GetControllerName - GetControllerName() returns EF= I_INVALID_PARAMETER with a NULL ControllerHandle -- FAILURE C38A85AF-2D0A-4BFA-8F44-A247F1FD7B94 /home/cherat01/ATEG/SystemReady/SystemReady/arm-systemready/SR/scripts/edk2= -test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/ComponentName2/BlackBoxTes= t/ComponentName2BBTestConformance.c:551: Language - en, Status - Success, N= ULL Found the device path from the protocol handle. Used SctDevicePathToStr(Dev= icePath) to print as str. Tested on rpi and AADP systems. https://github.com/PrachotanReddy/edk2-test Cc: G Edhaya Chandran Cc: Barton Gao Cc: Carolyn Gjertsen Cc: Samer El-Haj-Mahmoud Cc: Eric Jin Cc: Arvin Chen Cc: Supreeth Venkatesh Prachotan Bathi (1): EDK2-Test: Bug 4244 - SCT improvement - Print out the PCIe device path fo= r PCIe card/device related SCT failures. uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/Adapte= rInfoProtocolBBTest.inf | 2 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/PxeBBT= est.inf | 3 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest/Simp= leNetworkBBTest.inf | 4 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/Adapte= rInfoBBTestMain.h | 17 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HI= IConfigAccessBBTestMain.h | 6 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/PxeBas= eCodeBBTestMain.h | 6 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest/Simp= leNetworkBBTestMain.h | 6 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/Adapte= rInfoBBTestConformance.c | 63 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/Adapte= rInfoBBTestMain.c | 96 ++ uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HI= IConfigAccessBBTestConformance.c | 48 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HI= IConfigAccessBBTestMain.c | 67 +- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/PxeBas= eCodeBBTestConformance.c | 305 +++++- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/PxeBas= eCodeBBTestMain.c | 1158 +++++++++----------- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest/Simp= leNetworkBBTestConformance.c | 258 ++++- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest/Simp= leNetworkBBTestMain.c | 96 ++ 15 files changed, 1451 insertions(+), 684 deletions(-) -- 2.34.1 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. -=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 (#119474): https://edk2.groups.io/g/devel/message/119474 Mute This Topic: https://groups.io/mt/106471265/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_AM0PR08MB44839052FFD9E5A58BC4938EEFF92AM0PR08MB4483eurp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Here's a sample output reflecting the changes:
3D""
https://bugzilla.tianocore.org/show_bug.cgi?id=3D4244 Tests Modified: Adapt= erInfoBBTestConformance HIIConfigAccessBBTestConformance PxeBaseCodeBBTestC= onformance SimpleNetworkBBTestConformance UEFI-SC...
github.com


From: devel@edk2.groups.io = <devel@edk2.groups.io> on behalf of Prachotan Bathi via groups.io <= ;prachotan.bathi=3Darm.com@groups.io>
Sent: Tuesday, June 4, 2024 3:28 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>; Prachotan Bat= hi <Prachotan.Bathi@arm.com>
Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>; Barton Gao &l= t;gaojie@byosoft.com.cn>; Carolyn Gjertsen <Carolyn.Gjertsen@amd.com&= gt;; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>; Eric Jin &l= t;eric.jin@intel.com>; Arvin Chen <arvinx.chen@intel.com>; Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>
Subject: Re: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT i= mprovement - Print out the PCIe device path
 
Here's the PR for your convenience: https://github.com/tianocore/edk2-test/pull/96

From: devel@edk2.groups.i= o <devel@edk2.groups.io> on behalf of Prachotan Bathi via groups.io &= lt;prachotan.bathi=3Darm.com@groups.io>
Sent: Monday, June 3, 2024 1:27 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>; Barton Gao &l= t;gaojie@byosoft.com.cn>; Carolyn Gjertsen <Carolyn.Gjertsen@amd.com&= gt;; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>; Eric Jin &l= t;eric.jin@intel.com>; Arvin Chen <arvinx.chen@intel.com>; Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>
Subject: [edk2-devel] [PATCH v1 0/1] EDK2-Test: Bug 4244 - SCT impro= vement - Print out the PCIe device path
 
Worked on the following protocols=92 test cases = as we have seen PCIe card UEFI driver related failures with these test case= s:
EFI_HII_CONFIG_ACCESS_PROTOCOL
EFI_ADAPTER_INFORMATION_PROTOCOL
EFI_SIMPLE_NETWORK_PROTOCOL
EFI_PXE_BASE_CODE_PROTOCOL
Output of a failed PCIe test

Auto Conformance Test for Arp

------------------------------------------------------------

Logfile: "\EFI\BOOT\bbr\SCT\Overall\Summary.log"

Test Started: 02/16/23  05:04p

------------------------------------------------------------

EFI_PXE_BASE_CODE_PROTOCOL.Start - Check Return Code -- FAILURE

6A8CAA83-B9DA-46C7-98F6-D4969DABDAA0

/home/cherat01/ATEG/SystemReady/SystemReady/arm-systemready/SR/scripts/edk2= -test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBaseCodeBBTestConformance.c:2140:Status - Unsupported

 

Returned Status Code: Unsupported

 

Arp_Conf: [FAILED]

  Passes........... 0

  Warnings......... 0

  Errors........... 1

 

We want to see message like COMPONENT_NAME2_PROTOCOL test case having the m= essage in red to show what device/driver was tested.

------------------------------------------------------------

Conformance Test for GetControllerName

------------------------------------------------------------

Logfile: "\EFI\BOOT\bbr\SCT\Overall\Summary.log"

Test Started: 02/16/23  05:14p

------------------------------------------------------------

Device Path: Fv(5C60F367-A505-419A-859E-2A4FF6CA6FE5)/FvFile(F2AD0AD0-D4B6-= 11E3-9C1A-0800200C9A66)

 

COMPONENT_NAME2_PROTOCOL.GetControllerName - GetControllerName() returns EF= I_INVALID_PARAMETER with a NULL ControllerHandle -- FAILURE

C38A85AF-2D0A-4BFA-8F44-A247F1FD7B94

/home/cherat01/ATEG/SystemReady/SystemReady/arm-systemready/SR/scripts/edk2= -test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/ComponentName2/BlackBoxTes= t/ComponentName2BBTestConformance.c:551: Language - en, Status - Success, N= ULL


Found the device path from the protocol handle. Used SctDevicePathToStr(Dev= icePath) to print as str.
Tested on rpi and AADP systems.
https://github.com/= PrachotanReddy/edk2-test

Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
Cc: Barton Gao <gaojie@byosoft.com.cn>
Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>
Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Cc: Eric Jin <eric.jin@intel.com>
Cc: Arvin Chen <arvinx.chen@intel.com>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>

Prachotan Bathi (1):
  EDK2-Test: Bug 4244 - SCT improvement - Print out the PCIe device pa= th for PCIe card/device related SCT failures.

 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/A= dapterInfoProtocolBBTest.inf        = ;  |    2 +
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBBTest.inf          &nb= sp;            =    |    3 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTest.inf        &nb= sp;     |    4 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/A= dapterInfoBBTestMain.h         = ;       |   17 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTe= st/HIIConfigAccessBBTestMain.h        |&= nbsp;   6 +
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBaseCodeBBTestMain.h         = ;       |    6 +
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestMain.h        &= nbsp;   |    6 +
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/A= dapterInfoBBTestConformance.c       &nbs= p; |   63 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/A= dapterInfoBBTestMain.c         = ;       |   96 ++
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTe= st/HIIConfigAccessBBTestConformance.c |   48 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTe= st/HIIConfigAccessBBTestMain.c        |&= nbsp;  67 +-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBaseCodeBBTestConformance.c       &nbs= p; |  305 +++++-
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/PxeBaseCode/BlackBoxTest/P= xeBaseCodeBBTestMain.c         = ;       | 1158 +++++++++-----------
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestConformance.c     |  258 ++++-=
 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleNetwork/BlackBoxTest= /SimpleNetworkBBTestMain.c        &= nbsp;   |   96 ++
 15 files changed, 1451 insertions(+), 684 deletions(-)

--
2.34.1






IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#119474) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_AM0PR08MB44839052FFD9E5A58BC4938EEFF92AM0PR08MB4483eurp_--