buildroot/support
Julien Olivain 7a63a484a2 support/testing/infra/emulator.py: add host load info in run log
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 7a6edbc7b9)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-01 16:46:17 +02:00
..
config-fragments support/config-fragments: fix bootlin-x86-i686-musl 2024-05-22 13:55:43 +02:00
dependencies support/dependencies: require tar >= 1.35 2024-05-09 22:45:07 +02:00
docker support/docker: add qemu-system-misc for riscv runtime tests 2023-08-24 23:20:26 +02:00
download support/download/check-hash: accept hash files without terminating \n 2024-08-20 19:19:18 +02:00
gnuconfig support/gnuconfig: fix previous version bump 2020-09-27 18:30:05 +02:00
kconfig kconfig/lxdialog: fix check() with GCC14 2024-04-30 19:52:01 +02:00
legal-info boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc Update for 2024.05.2 2024-08-14 10:54:30 +02:00
scripts support/scripts/mkusers: accept user tables without terminating \n 2024-08-20 19:18:16 +02:00
testing support/testing/infra/emulator.py: add host load info in run log 2024-09-01 16:46:17 +02:00