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 v3] go: add ptest support
Date: Thu, 19 Mar 2026 07:57:16 +0100	[thread overview]
Message-ID: <DH6KACIJTUKF.2I7WOQSMNY39E@bootlin.com> (raw)
In-Reply-To: <20260318140356.7609-1-pratik.farkase@est.tech>

On Wed Mar 18, 2026 at 3:03 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>
> ---
> Changes in v3:
> - Move go from PTESTS_FAST to PTESTS_SLOW (~45min runtime)
>   inside ptest-packagelists.inc
>
> Changes in v2:
> - Exclude .elf* files to fix QA arch errors on all architectures
> - Exclude *-x86-64* files to fix additional arch-specific test binaries
> - Tested on x86-64, x86, aarch64, and arm builds
> ---

Hi Pratik,

Thanks for the new version, but we still have some failures:

WARNING: core-image-ptest-go-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
    self.do_ptestrunner()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 121, in do_ptestrunner
    self.fail(failmsg)
    ~~~~~~~~~^^^^^^^^^
AssertionError: ERROR: Processes were killed by the OOM Killer:
[  132.843492] Out of memory: Killed process 769 (compile) total-vm:1553664kB, anon-rss:256564kB, file-rss:0kB, shmem-rss:128kB, UID:0 pgtables:644kB oom_score_adj:0


Failed ptests:
{'go': ['archive/tar',
        'archive/zip',
        'bufio',
        'bytes',
        'cmp',
        'compress/bzip2',
        'compress
	...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3319
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3294
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1277

Thanks,
Mathieu

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



  reply	other threads:[~2026-03-19  6:57 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
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 [this message]
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=DH6KACIJTUKF.2I7WOQSMNY39E@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