these 15 derivations will be built: /nix/store/p16qsr792ymbz2519gp5ljld2hxxdnx7-postgres-db-restore-command-test.drv /nix/store/ggj1v2gdwgbibdcic76l4bf18v6mzagw-system-path.drv /nix/store/nkfphm2x1kkbnhpba7cykcgqc5p4gwxl-dbus-1.drv /nix/store/3iwsphiwbd71k0saav10xb9ip6k2mkan-unit-postgresql.service.drv /nix/store/cmcrwcjcdmsg01pc25rqs1i4yqhbb647-X-Restart-Triggers-dbus-broker.drv /nix/store/gb1qpb4gbrix6w5062dl2prb9xhyh6b8-unit-dbus-broker.service.drv /nix/store/phj7d41wx46xlzajc5735pqy9aw5s9ih-system-units.drv /nix/store/c4gb3sc6hw1j0pasrvaf9xkbarzlip89-unit-dbus-broker.service.drv /nix/store/rpyw1r3cfkc2zkivhmm9zhgbsl847azp-user-units.drv /nix/store/q5fz801948cm3caya9xi891y350yvmmw-etc.drv /nix/store/9ihwi6jdqfnfdhpgf4rx5w3hfjhy8gn5-activate.drv /nix/store/5d3mjq0584v35k5p7byf161rk6cmhicc-nixos-system-machine-test.drv /nix/store/yl6mcdwbg30yywdxig3fhwbv2xwx5fbf-closure-info.drv /nix/store/ilhq53vxs8cngmr38y54ni5i2c02v609-nixos-test-driver-service-postgresql.drv /nix/store/1k4jqazd3sv1767g9csmc7yvk0znvg82-container-test-run-service-postgresql.drv these 3 paths will be fetched (0.0 KiB download, 5.4 KiB unpacked): /nix/store/rz92h4z5n4fgzldmnk051a8255mqzq53-dry-activate /nix/store/49xayljj9qy54w62lfba849ip8fxvak1-state-commands /nix/store/fxsb7v9w1gasviwzsr2hxbrg8cxp4rma-vars-check-service-postgresql building '/nix/store/p16qsr792ymbz2519gp5ljld2hxxdnx7-postgres-db-restore-command-test.drv' building '/nix/store/3iwsphiwbd71k0saav10xb9ip6k2mkan-unit-postgresql.service.drv' building '/nix/store/ggj1v2gdwgbibdcic76l4bf18v6mzagw-system-path.drv' system-path> structuredAttrs is enabled system-path> created 1948 symlinks in user environment building '/nix/store/nkfphm2x1kkbnhpba7cykcgqc5p4gwxl-dbus-1.drv' building '/nix/store/cmcrwcjcdmsg01pc25rqs1i4yqhbb647-X-Restart-Triggers-dbus-broker.drv' building '/nix/store/c4gb3sc6hw1j0pasrvaf9xkbarzlip89-unit-dbus-broker.service.drv' building '/nix/store/gb1qpb4gbrix6w5062dl2prb9xhyh6b8-unit-dbus-broker.service.drv' building '/nix/store/phj7d41wx46xlzajc5735pqy9aw5s9ih-system-units.drv' building '/nix/store/rpyw1r3cfkc2zkivhmm9zhgbsl847azp-user-units.drv' building '/nix/store/q5fz801948cm3caya9xi891y350yvmmw-etc.drv' building '/nix/store/9ihwi6jdqfnfdhpgf4rx5w3hfjhy8gn5-activate.drv' building '/nix/store/5d3mjq0584v35k5p7byf161rk6cmhicc-nixos-system-machine-test.drv' nixos-system-machine-test> structuredAttrs is enabled building '/nix/store/yl6mcdwbg30yywdxig3fhwbv2xwx5fbf-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/ilhq53vxs8cngmr38y54ni5i2c02v609-nixos-test-driver-service-postgresql.drv' nixos-test-driver-service-postgresql> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-service-postgresql> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-service-postgresql> Success: no issues found in 1 source file building '/nix/store/1k4jqazd3sv1767g9csmc7yvk0znvg82-container-test-run-service-postgresql.drv' container-test-run-service-postgresql> additionally exposed symbols: container-test-run-service-postgresql> machine, container-test-run-service-postgresql> start_all, machines, driver, Machine, wait_for_signal container-test-run-service-postgresql> Starting machine container-test-run-service-postgresql> container-test-run-service-postgresql> container-test-run-service-postgresql> <<< NixOS Stage 2 >>> container-test-run-service-postgresql> container-test-run-service-postgresql> booting system configuration /nix/store/rlimvf5djijn96f8qda3bnpj9lw0pwfg-nixos-system-machine-test container-test-run-service-postgresql> running activation script... container-test-run-service-postgresql> setting up /etc... container-test-run-service-postgresql> 2: host0@if3: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 container-test-run-service-postgresql> link/ether 0e:74:26:22:81:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 container-test-run-service-postgresql> setting up age secrets... container-test-run-service-postgresql> starting systemd... container-test-run-service-postgresql> 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) container-test-run-service-postgresql> Detected virtualization systemd-nspawn. container-test-run-service-postgresql> Detected architecture x86-64. container-test-run-service-postgresql> Detected first boot. container-test-run-service-postgresql> Initializing machine ID from container UUID. container-test-run-service-postgresql> Applying preset policy. container-test-run-service-postgresql> Populated /etc with preset unit settings. container-test-run-service-postgresql> Queued start job for default target Multi-User System. container-test-run-service-postgresql> container-test-run-service-postgresql> container-test-run-service-postgresql> container-test-run-service-postgresql> <<< Welcome to NixOS test (x86_64) - console >>> container-test-run-service-postgresql> + systemd-run /bin/sh -c '/nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/sleep 999999999 && echo d5c260ec-01e5-4962-b501-b959fe280c17' container-test-run-service-postgresql> Running as unit: run-p354-i31631944.service; invocation ID: a156208289b24896bab88107e4806942 container-test-run-service-postgresql> To attach to container machine run on the same machine that runs the test: container-test-run-service-postgresql> sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*d5c260ec-01e5-4962-b501-b959fe280c17') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash container-test-run-service-postgresql> container-test-run-service-postgresql> To inject external network and continue test, run: container-test-run-service-postgresql> sudo /nix/store/h3l4z7p6wny3phbckwwhy1i2g52pdnj4-python3-3.13.15/bin/python3.13 /nix/store/f960jm4nawb9zr6cb9d0vfpb7hifp96b-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py d5c260ec-01e5-4962-b501-b959fe280c17 container-test-run-service-postgresql> + systemctl --no-pager show postgresql container-test-run-service-postgresql> + runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test container-test-run-service-postgresql> + runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;' container-test-run-service-postgresql> + runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;' container-test-run-service-postgresql> upload niks3: ok