Go to file
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
.github .github: add a pull request warning that explains the mailing list workflow 2024-04-24 21:50:23 +02:00
.gitlab/issue_templates gitlab: add default issue template 2024-07-11 00:01:57 +02:00
arch arch: allow riscv32 noMMU configuration 2024-05-12 12:19:18 +02:00
board board/qemu/arm-vexpress-tz: fix typos in readme file 2024-08-31 18:56:03 +02:00
boot boot/syslinux: fix building with GCC 14.x 2024-07-28 09:07:17 +02:00
configs configs/stm32mp157a_dk1: add hashes 2024-07-31 18:44:31 +02:00
docs docs/manual: promote using fixed version for kernel headers when contributing a board 2024-08-29 08:00:37 +02:00
fs fs/tar: use appropriate TAR 2024-06-05 23:31:18 +02:00
linux {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 9}.x series 2024-08-31 23:41:57 +02:00
package package/libcurl: security bump to version 8.9.0 2024-09-01 16:41:00 +02:00
support support/testing/infra/emulator.py: add host load info in run log 2024-09-01 16:46:17 +02:00
system Add BR2_ROOTFS_{PRE_BUILD|POST_{BUILD|FAKEROOT|IMAGE}}_SCRIPT_ARGS 2024-03-28 21:47:04 +01:00
toolchain package/boost: Boost.Atomic needs atomic intrinsics 2024-08-09 21:33:44 +02:00
utils utils/checkpackagelib: extend hint about unprefixed variables 2024-08-12 15:07:43 +02:00
.b4-config .b4-config: configure b4 for Buildroot 2024-08-20 19:11:57 +02:00
.checkpackageignore package/gdb: move GDB 14.x patches to the right folder 2024-09-01 13:56:23 +02:00
.clang-format .clang-format: initial import from Linux 5.15.6 2022-01-01 15:01:13 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.editorconfig editorconfig: leave patch files alone wrt trainling spaces 2024-06-11 21:55:21 +02:00
.flake8 Revert ".flake8: fix check for 80/132 columns" 2021-01-02 17:38:20 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml support/misc/gitlab-ci.yml.in: retry a job only if it failed due to a runner issue 2023-08-27 10:09:37 +02:00
.shellcheckrc utils/check-package: improve shellcheck reproducibility 2022-07-25 23:52:47 +02:00
CHANGES Update for 2024.05.2 2024-08-14 10:54:30 +02:00
Config.in Config.in: drop --passive-ftp from default wget options 2024-06-03 11:18:08 +02:00
Config.in.legacy boot/at91dataflashboot: remove package 2024-06-03 22:53:30 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: add Bernd Kuhls for openvpn 2024-09-01 11:03:51 +02:00
Makefile Update for 2024.05.2 2024-08-14 10:54:30 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README docs: move the IRC channel away from Freenode 2021-05-29 22:16:23 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches