tribuchet: building on jamie Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Initializing machine ID from random generator. Test will time out and terminate in 3600.0 seconds run the VM test script start all VMs b: systemd-nspawn running (pid 52) a: systemd-nspawn running (pid 51) b: Waiting for journal at /build/vm-state-b/var/log/journal... a: Waiting for journal at /build/vm-state-a/var/log/journal... (finished: start all VMs, in 0.00 seconds) a: waiting for unit postgresql.target nixos-nspawn(a): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(a): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. nixos-nspawn(b): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(b): 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 a on /build/vm-state-a. 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 b on /build/vm-state-b. a # [2341436.054544] a systemd-journald[57]: Journal started a # [2341436.054587] a systemd-journald[57]: Runtime Journal (/run/log/journal/8ca27d5f69bc439abfdb9de0835471b6) is 8M, max 4G, 3.9G free. a # [2341436.060888] a systemd[1]: Finished Apply Kernel Variables. a # [2341436.070687] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [2341436.082274] a systemd[1]: Starting Flush Journal to Persistent Storage... a # [2341436.110578] a systemd[1]: Starting Create Static Device Nodes in /dev... a # [2341436.116897] a systemd-journald[57]: Time spent on flushing to /var/log/journal/8ca27d5f69bc439abfdb9de0835471b6 is 1.483ms for 6 entries. a # [2341436.116897] a systemd-journald[57]: System Journal (/var/log/journal/8ca27d5f69bc439abfdb9de0835471b6) is 512B, max 4G, 3.9G free. a # [2341436.126460] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [2341436.127142] a systemd[1]: Reached target Preparation for Local File Systems. a # [2341436.127252] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [2341436.140889] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [2341436.052723] b systemd-journald[57]: Journal started b # [2341436.052770] b systemd-journald[57]: Runtime Journal (/run/log/journal/fdd494a9bf1340c3b133d61526962ef6) is 8M, max 4G, 3.9G free. b # [2341436.057504] b systemd[1]: Finished Apply Kernel Variables. b # [2341436.067437] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [2341436.078971] b systemd[1]: Starting Flush Journal to Persistent Storage... b # [2341436.079964] b systemd[1]: Starting Create Static Device Nodes in /dev... b # [2341436.115970] b systemd-journald[57]: Time spent on flushing to /var/log/journal/fdd494a9bf1340c3b133d61526962ef6 is 1.600ms for 6 entries. b # [2341436.115970] b systemd-journald[57]: System Journal (/var/log/journal/fdd494a9bf1340c3b133d61526962ef6) is 512B, max 4G, 3.9G free. b # [2341436.122577] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [2341436.123268] b systemd[1]: Reached target Preparation for Local File Systems. b # [2341436.123373] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [2341436.140315] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [2341436.231459] b systemd[1]: Finished Firewall. a # [2341436.207875] a systemd[1]: Finished Firewall. b # [2341437.048621] b systemd[1]: Mounting /run/wrappers... b # [2341437.097838] b systemd[1]: Mounted /run/wrappers. b # [2341437.099106] b systemd[1]: Reached target Local File Systems. b # [2341437.100501] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [2341437.101898] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [2341437.101946] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [2341437.103398] b systemd[1]: Starting Save Transient machine-id to Disk... b # [2341437.104307] b systemd[1]: Starting Create System Files and Directories... b # [2341437.122205] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [2341437.069676] a systemd[1]: Mounting /run/wrappers... b # [2341437.122606] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [2341437.097327] a systemd[1]: Mounted /run/wrappers. b # [2341437.122905] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/fdd494a9bf1340c3b133d61526962ef6 failed: Operation not permitted a # [2341437.098343] a systemd[1]: Reached target Local File Systems. b # [2341437.123237] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [2341437.099502] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [2341437.100882] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [2341437.100928] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [2341437.102211] a systemd[1]: Starting Save Transient machine-id to Disk... a # [2341437.103458] a systemd[1]: Starting Create System Files and Directories... a # [2341437.122804] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [2341437.123216] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [2341437.123542] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/8ca27d5f69bc439abfdb9de0835471b6 failed: Operation not permitted a # [2341437.123875] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted b # [2341437.128029] b suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.XDxhp93un6/chsh': Operation not permitted b # [2341437.128897] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [2341437.128998] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [2341437.129120] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [2341437.129501] b systemd[1]: Finished Create System Files and Directories. b # [2341437.171109] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [2341437.181530] b systemd[1]: Finished Save Transient machine-id to Disk. b # [2341437.184427] b systemd[1]: Starting Rebuild Journal Catalog... b # [2341437.185050] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [2341437.221197] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [2341437.228970] b systemd[1]: Finished Rebuild Journal Catalog. b # [2341437.230043] b systemd[1]: Starting Update is Completed... b # [2341437.239823] b systemd[1]: Finished Update is Completed. b # [2341437.239905] b systemd[1]: Reached target System Initialization. b # [2341437.239970] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [2341437.239989] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [2341437.240012] b systemd[1]: Reached target Timer Units. b # [2341437.240104] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [2341437.240251] b systemd[1]: Listening on Nix Daemon Socket. b # [2341437.240337] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [2341437.240347] b systemd[1]: Reached target Socket Units. b # [2341437.240374] b systemd[1]: Reached target Basic System. b # [2341437.241420] b systemd[1]: Starting Re-link flakelet services at boot... b # [2341437.242413] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [2341437.243528] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [2341437.244517] b systemd[1]: Starting resolvconf update... b # [2341437.253281] b systemd[1]: Finished Re-link flakelet services at boot. b # [2341437.255116] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [2341437.261152] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [2341437.265574] b systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [2341437.128252] a systemd[1]: Finished Create System Files and Directories. a # [2341437.130564] a suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.h6B9hjBCx6/chsh': Operation not permitted a # [2341437.179693] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [2341437.180210] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [2341437.180299] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [2341437.180432] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [2341437.180634] a systemd[1]: Finished Save Transient machine-id to Disk. a # [2341437.183270] a systemd[1]: Starting Rebuild Journal Catalog... a # [2341437.184223] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [2341437.221740] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [2341437.244942] a systemd[1]: Finished Rebuild Journal Catalog. a # [2341437.246036] a systemd[1]: Starting Update is Completed... a # [2341437.255477] a systemd[1]: Finished Update is Completed. a # [2341437.255580] a systemd[1]: Reached target System Initialization. a # [2341437.255670] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [2341437.255696] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [2341437.255709] a systemd[1]: Reached target Timer Units. a # [2341437.255802] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [2341437.255999] a systemd[1]: Listening on Nix Daemon Socket. a # [2341437.256108] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [2341437.256131] a systemd[1]: Reached target Socket Units. a # [2341437.256162] a systemd[1]: Reached target Basic System. a # [2341437.257280] a systemd[1]: Starting Re-link flakelet services at boot... a # [2341437.257952] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [2341437.258810] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [2341437.259942] a systemd[1]: Starting resolvconf update... a # [2341437.267815] a systemd[1]: Finished Re-link flakelet services at boot. a # [2341437.269933] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [2341437.276397] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [2341437.280566] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [2341437.340886] a systemd[1]: nscd.service: Deactivated successfully. a # [2341437.359295] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [2341437.362284] a systemd[1]: Finished resolvconf update. a # [2341437.363731] a systemd[1]: Reached target Preparation for Network. a # [2341437.365650] a systemd[1]: Starting Address configuration of eth1... a # [2341437.366912] a systemd[1]: Starting Extra networking commands.... a # [2341437.368455] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [2341437.331762] b systemd[1]: nscd.service: Deactivated successfully. a # [2341437.388257] a network-addresses-eth1-start[240]: adding address 192.168.1.1/24... done b # [2341437.331900] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [2341437.392286] a network-addresses-eth1-start[240]: adding address 2001:db8:1::1/64... done b # [2341437.334351] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [2341437.396547] a systemd[1]: Finished Address configuration of eth1. a # [2341437.439131] a systemd[1]: Finished Extra networking commands.. a # [2341437.439275] a systemd[1]: Reached target Network. a # [2341437.440965] a systemd[1]: Starting PostgreSQL Server... b # [2341437.359299] b systemd[1]: Finished resolvconf update. b # [2341437.359530] b systemd[1]: Reached target Preparation for Network. b # [2341437.360509] b systemd[1]: Starting Address configuration of eth1... b # [2341437.361478] b systemd[1]: Starting Extra networking commands.... b # [2341437.380982] b network-addresses-eth1-start[242]: adding address 192.168.1.2/24... done b # [2341437.384810] b network-addresses-eth1-start[242]: adding address 2001:db8:1::2/64... done b # [2341437.389255] b systemd[1]: Finished Address configuration of eth1. b # [2341437.435039] b systemd[1]: Finished Extra networking commands.. b # [2341437.435324] b systemd[1]: Reached target Network. b # [2341437.437382] b systemd[1]: Starting PostgreSQL Server... b # [2341437.616444] b nsncd[235]: Oct 08 15:35:45.903 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [2341437.616335] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [2341437.616423] b systemd[1]: Reached target Host and Network Name Lookups. b # [2341437.616515] b systemd[1]: Reached target User and Group Name Lookups. b # [2341437.618952] b systemd[1]: Starting User Login Management... b # [2341437.620364] b systemd[1]: Starting Permit User Sessions... b # [2341437.657249] b systemd[1]: Finished Permit User Sessions. b # [2341437.659100] b systemd[1]: Started Console Getty. b # [2341437.659149] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [2341437.659177] b systemd[1]: Reached target Login Prompts. a # [2341437.623412] a nsncd[242]: Oct 08 15:35:45.910 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [2341437.623517] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [2341437.623616] a systemd[1]: Reached target Host and Network Name Lookups. a # [2341437.623730] a systemd[1]: Reached target User and Group Name Lookups. a # [2341437.650825] a systemd[1]: Starting User Login Management... a # [2341437.652167] a systemd[1]: Starting Permit User Sessions... a # [2341437.662941] a systemd[1]: Finished Permit User Sessions. a # [2341437.664537] a systemd[1]: Started Console Getty. a # [2341437.664589] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [2341437.664620] a systemd[1]: Reached target Login Prompts. a # [2341438.779409] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [2341438.779409] a postgresql-pre-start[325]: This user must also own the server process. a # [2341438.779409] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [2341438.779409] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [2341438.780412] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [2341438.780412] a postgresql-pre-start[325]: Data page checksums are enabled. a # [2341438.780412] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [2341438.780732] a postgresql-pre-start[325]: creating subdirectories ... ok a # [2341438.780865] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [2341438.790858] a systemd-logind[314]: New seat seat0. a # [2341438.791252] a systemd[1]: Started User Login Management. a # [2341438.793574] a systemd[1]: Starting D-Bus System Message Bus... a # [2341438.794999] a systemd[1]: Starting linger-users.service... a # [2341438.805014] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [2341438.832919] a systemd[1]: linger-users.service: Deactivated successfully. a # [2341438.833297] a systemd[1]: Finished linger-users.service. a # [2341438.836719] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB b # [2341438.785883] b postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". b # [2341438.785883] b postgresql-pre-start[325]: This user must also own the server process. b # [2341438.786746] b postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". b # [2341438.786746] b postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". b # [2341438.786746] b postgresql-pre-start[325]: The default text search configuration will be set to "english". b # [2341438.786746] b postgresql-pre-start[325]: Data page checksums are enabled. b # [2341438.786746] b postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [2341438.787403] b postgresql-pre-start[325]: creating subdirectories ... ok b # [2341438.787554] b postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix b # [2341438.809590] b systemd-logind[314]: New seat seat0. b # [2341438.809972] b systemd[1]: Started User Login Management. b # [2341438.810578] b postgresql-pre-start[325]: selecting default "max_connections" ... 100 b # [2341438.822832] b systemd[1]: Starting D-Bus System Message Bus... b # [2341438.824284] b systemd[1]: Starting linger-users.service... b # [2341438.842146] b postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB b # [2341438.857641] b systemd[1]: linger-users.service: Deactivated successfully. b # [2341438.857776] b systemd[1]: Finished linger-users.service. a # [2341439.153030] a postgresql-pre-start[325]: selecting default time zone ... UTC a # [2341439.154095] a postgresql-pre-start[325]: creating configuration files ... ok a # [2341439.187151] a dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'... a # [2341439.188927] a dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync' a # [2341439.188927] a dbus-broker-launch[329]: Invalid user-name in /nix/store/kjdgf5l6zcdi5iqf269501vpgl4amckv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [2341439.189717] a systemd[1]: Started D-Bus System Message Bus. a # [2341439.197049] a dbus-broker-launch[329]: Ready a # [2341439.291444] a postgresql-pre-start[325]: running bootstrap script ... ok b # [2341439.159512] b postgresql-pre-start[325]: selecting default time zone ... UTC b # [2341439.160592] b postgresql-pre-start[325]: creating configuration files ... ok b # [2341439.192147] b dbus-broker-launch[330]: Looking up NSS user entry for 'systemd-timesync'... b # [2341439.193300] b dbus-broker-launch[330]: NSS returned no entry for 'systemd-timesync' b # [2341439.193300] b dbus-broker-launch[330]: Invalid user-name in /nix/store/kjdgf5l6zcdi5iqf269501vpgl4amckv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [2341439.193858] b systemd[1]: Started D-Bus System Message Bus. b # [2341439.200433] b dbus-broker-launch[330]: Ready b # [2341439.307473] b postgresql-pre-start[325]: running bootstrap script ... ok a # [2341439.635276] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok b # [2341439.662920] b postgresql-pre-start[325]: performing post-bootstrap initialization ... ok a # [2341439.926741] a postgresql-pre-start[325]: syncing data to disk ... ok a # [2341439.926741] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [2341439.926741] a postgresql-pre-start[325]: 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. a # [2341439.926741] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [2341439.926741] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [2341440.001106] b postgresql-pre-start[325]: syncing data to disk ... ok b # [2341440.001106] b postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections b # [2341440.001106] b postgresql-pre-start[325]: 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. b # [2341440.001106] b postgresql-pre-start[325]: Success. You can now start the database server using: b # [2341440.001106] b postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [2341440.981263] a postgres[343]: [343] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit a # [2341440.983120] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [2341440.983120] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [2341440.983627] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [2341440.989209] a postgres[352]: [352] LOG: database system was shut down at 2026-10-08 15:35:47 GMT a # [2341440.996809] a postgres[343]: [343] LOG: database system is ready to accept connections a # [2341441.000530] a systemd[1]: Started PostgreSQL Server. a # [2341441.003521] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [2341441.071171] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [2341441.071786] a systemd[1]: Reached target PostgreSQL. a # [2341441.071968] a systemd[1]: Reached target flakelet contract providers ready. a # [2341441.073678] a systemd[1]: Starting Update flakelet service web... a # [2341441.085406] a flakelet[361]: web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web a # [2341441.085897] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [2341441.102492] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [2341441.182610] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [2341441.184610] a flakelet[361]: web: activating generation 1 a # [2341441.189793] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [2341441.189837] a systemd[1]: Reloading... b # [2341441.034454] b postgres[343]: [343] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit b # [2341441.035689] b postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 b # [2341441.035689] b postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [2341441.036168] b postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [2341441.041599] b postgres[352]: [352] LOG: database system was shut down at 2026-10-08 15:35:47 GMT b # [2341441.045299] b postgres[343]: [343] LOG: database system is ready to accept connections b # [2341441.045926] b systemd[1]: Started PostgreSQL Server. b # [2341441.047789] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [2341441.098495] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [2341441.099119] b systemd[1]: Reached target PostgreSQL. b # [2341441.099308] b systemd[1]: Reached target flakelet contract providers ready. b # [2341441.100766] b systemd[1]: Starting Update flakelet service web... b # [2341441.112554] b flakelet[361]: web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [2341441.113119] b flakelet[361]: web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [2341441.126957] b runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341441.216289] b runuser[365]: pam_unix(runuser:session): session closed for user postgres b # [2341441.218758] b flakelet[361]: web: activating generation 1 b # [2341441.224523] b systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... b # [2341441.224601] b systemd[1]: Reloading... a # [2341441.509270] a systemd[1]: Reloading finished in 319 ms. a # [2341441.601674] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [2341441.601714] a systemd[1]: Reloading... b # [2341441.552096] b systemd[1]: Reloading finished in 326 ms. b # [2341441.636090] b systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... b # [2341441.636127] b systemd[1]: Reloading... a: (finished: waiting for unit postgresql.target, in 7.16 seconds) ??? Warning (UserWarning): wait_for_unit(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/f499z2x8krpksz8cyfbq40djpw3i52nv-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 a: waiting for unit web.service a: (finished: waiting for unit web.service, in 0.02 seconds) a: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d postgres -c 'SELECT 1 FROM pg_database WHERE datname='\''web'\''' | grep -q 1 a # [2341441.904554] a systemd[1]: Reloading finished in 302 ms. a # [2341441.988255] a systemd[1]: Starting web.service... a # [2341442.020239] a systemd[1]: Started web.service. a # [2341442.027736] a flakelet[361]: web: updated to generation 1 a # [2341442.029190] a systemd[1]: Finished Update flakelet service web. a # [2341442.029519] a systemd[1]: Reached target flakelet managed services. a # [2341442.029648] a systemd[1]: Reached target Multi-User System. a # [2341442.029852] a systemd[1]: Startup finished in 6.380s. a: (finished: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d postgres -c 'SELECT 1 FROM pg_database WHERE datname='\''web'\''' | grep -q 1, in 0.02 seconds) a: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')' a: (finished: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')', in 0.02 seconds) a: must succeed: flakelet export web --dry-run >&2 b # [2341441.939803] b systemd[1]: Reloading finished in 303 ms. b # [2341442.021056] b systemd[1]: Starting web.service... b # [2341442.032534] b systemd[1]: Started web.service. b # [2341442.036393] b flakelet[361]: web: updated to generation 1 b # [2341442.037938] b systemd[1]: Finished Update flakelet service web. b # [2341442.038369] b systemd[1]: Reached target flakelet managed services. b # [2341442.038489] b systemd[1]: Reached target Multi-User System. b # [2341442.038661] b systemd[1]: Startup finished in 6.399s. { "version": 1, "flakelet_version": "0.1.0", "name": "web", "source_host": "a", "created": 1791473750, "flake": "", "output": "flakelets.default", "flake_url": "prebuilt:web", "flake_rev": "", "settings_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "state": { "folders": [ { "path": "/var/lib/web", "user": "web", "group": null, "dynamic": false } ], "dump": null, "restore": null }, "exports": { "requires": { "postgres": { "database": "web" } } }, "consistency": "stopped" } a: (finished: must succeed: flakelet export web --dry-run >&2, in 0.01 seconds) a: must succeed: flakelet export web --to b > /tmp/shared/web.tar.zst web: stopping units requires.postgres: running /nix/store/4mjyafbw7x9sij3kn6rkm9p9knp47raw-flakelet-postgres-dump/bin/flakelet-postgres-dump web: archiving /var/lib/web a # [2341442.346161] a runuser[433]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [2341442.357727] a runuser[433]: pam_unix(runuser:session): session closed for user postgres a # [2341442.368663] a runuser[437]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [2341442.383139] a runuser[437]: pam_unix(runuser:session): session closed for user web a # [2341442.421194] a systemd[1]: Stopping web.service... a # [2341442.421607] a systemd[1]: web.service: Deactivated successfully. a # [2341442.421814] a systemd[1]: Stopped web.service. a # [2341442.440128] a runuser[450]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [2341442.484697] a runuser[450]: pam_unix(runuser:session): session closed for user postgres a # [2341442.532521] a systemd[1]: Reload requested from client PID 465 ('systemctl')... a # [2341442.532589] a systemd[1]: Reloading... a # [2341442.850368] a systemd[1]: Reloading finished in 317 ms. a # [2341442.914063] a systemd[1]: Reload requested from client PID 493 ('systemctl')... a # [2341442.914096] a systemd[1]: Reloading... web: disabled here, 'flakelet enable web' undoes that a: (finished: must succeed: flakelet export web --to b > /tmp/shared/web.tar.zst, in 0.88 seconds) a: must fail: systemctl is-active web.service a: (finished: must fail: systemctl is-active web.service, in 0.01 seconds) a: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst | grep -q requires/postgres/db.pgdump a: (finished: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst | grep -q requires/postgres/db.pgdump, in 0.01 seconds) b: waiting for unit postgresql.target b: (finished: waiting for unit postgresql.target, in 0.02 seconds) b: waiting for unit web.service b: (finished: waiting for unit web.service, in 0.02 seconds) ??? Warning (UserWarning): succeed(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/f499z2x8krpksz8cyfbq40djpw3i52nv-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 b: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2 ??? Warning (UserWarning): execute(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/f499z2x8krpksz8cyfbq40djpw3i52nv-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web a # [2341443.213597] a systemd[1]: Reloading finished in 299 ms. b # [2341443.368026] b systemd[1]: Stopping web.service... b # [2341443.369714] b systemd[1]: web.service: Deactivated successfully. b # [2341443.369973] b systemd[1]: Stopped web.service. b # [2341443.384658] b systemd[1]: Reload requested from client PID 445 ('systemctl')... b # [2341443.384720] b systemd[1]: Reloading... b # [2341443.701489] b systemd[1]: Reloading finished in 316 ms. b # [2341443.767601] b systemd[1]: Reload requested from client PID 473 ('systemctl')... b # [2341443.767636] b systemd[1]: Reloading... b # [2341444.068481] b systemd[1]: Reloading finished in 300 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 2 b # [2341444.170098] b runuser[508]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341444.184843] b runuser[508]: pam_unix(runuser:session): session closed for user postgres b # [2341444.190886] b runuser[511]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341444.203915] b runuser[511]: pam_unix(runuser:session): session closed for user postgres b # [2341444.210202] b runuser[514]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341444.225352] b runuser[514]: pam_unix(runuser:session): session closed for user postgres b # [2341444.240480] b runuser[520]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341444.251857] b runuser[520]: pam_unix(runuser:session): session closed for user postgres b # [2341444.259185] b systemd[1]: Reload requested from client PID 523 ('systemctl')... b # [2341444.259255] b systemd[1]: Reloading... b # [2341444.590987] b systemd[1]: Reloading finished in 330 ms. b # [2341444.658764] b systemd[1]: Reload requested from client PID 551 ('systemctl')... b # [2341444.658799] b systemd[1]: Reloading... web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.72 seconds) b: must succeed: systemctl is-active web.service b: (finished: must succeed: systemctl is-active web.service, in 0.01 seconds) b: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT v FROM t' | grep -qx payload b: (finished: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT v FROM t' | grep -qx payload, in 0.03 seconds) b: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT tableowner FROM pg_tables WHERE tablename='\''t'\''' | grep -qx web b: (finished: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT tableowner FROM pg_tables WHERE tablename='\''t'\''' | grep -qx web, in 0.02 seconds) b: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d postgres -c 'SELECT shobj_description(oid, '\''pg_database'\'') FROM pg_database WHERE datname='\''web'\''' | grep -q flakelet b: (finished: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d postgres -c 'SELECT shobj_description(oid, '\''pg_database'\'') FROM pg_database WHERE datname='\''web'\''' | grep -q flakelet, in 0.02 seconds) b: must fail: flakelet import /tmp/shared/web.tar.zst >&2 web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [2341444.959581] b systemd[1]: Reloading finished in 300 ms. b # [2341445.025023] b systemd[1]: Starting web.service... b # [2341445.049403] b systemd[1]: Started web.service. b # [2341445.084493] b runuser[584]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [2341445.097306] b runuser[584]: pam_unix(runuser:session): session closed for user web b # [2341445.107881] b runuser[589]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341445.121739] b runuser[589]: pam_unix(runuser:session): session closed for user postgres b # [2341445.132628] b runuser[594]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341445.143936] b runuser[594]: pam_unix(runuser:session): session closed for user postgres b # [2341445.175336] b systemd[1]: Stopping web.service... b # [2341445.176042] b systemd[1]: web.service: Deactivated successfully. b # [2341445.176168] b systemd[1]: Stopped web.service. b # [2341445.188240] b systemd[1]: Reload requested from client PID 610 ('systemctl')... b # [2341445.188275] b systemd[1]: Reloading... b # [2341445.490571] b systemd[1]: Reloading finished in 301 ms. b # [2341445.561738] b systemd[1]: Reload requested from client PID 638 ('systemctl')... b # [2341445.561776] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore error: /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmpvFFZgJ/requires/postgres/claim.json /var/cache/flakelet/.tmpvFFZgJ/requires/postgres failed: flakelet-postgres-restore: database web is not empty, refusing b: (finished: must fail: flakelet import /tmp/shared/web.tar.zst >&2, in 0.86 seconds) b: must fail: systemctl is-active web.service b: (finished: must fail: systemctl is-active web.service, in 0.01 seconds) b: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2 web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [2341445.862515] b systemd[1]: Reloading finished in 300 ms. b # [2341445.968158] b runuser[673]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341445.981558] b runuser[673]: pam_unix(runuser:session): session closed for user postgres b # [2341445.986831] b runuser[676]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341445.997113] b runuser[676]: pam_unix(runuser:session): session closed for user postgres b # [2341446.055405] b systemd[1]: Reload requested from client PID 691 ('systemctl')... b # [2341446.055442] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [2341446.364615] b systemd[1]: Reloading finished in 308 ms. b # [2341446.449468] b runuser[723]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341446.462222] b postgres[350]: [350] LOG: checkpoint starting: immediate force wait b # [2341446.472466] b postgres[350]: [350] LOG: checkpoint complete: wrote 14 buffers (0.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.005 s, sync=0.004 s, total=0.011 s; sync files=14, longest=0.001 s, average=0.001 s; distance=4387 kB, estimate=4387 kB; lsn=0/1BAED90, redo lsn=0/1BAED38 b # [2341446.494454] b runuser[723]: pam_unix(runuser:session): session closed for user postgres b # [2341446.515253] b runuser[729]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341446.565810] b runuser[729]: pam_unix(runuser:session): session closed for user postgres b # [2341446.573852] b runuser[732]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341446.590468] b runuser[732]: pam_unix(runuser:session): session closed for user postgres b # [2341446.595945] b runuser[735]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341446.609867] b runuser[735]: pam_unix(runuser:session): session closed for user postgres web: activating generation 3 b # [2341446.627680] b runuser[741]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [2341446.639795] b runuser[741]: pam_unix(runuser:session): session closed for user postgres b # [2341446.645937] b systemd[1]: Reload requested from client PID 744 ('systemctl')... b # [2341446.645983] b systemd[1]: Reloading... b # [2341446.948329] b systemd[1]: Reloading finished in 301 ms. b # [2341447.015294] b systemd[1]: Reload requested from client PID 772 ('systemctl')... b # [2341447.015329] b systemd[1]: Reloading... b # [2341447.318041] b systemd[1]: Reloading finished in 302 ms. web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.41 seconds) b: must succeed: systemctl is-active web.service b: (finished: must succeed: systemctl is-active web.service, in 0.01 seconds) b: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT v FROM t' | grep -qx payload b: (finished: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'SELECT v FROM t' | grep -qx payload, in 0.03 seconds) (finished: run the VM test script, in 12.32 seconds) test script finished in 12.40s cleanup kill NspawnMachine (pid 51) kill NspawnMachine (pid 52) b # [2341447.382272] b systemd[1]: Starting web.service... b # [2341447.422177] b systemd[1]: Started web.service. b # [2341447.460572] b runuser[805]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [2341447.472431] b runuser[805]: pam_unix(runuser:session): session closed for user web Container a terminated by signal KILL. Container b terminated by signal KILL. (finished: cleanup, in 0.28 seconds) additionally exposed symbols: a, b, 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