Hi Vincent,
2021年6月1日(火) 2:51 Vincent Stehlé vincent.stehle@arm.com:
On Thu, May 20, 2021 at 03:55:21PM +0100, Grant Likely wrote: ..
And I have a question about SCT's EBBR result (according to the EBBR-Testing-Guide). Recently my team ran the SCT on our board and got some failures. One of them was related to the Auth variable,
/opt/sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/VariableServices/BlackBoxTest/AuthVariableServicesBBTestFunction.c 635 Status - Invalid Parameter RT.SetVariable - Create one Time Base Auth Variable, the expect return status should be EFI_SUCCESS FAILURE
But I think U-Boot Auth Variable is not enabled unless UEFI secure boot is enabled. So other test cases are waived. But this specific test case failed.
guid: 008E18A5-C345-48AE-9134-61A692E30B87 set guid: 9338D0EC-807B-4750-986A-8F2A91BB3616
Easy answer here is to enable secure boot in U-Boot to get rid of these failures. I've added that option to the wiki
CONFIG_EFI_SECURE_BOOT=y
Vincent, this is something to discuss. Secure Boot is supported, but not required by SystemReady IR. Should we ignore failures when secure boot is disabled in the parsing script?
Hi Grant and Masami-san,
I think we should ignore all authenticated EFI variables related failures, as those are not required by EBBR.
See this sct parser EBBR.yaml config file[1], where I have added some rules to ignore authenticated EFI variables related failures.
Thanks for the update!
Masami-san, could you please try to re-parse your tests results with the updated config file? If the specific test you mentioned still results in FAILURE, would you please send us your tests results Summary.ekl? This would allow us to add the proper rule to the parser config file.
Hmm, I've retried SCT (ACS included version) it but the specific test case has been failed.
GUID:008E18A5-C345-48AE-9134-61A692E30B87 Set GUID: 9338D0EC-807B-4750-986A-8F2A91BB3616 log: /home/edhcha01/RELEASE_BUILD/arm-systemready/IR/scripts/edk2-test/uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/VariableServices/BlackBoxTest/AuthVariableServicesBBTestFunction.c 635 Status - Invalid Parameter
I found your commit commit 2f3bf6340a28c93984653bd751aa71437cd1193d Author: Vincent Stehlé vincent.stehle@arm.com Date: Mon May 31 18:59:17 2021 +0200
EBBR.yaml: ignore authenticated variables failures
which ignores the auth variables, and it seems that the Set GUID is correct but GUID is not correct.
I also attached the Summary.ekl.
Thank you,