public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Tim Orling <ticotimo@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] Introduce PTEST_RUNNER_TIMEOUT variable
Date: Fri, 27 Feb 2026 11:39:27 -0800	[thread overview]
Message-ID: <cover.1772220652.git.tim.orling@konsulko.com> (raw)

In https://bugzilla.yoctoproject.org/show_bug.cgi?id=16163 analysis showed
that one of the root causes is the hard coded 450 second timeout passed to
ptest-runner in lib/oeqa/runtime/cases/ptest.py.

This series introduces the PTEST_RUNNER_TIMEOUT variable, which is consumed
in lib/oeqa/runtime/cases/ptest.py but needs to be updated in testimage.bbclass
to make sure the value of the variable is consumed at runtime.

For python3-cffi which drove the change, the value is set in core-image-ptest.bb
to 600 seconds, as an example of how a per recipe change can be enabled.

The test run on the AutoBuilder cluster that proves this works is:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3136
https://valkyrie.yocto.io/pub/non-release/20260227-113/testresults/qemuarm64-ptest/core-image-ptest-python3-cffi/
where you can see:
PATH=/usr/sbin:/sbin:/usr/bin:/bin; ptest-runner -t 600 -d "/usr/lib"
in https://valkyrie.yocto.io/pub/non-release/20260227-113/testresults/qemuarm64-ptest/core-image-ptest-python3-cffi/log.do_testimage.2323256.20260227191837

[YOCTO #16163]

Tim Orling (3):
  oeqa/runtime/ptest: Make ptest-runner timeout configurable
  core-image-ptest: add PTEST_RUNNER_TIMEOUT
  testimage.bbclass: enable PTEST_RUNNER_TIMEOUT variable

 meta/classes-recipe/testimage.bbclass        | 4 +++-
 meta/lib/oeqa/runtime/cases/ptest.py         | 3 ++-
 meta/recipes-core/images/core-image-ptest.bb | 1 +
 3 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.50.1 (Apple Git-155)



             reply	other threads:[~2026-02-27 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 19:39 Tim Orling [this message]
2026-02-27 19:39 ` [PATCH 1/3] oeqa/runtime/ptest: Make ptest-runner timeout configurable Tim Orling
2026-02-27 19:39 ` [PATCH 2/3] core-image-ptest: add PTEST_RUNNER_TIMEOUT Tim Orling
2026-02-27 19:39 ` [PATCH 3/3] testimage.bbclass: enable PTEST_RUNNER_TIMEOUT variable Tim Orling

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=cover.1772220652.git.tim.orling@konsulko.com \
    --to=ticotimo@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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