container-test-run-ncps
default.checks.x86_64-linux.ncps
· build #235
· raw
1additionally exposed symbols:2 alice, bob, clare,3 start_all, machines, driver, Machine, wait_for_signal4Starting alice5Starting bob6Starting clare7891011<<< NixOS Stage 2 >>>1213booting system configuration /nix/store/ipz7msdx82ik3ciy9v48nrpxpd55cb09-nixos-system-alice-test14running activation script...15setting up /etc...162: host0@if5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100017 link/ether 06:dd:de:95:f1:d3 brd ff:ff:ff:ff:ff:ff link-netnsid 018setting up age secrets...19starting systemd...20systemd 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)21Detected virtualization systemd-nspawn.22Detected architecture x86-64.23Detected first boot.24Initializing machine ID from container UUID.25Applying preset policy.26Populated /etc with preset unit settings.27Queued start job for default target Multi-User System.28293031<<< Welcome to NixOS test (x86_64) - console >>>32+ systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo 44d72c34-8a10-445b-bb70-4bcc01d3f4fa'33Running as unit: run-p304-i64889667.service; invocation ID: 4ba008ab5aeb4b99aac127b224e943e434To attach to container alice run on the same machine that runs the test:35 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*44d72c34-8a10-445b-bb70-4bcc01d3f4fa') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3637To inject external network and continue test, run:38sudo /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-4bcc01d3f4fa3940<<< NixOS Stage 2 >>>4142booting system configuration /nix/store/621b27mwpxajpkx62v4hcjccmwfjw9ml-nixos-system-bob-test43running activation script...44setting up /etc...452: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100046 link/ether aa:19:d6:6d:3e:38 brd ff:ff:ff:ff:ff:ff link-netnsid 047setting up age secrets...48starting systemd...49systemd 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)50Detected virtualization systemd-nspawn.51Detected architecture x86-64.52Detected first boot.53Initializing machine ID from container UUID.54Applying preset policy.55Populated /etc with preset unit settings.56Queued start job for default target Multi-User System.57585960<<< Welcome to NixOS test (x86_64) - console >>>61+ systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo d5087bff-ebe3-4955-9a8c-4ec96801605c'62Running as unit: run-p352-i64889677.service; invocation ID: 72cf4d1471d44ae486d62765cbabf39d63To attach to container bob run on the same machine that runs the test:64 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*d5087bff-ebe3-4955-9a8c-4ec96801605c') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6566To inject external network and continue test, run:67sudo /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-4ec96801605c6869<<< NixOS Stage 2 >>>7071booting system configuration /nix/store/y9wy8p43w3pg4vy0k37ynviykjaj6wd1-nixos-system-clare-test72running activation script...73setting up /etc...742: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100075 link/ether 82:a2:7e:37:e3:3a brd ff:ff:ff:ff:ff:ff link-netnsid 076setting up age secrets...77starting systemd...78systemd 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)79Detected virtualization systemd-nspawn.80Detected architecture x86-64.81Detected first boot.82Initializing machine ID from container UUID.83Applying preset policy.84Populated /etc with preset unit settings.85Queued start job for default target Multi-User System.86878889<<< Welcome to NixOS test (x86_64) - console >>>90+ systemd-run /bin/sh -c '/nix/store/5kcc5rnag7yymmsr6yqs7993xpdqs62w-coreutils-9.11/bin/sleep 999999999 && echo 3dd8cb01-9920-404f-aebe-cd192ea54cc7'91Running as unit: run-p314-i64889680.service; invocation ID: dbea7740527e4142bb90dfc5c1e3df9892To attach to container clare run on the same machine that runs the test:93 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3dd8cb01-9920-404f-aebe-cd192ea54cc7') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 9495To inject external network and continue test, run:96sudo /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-cd192ea54cc797+ systemctl --no-pager show ncps98+ systemctl status ncps99+ systemctl --no-pager show harmonia100+ systemctl status harmonia101alice: waiting for success: curl bob:8502/nix-cache-info102+ curl bob:8502/nix-cache-info103 % Total % Received % Xferd Average Speed Time Time Time Current104 Dload Upload Total Spent Left Speed105100 50 100 50 0 0 38284 0 0106(finished: waiting for success: curl bob:8502/nix-cache-info, in 0.01 seconds)107bob: waiting for success: curl clare:5000/nix-cache-info108+ curl clare:5000/nix-cache-info109 % Total % Received % Xferd Average Speed Time Time Time Current110 Dload Upload Total Spent Left Speed111100 51 100 51 0 0 46703 0 0112(finished: waiting for success: curl clare:5000/nix-cache-info, in 0.01 seconds)113+ 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'114115116117Traceback (most recent call last):118 File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/bin/.nixos-test-driver-wrapped", line 9, in <module>119 sys.exit(main())120 ~~~~^^121 File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 757, in main122 driver.run_tests()123 ~~~~~~~~~~~~~~~~^^124 File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 693, in run_tests125 self.test_script()126 ~~~~~~~~~~~~~~~~^^127 File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 689, in test_script128 exec(self.testscript, self.test_symbols(), None) # noqa: S102129 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^130 File "<string>", line 15, in <module>131 File "/nix/store/pljg1g8vaxqiwyli4lp9wr1pl8s46pl2-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/__init__.py", line 468, in succeed132 raise RuntimeError(msg)133RuntimeError: Failed to run command nix-build --expr '134 builtins.derivation {135 name = "hi";136 builder = "/bin/sh";137 args = [ "-c" "echo hi > $out" ];138 system = "x86_64-linux";139 }140' 2>&1141142Exit code: 1143Stdout: error:144 … while calling the 'derivationStrict' builtin145 at «nix-internal»/derivation-internal.nix:37:12:146 36|147 37| strict = derivationStrict drvAttrs;148 | ^149 38|150151 … while evaluating derivation 'hi'152 whose name attribute is located at «string»:3:5153154 error: cannot open connection to remote store 'daemon': error: read of 32768 bytes: Connection reset by peer155