From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=203.199.198.232; helo=imsva.in.megatrends.com; envelope-from=karunakarp@amiindia.co.in; receiver=edk2-devel@lists.01.org Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 855632035A7C2 for ; Thu, 16 Nov 2017 22:27:28 -0800 (PST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A5CA382047; Fri, 17 Nov 2017 12:04:40 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8542482046; Fri, 17 Nov 2017 12:04:40 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Fri, 17 Nov 2017 12:04:40 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Fri, 17 Nov 2017 12:01:34 +0530 From: Karunakar P To: "'Wu, Jiaxin'" , "'edk2-devel@lists.01.org'" CC: "Fu, Siyuan" , "Ye, Ting" Thread-Topic: SCT Test crashes After HTTPS boot success. Thread-Index: AdNetw87ERZA5RTMTjO2Kk3mB+3gDwAg7MVgAAyVDaA= Date: Fri, 17 Nov 2017 06:31:34 +0000 Message-ID: References: <895558F6EA4E3B41AC93A00D163B727416348F70@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <895558F6EA4E3B41AC93A00D163B727416348F70@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.111] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1062-23470.005 X-TM-AS-Result: No--27.212-5.0-31-10 X-imss-scan-details: No--27.212-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23470.005 X-TMASE-Result: 10--27.211600-10.000000 X-TMASE-MatchedRID: 1ZHks2aQIkjo2d3orePV3UZakoam9+aeHznaOB9+eYhtw+n+iKWyyM9a y3DaUZMo6tDLFUsHInGE4CkGRA/GrADBaeVuVh0CgFd2TFaysMjzL5MQzw14h3tbQqI22HieI0W 2qthH0k+fE+GbR1ySG71VZcTSMzkIS2vb/Rh+9IWVSBCoZUyqbPryhnjDLC0K0GTF6ELqjN+FQW TLaCVa4zEEjYPBYE3X2h+1IGEXrp/VFtf7bVfns7iMC5wdwKqdUAjrAJWsTe+3C6DNNZGQjcyud t9pDkwhCU9+CCrUy5n6mGAXQCPVAxAfl9EutLdY141MZ0dY1L+np0KWJWIxTBYpFGK87VV9anmf gMwTJs35y4GKVOBf/nyS9/LtVbTuR1vveBQPCRdCvapcIkxJX+q9xwosX7inHOK4uESVf9Ulnjh 4pS9Fhz+ZqQbT6/3uAWTrDhhyqaFI5aNiVPKgsZhyXgGCpXKTcbVmJQ7kUKWPaLJ/Ca3ST9nwxR iGk1Yzof/Q29K2iftdvyd6roSZPTLmCzVklZVI+cKX6yCQ13uSiza26cvwNEENV4Lwnu7BVf94J dIXwPNiN1Woi4uYp5bbIIZkE12+VTLlY3UjreIiPTMUjkOgki1RIwMdx4yupOwTxn+Ouv4/8yJL 1KErHbWEf7jcZ0rRKGI9r3kB/qgumkwlhTHaGdazDXwdSzUbFspPdEyOR1o452hx28rHFRxZoqU njA5QrdZLelE6wFtO+3uGNcav99xWF9NJ0ly41RYoypj32nQEBoFKX61SFzaTlDNVRiZUiRl+V8 DhxP/vEdGedK9iPuqSp2XY1ObsyPHSkvZLoyc5T4Lj4OFOg5vTdYwb5Vo3+HRp1v65Nv0jHKy7s Vsf0j0aRuOSBbNH X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0,39:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: SCT Test crashes After HTTPS boot success. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 06:27:29 -0000 X-Groupsio-MsgNum: 17632 Content-Language: en-US Content-Type: multipart/mixed; boundary="_004_A885E3F3F1F22B44AF7CC779C062228EE069A9A5VENUS1inmegatre_" --_004_A885E3F3F1F22B44AF7CC779C062228EE069A9A5VENUS1inmegatre_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Jiaxin, Below are the detailed steps for SCT test [Steps to reproduce] . 5. Run SCT test a. Execute the following commands to run SCT test on SUT sct -r sct -u b. In Test Case Management page, Enable GenericTest c. Press F9 to run the selected test case [Observation] synchronous exception occurred in SCT ,Attached the Log for reference. Thanks, Karunakar From: Wu, Jiaxin [mailto:jiaxin.wu@intel.com] Sent: Friday, November 17, 2017 6:01 AM To: Karunakar P; 'edk2-devel@lists.01.org' Cc: Fu, Siyuan; Ye, Ting Subject: RE: SCT Test crashes After HTTPS boot success. Hi Karunakar, Can you provide more detailed info for the SCT test steps? The crash can ha= ppen after "Sct.efi -u" or need run any specific test case? Thanks, Jiaxin From: Karunakar P [mailto:karunakarp@amiindia.co.in] Sent: Thursday, November 16, 2017 4:48 PM To: 'edk2-devel@lists.01.org' > Cc: Wu, Jiaxin >; Fu, Siyua= n >; Ye, Ting > Subject: SCT Test crashes After HTTPS boot success. Hello All, When I do SCT test, get the below failure GenericTest\EFICompliantTest 0 0 CB6F7B77-0B15-43F7-A95B-8C7F9FD70B21 FAIL = UEFI Compliant - TLS support is required The reason for the failure is that the platform doesn't have TLS related pr= otocols installed. ->if the platform supports TLS feature then, EFI_TLS_PROTOCOL, EFI_TLS_SERV= ICE_BINDING_PROTOCOL, EFI_TLS_CONFIGURATION_PROTOCOL must be existed. -> According UEFI2.7 Spec - 28.10 EFI TLS Protocols(page-1787) The TLS consumer need locate EFI_TLS_SERVICE_BINDING_PROTOCOL and call Crea= teChild() to create a new child of EFI_TLS_PROTOCOL instance. Then use EFI_= TLS_PROTOCOL to start TLS session. After use, the TLS consumer need call De= stroyChild() to destroy it. -> Network Stack follows same in HTTPS boot. While doing IPv4/6 HTTPS boot , will locate gEfiTlsServiceBindingProtocolGu= id and call TlsServiceBindingCreateChild, So that EFI_TLS_PROTOCOL and EFI_= TLS_CONFIGURATION_PROTOCOL will be installed. So once HTTPS boot is success then TLS supported protocols exist. And if we do SCT test after HTTPS boot is success, Then TLS related failure= s should NOT happen in SCT. I've tried SCT test after HTTPS boot success, But SCT test Crashes. [Steps to reproduce] 1. Configure the HTTPS Server with EFI Shell as NBP file. 2. Connect test machine and HTTPS server with LAN cable. 3. Perform HTTPS boot in test machine 4. Once HTTPS boot is success, It will launch Shell. 5. Run SCT test [Observations] 1. SCT test was crashed and unable to continue the test. Could you please provide your comments/Suggestion on this? Thanks, Karunakar --_004_A885E3F3F1F22B44AF7CC779C062228EE069A9A5VENUS1inmegatre_ Content-Type: text/plain; name="SCTHandLog.txt" Content-Description: SCTHandLog.txt Content-Disposition: attachment; filename="SCTHandLog.txt"; size=997; creation-date="Fri, 17 Nov 2017 06:28:57 GMT"; modification-date="Fri, 17 Nov 2017 06:29:45 GMT" Content-Transfer-Encoding: base64 DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0NCiAgICAgICoqKioqKioqKlJFQ09WRVJZKioqKioqKioqDQotLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL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