On Mon, Jan 27, 2020 at 1:46 PM Alexander Kanavin <[email protected]> wrote: > > This would be over-engineering; I highly doubt anyone would want to run this > in qemu for any other architecture than those two. Without kvm or other HW > accelerated virtualization many of those ptests will simply fail on timeout, > and if not, they'll still be running when the heat death of the universe > occurs.
I was not aware if this image is only meant for x86/arm64. I do build the same images as AB for qemumips and boot them, although tests are not run yet regularly matter of time. But building them itself catches many build issues. if these images do not have value for other machines then perhaps some message or comment in recipe, will save some debugging time for someone in future who is trying to boot it on other arches. > > Alex > > On Mon, 27 Jan 2020 at 22:02, Khem Raj <[email protected]> wrote: >> >> On Mon, Jan 27, 2020 at 12:56 PM Alexander Kanavin >> <[email protected]> wrote: >> > >> > This is only used on x86_64 and arm64 by the autobuilder, so we should be >> > fine. >> > >> >> OK. lets set this for those two architectures for now. The image can >> be built beyond Autobuilders for >> other arches as well. Perhaps this setting is a candidate for auto.conf on AB >> >> > Alex >> > >> > On Mon, 27 Jan 2020 at 21:54, Khem Raj <[email protected]> wrote: >> >> >> >> On Mon, Jan 27, 2020 at 6:20 AM Alexander Kanavin >> >> <[email protected]> wrote: >> >> > >> >> > Particularly, 1G wasn't enough for lttng-tools ptests as >> >> > half of that went to /tmp, and lttng-tools needs more. >> >> > >> >> > Signed-off-by: Alexander Kanavin <[email protected]> >> >> > --- >> >> > meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 3 ++- >> >> > 1 file changed, 2 insertions(+), 1 deletion(-) >> >> > >> >> > diff --git a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb >> >> > b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb >> >> > index 7490b773d2e..58c257c49fb 100644 >> >> > --- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb >> >> > +++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb >> >> > @@ -16,4 +16,5 @@ IMAGE_OVERHEAD_FACTOR = "1.0" >> >> > IMAGE_ROOTFS_EXTRA_SPACE = "1124288" >> >> > >> >> > # ptests need more memory than standard to avoid the OOM killer >> >> > -QB_MEM = "-m 1024" >> >> > +# also lttng-tools needs /tmp that has at least 1G >> >> > +QB_MEM = "-m 2048" >> >> >> >> perhaps we need to be cautious here and check if all qemu machines can >> >> support 2G emulation. >> >> >> >> > -- >> >> > 2.17.1 >> >> > >> >> > -- >> >> > _______________________________________________ >> >> > Openembedded-core mailing list >> >> > [email protected] >> >> > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
