diff mbox series

[2/3] oeqa/selftest/cases/gcc.py: Increase QEMU RAM to 4GB

Message ID 20250821032424.92606-2-Harish.Sadineni@windriver.com
State New
Headers show
Series [1/3] gcc: Oe-selftest failure analysis - fix for pr90579.c test failures | expand

Commit Message

Sadineni, Harish Aug. 21, 2025, 3:24 a.m. UTC
From: Harish Sadineni <Harish.Sadineni@windriver.com>

The test pr61599-1.c fails because it requires more than 3GB of RAM.
This change increases the allocated RAM to 4GB to prevent test failures.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
---
 meta/lib/oeqa/selftest/cases/gcc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Khem Raj Aug. 21, 2025, 5:19 a.m. UTC | #1
On Wed, Aug 20, 2025 at 8:25 PM Sadineni, Harish via
lists.openembedded.org
<Harish.Sadineni=windriver.com@lists.openembedded.org> wrote:
>
> From: Harish Sadineni <Harish.Sadineni@windriver.com>
>
> The test pr61599-1.c fails because it requires more than 3GB of RAM.
> This change increases the allocated RAM to 4GB to prevent test failures.
>
> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
> ---
>  meta/lib/oeqa/selftest/cases/gcc.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py
> index 1bda29a72b..8025c8ac87 100644
> --- a/meta/lib/oeqa/selftest/cases/gcc.py
> +++ b/meta/lib/oeqa/selftest/cases/gcc.py
> @@ -79,7 +79,7 @@ class GccSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
>          bitbake("core-image-minimal")
>
>          # wrap the execution with a qemu instance
> -        with runqemu("core-image-minimal", runqemuparams = "nographic") as qemu:
> +        with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams=" -m 4096") as qemu:

It will be good to add a comment here, so we dont have to dig in git history.

>              # validate that SSH is working
>              status, _ = qemu.run("uname")
>              self.assertEqual(status, 0)
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#222201): https://lists.openembedded.org/g/openembedded-core/message/222201
> Mute This Topic: https://lists.openembedded.org/mt/114812116/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py
index 1bda29a72b..8025c8ac87 100644
--- a/meta/lib/oeqa/selftest/cases/gcc.py
+++ b/meta/lib/oeqa/selftest/cases/gcc.py
@@ -79,7 +79,7 @@  class GccSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
         bitbake("core-image-minimal")
 
         # wrap the execution with a qemu instance
-        with runqemu("core-image-minimal", runqemuparams = "nographic") as qemu:
+        with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams=" -m 4096") as qemu:
             # validate that SSH is working
             status, _ = qemu.run("uname")
             self.assertEqual(status, 0)