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 # No journal files were found. machine # No journal boot entry found for the specified boot (+0). machine # [976172.676504] machine systemd-journald[69]: Journal started machine # [976172.676566] machine systemd-journald[69]: Runtime Journal (/run/log/journal/61466bfbe64e4cc58a5c941d47f2203f) is 8M, max 2.5G, 2.4G free. machine # [976172.682375] machine systemd[1]: Starting Flush Journal to Persistent Storage... machine # [976172.683313] machine systemd[1]: Starting Network Name Resolution... machine # [976172.684146] machine systemd[1]: Starting Create Static Device Nodes in /dev... machine # [976172.693512] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/61466bfbe64e4cc58a5c941d47f2203f is 1.445ms for 5 entries. machine # [976172.693512] machine systemd-journald[69]: System Journal (/var/log/journal/61466bfbe64e4cc58a5c941d47f2203f) is 8M, max 4G, 3.9G free. machine # [976172.698463] machine systemd[1]: Finished Create Static Device Nodes in /dev. machine # [976172.698707] machine systemd[1]: Reached target Preparation for Local File Systems. machine # [976172.698796] machine systemd[1]: Reached target Local File Systems. machine # [976172.699540] machine systemd[1]: Listening on Boot Loader Control Service Socket. machine # [976172.699588] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container machine # [976172.700509] machine systemd[1]: Starting Save Transient machine-id to Disk... machine # [976172.700548] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys machine # [976172.832291] machine systemd[1]: Finished Firewall. machine # [976172.832899] machine systemd[1]: Reached target Preparation for Network. machine # [976172.833200] machine systemd[1]: Listening on Network Management Resolve Hook Socket. machine # [976172.834284] machine systemd[1]: Starting Network Management... machine # [976172.884298] machine systemd[1]: Finished Flush Journal to Persistent Storage. machine # [976172.886235] machine systemd[1]: Starting Create System Files and Directories... machine # [976172.902550] machine systemd-tmpfiles[176]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted machine # [976172.902741] machine systemd-tmpfiles[176]: fchmod() of /var/log/journal failed: Operation not permitted machine # [976172.902868] machine systemd-tmpfiles[176]: fchmod() of /var/log/journal/61466bfbe64e4cc58a5c941d47f2203f failed: Operation not permitted machine # [976172.903057] machine systemd-tmpfiles[176]: fchmod() of /run/log/journal failed: Operation not permitted machine # [976172.904722] machine systemd[1]: Finished Create System Files and Directories. machine # [976172.906016] machine systemd[1]: Starting Rebuild Journal Catalog... machine # [976172.906829] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [976172.921196] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [976172.928642] machine systemd[1]: Finished Rebuild Journal Catalog. machine # [976172.931030] machine systemd[1]: Starting Update is Completed... machine # [976172.945149] machine systemd[1]: Finished Update is Completed. machine # [976173.242865] machine systemd-networkd[172]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted machine # [976173.242964] machine systemd-networkd[172]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted machine # [976173.249464] machine systemd-networkd[172]: /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 # [976173.249627] machine systemd-networkd[172]: /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 # [976173.249805] machine systemd-networkd[172]: lo: Link UP machine # [976173.249810] machine systemd-networkd[172]: lo: Gained carrier machine # [976173.249992] machine systemd-networkd[172]: eth1: Configuring with /etc/systemd/network/40-eth1.network. machine # [976173.250477] machine systemd-networkd[172]: eth1: Link UP machine # [976173.250588] machine systemd[1]: Started Network Management. machine # [976173.251747] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd... machine # [976173.252194] machine systemd-networkd[172]: eth1: Gained carrier machine # [976173.299174] machine systemd-resolved[88]: Positive Trust Anchors: machine # [976173.299188] machine systemd-resolved[88]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d machine # [976173.299191] machine systemd-resolved[88]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b16 machine # [976173.299226] machine systemd-resolved[88]: 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 # [976173.321700] machine systemd-resolved[88]: Using system hostname 'machine'. machine # [976173.323015] machine systemd[1]: Started Network Name Resolution. machine # [976173.323100] machine systemd[1]: Reached target Network. machine # [976173.323172] machine systemd[1]: Reached target System Initialization. machine # [976173.323236] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container machine # [976173.323269] machine systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [976173.323292] machine systemd[1]: Reached target Timer Units. machine # [976173.323425] machine systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [976173.323547] machine systemd[1]: Listening on Nix Daemon Socket. machine # [976173.323670] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [976173.323702] machine systemd[1]: Reached target Socket Units. machine # [976173.323741] machine systemd[1]: Reached target Basic System. machine # [976173.425501] machine systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [976173.442759] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [976173.446254] machine systemd[1]: Starting PostgreSQL Server... machine # [976173.455012] machine systemd[1]: Starting D-Bus System Message Bus... machine # [976173.455604] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd. machine # [976173.458504] machine systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [976173.606322] machine nsncd[187]: Sep 15 14:36:33.592 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [976173.606475] machine systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [976173.606540] machine systemd[1]: Reached target Host and Network Name Lookups. machine # [976173.606603] machine systemd[1]: Reached target User and Group Name Lookups. machine # [976173.612943] machine systemd[1]: Starting User Login Management... machine # [976173.614494] machine systemd[1]: Starting Permit User Sessions... machine # [976173.675947] machine dbus-broker-launch[194]: Looking up NSS user entry for 'systemd-timesync'... machine # [976173.677331] machine dbus-broker-launch[194]: NSS returned no entry for 'systemd-timesync' machine # [976173.677331] machine dbus-broker-launch[194]: Invalid user-name in /nix/store/c9smmzmzviila4gcvdga16kc5d0kfsad-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [976173.677787] machine systemd[1]: Started D-Bus System Message Bus. machine # [976173.685640] machine dbus-broker-launch[194]: Ready machine # [976173.686168] machine systemd[1]: Finished Permit User Sessions. machine # [976173.687971] machine systemd[1]: Started Console Getty. machine # [976173.688066] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 machine # [976173.688112] machine systemd[1]: Reached target Login Prompts. machine # [976174.051858] machine postgresql-pre-start[220]: The files belonging to this database system will be owned by user "postgres". machine # [976174.051858] machine postgresql-pre-start[220]: This user must also own the server process. machine # [976174.052352] machine postgresql-pre-start[220]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [976174.052352] machine postgresql-pre-start[220]: The default database encoding has accordingly been set to "UTF8". machine # [976174.052352] machine postgresql-pre-start[220]: The default text search configuration will be set to "english". machine # [976174.052352] machine postgresql-pre-start[220]: Data page checksums are enabled. machine # [976174.052352] machine postgresql-pre-start[220]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [976174.052509] machine postgresql-pre-start[220]: creating subdirectories ... ok machine # [976174.052558] machine postgresql-pre-start[220]: selecting dynamic shared memory implementation ... posix machine # [976174.080950] machine postgresql-pre-start[220]: selecting default "max_connections" ... 100 machine # [976174.107456] machine postgresql-pre-start[220]: selecting default "shared_buffers" ... 128MB machine # [976174.171902] machine systemd-logind[208]: New seat seat0. machine # [976174.172129] machine systemd[1]: Started User Login Management. machine # [976174.189523] machine systemd[1]: Starting linger-users.service... machine # [976174.203494] machine systemd[1]: linger-users.service: Deactivated successfully. machine # [976174.203674] machine systemd[1]: Finished linger-users.service. machine # [976174.361967] machine postgresql-pre-start[220]: selecting default time zone ... UTC machine # [976174.363528] machine postgresql-pre-start[220]: creating configuration files ... ok machine # [976174.560164] machine systemd-networkd[172]: eth1: Gained IPv6LL machine # [976175.345501] machine postgresql-pre-start[220]: running bootstrap script ... ok machine # [976176.068235] machine postgresql-pre-start[220]: performing post-bootstrap initialization ... ok machine # [976177.065449] machine postgresql-pre-start[220]: syncing data to disk ... ok machine # [976177.065449] machine postgresql-pre-start[220]: initdb: warning: enabling "trust" authentication for local connections machine # [976177.065449] machine postgresql-pre-start[220]: 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 # [976177.065449] machine postgresql-pre-start[220]: Success. You can now start the database server using: machine # [976177.065449] machine postgresql-pre-start[220]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [976177.945672] machine postgres[236]: [236] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [976177.948063] machine postgres[236]: [236] LOG: listening on IPv6 address "::1", port 5432 machine # [976177.948063] machine postgres[236]: [236] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [976177.949156] machine postgres[236]: [236] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [976177.953126] machine postgres[245]: [245] LOG: database system was shut down at 2026-09-15 14:36:36 GMT machine # [976178.048240] machine postgres[236]: [236] LOG: database system is ready to accept connections machine # [976178.536901] machine postgresql-post-start[258]: CREATE ROLE machine # [976178.882393] machine postgresql-post-start[263]: CREATE DATABASE machine # [976178.886925] machine systemd[1]: Started PostgreSQL Server. machine # [976178.927265] machine systemd[1]: Starting PostgreSQL Setup Scripts... machine # [976178.957016] machine systemd[1]: Finished PostgreSQL Setup Scripts. machine # [976178.957785] machine systemd[1]: Reached target PostgreSQL. machine # [976178.958085] machine systemd[1]: Reached target Multi-User System. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976262.906744] machine systemd[1]: systemd-machine-id-commit.service: start operation timed out. Terminating. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976353.156779] machine systemd[1]: systemd-machine-id-commit.service: State 'stop-sigterm' timed out. Killing. machine # [976353.156886] machine systemd[1]: systemd-machine-id-commit.service: Killing process 101 (systemd-machine) with signal SIGKILL. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976443.406744] machine systemd[1]: systemd-machine-id-commit.service: Processes still around after SIGKILL. Ignoring. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976478.053014] machine postgres[243]: [243] LOG: checkpoint starting: time machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976533.656745] machine systemd[1]: systemd-machine-id-commit.service: State 'final-sigterm' timed out. Killing. machine # [976533.656803] machine systemd[1]: systemd-machine-id-commit.service: Killing process 101 (systemd-machine) with signal SIGKILL. machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine # [976583.966665] machine postgres[243]: [243] LOG: checkpoint complete: wrote 994 buffers (6.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=105.110 s, sync=0.038 s, total=105.914 s; sync files=319, longest=0.020 s, average=0.001 s; distance=4700 kB, estimate=4700 kB; lsn=0/1BFD570, redo lsn=0/1BFD4E0 machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: still waiting for container 'machine' to reach ready state... machine: (finished: waiting for unit postgresql, in 452.33 seconds) machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test machine # [976623.656815] machine systemd[1]: systemd-machine-id-commit.service: Processes still around after final SIGKILL. Entering failed mode. machine # [976623.656836] machine systemd[1]: systemd-machine-id-commit.service: Failed with result 'timeout'. machine # [976623.656991] machine systemd[1]: systemd-machine-id-commit.service: Unit process 101 (systemd-machine) remains running after unit stopped. machine # [976623.657341] machine systemd[1]: Failed to start Save Transient machine-id to Disk. machine # [976623.660071] machine systemd[1]: Startup finished in 7min 31.474s. machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test, in 0.11 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: (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 452.48 seconds) machine # [976624.026409] machine runuser[286]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [976624.116748] machine runuser[286]: pam_unix(runuser:session): session closed for user postgres machine # [976624.128200] machine runuser[289]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [976624.140519] machine runuser[289]: pam_unix(runuser:session): session closed for user postgres machine # [976624.150364] machine runuser[292]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) machine # [976624.161806] machine runuser[292]: pam_unix(runuser:session): session closed for user postgres machine # [976779.064208] machine postgres[243]: [243] LOG: checkpoint starting: time machine # [976785.601372] machine postgres[243]: [243] LOG: checkpoint complete: wrote 47 buffers (0.3%), wrote 1 SLRU buffers; 1 WAL file(s) added, 0 removed, 0 recycled; write=5.402 s, sync=0.023 s, total=6.538 s; sync files=39, longest=0.023 s, average=0.001 s; distance=202 kB, estimate=4251 kB; lsn=0/1C300B0, redo lsn=0/1C30058 test script finished in 778.65s cleanup kill NspawnMachine (pid 51) Container machine terminated by signal KILL. (finished: cleanup, in 0.42 seconds)