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 a: systemd-nspawn running (pid 51) b: systemd-nspawn running (pid 52) a: Waiting for journal at /build/vm-state-a/var/log/journal... b: Waiting for journal at /build/vm-state-b/var/log/journal... (finished: start all VMs, in 0.00 seconds) a: waiting for unit postgresql.target 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. 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. 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. 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. a # [14610.948667] a systemd-journald[57]: Journal started b # [14610.960743] b systemd-journald[57]: Journal started a # [14610.948710] a systemd-journald[57]: Runtime Journal (/run/log/journal/78222a02e75245618572fdfe67a77205) is 8M, max 4G, 3.9G free. b # [14610.960785] b systemd-journald[57]: Runtime Journal (/run/log/journal/f497d7d065d74448958ac415119f27f9) is 8M, max 4G, 3.9G free. a # [14610.955135] a systemd[1]: Finished Apply Kernel Variables. b # [14610.968541] b systemd[1]: Finished Apply Kernel Variables. a # [14610.965350] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [14610.978550] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [14610.977912] a systemd[1]: Starting Flush Journal to Persistent Storage... b # [14610.990756] b systemd[1]: Starting Flush Journal to Persistent Storage... a # [14610.978695] a systemd[1]: Starting Create Static Device Nodes in /dev... b # [14610.991370] b systemd[1]: Starting Create Static Device Nodes in /dev... a # [14610.986928] a systemd-journald[57]: Time spent on flushing to /var/log/journal/78222a02e75245618572fdfe67a77205 is 1.798ms for 6 entries. b # [14610.999717] b systemd-journald[57]: Time spent on flushing to /var/log/journal/f497d7d065d74448958ac415119f27f9 is 1.533ms for 6 entries. a # [14610.986928] a systemd-journald[57]: System Journal (/var/log/journal/78222a02e75245618572fdfe67a77205) is 512B, max 4G, 3.9G free. b # [14610.999717] b systemd-journald[57]: System Journal (/var/log/journal/f497d7d065d74448958ac415119f27f9) is 512B, max 4G, 3.9G free. a # [14610.995061] a systemd[1]: Finished Create Static Device Nodes in /dev. b # [14611.008800] b systemd[1]: Finished Flush Journal to Persistent Storage. a # [14610.995823] a systemd[1]: Reached target Preparation for Local File Systems. b # [14611.009371] b systemd[1]: Finished Create Static Device Nodes in /dev. a # [14610.995922] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [14611.010560] b systemd[1]: Reached target Preparation for Local File Systems. a # [14611.008335] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [14611.010673] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [14611.120495] a systemd[1]: Finished Firewall. b # [14611.125881] b systemd[1]: Finished Firewall. b # [14611.959796] b systemd[1]: Mounting /run/wrappers... b # [14611.982139] b systemd[1]: Mounted /run/wrappers. b # [14611.982884] b systemd[1]: Reached target Local File Systems. b # [14611.983675] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [14611.984588] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [14611.984617] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [14611.985390] b systemd[1]: Starting Save Transient machine-id to Disk... b # [14611.986413] b systemd[1]: Starting Create System Files and Directories... b # [14612.005609] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [14612.006056] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted b # [14612.006402] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/f497d7d065d74448958ac415119f27f9 failed: Operation not permitted b # [14612.006782] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [14611.945594] a systemd[1]: Mounting /run/wrappers... a # [14611.985579] a systemd[1]: Mounted /run/wrappers. a # [14611.986805] a systemd[1]: Reached target Local File Systems. a # [14611.988226] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [14611.989639] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [14611.989690] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [14611.990647] a systemd[1]: Starting Save Transient machine-id to Disk... a # [14611.991602] a systemd[1]: Starting Create System Files and Directories... a # [14612.014094] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [14612.014536] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [14612.014869] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/78222a02e75245618572fdfe67a77205 failed: Operation not permitted a # [14612.015263] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [14612.017426] a systemd[1]: Finished Create System Files and Directories. a # [14612.018809] a suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.VM5Z97uyV6/chsh': Operation not permitted a # [14612.027401] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [14612.027440] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [14612.027481] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [14612.030840] a systemd[1]: Starting Rebuild Journal Catalog... a # [14612.031486] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [14612.043496] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [14612.054384] a systemd[1]: Finished Rebuild Journal Catalog. a # [14612.055497] a systemd[1]: Starting Update is Completed... a # [14612.064841] a systemd[1]: Finished Update is Completed. a # [14612.065560] a systemd[1]: Reached target System Initialization. a # [14612.065663] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [14612.065709] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [14612.065729] a systemd[1]: Reached target Timer Units. a # [14612.065858] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [14612.066108] a systemd[1]: Listening on Nix Daemon Socket. a # [14612.066301] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [14612.066332] a systemd[1]: Reached target Socket Units. a # [14612.066391] a systemd[1]: Reached target Basic System. a # [14612.068145] a systemd[1]: Starting Re-link flakelet services at boot... a # [14612.070134] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [14612.071771] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [14612.072981] a systemd[1]: Starting resolvconf update... a # [14612.086332] a systemd[1]: Finished Re-link flakelet services at boot. a # [14612.087730] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [14612.151953] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [14612.158944] a systemd[1]: Finished Save Transient machine-id to Disk. a # [14612.159392] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [14612.159749] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [14612.181892] a systemd[1]: nscd.service: Deactivated successfully. a # [14612.194164] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [14612.195731] a systemd[1]: Finished resolvconf update. b # [14612.009244] b systemd[1]: Finished Create System Files and Directories. b # [14612.012737] b suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.CDW0GHa0Iy/chsh': Operation not permitted b # [14612.020199] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [14612.020302] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [14612.020481] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [14612.022246] b systemd[1]: Starting Rebuild Journal Catalog... b # [14612.022989] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [14612.036283] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [14612.041225] b systemd[1]: Finished Rebuild Journal Catalog. b # [14612.042361] b systemd[1]: Starting Update is Completed... b # [14612.052637] b systemd[1]: Finished Update is Completed. b # [14612.053253] b systemd[1]: Reached target System Initialization. b # [14612.053352] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [14612.053398] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [14612.053416] b systemd[1]: Reached target Timer Units. b # [14612.053542] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [14612.053731] b systemd[1]: Listening on Nix Daemon Socket. b # [14612.053827] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [14612.053842] b systemd[1]: Reached target Socket Units. b # [14612.053876] b systemd[1]: Reached target Basic System. b # [14612.055447] b systemd[1]: Starting Re-link flakelet services at boot... b # [14612.056272] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [14612.057256] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [14612.058273] b systemd[1]: Starting resolvconf update... b # [14612.069480] b systemd[1]: Finished Re-link flakelet services at boot. b # [14612.071129] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [14612.080157] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [14612.085518] b systemd[1]: Finished Reconcile flakelet services with the host configuration. b # [14612.143669] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [14612.144741] b systemd[1]: Finished Save Transient machine-id to Disk. b # [14612.174020] b systemd[1]: nscd.service: Deactivated successfully. b # [14612.174218] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [14612.176999] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [14612.194254] b systemd[1]: Finished resolvconf update. b # [14612.194452] b systemd[1]: Reached target Preparation for Network. b # [14612.195805] b systemd[1]: Starting Address configuration of eth1... b # [14612.196772] b systemd[1]: Starting Extra networking commands.... a # [14612.196277] a systemd[1]: Reached target Preparation for Network. a # [14612.197201] a systemd[1]: Starting Address configuration of eth1... a # [14612.197984] a systemd[1]: Starting Extra networking commands.... a # [14612.198748] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [14612.218186] a network-addresses-eth1-start[240]: adding address 192.168.1.1/24... done a # [14612.221608] a network-addresses-eth1-start[240]: adding address 2001:db8:1::1/64... done a # [14612.226515] a systemd[1]: Finished Address configuration of eth1. a # [14612.265300] a systemd[1]: Finished Extra networking commands.. a # [14612.265401] a systemd[1]: Reached target Network. a # [14612.266918] a systemd[1]: Starting PostgreSQL Server... a # [14612.432989] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [14612.433105] a systemd[1]: Reached target Host and Network Name Lookups. a # [14612.433251] a nsncd[242]: Sep 10 15:38:13.927 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [14612.433195] a systemd[1]: Reached target User and Group Name Lookups. a # [14612.435726] a systemd[1]: Starting User Login Management... a # [14612.437214] a systemd[1]: Starting Permit User Sessions... b # [14612.217020] b network-addresses-eth1-start[242]: adding address 192.168.1.2/24... done b # [14612.220493] b network-addresses-eth1-start[242]: adding address 2001:db8:1::2/64... done b # [14612.225021] b systemd[1]: Finished Address configuration of eth1. b # [14612.264459] b systemd[1]: Finished Extra networking commands.. b # [14612.265095] b systemd[1]: Reached target Network. b # [14612.266560] b systemd[1]: Starting PostgreSQL Server... b # [14612.440043] b nsncd[235]: Sep 10 15:38:13.934 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [14612.440045] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [14612.440124] b systemd[1]: Reached target Host and Network Name Lookups. b # [14612.440182] b systemd[1]: Reached target User and Group Name Lookups. b # [14612.442214] b systemd[1]: Starting User Login Management... b # [14612.451830] b systemd[1]: Starting Permit User Sessions... b # [14612.463684] b systemd[1]: Finished Permit User Sessions. b # [14612.466479] b systemd[1]: Started Console Getty. b # [14612.466533] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [14612.466566] b systemd[1]: Reached target Login Prompts. a # [14612.459333] a systemd[1]: Finished Permit User Sessions. a # [14612.461320] a systemd[1]: Started Console Getty. a # [14612.461349] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [14612.461362] a systemd[1]: Reached target Login Prompts. a # [14613.549734] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [14613.549734] a postgresql-pre-start[325]: This user must also own the server process. a # [14613.550575] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [14613.550575] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [14613.550575] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [14613.550575] a postgresql-pre-start[325]: Data page checksums are enabled. a # [14613.550575] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [14613.551252] a postgresql-pre-start[325]: creating subdirectories ... ok a # [14613.551381] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [14613.573042] a systemd-logind[314]: New seat seat0. a # [14613.573364] a systemd[1]: Started User Login Management. a # [14613.575425] a systemd[1]: Starting D-Bus System Message Bus... a # [14613.575992] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [14613.576935] a systemd[1]: Starting linger-users.service... a # [14613.591942] a systemd[1]: linger-users.service: Deactivated successfully. a # [14613.592359] a systemd[1]: Finished linger-users.service. a # [14613.604510] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB b # [14613.515135] b systemd-logind[314]: New seat seat0. b # [14613.515561] b systemd[1]: Started User Login Management. b # [14613.522120] b systemd[1]: Starting D-Bus System Message Bus... b # [14613.523633] b systemd[1]: Starting linger-users.service... b # [14613.554665] b systemd[1]: linger-users.service: Deactivated successfully. b # [14613.555089] b systemd[1]: Finished linger-users.service. b # [14613.559443] b postgresql-pre-start[327]: The files belonging to this database system will be owned by user "postgres". b # [14613.559443] b postgresql-pre-start[327]: This user must also own the server process. b # [14613.560304] b postgresql-pre-start[327]: The database cluster will be initialized with locale "en_US.UTF-8". b # [14613.560304] b postgresql-pre-start[327]: The default database encoding has accordingly been set to "UTF8". b # [14613.560304] b postgresql-pre-start[327]: The default text search configuration will be set to "english". b # [14613.560304] b postgresql-pre-start[327]: Data page checksums are enabled. b # [14613.560304] b postgresql-pre-start[327]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [14613.560652] b postgresql-pre-start[327]: creating subdirectories ... ok b # [14613.560800] b postgresql-pre-start[327]: selecting dynamic shared memory implementation ... posix b # [14613.582779] b postgresql-pre-start[327]: selecting default "max_connections" ... 100 b # [14613.614516] b postgresql-pre-start[327]: selecting default "shared_buffers" ... 128MB a # [14613.901359] a dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'... a # [14613.902917] a dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync' a # [14613.902917] a dbus-broker-launch[329]: Invalid user-name in /nix/store/5ay2pgrlazd99d7xh00da9znwdxkl0gj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [14613.904106] a systemd[1]: Started D-Bus System Message Bus. a # [14613.907798] a postgresql-pre-start[325]: selecting default time zone ... UTC a # [14613.908525] a postgresql-pre-start[325]: creating configuration files ... ok a # [14613.911058] a dbus-broker-launch[329]: Ready a # [14614.030828] a postgresql-pre-start[325]: running bootstrap script ... ok b # [14613.879210] b dbus-broker-launch[324]: Looking up NSS user entry for 'systemd-timesync'... b # [14613.880962] b dbus-broker-launch[324]: NSS returned no entry for 'systemd-timesync' b # [14613.880962] b dbus-broker-launch[324]: Invalid user-name in /nix/store/5ay2pgrlazd99d7xh00da9znwdxkl0gj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [14613.882045] b systemd[1]: Started D-Bus System Message Bus. b # [14613.890115] b dbus-broker-launch[324]: Ready b # [14613.922024] b postgresql-pre-start[327]: selecting default time zone ... UTC b # [14613.922712] b postgresql-pre-start[327]: creating configuration files ... ok b # [14614.043452] b postgresql-pre-start[327]: running bootstrap script ... ok b # [14614.356829] b postgresql-pre-start[327]: performing post-bootstrap initialization ... ok a # [14614.345374] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok a # [14614.737559] a postgresql-pre-start[325]: syncing data to disk ... ok a # [14614.737559] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [14614.737559] 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 # [14614.737559] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [14614.737559] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [14614.707518] b postgresql-pre-start[327]: syncing data to disk ... ok b # [14614.707518] b postgresql-pre-start[327]: initdb: warning: enabling "trust" authentication for local connections b # [14614.707518] b postgresql-pre-start[327]: 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 # [14614.707518] b postgresql-pre-start[327]: Success. You can now start the database server using: b # [14614.707518] b postgresql-pre-start[327]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [14615.876575] 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 # [14615.878269] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [14615.878269] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [14615.878730] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [14615.883684] a postgres[352]: [352] LOG: database system was shut down at 2026-09-10 15:38:15 GMT a # [14615.887276] a postgres[343]: [343] LOG: database system is ready to accept connections a # [14615.887842] a systemd[1]: Started PostgreSQL Server. a # [14615.895708] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [14615.929518] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [14615.931318] a systemd[1]: Reached target PostgreSQL. a # [14615.931541] a systemd[1]: Reached target flakelet contract providers ready. a # [14615.933089] a systemd[1]: Starting Update flakelet service web... a # [14615.946112] a flakelet[361]: web: using prebuilt artifact /nix/store/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web a # [14615.946549] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [14615.961563] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14616.042099] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [14616.043729] a flakelet[361]: web: activating generation 1 a # [14616.048954] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [14616.049032] a systemd[1]: Reloading... b # [14615.859360] 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 # [14615.860772] b postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 b # [14615.860772] b postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [14615.861327] b postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [14615.866308] b postgres[352]: [352] LOG: database system was shut down at 2026-09-10 15:38:15 GMT b # [14615.869657] b postgres[343]: [343] LOG: database system is ready to accept connections b # [14615.870340] b systemd[1]: Started PostgreSQL Server. b # [14615.872764] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [14615.922024] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [14615.922294] b systemd[1]: Reached target PostgreSQL. b # [14615.922382] b systemd[1]: Reached target flakelet contract providers ready. b # [14615.923468] b systemd[1]: Starting Update flakelet service web... b # [14615.936786] b flakelet[361]: web: using prebuilt artifact /nix/store/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web b # [14615.937514] b flakelet[361]: web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [14615.951208] b runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14616.033526] b runuser[365]: pam_unix(runuser:session): session closed for user postgres b # [14616.035358] b flakelet[361]: web: activating generation 1 b # [14616.039900] b systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... b # [14616.039950] b systemd[1]: Reloading... b # [14616.361109] b systemd[1]: Reloading finished in 320 ms. b # [14616.426497] b systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... b # [14616.426536] b systemd[1]: Reloading... b # [14616.743206] b systemd[1]: Reloading finished in 316 ms. a # [14616.384644] a systemd[1]: Reloading finished in 334 ms. a # [14616.438500] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [14616.438543] a systemd[1]: Reloading... a # [14616.751788] a systemd[1]: Reloading finished in 312 ms. a # [14616.815333] a systemd[1]: Starting web.service... a # [14616.836258] a systemd[1]: Started web.service. a # [14616.842619] a flakelet[361]: web: updated to generation 1 a # [14616.845039] a systemd[1]: Finished Update flakelet service web. a # [14616.845322] a systemd[1]: Reached target flakelet managed services. a # [14616.845412] a systemd[1]: Reached target Multi-User System. a # [14616.845560] a systemd[1]: Startup finished in 6.267s. b # [14616.814317] b systemd[1]: Starting web.service... b # [14616.835478] b systemd[1]: Started web.service. b # [14616.842211] b flakelet[361]: web: updated to generation 1 b # [14616.844979] b systemd[1]: Finished Update flakelet service web. b # [14616.845444] b systemd[1]: Reached target flakelet managed services. b # [14616.845598] b systemd[1]: Reached target Multi-User System. b # [14616.845765] b systemd[1]: Startup finished in 6.272s. 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/f3vbkhcnzmgjphqaarrzgjdpzrb02va5-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: (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.03 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.03 seconds) a: must succeed: flakelet export web --dry-run >&2 { "version": 1, "flakelet_version": "0.1.0", "name": "web", "source_host": "a", "created": 1789054698, "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/9m3k2nl1w5yffdzgwlbxz0qygcxa41i3-flakelet-postgres-dump/bin/flakelet-postgres-dump web: archiving /var/lib/web a # [14617.294933] a runuser[433]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14617.306951] a runuser[433]: pam_unix(runuser:session): session closed for user postgres a # [14617.319129] a runuser[437]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [14617.334460] a runuser[437]: pam_unix(runuser:session): session closed for user web a # [14617.373696] a systemd[1]: Stopping web.service... a # [14617.374182] a systemd[1]: web.service: Deactivated successfully. a # [14617.374436] a systemd[1]: Stopped web.service. a # [14617.397909] a runuser[450]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14617.446340] a runuser[450]: pam_unix(runuser:session): session closed for user postgres a # [14617.499145] a systemd[1]: Reload requested from client PID 465 ('systemctl')... a # [14617.499199] a systemd[1]: Reloading... a # [14617.824277] a systemd[1]: Reloading finished in 324 ms. a # [14617.866837] a systemd[1]: Reload requested from client PID 493 ('systemctl')... a # [14617.866869] a systemd[1]: Reloading... a # [14618.171599] a systemd[1]: Reloading finished in 304 ms. web: disabled here, 'flakelet enable web' undoes that a: (finished: must succeed: flakelet export web --to b > /tmp/shared/web.tar.zst, in 0.86 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/f3vbkhcnzmgjphqaarrzgjdpzrb02va5-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/f3vbkhcnzmgjphqaarrzgjdpzrb02va5-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 web: using prebuilt artifact /nix/store/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web b # [14618.315382] b systemd[1]: Stopping web.service... b # [14618.315903] b systemd[1]: web.service: Deactivated successfully. b # [14618.316266] b systemd[1]: Stopped web.service. b # [14618.336090] b systemd[1]: Reload requested from client PID 445 ('systemctl')... b # [14618.336174] b systemd[1]: Reloading... b # [14618.662630] b systemd[1]: Reloading finished in 325 ms. b # [14618.716343] b systemd[1]: Reload requested from client PID 473 ('systemctl')... b # [14618.716383] b systemd[1]: Reloading... b # [14619.030214] b systemd[1]: Reloading finished in 313 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/q78p8381gwpx86wjbpwf1dd2s464h4jz-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 2 b # [14619.105951] b runuser[508]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.117765] b runuser[508]: pam_unix(runuser:session): session closed for user postgres b # [14619.122790] b runuser[511]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.136276] b runuser[511]: pam_unix(runuser:session): session closed for user postgres b # [14619.141296] b runuser[514]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.154466] b runuser[514]: pam_unix(runuser:session): session closed for user postgres b # [14619.171422] b runuser[520]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.182304] b runuser[520]: pam_unix(runuser:session): session closed for user postgres b # [14619.188648] b systemd[1]: Reload requested from client PID 523 ('systemctl')... b # [14619.188689] b systemd[1]: Reloading... b # [14619.495196] b systemd[1]: Reloading finished in 306 ms. b # [14619.534509] b systemd[1]: Reload requested from client PID 551 ('systemctl')... b # [14619.534543] b systemd[1]: Reloading... b # [14619.841648] b systemd[1]: Reloading finished in 306 ms. web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.63 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/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web b # [14619.882352] b systemd[1]: Starting web.service... b # [14619.898117] b systemd[1]: Started web.service. b # [14619.931326] b runuser[584]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [14619.942365] b runuser[584]: pam_unix(runuser:session): session closed for user web b # [14619.952055] b runuser[589]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.963244] b runuser[589]: pam_unix(runuser:session): session closed for user postgres b # [14619.972962] b runuser[594]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14619.983527] b runuser[594]: pam_unix(runuser:session): session closed for user postgres b # [14620.018977] b systemd[1]: Stopping web.service... b # [14620.019381] b systemd[1]: web.service: Deactivated successfully. b # [14620.019661] b systemd[1]: Stopped web.service. b # [14620.034484] b systemd[1]: Reload requested from client PID 610 ('systemctl')... b # [14620.034552] b systemd[1]: Reloading... b # [14620.366881] b systemd[1]: Reloading finished in 331 ms. b # [14620.416351] b systemd[1]: Reload requested from client PID 638 ('systemctl')... b # [14620.416390] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/q78p8381gwpx86wjbpwf1dd2s464h4jz-flakelet-postgres-restore/bin/flakelet-postgres-restore error: /nix/store/q78p8381gwpx86wjbpwf1dd2s464h4jz-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmphoCjDG/requires/postgres/claim.json /var/cache/flakelet/.tmphoCjDG/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/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web b # [14620.727591] b systemd[1]: Reloading finished in 310 ms. b # [14620.801053] b runuser[673]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14620.813623] b runuser[673]: pam_unix(runuser:session): session closed for user postgres b # [14620.818433] b runuser[676]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14620.830322] b runuser[676]: pam_unix(runuser:session): session closed for user postgres b # [14620.888107] b systemd[1]: Reload requested from client PID 691 ('systemctl')... b # [14620.888152] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/q78p8381gwpx86wjbpwf1dd2s464h4jz-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 3 b # [14621.197745] b systemd[1]: Reloading finished in 309 ms. b # [14621.262349] b runuser[723]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14621.275180] b postgres[350]: [350] LOG: checkpoint starting: immediate force wait b # [14621.286906] 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.006 s, sync=0.004 s, total=0.012 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 # [14621.305356] b runuser[723]: pam_unix(runuser:session): session closed for user postgres b # [14621.323702] b runuser[729]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14621.370860] b runuser[729]: pam_unix(runuser:session): session closed for user postgres b # [14621.377946] b runuser[732]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14621.390099] b runuser[732]: pam_unix(runuser:session): session closed for user postgres b # [14621.394706] b runuser[735]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14621.406746] b runuser[735]: pam_unix(runuser:session): session closed for user postgres b # [14621.422887] b runuser[741]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14621.435760] b runuser[741]: pam_unix(runuser:session): session closed for user postgres b # [14621.442346] b systemd[1]: Reload requested from client PID 744 ('systemctl')... b # [14621.442393] b systemd[1]: Reloading... b # [14621.755255] b systemd[1]: Reloading finished in 312 ms. b # [14621.800745] b systemd[1]: Reload requested from client PID 772 ('systemctl')... b # [14621.800779] b systemd[1]: Reloading... web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.33 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.02 seconds) (finished: run the VM test script, in 12.12 seconds) test script finished in 12.21s cleanup kill NspawnMachine (pid 51) kill NspawnMachine (pid 52) Container a terminated by signal KILL. (finished: cleanup, in 0.18 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 Container b terminated by signal KILL.