Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: machine, vlan1, start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh start all VMs machine: systemd-nspawn running (pid 51) machine: Waiting for journal at /build/vm-state-machine/var/log/journal... (finished: start all VMs, in 0.00 seconds) machine: waiting for unit postgresql nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ░ Spawning container machine on /build/vm-state-machine. machine # [6241293.679216] machine systemd-journald[69]: Journal started machine # [6241293.679274] machine systemd-journald[69]: Runtime Journal (/run/log/journal/78574f84dcb146f88806fa38b53a7f2e) is 8M, max 2.5G, 2.4G free. machine # [6241293.683036] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [6241293.684080] machine systemd[1]: Starting Network Name Resolution... machine # [6241293.684746] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [6241293.694288] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/78574f84dcb146f88806fa38b53a7f2e is 1.531ms for 5 entries. machine # [6241293.694288] machine systemd-journald[69]: System Journal (/var/log/journal/78574f84dcb146f88806fa38b53a7f2e) is 8M, max 4G, 3.9G free. machine # [6241293.697828] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [6241293.698046] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [6241293.698124] machine systemd[1]: Reached target Local File Systems. machine # [6241293.698831] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [6241293.698879] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [6241293.699639] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [6241293.699671] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [6241293.714356] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [6241293.715835] machine systemd[1]: Starting Create System Files and Directories... machine # [6241293.731642] machine systemd-tmpfiles[116]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [6241293.731837] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal failed: Operation not permitted machine # [6241293.731974] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal/78574f84dcb146f88806fa38b53a7f2e failed: Operation not permitted machine # [6241293.732223] machine systemd-tmpfiles[116]: fchmod() of /run/log/journal failed: Operation not permitted machine # [6241293.733877] machine systemd[1]: Finished Create System Files and Directories. machine # [6241293.734846] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [6241293.735631] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [6241293.748699] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [6241293.757130] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [6241293.758290] machine systemd[1]: Starting Update is Completed... machine # [6241293.769063] machine systemd[1]: Finished Update is Completed. machine # [6241293.815121] machine systemd[1]: Finished Firewall. machine # [6241293.815264] machine systemd[1]: Reached target Preparation for Network. machine # [6241293.815473] machine systemd[1]: Listening on Network Management Resolve Hook Socket. machine # [6241293.816459] machine systemd[1]: Starting Network Management... machine # [6241293.837834] machine systemd[1]: Finished Save Transient machine-id to Disk. machine # [6241294.134989] machine systemd-networkd[182]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted machine # [6241294.135076] machine systemd-networkd[182]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted machine # [6241294.141425] machine systemd-networkd[182]: /etc/systemd/network/99-ethernet-default-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. machine # [6241294.141588] machine systemd-networkd[182]: /etc/systemd/network/99-wireless-client-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section. machine # [6241294.141767] machine systemd-networkd[182]: lo: Link UP machine # [6241294.141770] machine systemd-networkd[182]: lo: Gained carrier machine # [6241294.141946] machine systemd-networkd[182]: eth1: Configuring with /etc/systemd/network/40-eth1.network. machine # [6241294.142373] machine systemd[1]: Started Network Management. machine # [6241294.142630] machine systemd-networkd[182]: eth1: Link UP machine # [6241294.142814] machine systemd-networkd[182]: eth1: Gained carrier machine # [6241294.144383] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd... machine # [6241294.170305] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd. machine # [6241294.254763] machine systemd-resolved[92]: Positive Trust Anchors: machine # [6241294.254773] machine systemd-resolved[92]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d machine # [6241294.254777] machine systemd-resolved[92]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 machine # [6241294.254814] machine systemd-resolved[92]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test machine # [6241294.277071] machine systemd-resolved[92]: Using system hostname 'machine'. machine # [6241294.278416] machine systemd[1]: Started Network Name Resolution. machine # [6241294.278490] machine systemd[1]: Reached target Network. machine # [6241294.278552] machine systemd[1]: Reached target System Initialization. machine # [6241294.278597] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [6241294.278624] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [6241294.278641] machine systemd[1]: Reached target Timer Units. machine # [6241294.278750] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [6241294.278869] machine systemd[1]: Listening on Nix Daemon Socket. machine # [6241294.278966] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [6241294.278985] machine systemd[1]: Reached target Socket Units. machine # [6241294.279021] machine systemd[1]: Reached target Basic System. machine # [6241294.280736] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [6241294.304659] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [6241294.305778] machine systemd[1]: Starting PostgreSQL Server... machine # [6241294.307191] machine systemd[1]: Starting D-Bus System Message Bus... machine # [6241294.321850] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [6241294.411835] machine nsncd[189]: Aug 20 05:05:20.464 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [6241294.411935] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [6241294.411994] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [6241294.412061] machine systemd[1]: Reached target User and Group Name Lookups. machine # [6241294.413187] machine systemd[1]: Starting User Login Management... machine # [6241294.413917] machine systemd[1]: Starting Permit User Sessions... machine # [6241294.423738] machine systemd[1]: Finished Permit User Sessions. machine # [6241294.425506] machine systemd[1]: Started Console Getty. machine # [6241294.425583] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [6241294.425621] machine systemd[1]: Reached target Login Prompts. machine # [6241294.487368] machine dbus-broker-launch[191]: Looking up NSS user entry for 'systemd-timesync'... machine # [6241294.488641] machine dbus-broker-launch[191]: NSS returned no entry for 'systemd-timesync' machine # [6241294.488641] machine dbus-broker-launch[191]: Invalid user-name in /nix/store/w9adx4nfms6c4z6w5kcn9psg3wp3imyp-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [6241294.489121] machine systemd[1]: Started D-Bus System Message Bus. machine # [6241294.495994] machine dbus-broker-launch[191]: Ready machine # [6241294.661493] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [6241294.811744] machine postgresql-pre-start[221]: The files belonging to this database system will be owned by user "postgres". machine # [6241294.811744] machine postgresql-pre-start[221]: This user must also own the server process. machine # [6241294.812385] machine postgresql-pre-start[221]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [6241294.812385] machine postgresql-pre-start[221]: The default database encoding has accordingly been set to "UTF8". machine # [6241294.812385] machine postgresql-pre-start[221]: The default text search configuration will be set to "english". machine # [6241294.812385] machine postgresql-pre-start[221]: Data page checksums are enabled. machine # [6241294.812385] machine postgresql-pre-start[221]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [6241294.812632] machine postgresql-pre-start[221]: creating subdirectories ... ok machine # [6241294.812632] machine postgresql-pre-start[221]: selecting dynamic shared memory implementation ... posix machine # [6241294.832466] machine postgresql-pre-start[221]: selecting default "max_connections" ... 100 machine # [6241294.858015] machine systemd-logind[209]: New seat seat0. machine # [6241294.858222] machine systemd[1]: Started User Login Management. machine # [6241294.859679] machine systemd[1]: Starting linger-users.service... machine # [6241294.862970] machine postgresql-pre-start[221]: selecting default "shared_buffers" ... 128MB machine # [6241294.928598] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [6241294.928878] machine systemd[1]: Finished linger-users.service. machine # [6241295.129229] machine postgresql-pre-start[221]: selecting default time zone ... UTC machine # [6241295.129850] machine postgresql-pre-start[221]: creating configuration files ... ok machine # [6241295.267261] machine postgresql-pre-start[221]: running bootstrap script ... ok machine # [6241295.651436] machine postgresql-pre-start[221]: performing post-bootstrap initialization ... ok machine # [6241295.775783] machine postgresql-pre-start[221]: syncing data to disk ... ok machine # [6241295.775783] machine postgresql-pre-start[221]: initdb: warning: enabling "trust" authentication for local connections machine # [6241295.775783] machine postgresql-pre-start[221]: initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. machine # [6241295.775783] machine postgresql-pre-start[221]: Success. You can now start the database server using: machine # [6241295.775783] machine postgresql-pre-start[221]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [6241295.968472] machine systemd-networkd[182]: eth1: Gained IPv6LL machine # [6241296.257015] machine postgres[237]: [237] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [6241296.259932] machine postgres[237]: [237] LOG: listening on IPv6 address "::1", port 5432 machine # [6241296.259932] machine postgres[237]: [237] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [6241296.265536] machine postgres[237]: [237] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [6241296.273285] machine postgres[246]: [246] LOG: database system was shut down at 2026-08-20 05:05:21 GMT machine # [6241296.278597] machine postgres[237]: [237] LOG: database system is ready to accept connections machine: (finished: waiting for unit postgresql, in 4.15 seconds) machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test, in 0.02 seconds) machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;' machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;', in 0.02 seconds) machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;' machine # [6241296.750170] machine postgresql-post-start[259]: CREATE ROLE machine # [6241296.843043] machine postgresql-post-start[264]: CREATE DATABASE machine # [6241296.846338] machine systemd[1]: Started PostgreSQL Server. machine # [6241296.849029] machine systemd[1]: Starting PostgreSQL Setup Scripts... machine # [6241296.873047] machine systemd[1]: Finished PostgreSQL Setup Scripts. machine # [6241296.873500] machine systemd[1]: Reached target PostgreSQL. machine # [6241296.873648] machine systemd[1]: Reached target Multi-User System. machine # [6241296.873994] machine systemd[1]: Startup finished in 3.674s. machine # [6241296.947511] machine runuser[273]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [6241296.962406] machine runuser[273]: pam_unix(runuser:session): session closed for user postgres machine # [6241296.971704] machine runuser[276]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [6241296.982857] machine runuser[276]: pam_unix(runuser:session): session closed for user postgres machine # [6241296.990574] machine runuser[279]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [6241297.002845] machine runuser[279]: pam_unix(runuser:session): session closed for user postgres machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;', in 0.02 seconds) (finished: run the VM test script, in 4.22 seconds) test script finished in 4.40s cleanup kill NspawnMachine (pid 51) Container machine terminated by signal KILL. (finished: cleanup, in 0.26 seconds)