From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: Karunakar P <karunakarp@amiindia.co.in>,
"'edk2-devel@lists.01.org'" <edk2-devel@lists.01.org>
Cc: "Fu, Siyuan" <siyuan.fu@intel.com>, "Ye, Ting" <ting.ye@intel.com>
Subject: Re: SCT Test crashes After HTTPS boot success.
Date: Fri, 17 Nov 2017 06:35:22 +0000 [thread overview]
Message-ID: <895558F6EA4E3B41AC93A00D163B7274163492F8@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <A885E3F3F1F22B44AF7CC779C062228EE069A9A5@VENUS1.in.megatrends.com>
I will try to reproduce the issue with EDK2 trunk code, then feedback to you. Thanks the report.
Jiaxin
From: Karunakar P [mailto:karunakarp@amiindia.co.in]
Sent: Friday, November 17, 2017 2:32 PM
To: Wu, Jiaxin <jiaxin.wu@intel.com>; 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org>
Cc: Fu, Siyuan <siyuan.fu@intel.com>; Ye, Ting <ting.ye@intel.com>
Subject: RE: SCT Test crashes After HTTPS boot success.
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 happen 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' <edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>>
Cc: Wu, Jiaxin <jiaxin.wu@intel.com<mailto:jiaxin.wu@intel.com>>; Fu, Siyuan <siyuan.fu@intel.com<mailto:siyuan.fu@intel.com>>; Ye, Ting <ting.ye@intel.com<mailto:ting.ye@intel.com>>
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 protocols installed.
->if the platform supports TLS feature then, EFI_TLS_PROTOCOL, EFI_TLS_SERVICE_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 CreateChild() 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 DestroyChild() to destroy it.
-> Network Stack follows same in HTTPS boot.
While doing IPv4/6 HTTPS boot , will locate gEfiTlsServiceBindingProtocolGuid 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 failures 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
next prev parent reply other threads:[~2017-11-17 6:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-16 8:47 SCT Test crashes After HTTPS boot success Karunakar P
2017-11-17 0:31 ` Wu, Jiaxin
2017-11-17 6:31 ` Karunakar P
2017-11-17 6:35 ` Wu, Jiaxin [this message]
2017-11-17 11:06 ` Karunakar P
[not found] ` <A885E3F3F1F22B44AF7CC779C062228EE069AF58@VENUS1.in.megatrends.com>
[not found] ` <A885E3F3F1F22B44AF7CC779C062228EE069AF6B@VENUS1.in.megatrends.com>
2017-11-22 8:43 ` Wu, Jiaxin
[not found] ` <A885E3F3F1F22B44AF7CC779C062228EE069B034@VENUS1.in.megatrends.com>
2017-11-23 4:51 ` Wu, Jiaxin
2017-11-23 7:32 ` Wu, Jiaxin
[not found] ` <A885E3F3F1F22B44AF7CC779C062228EE069B20E@VENUS1.in.megatrends.com>
2017-11-23 9:50 ` Wu, Jiaxin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=895558F6EA4E3B41AC93A00D163B7274163492F8@SHSMSX103.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox