ARM-software/bbr-acs

SCT Failure with BS.AllocatePool - Type is EfiMaxMemoryType

sunnywang-arm opened this issue · 3 comments

In the SCT test, we get an error “BS.AllocatePool - Type is EfiMaxMemoryType – FAILURE 99F47EDE-57C9-4892-943E-F0F508B23B91”.
We believe that the test should be compiled against a newer stable tag to pull tianocore/edk2@502c01c.

BS.AllocatePool - Type is EfiMaxMemoryType -- FAILURE
99F47EDE-57C9-4892-943E-F0F508B23B91
/home/marc/devel/ampere/arm-systemready/SR/scripts/edk2-test/uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackBoxTest/MemoryAllocationServicesBBTestConformance.c:953:Status - Success

edhay commented

Hi Sunny,
Thank you for reporting. We are looking at the issue and will provide updates soon.

edhay commented

The issue is due to mismatch of the value EfiMaxMemoryType, which is used as parameter to define a invalid case testing for SCT AllocatePool() test.
UEFI-SCT, built as part of ACS used an older version of edk2 and hence reflected the older value of EfiMaxMemoryType.
Now version of edk2 has been upgraded to take the updated value.

The upgrade is done by the below commit:
ARM-software/arm-systemready@cf3fa8b

Thanks, @edhay!