Re: [OE-core][PATCH v2] go: add ptest support

Mathieu Dubois-Briand
2026-03-09T13:43:47Z

On Sun Mar 8, 2026 at 5:58 PM CET, Pratik Farkase wrote:
> Hi Mathieu,
>
> Thanks for testing!
>
> Yes, Go ptest requires significant RAM due to on-the-fly compilation during testing.
> On my setup (qemux86-64 with 4GB RAM), tests complete successfully in ~45 minutes.
>
> The minimum RAM requirement appears to be ~2GB. With less RAM, the OOM killer
> terminates compile processes as you've seen.
>
> Options:
> 1. Increase QB_MEM for go-ptest in the recipe
>
> This is similar to other resource-intensive ptests like gcc or llvm.
>
> What would be the preferred approach for OpenEmbedded-Core?
>
> Thanks,
> Pratik
>

Hi Pratik,

I believe increasing QB_MEM is the way to go, but some reviewers might
have a different opinion.

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering