Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCT Failure with BS.AllocatePool - Type is EfiMaxMemoryType #41

Closed
sunnywang-arm opened this issue May 23, 2023 · 3 comments
Closed

SCT Failure with BS.AllocatePool - Type is EfiMaxMemoryType #41

sunnywang-arm opened this issue May 23, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@sunnywang-arm
Copy link

sunnywang-arm commented May 23, 2023

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
Copy link
Contributor

edhay commented May 24, 2023

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

@edhay
Copy link
Contributor

edhay commented Jun 2, 2023

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

@sunnywang-arm
Copy link
Author

Thanks, @edhay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants