diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2023-10-23 02:11:11 +0200 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-10-29 12:45:00 +0100 |
commit | d4d7550108e4e3fe6f9303e2a57379fba10da77d (patch) | |
tree | 92ccb8f04ac8f18e17d23e489cd4bf9553256ec4 /nixos/lib/make-squashfs.nix | |
parent | 3244b1eaefd695fabf3bde663b749e826daf48a7 (diff) |
nixos/test-driver: provide a global timeout
Since the debut of the test-driver, we didn't obtain a race timer with the test execution to ensure that tests doesn't run beyond a certain amount of time. This is particularly important when you are running into hanging tests which cannot be detected by current facilities (requires more pvpanic wiring up, QMP API stuff, etc.). Two easy examples: - Some QEMU tests may get stuck in some situation and run for more than 24 hours → we default to 1 hour max. - Some QEMU tests may panic in the wrong place, e.g. UEFI firmware or worse → end users can set a "reasonable" amount of time And then, we should let the retry logic retest them until they succeed and adjust their global timeouts. Of course, this does not help with the fact that the timeout may need to be a function of the actual busyness of the machine running the tests. This is only one step towards increased reliability.
Diffstat (limited to 'nixos/lib/make-squashfs.nix')
0 files changed, 0 insertions, 0 deletions