nixpkgs-suyu/nixos/lib/test-driver
Raito Bezarius d4d7550108 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.
2023-10-29 12:45:00 +01:00
..
test_driver nixos/test-driver: provide a global timeout 2023-10-29 12:45:00 +01:00
default.nix nixos/test-driver: convert to pyproject from setup.py 2023-09-30 10:17:47 +02:00
extract-docstrings.py nixos/test-driver: apply ruff fixes & suggestions 2023-09-30 10:31:22 +02:00
nixos-test-driver-docstrings.nix integration test driver: Auto-generate integration test driver's machine 2023-07-10 08:51:52 +02:00
pyproject.toml nixos/test-driver: disable typecheck for dependencies where don't have typing 2023-09-30 10:18:07 +02:00
shell.nix nixos/test-driver: add shell.nix 2023-09-30 10:18:07 +02:00