The new nixos test container infrastructure requires a few tweaks to our machines:
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).
The new nixos test container infrastructure requires a few tweaks to our machines:
/dev/netis required for nspawn↔qemu networking nixpkgs#503006We ran into issues in the past with cgroups: NixOS/nix#13135
We are unsure if it's safe to expose
/dev/netin 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 asnixosTests.test-containers-bittorrent).