build01: building db956mkwb7ii7p59j2pmhjkli6jn3i1q-container-test-run-service-postgresql.drv additionally exposed symbols: machine, start_all, machines, driver, Machine, wait_for_signal Starting machine ░ Spawning container machine on /build/tmpu5muh771/machine. <<< NixOS Stage 2 >>> booting system configuration /nix/store/s4s74dk3ylm4lc8lgpihg3qhpkwkhqn0-nixos-system-machine-test running activation script... setting up /etc... 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 0e:74:26:22:81:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 setting up age secrets... starting systemd... systemd 260.5 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 arm64. 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 (aarch64) - console >>> + systemd-run /bin/sh -c '/nix/store/w4mj4sbn30r0niw5lprmgnld64l6m885-coreutils-9.11/bin/sleep 999999999 && echo caa0fdae-787c-4d79-b023-a12244c9080e' Running as unit: run-p354-i45355476.service; invocation ID: 77694c84563f4f6ea18ba787ee21c97f To attach to container machine run on the same machine that runs the test: sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*caa0fdae-787c-4d79-b023-a12244c9080e') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash To inject external network and continue test, run: sudo /nix/store/84azrswjm964yixv8kil846zcxm8mi20-python3-3.13.18/bin/python3.13 /nix/store/2iwzhgiinw27akssmq7dza6cys9320j6-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py caa0fdae-787c-4d79-b023-a12244c9080e + systemctl --no-pager show postgresql + runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test + runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;' + runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;' Container machine terminated by signal KILL.