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 40432941DC6 for ; Tue, 4 Jun 2024 20:28:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KcN3knApUOdHxHB31cu4mK+YCDc/BuaGTxEF/Kke0uM=; 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=1717532917; v=1; b=einiXOeWp2yzKaGKvLQjUqNNHLRfgL741GbV0M5p5t4AG+c7FXBKd9XaM64vjMvOruX7dpZp ldj8SV1tPQhPwZEC+KfdnfWiIqDBEWF9VVv70Tg/bXxDykb+feozZIcYZuEGSeARgxvjL0uNQn9 C+kdXV2MlT3JsRQ5dagKaT1bPIvT0+UD5Sd5RqEek5AMgfaPyrmZWQ3ZaPrYI0gWFdmhKzkzhyE L0EDhOuJmkSlB1K6dBjzVmg0wjnb4TLlk+Hi0xD8S5kqL+gee03Qdc0D+h5zx/kdz0Z14bJx8SM ygDGgwANo+H2VC5Ifxos8U+CRcZ3Wo/vnlZRYFh8dRT1g== X-Received: by 127.0.0.2 with SMTP id dA07YY7687511xzz4GwcLVFO; Tue, 04 Jun 2024 13:28:35 -0700 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.82]) by mx.groups.io with SMTP id smtpd.web11.433.1717532914221627244 for ; Tue, 04 Jun 2024 13:28:35 -0700 X-Received: from DB9PR06CA0024.eurprd06.prod.outlook.com (2603:10a6:10:1db::29) by AM7PR08MB5349.eurprd08.prod.outlook.com (2603:10a6:20b:107::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Tue, 4 Jun 2024 20:28:30 +0000 X-Received: from DB1PEPF000509E2.eurprd03.prod.outlook.com (2603:10a6:10:1db:cafe::6) by DB9PR06CA0024.outlook.office365.com (2603:10a6:10:1db::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30 via Frontend Transport; Tue, 4 Jun 2024 20:28:30 +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 DB1PEPF000509E2.mail.protection.outlook.com (10.167.242.52) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Tue, 4 Jun 2024 20:28:30 +0000 X-Received: ("Tessian outbound db9e50018dd2:v327"); Tue, 04 Jun 2024 20:28:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ec9f0771a672baf1 X-CR-MTA-TID: 64aa7808 X-Received: from 418da95e6e3c.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A15955B1-95F7-42BF-9561-C569F087F880.1; Tue, 04 Jun 2024 20:28:23 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 418da95e6e3c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 04 Jun 2024 20:28:22 +0000 X-Received: from AM0PR08MB4483.eurprd08.prod.outlook.com (2603:10a6:208:145::21) by DB9PR08MB6617.eurprd08.prod.outlook.com (2603:10a6:10:261::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Tue, 4 Jun 2024 20:28:20 +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; Tue, 4 Jun 2024 20:28:20 +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: AQHatfxWwxrxP9wh5U2vFKV58mbjz7G4D2ya Date: Tue, 4 Jun 2024 20:28:20 +0000 Message-ID: References: <17D59B57F459D1B4.11931@groups.io> In-Reply-To: <17D59B57F459D1B4.11931@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_|DB9PR08MB6617:EE_|DB1PEPF000509E2:EE_|AM7PR08MB5349:EE_ X-MS-Office365-Filtering-Correlation-Id: c9d8c7b8-80c5-4ce0-0e7e-08dc84d4e5c9 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|1800799015|376005|366007|38070700009; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?QLiS1hV94WMzNvCDmTJiltbOzbVCnNCx6w2mvZgrUW00mDGyG2q+WxVe18M1?= =?us-ascii?Q?BoHhkDprVGtwhsZRuZOSZ3fvdCzQWPLO3xKbVUII7+bgC/mC8kiz39jTu9Fe?= =?us-ascii?Q?pCt/znrQLMk9JL7PX5UgKfhgXUMeRdZOufYd7aI5tanHt61vlqQVVJtWaZex?= =?us-ascii?Q?IElUH9+LNafVJaNrpm0i2WjFT3TznVGy+Tp22paCabTfwmMUu/bjNlSrT7MV?= =?us-ascii?Q?GbDbvrN088FEIVrKHojGYtOm5hFiIJIPLyGa+vUUkp89HrX1v7NiOt2XN997?= =?us-ascii?Q?fU9QSBabt97xv46mwp/v2gpDPVFrSEZ7rWRX2SMIN+yqJPxOTIhKv5RU2IlB?= =?us-ascii?Q?uLb/t90j/MwwACIafTVTuOUbiNSQUrrCzQIQuynGWv5wgN8EfQ+sooHpf9YG?= =?us-ascii?Q?Yokx98UAurfV+6YC/9m3XGtJs5+c8Ps9dZ4bns3Z5/fSqTNJo2l2rGslwpmn?= =?us-ascii?Q?nuc9AG/9nxSU7rUdjK+817d/zi4aeEHy31aGwJZOKk52Q8Fe2lFc1Z27zjs1?= =?us-ascii?Q?ZSFZU3bmlBa1gyFNbOqWlXoaN0wfN4XN6kwjIrErrvv2lW97PwyXg8uOJNSe?= =?us-ascii?Q?O5axW55SVtWZgikAkMKBKRgjD37Mp+qBhtVVH/pltU/97iCzU1MwxkqV5bDt?= =?us-ascii?Q?ah5ec5sZyHb/KoE9DcwhO1uX+MoiNPieyHNbTeHns+or8/L4hWoNIB655w37?= =?us-ascii?Q?332ajocM68dl+uKigCnOROe59aHPBNi5YXxiRphYlBBl+T3Vmoo6mbpCRj4Q?= =?us-ascii?Q?9+aDmREelsZdGFkR+Y8mvxRCMYI4uoQOmXlkz2Hq/rHd/mkNQ7XxnnXzvG1Y?= =?us-ascii?Q?WgS8YkUQP2GOVLKGoOn++b7BrtL+ydLF9yD9hEpMTZqTTbPC3jApPecBFwx3?= =?us-ascii?Q?cqk4dloUG7Jaueay17YY64WDq/+jbmQi9xANpEcQ+OuWWNQRrErP1g1E7/IO?= =?us-ascii?Q?hQgHeTX2gFPY8EpObJLZKbTGCbbs3BxKx2KI7BklY59tgCE7DpQC29Ln9Y1e?= =?us-ascii?Q?Ue0OFWpAYPjnwh2ZlohYt2xtD91LYfl21eONELLYWv1uz1nf84uwOLS8lNjk?= =?us-ascii?Q?oROvGjkcd3YXr7JS9DeTSgzIUHWYhrdwj97Vl6lVMdRO21ZKfEhxcNX6lZUq?= =?us-ascii?Q?pui3ufq9dz7l+cGslF9zjXObod+Bt7iwbJfQtwMyGYGxbryIveR4TXVSA7Ej?= =?us-ascii?Q?WrQymoXIJ3Ke5DusOGCDFIKB+gBfKmOJxQqq1UsJZ2foOZ+u6OBZDIYXXkX9?= =?us-ascii?Q?MXVls8of+G8eGm6LTVhf64jd/skVgTfAYGmZudPLsT/NjuQisTx9jaFZcWhj?= =?us-ascii?Q?k/I=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)(1800799015)(376005)(366007)(38070700009);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6617 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: DB1PEPF000509E2.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 998a59df-74a6-4008-8f41-08dc84d4dfee X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?fck2noInxcMrt6JlX+Q/iEKn21HXbS3ApQ4ipd3o5dJUXB2sapT4Z+td?= =?Windows-1252?Q?mCJjLMwfZuMTaDKJJ3/GSPoy/6g9vCKhoWLrJSR6sskRqtSYHEQKILlh?= =?Windows-1252?Q?JtvJUdknNfpP1GdQafezhbD4qnkU3NZKY/h6OM6Ued7AJXF6WELo6c00?= =?Windows-1252?Q?SdRBBleXfTZdK2qixh9R4Sxda9F+rq1IgKkCyiPH5YS1Mg3+RhsJZbOp?= =?Windows-1252?Q?BWAUuXYPHY1V6veJroWEa5VFZNEV2MCyvuzZBKoNFaGwd6CI18R8r7oi?= =?Windows-1252?Q?tEpxbH9ya4VJT/YuaCbOQYkYAAqzL6gJKlZLC9diKSxLLzDRJzKAPATp?= =?Windows-1252?Q?35SsQB7/480RzzNbwHbBZWZIOWTywvR88uiPgpBRV3UdDhBF6fLvECtI?= =?Windows-1252?Q?l7qKr7LpQW0nm1ijyBFDD7OPgLPxRL7scDKXov8pOmrlxjdQpb7afn8V?= =?Windows-1252?Q?IC1jlpKh09U3Xlad8u3y3nV73WW5t5s2qe0oS4VvuML6wu9CnpAf+gGF?= =?Windows-1252?Q?qq1WrNDluLEdmMYZg4TYKYBtaOFBHDOKTnYQ3MqOkTLLVKX+4RG4eaOL?= =?Windows-1252?Q?SYG0lAkp43PxCuVSL52wh3f4D/rXZE0MwOUFdg3bU+xK0y5Jjcc+wB3m?= =?Windows-1252?Q?cbG1YAIw+sXyyWIrsLI1ytDdhSuTDWqNHXGrXqxL83cpTw0BwM5O6+zX?= =?Windows-1252?Q?3XNXE5pE2eWG49Z/8LbvF7HVaZILRUSuyJXupHQa4LqW3gUhggChzJxL?= =?Windows-1252?Q?Dbq7jNKyGLx73qfncPalIhIKczdIrLX1tyb5aDzoxG1S6JStQIOy/bTr?= =?Windows-1252?Q?98ReOIJB9yJWkLpJduGZEwIh8k+NC4Qj8e7ltfo20CJDKlyz/1jdyuYt?= =?Windows-1252?Q?gostJd5I3c6rxM5RWo9bwzDUrEaWo2unxmBG9oOG0flklyRr9HOuFiJg?= =?Windows-1252?Q?1n3yjXq8p8WA3hBmAIzvXIpX48BGB8qbdBUmDP/+XZZd11Kyxwy7ADP7?= =?Windows-1252?Q?f/PAlJ4gxaBHJEYmZjqH8pbdQjPjtaekE4N2H9XScWIgfTYvZpONIHx/?= =?Windows-1252?Q?DCpLR2grNmAk30aqfiXg3trop5NnbIR2WwWKGzv8/p34nKBFWLIJFtYl?= =?Windows-1252?Q?4314/WamYmPRrenqnQzYGQsyqbi8cAySWmMvX0zIRhBErGbbY6AekEZi?= =?Windows-1252?Q?MRnEtibmp8uN6458KegeJhZecy7gbnseDz/G0GGYYWSn1/1LmynoUQZz?= =?Windows-1252?Q?YjrE9eC3Y9huIObQBcbGdjBJsJnVYya3cYofdMD5GTuMioGQ/v1EhOAS?= =?Windows-1252?Q?obNbpc1eQS2KF5idCePHXFCSAY4PExjRyS4KbSk4jW9PuGBI/m2essr8?= =?Windows-1252?Q?Yyev+Xw5+9J+zJNXSvOC7j0uc0gazB8eduGnW8k35KJ1qdCmIVVtemQ5?= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 20:28:30.2859 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c9d8c7b8-80c5-4ce0-0e7e-08dc84d4e5c9 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: DB1PEPF000509E2.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5349 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: Tue, 04 Jun 2024 13:28:35 -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: ZIJBYnwuPimImrP2IhKV15ffx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_AM0PR08MB4483CB98E29384670C8C9DB9EFF82AM0PR08MB4483eurp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=einiXOeW; 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_AM0PR08MB4483CB98E29384670C8C9DB9EFF82AM0PR08MB4483eurp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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. -=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 (#119452): https://edk2.groups.io/g/devel/message/119452 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_AM0PR08MB4483CB98E29384670C8C9DB9EFF82AM0PR08MB4483eurp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Here's the PR for your convenience: https://github.com/tianocore/edk2-test/pull/96

From: devel@edk2.groups.io = <devel@edk2.groups.io> on behalf of Prachotan Bathi via groups.io <= ;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 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 <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.
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--_000_AM0PR08MB4483CB98E29384670C8C9DB9EFF82AM0PR08MB4483eurp_--