public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Pratik Farkase" <pratik.farkase@est.tech>,
	<openembedded-core@lists.openembedded.org>
Cc: <pratik.farkase@ericsson.com>
Subject: Re: [OE-core][PATCH v2] go: add ptest support
Date: Sun, 08 Mar 2026 17:09:22 +0100	[thread overview]
Message-ID: <DGXJ52WWUKEO.GZLFB46U22IX@bootlin.com> (raw)
In-Reply-To: <20260306172416.23307-1-pratik.farkase@est.tech>

On Fri Mar 6, 2026 at 6:24 PM CET, Pratik Farkase wrote:
> Add ptest infrastructure to test the Go standard library.
>
> - Run 'go test -short std' via run-ptest script
> - Install source tree and pkg/include headers
> - Create VERSION file for architecture detection
> - Exclude multi-arch binary testdata to avoid QA errors
>
> Test results: 237/253 pass (93.7%) on qemux86-64.
>
> Known issues:
> - debug/elf, debug/pe, debug/plan9obj, internal/xcoff: missing binary testdata
> - time: requires embedded timezone data
> - net/http: requires unstripped go binary
> - testing, go/types: minor edge cases
>
> Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
> ---

Hi Pratik,

Thanks for the new version.

On the autobuilder, the OOM killer is triggered on most tests:

[  314.773868] Tasks state (memory values in pages):
[  314.774517] [  pid  ]   uid  tgid total_vm      rss rss_anon rss_file rss_shmem pgtables_bytes swapents oom_score_adj name
[  314.780755] [    138]     0   138     2490      268      235       33         0    49152        0         -1000 udevd
[  314.782773] [    322]     0   322     2379      335      250       85         0    53248        0         -1000 sshd
[  314.801338] [    328]     0   328     1015       53        0       53         0    40960        0             0 syslogd
[  314.811001] [    331]     0   331     1015       53        0       53         0    40960        0             0 klogd
[  314.819041] [    337]     0   337     1029      126       64       62         0    36864        0             0 start_getty
[  314.820980] [    338]     0   338     1029      126       64       62         0    45056        0             0 start_getty
[  314.823947] [    339]     0   339     1015       32        0       32         0    45056        0             0 getty
[  314.826345] [    342]     0   342     1072      153       96       57         0    45056        0             0 sh
[  314.835899] [    343]     0   343     1015       83       32       51         0    40960        0             0 getty
[  314.837471] [    388]     0   388     2619      335      288       47         0    57344        0             0 sshd-session
[  314.849074] [    390]     0   390     2684      454      353      101         0    61440        0             0 sshd-session
[  314.850742] [    391]     0   391      639       73        0       73         0    40960        0             0 ptest-runner
[  314.863046] [    392]     0   392     1028      105       64       41         0    45056        0             0 run-ptest
[  314.868775] [    397]     0   397   335448    14669    14640       29         0   245760        0             0 go
[  314.881173] [    398]     0   398     1028       97       39       58         0    45056        0             0 run-ptest
[  314.882869] [    798]     0   798   371933    60075    60023       20        32   630784        0             0 compile
[  314.893578] [   1230]     0  1230   371846    55334    55248       54        32   589824        0             0 compile
[  314.895156] [   1381]     0  1381   371669    48968    48879       57        32   540672        0             0 compile
[  314.904257] [   1445]     0  1445   371821    50116    50067       17        32   552960        0             0 compile
[  314.907744] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=compile,pid=798,uid=0
[  314.910323] Out of memory: Killed process 798 (compile) total-vm:1487732kB, anon-rss:240092kB, file-rss:408kB, shmem-rss:128kB, UID:0 pgtables:616kB oom_score_adj:0

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3229
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3201
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1196

We might need to increase QEMU memory size. Did you had similar issues
on your side?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2026-03-08 16:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-05 11:02 [OE-core][PATCH v1] go: add ptest support Pratik Farkase
2026-03-06 10:23 ` Mathieu Dubois-Briand
2026-03-06 17:24 ` [OE-core][PATCH v2] " Pratik Farkase
2026-03-06 18:55   ` Jose Quaresma
2026-03-08 16:09   ` Mathieu Dubois-Briand [this message]
2026-03-08 16:58     ` Pratik Farkase
2026-03-09 13:43       ` Mathieu Dubois-Briand
2026-03-18 14:03 ` [OE-core][PATCH v3] " Pratik Farkase
2026-03-19  6:57   ` Mathieu Dubois-Briand
2026-04-13 12:04     ` Pratik Farkase
2026-04-13 12:27       ` Marko, Peter
2026-04-13 22:37         ` Pratik Farkase
2026-04-14 10:10           ` Jose Quaresma
2026-04-14 10:32             ` Pratik Farkase
2026-04-13 12:02 ` [OE-core][PATCH v4] " Pratik Farkase
2026-04-13 22:29 ` [OE-core][PATCH v5] " Pratik Farkase
2026-04-14 10:31 ` [OE-core][PATCH v6] " Pratik Farkase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DGXJ52WWUKEO.GZLFB46U22IX@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pratik.farkase@ericsson.com \
    --cc=pratik.farkase@est.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox