diff mbox series

core-image-ptest: Increase disk size to 1.5G for strace ptest image

Message ID 20240130203219.4155783-1-raj.khem@gmail.com
State Accepted, archived
Commit 19687ca10ccacb3603d6ac703f3ace20e16403c8
Headers show
Series core-image-ptest: Increase disk size to 1.5G for strace ptest image | expand

Commit Message

Khem Raj Jan. 30, 2024, 8:32 p.m. UTC
Autobuilder sees and intermittent failure on strace tests and it occurs
quite often therefore bump the size of image as the space requirement is
more now with parallel execution enabled.

[YOCTO #15370]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/images/core-image-ptest.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre Belloni Jan. 31, 2024, 4:45 p.m. UTC | #1
On 30/01/2024 12:32:19-0800, Khem Raj wrote:
> Autobuilder sees and intermittent failure on strace tests and it occurs
> quite often therefore bump the size of image as the space requirement is
> more now with parallel execution enabled.
> 

Note that I've resisted doing this because I'm still not sure this is
what is happening, I've added a patch to clean up a bit more after each
test which should have been enough. From my testing, I can't reproduce
locally and I don't see some much space being used in the image itself.

> [YOCTO #15370]

Isn't it 15220 ? :)

> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-core/images/core-image-ptest.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb
> index b6f5c2fd604..f2d0ae94b89 100644
> --- a/meta/recipes-core/images/core-image-ptest.bb
> +++ b/meta/recipes-core/images/core-image-ptest.bb
> @@ -21,7 +21,7 @@ BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS').split()]
>  IMAGE_OVERHEAD_FACTOR = "1.0"
>  IMAGE_ROOTFS_EXTRA_SPACE = "324288"
>  IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288"
> -IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288"
> +IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1524288"
>  IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288"
>  
>  # tar-ptest in particular needs more space
> -- 
> 2.43.0
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#194504): https://lists.openembedded.org/g/openembedded-core/message/194504
> Mute This Topic: https://lists.openembedded.org/mt/104062115/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Jan. 31, 2024, 5:15 p.m. UTC | #2
On Wed, Jan 31, 2024 at 8:45 AM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> On 30/01/2024 12:32:19-0800, Khem Raj wrote:
> > Autobuilder sees and intermittent failure on strace tests and it occurs
> > quite often therefore bump the size of image as the space requirement is
> > more now with parallel execution enabled.
> >
>
> Note that I've resisted doing this because I'm still not sure this is
> what is happening, I've added a patch to clean up a bit more after each
> test which should have been enough. From my testing, I can't reproduce
> locally and I don't see some much space being used in the image itself.

OK. I just posted it since, it happened once for me earlier last week and it
seems to be happening quite frequently as seen in bug reports.

>
> > [YOCTO #15370]
>
> Isn't it 15220 ? :)

ah yes.

>
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-core/images/core-image-ptest.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb
> > index b6f5c2fd604..f2d0ae94b89 100644
> > --- a/meta/recipes-core/images/core-image-ptest.bb
> > +++ b/meta/recipes-core/images/core-image-ptest.bb
> > @@ -21,7 +21,7 @@ BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS').split()]
> >  IMAGE_OVERHEAD_FACTOR = "1.0"
> >  IMAGE_ROOTFS_EXTRA_SPACE = "324288"
> >  IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288"
> > -IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288"
> > +IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1524288"
> >  IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288"
> >
> >  # tar-ptest in particular needs more space
> > --
> > 2.43.0
> >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#194504): https://lists.openembedded.org/g/openembedded-core/message/194504
> > Mute This Topic: https://lists.openembedded.org/mt/104062115/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
diff mbox series

Patch

diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb
index b6f5c2fd604..f2d0ae94b89 100644
--- a/meta/recipes-core/images/core-image-ptest.bb
+++ b/meta/recipes-core/images/core-image-ptest.bb
@@ -21,7 +21,7 @@  BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS').split()]
 IMAGE_OVERHEAD_FACTOR = "1.0"
 IMAGE_ROOTFS_EXTRA_SPACE = "324288"
 IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288"
-IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288"
+IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1524288"
 IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288"
 
 # tar-ptest in particular needs more space