public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wang, Terry" <terry.wang2@amd.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Edhaya.Chandran@arm.com" <Edhaya.Chandran@arm.com>,
	"gaojie@byosoft.com.cn" <gaojie@byosoft.com.cn>,
	"Gjertsen, Carolyn" <Carolyn.Gjertsen@amd.com>,
	"Samer.El-Haj-Mahmoud@arm.com" <Samer.El-Haj-Mahmoud@arm.com>,
	"eric.jin@intel.com" <eric.jin@intel.com>,
	"arvinx.chen@intel.com" <arvinx.chen@intel.com>,
	"Venkatesh, Supreeth" <Supreeth.Venkatesh@amd.com>,
	"zhichao.gao@intel.com" <zhichao.gao@intel.com>
Subject: Sct: SetDataFunction Check fail only occur when first run after by program Bios By DediProg Tool
Date: Thu, 1 Dec 2022 05:24:22 +0000	[thread overview]
Message-ID: <CH2PR12MB42002A1D09BFD0FEFDA03211B6149@CH2PR12MB4200.namprd12.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

[AMD Official Use Only - General]

Hi Sir,
   I meet fail when do SetDataFunction Test and this only occurred on the first time after program Bios by DediProg
   The Function location :
      HIITest -> ConfigKeywordHandlerTest -> SetDataFunction

   I check the code flow and the result as below:
      The Function(BBTestSetDataFunctionTest) which is under ConfigKeywordHandlerBBTestFunction.c

  1.  The function call SetData with KeywordString1  and this would return NOT_FOUND (which is caused by ChipsetSATAPortDisable  Not Define in Vfr)
  2.  Then the function would call GetData with KeywordString2
  3.  The value is default define in "SctPkg\TestCase\UEFI\EFI\Protocol\ConfigKeywordHandler\BlackBoxTest\Dependency\SampleDriver\Vfr.vfr"

QuestionAboutTreeHugging and the value is "1"

Debug log as below:

GetData Results: NAMESPACE=x-UEFI-ns&PATH=01041400f4274aa000df424db55239511302113d7fff0400&KEYWORD=iSCSIBootEnable&VALUE=01

RespOfKeywordString2 = L"NAMESPACE=x-UEFI-ns&PATH=01041400f4274aa000df424db55239511302113d7fff0400&KEYWORD=iSCSIBootEnable&VALUE=00"

That's going to cause this condition to fail (0 == SctStrCmp(RespOfKeywordString2, Results))

Then fail occurred .

Fail Log as below:

[cid:image001.png@01D90585.26BC8AA0]


Please give you suggestion .

Best Regards
Terry Wang

















[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 36065 bytes --]

                 reply	other threads:[~2022-12-01  5:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CH2PR12MB42002A1D09BFD0FEFDA03211B6149@CH2PR12MB4200.namprd12.prod.outlook.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