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(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. b # [1107467.924359] b systemd-journald[57]: Journal started a # [1107467.923729] a systemd-journald[57]: Journal started b # [1107467.924401] b systemd-journald[57]: Runtime Journal (/run/log/journal/c3e5dbd87dd0464fa90491634439a1a3) is 8M, max 4G, 3.9G free. a # [1107467.923771] a systemd-journald[57]: Runtime Journal (/run/log/journal/08a8b86a848647f389c20477079c006a) is 8M, max 4G, 3.9G free. b # [1107467.931837] b systemd[1]: Finished Apply Kernel Variables. a # [1107467.931910] a systemd[1]: Finished Apply Kernel Variables. b # [1107467.942305] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [1107467.942386] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [1107467.954894] b systemd[1]: Starting Flush Journal to Persistent Storage... a # [1107467.954943] a systemd[1]: Starting Flush Journal to Persistent Storage... b # [1107467.955655] b systemd[1]: Starting Create Static Device Nodes in /dev... a # [1107467.955770] a systemd[1]: Starting Create Static Device Nodes in /dev... b # [1107467.994897] b systemd-journald[57]: Time spent on flushing to /var/log/journal/c3e5dbd87dd0464fa90491634439a1a3 is 1.605ms for 6 entries. a # [1107467.994590] a systemd-journald[57]: Time spent on flushing to /var/log/journal/08a8b86a848647f389c20477079c006a is 1.576ms for 6 entries. b # [1107467.994897] b systemd-journald[57]: System Journal (/var/log/journal/c3e5dbd87dd0464fa90491634439a1a3) is 512B, max 4G, 3.9G free. a # [1107467.994590] a systemd-journald[57]: System Journal (/var/log/journal/08a8b86a848647f389c20477079c006a) is 512B, max 4G, 3.9G free. b # [1107468.001269] b systemd[1]: Finished Create Static Device Nodes in /dev. a # [1107468.001364] a systemd[1]: Finished Create Static Device Nodes in /dev. b # [1107468.002018] b systemd[1]: Reached target Preparation for Local File Systems. a # [1107468.002084] a systemd[1]: Reached target Preparation for Local File Systems. b # [1107468.002134] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [1107468.002194] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [1107468.018567] b systemd[1]: Finished Flush Journal to Persistent Storage. a # [1107468.019816] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [1107468.087220] b systemd[1]: Finished Firewall. a # [1107468.079856] a systemd[1]: Finished Firewall. a # [1107468.921883] a systemd[1]: Mounting /run/wrappers... a # [1107468.970636] a systemd[1]: Mounted /run/wrappers. a # [1107468.971432] a systemd[1]: Reached target Local File Systems. a # [1107468.972318] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [1107468.973179] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [1107468.973206] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [1107468.974248] a systemd[1]: Starting Save Transient machine-id to Disk... a # [1107468.975174] a systemd[1]: Starting Create System Files and Directories... a # [1107468.992341] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [1107468.921936] b systemd[1]: Mounting /run/wrappers... b # [1107468.983433] b systemd[1]: Mounted /run/wrappers. b # [1107468.984782] b systemd[1]: Reached target Local File Systems. b # [1107468.986380] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [1107468.987472] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [1107468.987517] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [1107468.988692] b systemd[1]: Starting Save Transient machine-id to Disk... b # [1107468.989795] b systemd[1]: Starting Create System Files and Directories... b # [1107469.014542] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [1107469.017925] b systemd[1]: Finished Create System Files and Directories. b # [1107469.028978] b systemd[1]: Starting Rebuild Journal Catalog... b # [1107469.029669] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [1107469.045178] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [1107469.047802] b systemd[1]: Finished Rebuild Journal Catalog. b # [1107469.048702] b systemd[1]: Starting Update is Completed... b # [1107469.058380] b systemd[1]: Finished Update is Completed. b # [1107469.084086] b systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. b # [1107469.084165] b systemd[1]: Finished Create SUID/SGID Wrappers. b # [1107469.084312] b systemd[1]: Reached target System Initialization. b # [1107469.084395] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [1107469.084420] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [1107469.084435] b systemd[1]: Reached target Timer Units. b # [1107469.084535] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [1107469.084704] b systemd[1]: Listening on Nix Daemon Socket. b # [1107469.084793] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [1107469.084807] b systemd[1]: Reached target Socket Units. b # [1107469.084834] b systemd[1]: Reached target Basic System. b # [1107469.085946] b systemd[1]: Starting Re-link flakelet services at boot... b # [1107469.086600] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [1107469.087463] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1107469.088228] b systemd[1]: Starting resolvconf update... b # [1107469.177014] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [1107468.995729] a systemd[1]: Finished Create System Files and Directories. a # [1107469.007254] a systemd[1]: Starting Rebuild Journal Catalog... a # [1107469.007992] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [1107469.020648] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [1107469.026671] a systemd[1]: Finished Rebuild Journal Catalog. a # [1107469.027521] a systemd[1]: Starting Update is Completed... a # [1107469.036950] a systemd[1]: Finished Update is Completed. a # [1107469.083391] a systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. a # [1107469.083580] a systemd[1]: Finished Create SUID/SGID Wrappers. a # [1107469.083710] a systemd[1]: Reached target System Initialization. a # [1107469.083787] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [1107469.083813] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [1107469.083828] a systemd[1]: Reached target Timer Units. a # [1107469.083922] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [1107469.084121] a systemd[1]: Listening on Nix Daemon Socket. a # [1107469.084225] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [1107469.084238] a systemd[1]: Reached target Socket Units. a # [1107469.084264] a systemd[1]: Reached target Basic System. a # [1107469.085636] a systemd[1]: Starting Re-link flakelet services at boot... a # [1107469.086451] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [1107469.087477] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1107469.088272] a systemd[1]: Starting resolvconf update... a # [1107469.181171] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [1107469.181998] a systemd[1]: Finished Save Transient machine-id to Disk. a # [1107469.182126] a systemd[1]: flakelet-boot.service: Deactivated successfully. a # [1107469.182168] a systemd[1]: Finished Re-link flakelet services at boot. a # [1107469.208813] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [1107469.224409] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [1107469.229264] a systemd[1]: nscd.service: Deactivated successfully. a # [1107469.229387] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [1107469.230724] a systemd[1]: flakelet-reconcile.service: Deactivated successfully. a # [1107469.230777] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [1107469.231980] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1107469.242159] a systemd[1]: Finished resolvconf update. a # [1107469.242234] a systemd[1]: Reached target Preparation for Network. a # [1107469.242864] a systemd[1]: Starting Address configuration of eth1... a # [1107469.243510] a systemd[1]: Starting Extra networking commands.... a # [1107469.262219] a network-addresses-eth1-start[289]: adding address 192.168.1.1/24... done a # [1107469.265799] a network-addresses-eth1-start[289]: adding address 2001:db8:1::1/64... done a # [1107469.271048] a systemd[1]: Finished Address configuration of eth1. a # [1107469.331438] a systemd[1]: Finished Extra networking commands.. a # [1107469.332164] a systemd[1]: Reached target Network. a # [1107469.333477] a systemd[1]: Starting PostgreSQL Server... b # [1107469.178072] b systemd[1]: Finished Save Transient machine-id to Disk. b # [1107469.178250] b systemd[1]: flakelet-boot.service: Deactivated successfully. b # [1107469.178364] b systemd[1]: Finished Re-link flakelet services at boot. b # [1107469.183203] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [1107469.202932] b systemd[1]: nscd.service: Deactivated successfully. b # [1107469.208286] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [1107469.211257] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1107469.222739] b systemd[1]: Finished resolvconf update. b # [1107469.222825] b systemd[1]: Reached target Preparation for Network. b # [1107469.223757] b systemd[1]: Starting Address configuration of eth1... b # [1107469.224523] b systemd[1]: Starting Extra networking commands.... b # [1107469.224713] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [1107469.226353] b systemd[1]: flakelet-reconcile.service: Deactivated successfully. b # [1107469.226528] b systemd[1]: Finished Reconcile flakelet services with the host configuration. b # [1107469.244215] b network-addresses-eth1-start[286]: adding address 192.168.1.2/24... done b # [1107469.248372] b network-addresses-eth1-start[286]: adding address 2001:db8:1::2/64... done b # [1107469.252712] b systemd[1]: Finished Address configuration of eth1. b # [1107469.290193] b systemd[1]: Finished Extra networking commands.. b # [1107469.290317] b systemd[1]: Reached target Network. b # [1107469.291855] b systemd[1]: Starting PostgreSQL Server... b # [1107469.478729] b nsncd[284]: Aug 27 08:47:40.124 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [1107469.478692] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [1107469.478807] b systemd[1]: Reached target Host and Network Name Lookups. b # [1107469.478914] b systemd[1]: Reached target User and Group Name Lookups. b # [1107469.481433] b systemd[1]: Starting User Login Management... b # [1107469.482836] b systemd[1]: Starting Permit User Sessions... b # [1107469.518520] b systemd[1]: Finished Permit User Sessions. b # [1107469.520255] b systemd[1]: Started Console Getty. b # [1107469.520317] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [1107469.520346] b systemd[1]: Reached target Login Prompts. a # [1107469.483236] a nsncd[282]: Aug 27 08:47:40.129 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [1107469.483243] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [1107469.483329] a systemd[1]: Reached target Host and Network Name Lookups. a # [1107469.483433] a systemd[1]: Reached target User and Group Name Lookups. a # [1107469.485518] a systemd[1]: Starting User Login Management... a # [1107469.486731] a systemd[1]: Starting Permit User Sessions... a # [1107469.518319] a systemd[1]: Finished Permit User Sessions. a # [1107469.520103] a systemd[1]: Started Console Getty. a # [1107469.520156] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [1107469.520188] a systemd[1]: Reached target Login Prompts. b # [1107470.552659] b postgresql-pre-start[372]: The files belonging to this database system will be owned by user "postgres". b # [1107470.552659] b postgresql-pre-start[372]: This user must also own the server process. b # [1107470.553503] b postgresql-pre-start[372]: The database cluster will be initialized with locale "en_US.UTF-8". b # [1107470.553503] b postgresql-pre-start[372]: The default database encoding has accordingly been set to "UTF8". b # [1107470.553503] b postgresql-pre-start[372]: The default text search configuration will be set to "english". b # [1107470.553503] b postgresql-pre-start[372]: Data page checksums are enabled. b # [1107470.553503] b postgresql-pre-start[372]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [1107470.554445] b postgresql-pre-start[372]: creating subdirectories ... ok b # [1107470.554605] b postgresql-pre-start[372]: selecting dynamic shared memory implementation ... posix b # [1107470.568796] b systemd-logind[361]: New seat seat0. b # [1107470.569207] b systemd[1]: Started User Login Management. b # [1107470.578652] b postgresql-pre-start[372]: selecting default "max_connections" ... 100 b # [1107470.582754] b systemd[1]: Starting D-Bus System Message Bus... b # [1107470.584190] b systemd[1]: Starting linger-users.service... b # [1107470.607238] b postgresql-pre-start[372]: selecting default "shared_buffers" ... 128MB b # [1107470.617813] b systemd[1]: linger-users.service: Deactivated successfully. b # [1107470.617985] b systemd[1]: Finished linger-users.service. a # [1107470.553769] a systemd-logind[361]: New seat seat0. a # [1107470.554171] a systemd[1]: Started User Login Management. a # [1107470.556653] a systemd[1]: Starting D-Bus System Message Bus... a # [1107470.558101] a systemd[1]: Starting linger-users.service... a # [1107470.569459] a postgresql-pre-start[372]: The files belonging to this database system will be owned by user "postgres". a # [1107470.569459] a postgresql-pre-start[372]: This user must also own the server process. a # [1107470.570072] a postgresql-pre-start[372]: The database cluster will be initialized with locale "en_US.UTF-8". a # [1107470.570072] a postgresql-pre-start[372]: The default database encoding has accordingly been set to "UTF8". a # [1107470.570072] a postgresql-pre-start[372]: The default text search configuration will be set to "english". a # [1107470.570072] a postgresql-pre-start[372]: Data page checksums are enabled. a # [1107470.570072] a postgresql-pre-start[372]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [1107470.570861] a postgresql-pre-start[372]: creating subdirectories ... ok a # [1107470.570989] a postgresql-pre-start[372]: selecting dynamic shared memory implementation ... posix a # [1107470.592191] a systemd[1]: linger-users.service: Deactivated successfully. a # [1107470.592531] a systemd[1]: Finished linger-users.service. a # [1107470.592634] a postgresql-pre-start[372]: selecting default "max_connections" ... 100 a # [1107470.620338] a postgresql-pre-start[372]: selecting default "shared_buffers" ... 128MB a # [1107470.924255] a postgresql-pre-start[372]: selecting default time zone ... UTC a # [1107470.925034] a postgresql-pre-start[372]: creating configuration files ... ok a # [1107470.946360] a dbus-broker-launch[374]: Looking up NSS user entry for 'systemd-timesync'... a # [1107470.948009] a dbus-broker-launch[374]: NSS returned no entry for 'systemd-timesync' a # [1107470.948009] a dbus-broker-launch[374]: Invalid user-name in /nix/store/48jjn80h5fm7kcm33mm0hld42cv839jy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [1107470.949113] a systemd[1]: Started D-Bus System Message Bus. a # [1107470.956096] a dbus-broker-launch[374]: Ready a # [1107471.060186] a postgresql-pre-start[372]: running bootstrap script ... ok b # [1107470.915813] b postgresql-pre-start[372]: selecting default time zone ... UTC b # [1107470.916832] b postgresql-pre-start[372]: creating configuration files ... ok b # [1107470.951494] b dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'... b # [1107470.952566] b dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync' b # [1107470.952566] b dbus-broker-launch[376]: Invalid user-name in /nix/store/48jjn80h5fm7kcm33mm0hld42cv839jy-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [1107470.953171] b systemd[1]: Started D-Bus System Message Bus. b # [1107470.959777] b dbus-broker-launch[376]: Ready b # [1107471.056488] b postgresql-pre-start[372]: running bootstrap script ... ok a # [1107471.404973] a postgresql-pre-start[372]: performing post-bootstrap initialization ... ok b # [1107471.406976] b postgresql-pre-start[372]: performing post-bootstrap initialization ... ok b # [1107471.841549] b postgresql-pre-start[372]: syncing data to disk ... ok b # [1107471.841549] b postgresql-pre-start[372]: initdb: warning: enabling "trust" authentication for local connections b # [1107471.841549] b postgresql-pre-start[372]: 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 # [1107471.841549] b postgresql-pre-start[372]: Success. You can now start the database server using: b # [1107471.841549] b postgresql-pre-start[372]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [1107471.831144] a postgresql-pre-start[372]: syncing data to disk ... ok a # [1107471.831144] a postgresql-pre-start[372]: initdb: warning: enabling "trust" authentication for local connections a # [1107471.831144] a postgresql-pre-start[372]: 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 # [1107471.831144] a postgresql-pre-start[372]: Success. You can now start the database server using: a # [1107471.831144] a postgresql-pre-start[372]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [1107472.924667] a postgres[390]: [390] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit a # [1107472.926353] a postgres[390]: [390] LOG: listening on IPv6 address "::1", port 5432 a # [1107472.926427] a postgres[390]: [390] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [1107472.927020] a postgres[390]: [390] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [1107472.932317] a postgres[399]: [399] LOG: database system was shut down at 2026-08-27 08:47:42 GMT a # [1107472.936701] a postgres[390]: [390] LOG: database system is ready to accept connections a # [1107472.937554] a systemd[1]: Started PostgreSQL Server. a # [1107472.940038] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [1107472.988671] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [1107472.988986] a systemd[1]: Reached target PostgreSQL. a # [1107472.989084] a systemd[1]: Reached target flakelet contract providers ready. a # [1107472.990075] a systemd[1]: Starting Update flakelet service web... a # [1107473.001653] a flakelet[408]: web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web a # [1107473.002671] a flakelet[408]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [1107473.020110] a runuser[412]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1107473.106635] a runuser[412]: pam_unix(runuser:session): session closed for user postgres a # [1107473.108422] a flakelet[408]: web: activating generation 1 a # [1107473.114265] a systemd[1]: Reload requested from client PID 415 ('systemctl') (unit flakelet-web.service)... a # [1107473.114306] a systemd[1]: Reloading... b # [1107472.944774] b postgres[390]: [390] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit b # [1107472.946023] b postgres[390]: [390] LOG: listening on IPv6 address "::1", port 5432 b # [1107472.946108] b postgres[390]: [390] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [1107472.946642] b postgres[390]: [390] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [1107472.951974] b postgres[399]: [399] LOG: database system was shut down at 2026-08-27 08:47:42 GMT b # [1107472.955808] b postgres[390]: [390] LOG: database system is ready to accept connections b # [1107472.956341] b systemd[1]: Started PostgreSQL Server. b # [1107472.960628] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [1107472.994567] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [1107472.994857] b systemd[1]: Reached target PostgreSQL. b # [1107472.994941] b systemd[1]: Reached target flakelet contract providers ready. b # [1107472.995707] b systemd[1]: Starting Update flakelet service web... b # [1107473.007581] b flakelet[408]: web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web b # [1107473.008305] b flakelet[408]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [1107473.021611] b runuser[412]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107473.105930] b runuser[412]: pam_unix(runuser:session): session closed for user postgres b # [1107473.107659] b flakelet[408]: web: activating generation 1 b # [1107473.111935] b systemd[1]: Reload requested from client PID 415 ('systemctl') (unit flakelet-web.service)... b # [1107473.111981] b systemd[1]: Reloading... a # [1107473.420895] a systemd[1]: Reloading finished in 306 ms. a # [1107473.532534] a systemd[1]: Reload requested from client PID 443 ('systemctl') (unit flakelet-web.service)... a # [1107473.532577] a systemd[1]: Reloading... a # [1107473.682253] a systemd[1]: multi-user.target: Wants dependency dropin /run/systemd/system/multi-user.target.wants/web.service target /nix/store/65ll9wr2p8xjsrfdc4afjcjyg2prgv0b-web.service has different name b # [1107473.418226] b systemd[1]: Reloading finished in 305 ms. b # [1107473.537218] b systemd[1]: Reload requested from client PID 443 ('systemctl') (unit flakelet-web.service)... b # [1107473.537275] b systemd[1]: Reloading... b # [1107473.685362] b systemd[1]: multi-user.target: Wants dependency dropin /run/systemd/system/multi-user.target.wants/web.service target /nix/store/65ll9wr2p8xjsrfdc4afjcjyg2prgv0b-web.service has different name a # [1107473.840814] a systemd[1]: Reloading finished in 307 ms. b # [1107473.843055] b systemd[1]: Reloading finished in 305 ms. 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/zij9b46pjc9bsrqij0kqcb8kl96syfa3-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.01 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 # [1107474.002102] a systemd[1]: Starting web.service... a # [1107474.027648] a systemd[1]: Started web.service. a # [1107474.037556] a flakelet[408]: web: updated to generation 1 a # [1107474.039111] a systemd[1]: flakelet-web.service: Deactivated successfully. a # [1107474.039286] a systemd[1]: Finished Update flakelet service web. a # [1107474.040582] a systemd[1]: Reached target flakelet managed services. a # [1107474.040733] a systemd[1]: Reached target Multi-User System. a # [1107474.047061] a systemd[1]: Startup finished in 6.506s. 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": 1787820464, "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 > /tmp/shared/web.tar.zst web: stopping units requires.postgres: running /nix/store/2ycdgz7jxj2pvsxm7f23qry484qpr2xi-flakelet-postgres-dump/bin/flakelet-postgres-dump b # [1107473.996684] b systemd[1]: Starting web.service... b # [1107474.027392] b systemd[1]: Started web.service. b # [1107474.036177] b flakelet[408]: web: updated to generation 1 b # [1107474.038519] b systemd[1]: flakelet-web.service: Deactivated successfully. b # [1107474.038768] b systemd[1]: Finished Update flakelet service web. b # [1107474.039329] b systemd[1]: Reached target flakelet managed services. b # [1107474.039479] b systemd[1]: Reached target Multi-User System. b # [1107474.039725] b systemd[1]: Startup finished in 6.503s. web: archiving /var/lib/web web: starting units a: (finished: must succeed: flakelet export web > /tmp/shared/web.tar.zst, in 0.14 seconds) a: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst a: (finished: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst, 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.01 seconds) b: must succeed: systemctl stop flakelet-web.service; flakelet remove --purge web a # [1107474.257290] a runuser[479]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1107474.269288] a runuser[479]: pam_unix(runuser:session): session closed for user postgres a # [1107474.280181] a runuser[483]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [1107474.296756] a runuser[483]: pam_unix(runuser:session): session closed for user web a # [1107474.324980] a systemd[1]: Stopping web.service... a # [1107474.325751] a systemd[1]: web.service: Deactivated successfully. a # [1107474.325865] a systemd[1]: Stopped web.service. a # [1107474.343392] a runuser[495]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1107474.385375] a runuser[495]: pam_unix(runuser:session): session closed for user postgres a # [1107474.393239] a systemd[1]: Starting web.service... a # [1107474.430179] a systemd[1]: Started web.service. b # [1107474.515871] b systemd[1]: Stopping web.service... b # [1107474.516243] b systemd[1]: web.service: Deactivated successfully. b # [1107474.516408] b systemd[1]: Stopped web.service. b # [1107474.524668] b systemd[1]: Reload requested from client PID 482 ('systemctl')... b # [1107474.524725] b systemd[1]: Reloading... b # [1107474.833514] b systemd[1]: Reloading finished in 308 ms. b # [1107474.919313] b systemd[1]: Reload requested from client PID 510 ('systemctl')... b # [1107474.919356] b systemd[1]: Reloading... b: (finished: must succeed: systemctl stop flakelet-web.service; flakelet remove --purge web, in 0.81 seconds) ??? Warning (UserWarning): succeed(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/zij9b46pjc9bsrqij0kqcb8kl96syfa3-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/zij9b46pjc9bsrqij0kqcb8kl96syfa3-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web web: restoring /var/lib/web requires.postgres: running /nix/store/cdxsj4b3k0fj5qbigkwvcfmxrccwrzjw-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 1 b # [1107475.216631] b systemd[1]: Reloading finished in 296 ms. b # [1107475.348602] b runuser[554]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107475.360328] b runuser[554]: pam_unix(runuser:session): session closed for user postgres b # [1107475.365170] b runuser[557]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107475.378721] b runuser[557]: pam_unix(runuser:session): session closed for user postgres b # [1107475.383800] b runuser[560]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107475.397450] b runuser[560]: pam_unix(runuser:session): session closed for user postgres b # [1107475.413307] b runuser[566]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107475.424135] b runuser[566]: pam_unix(runuser:session): session closed for user postgres b # [1107475.430044] b systemd[1]: Reload requested from client PID 569 ('systemctl')... b # [1107475.430117] b systemd[1]: Reloading... b # [1107475.756889] b systemd[1]: Reloading finished in 326 ms. b # [1107475.822656] b systemd[1]: Reload requested from client PID 596 ('systemctl')... b # [1107475.822696] b systemd[1]: Reloading... b # [1107475.962765] b systemd[1]: multi-user.target: Wants dependency dropin /run/systemd/system/multi-user.target.wants/web.service target /nix/store/65ll9wr2p8xjsrfdc4afjcjyg2prgv0b-web.service has different name b # [1107476.120707] b systemd[1]: Reloading finished in 297 ms. web: imported as generation 1 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 0.95 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 succeed: flakelet remove --purge web b # [1107476.195846] b systemd[1]: Starting web.service... b # [1107476.228972] b systemd[1]: Started web.service. b # [1107476.266454] b runuser[629]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [1107476.277815] b runuser[629]: pam_unix(runuser:session): session closed for user web b # [1107476.288850] b runuser[634]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107476.301279] b runuser[634]: pam_unix(runuser:session): session closed for user postgres b # [1107476.311095] b runuser[639]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107476.322690] b runuser[639]: pam_unix(runuser:session): session closed for user postgres b # [1107476.341411] b systemd[1]: Stopping web.service... b # [1107476.342050] b systemd[1]: web.service: Deactivated successfully. b # [1107476.342141] b systemd[1]: Stopped web.service. b # [1107476.347266] b systemd[1]: Reload requested from client PID 647 ('systemctl')... b # [1107476.347303] b systemd[1]: Reloading... b # [1107476.645348] b systemd[1]: Reloading finished in 297 ms. b # [1107476.722112] b systemd[1]: Reload requested from client PID 675 ('systemctl')... b # [1107476.722155] b systemd[1]: Reloading... b # [1107477.023319] b systemd[1]: Reloading finished in 300 ms. b: (finished: must succeed: flakelet remove --purge web, in 0.77 seconds) b: must fail: flakelet import /tmp/shared/web.tar.zst web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web web: restoring /var/lib/web requires.postgres: running /nix/store/cdxsj4b3k0fj5qbigkwvcfmxrccwrzjw-flakelet-postgres-restore/bin/flakelet-postgres-restore b # [1107477.146950] b runuser[717]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107477.159491] b runuser[717]: pam_unix(runuser:session): session closed for user postgres b # [1107477.164237] b runuser[720]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1107477.175797] b runuser[720]: pam_unix(runuser:session): session closed for user postgres b # [1107477.186666] b systemd[1]: Reload requested from client PID 724 ('systemctl')... b # [1107477.186706] b systemd[1]: Reloading... error: /nix/store/cdxsj4b3k0fj5qbigkwvcfmxrccwrzjw-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmppW735A/requires/postgres/claim.json /var/cache/flakelet/.tmppW735A/requires/postgres failed: flakelet-postgres-restore: database web is not empty, refusing b: (finished: must fail: flakelet import /tmp/shared/web.tar.zst, in 0.47 seconds) (finished: run the VM test script, in 10.49 seconds) test script finished in 10.54s cleanup kill NspawnMachine (pid 51) kill NspawnMachine (pid 52) 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 meta.json service.json state/ state/0.tar requires/ requires/postgres/ requires/postgres/claim.json requires/postgres/db.pgdump