Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] support/testing/infra/emulator.py: add host load info in run log
Date: Sun, 28 Jul 2024 21:51:13 +0200	[thread overview]
Message-ID: <20240728215113.7c271d4e@windsurf> (raw)
In-Reply-To: <20240728154617.41716-1-ju.o@free.fr>

On Sun, 28 Jul 2024 17:46:17 +0200
Julien Olivain <ju.o@free.fr> wrote:

> Runtime tests running on test runners are subject to a high
> variability in term of performance and timing. Most or the runtime
> test commands are executed with a timeout, in pexpect.
> 
> Slow or very loaded test runners can use the timeout_multiplier to
> globally increase those timeouts.
> 
> Some runtime test commands sometimes needs to poll or query a state,
> rather than having purely sequential actions. It is sometimes hard to
> know, from the test writer point of view, the maximum timeout to set, or
> if a retry logic is needed.
> 
> In order to help debugging runtime tests failing due very slow
> execution, this commit adds extra information on the host test runner
> about its load in the run log. Relevant information are: number of
> cpus, the load average at the moment the emulator is started and the
> current timeout_multiplier.
> 
> Note: this change was discussed in:
> https://lists.buildroot.org/pipermail/buildroot/2024-July/759119.html
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
>  support/testing/infra/emulator.py | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-07-28 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-28 15:46 [Buildroot] [PATCH 1/1] support/testing/infra/emulator.py: add host load info in run log Julien Olivain
2024-07-28 19:51 ` Thomas Petazzoni via buildroot [this message]
2024-09-01 14:49 ` Peter Korsgaard

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=20240728215113.7c271d4e@windsurf \
    --to=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=ricardo.martincoski@datacom.com.br \
    --cc=thomas.petazzoni@bootlin.com \
    /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