-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
nixos/test-driver: add support for nspawn containers #478109
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
Merged
Ma27
merged 37 commits into
NixOS:staging-nixos
from
applicative-systems:nixos-test-containers
Mar 18, 2026
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
a88839a
nixos/nspawn-container: add support for shared directory
kmein 628195b
nixos/virtualisation: correct virtualisation.vlans docstring
kmein 197287d
nixos/test-driver: fix typo
kmein 799cafc
nixos/test-driver: refactor Machine to BaseMachine and QemuMachine
kmein 23f1e63
nixos/test-driver: add support for nspawn containers
kmein 1bbcf46
nixos/tests: add nspawn container bittorrent integration test
kmein 930f45e
nixos/tests: add nspawn container integration test
kmein 7c82198
nixos/test-driver: fix grammar and typos
kmein 0702405
nixos/test-driver: implement container↔VM networking
kmein d90e24b
nixos/test-driver: deprecate --keep-vm-state in favour of --keep-mach…
kmein 47b08df
nixos/test-driver: deprecate copy_from_vm in favour of copy_from_machine
kmein 898fc1d
nixos/tests: move container integration test to nixos-test-driver.con…
kmein 4cd7413
nixos/test-driver: rename machine properties to machines_{qemu,nspawn}
kmein 1dbb174
nixos/test-driver: improve overlapping machine name warning
kmein 8e0487c
nixos/test-driver: use systemd container interface for SSH backdoor
kmein 0d1a353
nixos/test-driver: provide all machines from read-only allMachines op…
kmein 884c63f
nixos/test-driver: remove superfluous machine methods
kmein a4fa7a9
nixos/test-driver: stream nspawn container journal
kmein 0e1d359
nixos/test-driver: add machine name to all log output
kmein 2e959ab
nixos/test-driver: do not set -x commands in nspawn containers
kmein f1d0d7a
nixos/test-driver: document rationale for creating /etc/os-release
kmein 019697d
nixos/test-driver: document implications of sourcing /etc/profile wit…
kmein af0238c
nixos/virtualisation: assert nspawn container name length
kmein 3acd5ca
nixos/virtualisation: disallow specialisation in nspawn-container
kmein 1846748
nixos/test-driver: remove systemd dependency if no containers are con…
kmein 9988469
nixos/test-driver: show all lines of container journal
kmein 1118384
nixos/test-driver: use long options for journalctl call
kmein 8c8bf9b
nixos/test-driver: required vm_names and container_names
kmein c4c96a7
nixos/test-driver: wait for READY message from nspawn container
kmein 2038234
nixos/tests: remove firewall configuration
kmein e4df4c2
nixos/test-driver: disable DHCP in nspawn containers
kmein 3dc77ba
nixos/test-driver: exponential backoff and logging for nspawn startup
kmein 6d466ec
nixos/test-driver: thread-safe polling of nspawn container journal
kmein d1386a4
nixos/virtualisation: provide actionable advice on VLAN TAP failure
kmein 7f6ea2a
nixos/test-driver: make /etc/hosts resolution VLAN-aware
kmein 8615a25
nixos/test-driver: make /etc/hosts VLAN-aware with primary IP fallback
kmein 01d5f7a
nixos/test-driver: pass containers to tests
kmein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.