New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu_test: disable features that are not needed for tests (closure 641 -> 335.3M) #49403
Commits on Oct 19, 2020
-
qemu: strip down the features for the test runner
This allows much faster VM-test based systemd testing as the closure of qemu suddenly shrinks to reasonable sizes again.
Configuration menu - View commit details
-
Copy full SHA for e79eed4 - Browse repository at this point
Copy the full SHA e79eed4View commit details -
nixos/tests: make the
driver
attribute use a rich qemuSince we previously stripped down the features of `qemu_test` some of the features users are used to while running tests through the (impure) driver didn't work anymore. Most notably we lost support for graphical output and audio. With this change the `driver` attribute uses are more feature complete version of QEmu compared to the one used in the pure Nix builds. This gives us the best of both worlds. Users are able to see the graphical windows of VMs while CI and regular nix builds do not have to download all the (unnecessary) dependencies.
Configuration menu - View commit details
-
Copy full SHA for c096880 - Browse repository at this point
Copy the full SHA c096880View commit details -
nixos/tests: expose both the interactive and non-interactive driver
For a lot of the work the non-interactive drivers are enough and it is probably a good idea to keep it accessible for debugging without touching the Nix expression.
Configuration menu - View commit details
-
Copy full SHA for 20893b3 - Browse repository at this point
Copy the full SHA 20893b3View commit details -
qemu: make ncurses optional for the test runner
This shaves another 3MB off the closure size of QEMU.
Configuration menu - View commit details
-
Copy full SHA for 2451796 - Browse repository at this point
Copy the full SHA 2451796View commit details -
Configuration menu - View commit details
-
Copy full SHA for e127ba7 - Browse repository at this point
Copy the full SHA e127ba7View commit details -
nixos/tests: make sure we use the qemu_test package to provide the Gu…
…est Agent This reduces the closure size for the minimal test by a lot since we no longer have to build the regular QEMU for even the simplest test.
Configuration menu - View commit details
-
Copy full SHA for 8ed57ac - Browse repository at this point
Copy the full SHA 8ed57acView commit details -
iptuils: Remove systemd from dependencies
In our case systemd is only used to figure out if the unit files should be generated.
Configuration menu - View commit details
-
Copy full SHA for 54e6cfc - Browse repository at this point
Copy the full SHA 54e6cfcView commit details -
iputils: apply proposed upstream patch to get rid of systemd dependency
This allows us to get rid of the hack and the systemd dependency and thus reduces the rebuild closure whenever systemd changes.
Configuration menu - View commit details
-
Copy full SHA for 0a55c5d - Browse repository at this point
Copy the full SHA 0a55c5dView commit details -
libndctl: clarify that it needs udev not systemd
While (currently) it is the same package it carries more information if we explicitly state that we want udev.
Configuration menu - View commit details
-
Copy full SHA for 16a7ff5 - Browse repository at this point
Copy the full SHA 16a7ff5View commit details