public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "David Nyström" <david.nystrom@est.tech>, daniel.turull@ericsson.com
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>,
	"pratik.farkase@est.tech" <pratik.farkase@est.tech>,
	bruce.ashfield@gmail.com
Subject: Re: [OE-core] [PATCH 2/2] oeqa: replace runltp with kirk
Date: Fri, 27 Mar 2026 15:40:44 +0000	[thread overview]
Message-ID: <f9aacf9124191baa4386fbcca1db435a08f8ccbf.camel@linuxfoundation.org> (raw)
In-Reply-To: <550d7d85-7e12-53d6-3dad-ff8e7a20ccd8@est.tech>

On Fri, 2026-03-27 at 13:30 +0100, David Nyström wrote:
> 
> On Thu, 26 Mar 2026, Daniel Turull via lists.openembedded.org wrote:
> 
> > Just an update.
> > 
> > It is taking a bit more time than expected. My original test only
> > covered the math test suite in ltp to verify the functionality.
> > 
> > Some of the ltp test are failing with OOM, some related to systemd-
> > udev. I'll be disabling them now to have a working ltp. Then look
> > at the underlaying issues.
> > 
> > So far I have found 4 failing test cases. Using the default config
> > without any changes with qemux86-64
> > 
> > min_free_kbytes (mm) (OOM)
> 
> This seems to be a buggy testcase for automation. Disable until its
> fixed. 
> Even if the test own memory consumers sets their own OOM-score
> higher, 
> there are still chances that the OOM-killer kill the wrong things.
> 
> > pty07 (pty) (OOM)
> > ptem02 (pty) (OOM)
> 
> These seem to me to be related to systemd-udevd having unbounded
> message 
> queue sizes to its udev workers. IMO, this is a systemd-udevd issue. 
> Some other udev implementations starts dropping events.
> 
> We should have seen this when using runltp as well ?
> 
> Death spiral: systemd_259.5 
> 1. Test tight loop creating devices floods systemd-udevd's workers 
> unbounded inbox queue(s). 
> - Single core, low mem, and long running udev rules makes the problem
> worse.
> 2. systemd-udevd grows to consume all available RAM
> 3. OOM killer kills everything but systemd-udevd (OOMScoreAdjust=-
> 1000)
> 4. Kernel panic: "no killable processes"

Are the systemd developers aware of this?

You're correct that the ltp testing as currently run does sometimes
seem to have issues and not all tests pass. It is something we've been
wanting to look into and resolve but simply haven't had time.

Finding an issue like the systemd one does hint that there may be value
in some of the testing.

Ideally we'd identify and disable the problematic tests, then we would
know any failures were new and potential issues. The new version of the
patch series from Daniel does move us forward with that, thanks!

Cheers,

Richard






  reply	other threads:[~2026-03-27 15:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-25  8:40 [PATCH 1/2] python3-kirk: Add version 4.0.0 daniel.turull
2026-03-25  8:40 ` [PATCH 2/2] oeqa: replace runltp with kirk daniel.turull
2026-03-25 12:38   ` [OE-core] " Alexander Kanavin
2026-03-25 13:37     ` Daniel Turull
2026-03-25 12:58   ` Bruce Ashfield
2026-03-25 13:02     ` Alexander Kanavin
2026-03-25 13:45       ` Daniel Turull
2026-03-25 13:44     ` Daniel Turull
2026-03-25 14:22       ` Bruce Ashfield
2026-03-25 14:41         ` Daniel Turull
2026-03-25 16:35   ` Richard Purdie
2026-03-25 16:42     ` [OE-core] " Daniel Turull
2026-03-26 13:02     ` Daniel Turull
2026-03-27 12:30       ` David Nyström
2026-03-27 15:40         ` Richard Purdie [this message]
2026-03-27 15:45           ` Daniel Turull
2026-03-25 12:34 ` [OE-core] [PATCH 1/2] python3-kirk: Add version 4.0.0 Alexander Kanavin
2026-03-25 13:26   ` Daniel Turull

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=f9aacf9124191baa4386fbcca1db435a08f8ccbf.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bruce.ashfield@gmail.com \
    --cc=daniel.turull@ericsson.com \
    --cc=david.nystrom@est.tech \
    --cc=openembedded-core@lists.openembedded.org \
    --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