buildroot/support
Julien Olivain 7a6edbc7b9 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>
2024-07-28 21:51:01 +02:00
..
config-fragments support/config-fragments: fix bootlin-x86-i686-musl 2024-05-22 13:55:43 +02:00
dependencies package: add support for extracting zstd archives 2024-07-14 22:47:15 +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-07-14 22:58:04 +02:00
gnuconfig support/gnuconfig: update config.sub/config.guess 2024-07-12 14:47:07 +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.1 2024-07-13 14:11:55 +02:00
scripts support/scripts/genimage.sh: support creating a bmap image 2024-07-15 15:44:35 +02:00
testing support/testing/infra/emulator.py: add host load info in run log 2024-07-28 21:51:01 +02:00