You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into issues in the past with cgroups: NixOS/nix#13135
We are unsure if it's safe to expose /dev/net in the build sandbox. This is only required for nspawn <-> qemu communication, so we could disable just those tests (nixosTests.nixos-test-driver.containers) while still allow for tests that are purely nspawn containers (such as nixosTests.test-containers-bittorrent).
FYI, @kmein@tfc. Tests that rely upon /dev/net are currently disabled in hydra. I've added this to the infra team's list of topics to discuss this week. Edit: busy meeting this week, we will discuss next time.
Discussed in today's team meeting with @mweinelt. It doesn't sound like exposing /dev/net into the build sandbox is a good idea. That's fine, though, as we don't actually have any interesting tests that do communication between qemu and nspawn containers (we just have a proof of concept test).
Activity
nixos/tests: disable `nixosTests.nixos-test-driver.containers` for now
builders: add support for systemd-nspawn containers
jfly commentedon Mar 31, 2026
FYI, @kmein @tfc. Tests that rely upon
/dev/netare currently disabled in hydra.I've added this to the infra team's list of topics to discuss this week.Edit: busy meeting this week, we will discuss next time.jfly commentedon Apr 16, 2026
Discussed in today's team meeting with @mweinelt. It doesn't sound like exposing
/dev/netinto the build sandbox is a good idea. That's fine, though, as we don't actually have any interesting tests that do communication between qemu and nspawn containers (we just have a proof of concept test).Let's make sure we have a warning about this.
Edit: we do have a warning: https://github.com/NixOS/nixpkgs/blob/c86aab74f391d7393f420a0ac7f97e5ba3067cbc/nixos/modules/virtualisation/nspawn-container/run-nspawn/src/run_nspawn/__init__.py#L93-L96, unfortunately, it shows up even for tests that don't use qemu machines.
Edit edit: I'm exploring getting rid of the
/dev/net/tunrequirement entirely: NixOS/nixpkgs#512268nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
nixos/test-driver: drop `/dev/net/tun` requirement for vm <-> contain…
mweinelt commentedon Jun 18, 2026
This has been in place since late May.