additionally exposed symbols: alice, bob, clare, start_all, machines, driver, Machine, wait_for_signal Starting alice Starting bob Starting clare <<< NixOS Stage 2 >>> booting system configuration /nix/store/ipz7msdx82ik3ciy9v48nrpxpd55cb09-nixos-system-alice-test running activation script... setting up /etc... 2: host0@if5: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 06:dd:de:95:f1:d3 brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture x86-64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (x86_64) - console >>> + systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo 44d72c34-8a10-445b-bb70-4bcc01d3f4fa' Running as unit: run-p304-i64889667.service; invocation ID: 4ba008ab5aeb4b99aac127b224e943e4 To attach to container alice run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*44d72c34-8a10-445b-bb70-4bcc01d3f4fa') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/05xfwnl62nipbw1ankbcv2crjhb9a918-python3-3.13.14/bin/python3.13 /nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 44d72c34-8a10-445b-bb70-4bcc01d3f4fa <<< NixOS Stage 2 >>> booting system configuration /nix/store/621b27mwpxajpkx62v4hcjccmwfjw9ml-nixos-system-bob-test running activation script... setting up /etc... 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether aa:19:d6:6d:3e:38 brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture x86-64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (x86_64) - console >>> + systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo d5087bff-ebe3-4955-9a8c-4ec96801605c' Running as unit: run-p352-i64889677.service; invocation ID: 72cf4d1471d44ae486d62765cbabf39d To attach to container bob run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*d5087bff-ebe3-4955-9a8c-4ec96801605c') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/05xfwnl62nipbw1ankbcv2crjhb9a918-python3-3.13.14/bin/python3.13 /nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py d5087bff-ebe3-4955-9a8c-4ec96801605c <<< NixOS Stage 2 >>> booting system configuration /nix/store/y9wy8p43w3pg4vy0k37ynviykjaj6wd1-nixos-system-clare-test running activation script... setting up /etc... 2: host0@if4: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 82:a2:7e:37:e3:3a brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) Detected virtualization systemd-nspawn. Detected architecture x86-64. Detected first boot. Initializing machine ID from container UUID. Applying preset policy. Populated /etc with preset unit settings. Queued start job for default target Multi-User System. <<< Welcome to NixOS test (x86_64) - console >>> + systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo 3dd8cb01-9920-404f-aebe-cd192ea54cc7' Running as unit: run-p314-i64889680.service; invocation ID: dbea7740527e4142bb90dfc5c1e3df98 To attach to container clare run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3dd8cb01-9920-404f-aebe-cd192ea54cc7') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/05xfwnl62nipbw1ankbcv2crjhb9a918-python3-3.13.14/bin/python3.13 /nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 3dd8cb01-9920-404f-aebe-cd192ea54cc7 + systemctl --no-pager show ncps + systemctl status ncps + systemctl --no-pager show harmonia + systemctl status harmonia alice: waiting for success: curl bob:8502/nix-cache-info + curl bob:8502/nix-cache-info % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 50 100 50 0 0 38284 0 0 (finished: waiting for success: curl bob:8502/nix-cache-info, in 0.01 seconds) bob: waiting for success: curl clare:5000/nix-cache-info + curl clare:5000/nix-cache-info % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 51 100 51 0 0 46703 0 0 (finished: waiting for success: curl clare:5000/nix-cache-info, in 0.01 seconds) + nix-build --expr $'\n builtins.derivation {\n name = "hi";\n builder = "/bin/sh";\n args = [ "-c" "echo hi > $out" ];\n system = "x86_64-linux";\n }\n' Traceback (most recent call last): File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/bin/.nixos-test-driver-wrapped", line 9, in sys.exit(main()) ~~~~^^ File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 757, in main driver.run_tests() ~~~~~~~~~~~~~~~~^^ File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 693, in run_tests self.test_script() ~~~~~~~~~~~~~~~~^^ File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 689, in test_script exec(self.testscript, self.test_symbols(), None) # noqa: S102 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 15, in File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 468, in succeed raise RuntimeError(msg) RuntimeError: Failed to run command nix-build --expr ' builtins.derivation { name = "hi"; builder = "/bin/sh"; args = [ "-c" "echo hi > $out" ]; system = "x86_64-linux"; } ' 2>&1 Exit code: 1 Stdout: error: … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'hi' whose name attribute is located at «string»:3:5 error: cannot open connection to remote store 'daemon': error: read of 32768 bytes: Connection reset by peer