nixpkgs/nixos/lib/testing
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
..
call-test.nix nixos/testing: Fix release.nix tests evaluation 2022-09-29 10:49:09 +02:00
default.nix lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
driver.nix nixos/test-driver: provide a global timeout 2023-10-29 12:45:00 +01:00
interactive.nix nixos/testing: Improve interactive docs 2022-09-24 17:42:52 +01:00
legacy.nix nixos/tests: remove minimal-kernel module 2022-12-22 01:42:15 +01:00
meta.nix nixos/lib/testing: set default timeout for VM tests 2023-02-16 19:17:53 +03:00
name.nix nixos/doc: Disambiguate test option ids 2022-09-29 12:41:59 +02:00
network.nix nixos/qemu-vm: quoted string reformat 2023-05-24 08:54:22 +10:00
nixos-test-base.nix nixos/testing: Extract nixos-test-base.nix NixOS module 2022-09-24 17:38:09 +01:00
nodes.nix nixos/testing: fix eval for tests created without make-python-test.nix 2023-10-06 23:52:04 +03:00
pkgs.nix nixos/testing: Add pkgs parameter 2022-09-21 10:55:11 +01:00
run.nix nixos/testing: Improve option docs 2022-09-24 17:38:10 +01:00
testScript.nix nixos/documentation: deprecate docbook option docs 2023-01-22 17:08:40 +01:00