[OE-core] [PATCH] core-image-sato-sdk: test image with 512M memory

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Fri Jul 26 21:40:06 UTC 2019


On Fri, 2019-07-26 at 05:23 -0400, kai.kang at windriver.com wrote:
> From: Kai Kang <kai.kang at windriver.com>
> 
> When run do_testimage for core-image-sato-sdk, it fails to pass test
> case:
> 
> > RESULTS - systemd.SystemdBasicTests.test_systemd_failed: FAILED
> > (0.43s)
> 
> It is OOM issue and daemon rpc.statd is killed:
> 
> >  [  531.306146] Out of memory: Kill process 193 (rpc.statd) score
> > 200 or sacrifice child
> 
> Increase the memory of qemu to 512M to avoid such OOM issue.
> 
> Signed-off-by: Kai Kang <kai.kang at windriver.com>
> ---
>  meta/recipes-sato/images/core-image-sato-sdk.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb
> b/meta/recipes-sato/images/core-image-sato-sdk.bb
> index d7cc52b52b..f7963d018e 100644
> --- a/meta/recipes-sato/images/core-image-sato-sdk.bb
> +++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
> @@ -9,3 +9,4 @@ IMAGE_FEATURES += "dev-pkgs tools-sdk \
>  
>  IMAGE_INSTALL += "kernel-devsrc"
>  
> +TEST_QEMUPARAMS = "-m 512"

Any idea what is using so much memory in the image when this happens?

Its rather sad that we can't have NFS+systemd with 256MB memory...

Cheers,

Richard



More information about the Openembedded-core mailing list