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(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. 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. ░ Spawning container a on /build/vm-state-a. b # [1184314.594538] b systemd-journald[57]: Journal started a # [1184314.594529] a systemd-journald[57]: Journal started b # [1184314.594662] b systemd-journald[57]: Runtime Journal (/run/log/journal/9ddfec8652f54be197098db32eb5055f) is 8M, max 4G, 3.9G free. a # [1184314.594664] a systemd-journald[57]: Runtime Journal (/run/log/journal/0be312d445904799880186987b97f2f8) is 8M, max 4G, 3.9G free. b # [1184314.601724] b systemd[1]: Finished Apply Kernel Variables. a # [1184314.601776] a systemd[1]: Finished Apply Kernel Variables. b # [1184314.612945] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [1184314.612857] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [1184314.625262] b systemd[1]: Starting Flush Journal to Persistent Storage... a # [1184314.625446] a systemd[1]: Starting Flush Journal to Persistent Storage... b # [1184314.625955] b systemd[1]: Starting Create Static Device Nodes in /dev... a # [1184314.626039] a systemd[1]: Starting Create Static Device Nodes in /dev... b # [1184314.659173] b systemd-journald[57]: Time spent on flushing to /var/log/journal/9ddfec8652f54be197098db32eb5055f is 1.918ms for 6 entries. a # [1184314.659380] a systemd-journald[57]: Time spent on flushing to /var/log/journal/0be312d445904799880186987b97f2f8 is 2.759ms for 6 entries. b # [1184314.659173] b systemd-journald[57]: System Journal (/var/log/journal/9ddfec8652f54be197098db32eb5055f) is 512B, max 4G, 3.9G free. a # [1184314.659380] a systemd-journald[57]: System Journal (/var/log/journal/0be312d445904799880186987b97f2f8) is 512B, max 4G, 3.9G free. b # [1184314.666062] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [1184314.666732] b systemd[1]: Reached target Preparation for Local File Systems. b # [1184314.666846] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [1184314.681645] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [1184314.740583] b systemd[1]: Finished Firewall. a # [1184314.673684] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [1184314.673843] a systemd[1]: Reached target Preparation for Local File Systems. a # [1184314.673930] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [1184314.688324] a systemd[1]: Finished Flush Journal to Persistent Storage. a # [1184314.741937] a systemd[1]: Finished Firewall. a # [1184315.591882] a systemd[1]: Mounting /run/wrappers... a # [1184315.653444] a systemd[1]: Mounted /run/wrappers. a # [1184315.654675] a systemd[1]: Reached target Local File Systems. a # [1184315.656097] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [1184315.657415] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [1184315.657463] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [1184315.658654] a systemd[1]: Starting Save Transient machine-id to Disk... a # [1184315.659803] a systemd[1]: Starting Create System Files and Directories... a # [1184315.677657] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [1184315.591861] b systemd[1]: Mounting /run/wrappers... b # [1184315.654138] b systemd[1]: Mounted /run/wrappers. b # [1184315.655436] b systemd[1]: Reached target Local File Systems. b # [1184315.656826] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [1184315.658152] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [1184315.658197] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [1184315.659206] b systemd[1]: Starting Save Transient machine-id to Disk... b # [1184315.660270] b systemd[1]: Starting Create System Files and Directories... b # [1184315.678743] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [1184315.686750] b systemd[1]: Finished Create System Files and Directories. b # [1184315.698954] b systemd[1]: Starting Rebuild Journal Catalog... b # [1184315.699820] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [1184315.745961] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [1184315.752058] b systemd[1]: Finished Rebuild Journal Catalog. b # [1184315.753044] b systemd[1]: Starting Update is Completed... b # [1184315.763578] b systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. b # [1184315.763753] b systemd[1]: Finished Create SUID/SGID Wrappers. b # [1184315.763972] b systemd[1]: Finished Update is Completed. b # [1184315.764624] b systemd[1]: Reached target System Initialization. b # [1184315.764701] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [1184315.764743] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [1184315.764763] b systemd[1]: Reached target Timer Units. b # [1184315.764870] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [1184315.765054] b systemd[1]: Listening on Nix Daemon Socket. b # [1184315.765153] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [1184315.765166] b systemd[1]: Reached target Socket Units. b # [1184315.765196] b systemd[1]: Reached target Basic System. b # [1184315.766097] b systemd[1]: Starting Re-link flakelet services at boot... b # [1184315.766702] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [1184315.767483] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1184315.768063] b systemd[1]: Starting resolvconf update... b # [1184315.777917] b systemd[1]: Finished Re-link flakelet services at boot. b # [1184315.780439] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [1184315.785949] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [1184315.793575] b systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [1184315.686360] a systemd[1]: Finished Create System Files and Directories. a # [1184315.698951] a systemd[1]: Starting Rebuild Journal Catalog... a # [1184315.699743] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [1184315.746179] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [1184315.751782] a systemd[1]: Finished Rebuild Journal Catalog. a # [1184315.752837] a systemd[1]: Starting Update is Completed... a # [1184315.756347] a systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. a # [1184315.756531] a systemd[1]: Finished Create SUID/SGID Wrappers. a # [1184315.761204] a systemd[1]: Finished Update is Completed. a # [1184315.761295] a systemd[1]: Reached target System Initialization. a # [1184315.761366] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [1184315.761410] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [1184315.761424] a systemd[1]: Reached target Timer Units. a # [1184315.761516] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [1184315.761683] a systemd[1]: Listening on Nix Daemon Socket. a # [1184315.761772] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [1184315.761784] a systemd[1]: Reached target Socket Units. a # [1184315.761808] a systemd[1]: Reached target Basic System. a # [1184315.762781] a systemd[1]: Starting Re-link flakelet services at boot... a # [1184315.763444] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [1184315.764368] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1184315.765067] a systemd[1]: Starting resolvconf update... a # [1184315.773816] a systemd[1]: Finished Re-link flakelet services at boot. a # [1184315.777206] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [1184315.783748] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [1184315.787659] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [1184315.839345] a systemd[1]: Finished resolvconf update. a # [1184315.839476] a systemd[1]: Reached target Preparation for Network. a # [1184315.840755] a systemd[1]: Starting Address configuration of eth1... a # [1184315.841545] a systemd[1]: Starting Extra networking commands.... a # [1184315.875585] a systemd[1]: nscd.service: Deactivated successfully. a # [1184315.877502] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [1184315.890638] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [1184315.891497] a systemd[1]: Finished Save Transient machine-id to Disk. a # [1184315.893402] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1184315.899070] a network-addresses-eth1-start[283]: adding address 192.168.1.1/24... done a # [1184315.903015] a network-addresses-eth1-start[283]: adding address 2001:db8:1::1/64... done a # [1184315.907623] a systemd[1]: Finished Address configuration of eth1. a # [1184315.939694] a systemd[1]: Finished Extra networking commands.. a # [1184315.940391] a systemd[1]: Reached target Network. a # [1184315.941738] a systemd[1]: Starting PostgreSQL Server... b # [1184315.877551] b systemd[1]: Finished resolvconf update. b # [1184315.903057] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [1184315.904331] b systemd[1]: Finished Save Transient machine-id to Disk. b # [1184315.904669] b systemd[1]: nscd.service: Deactivated successfully. b # [1184315.904853] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [1184315.909152] b systemd[1]: Reached target Preparation for Network. b # [1184315.910745] b systemd[1]: Starting Address configuration of eth1... b # [1184315.911654] b systemd[1]: Starting Extra networking commands.... b # [1184315.912629] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1184315.930294] b network-addresses-eth1-start[287]: adding address 192.168.1.2/24... done b # [1184315.934674] b network-addresses-eth1-start[287]: adding address 2001:db8:1::2/64... done b # [1184315.939024] b systemd[1]: Finished Address configuration of eth1. b # [1184315.978657] b systemd[1]: Finished Extra networking commands.. b # [1184315.979401] b systemd[1]: Reached target Network. b # [1184315.980688] b systemd[1]: Starting PostgreSQL Server... b # [1184316.163597] b nsncd[289]: Aug 28 06:08:26.809 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [1184316.163649] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [1184316.163757] b systemd[1]: Reached target Host and Network Name Lookups. b # [1184316.163866] b systemd[1]: Reached target User and Group Name Lookups. b # [1184316.166229] b systemd[1]: Starting User Login Management... b # [1184316.197719] b systemd[1]: Starting Permit User Sessions... b # [1184316.209242] b systemd[1]: Finished Permit User Sessions. b # [1184316.210891] b systemd[1]: Started Console Getty. b # [1184316.210944] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [1184316.210971] b systemd[1]: Reached target Login Prompts. a # [1184316.160146] a nsncd[295]: Aug 28 06:08:26.805 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [1184316.160103] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [1184316.160192] a systemd[1]: Reached target Host and Network Name Lookups. a # [1184316.160294] a systemd[1]: Reached target User and Group Name Lookups. a # [1184316.162468] a systemd[1]: Starting User Login Management... a # [1184316.163835] a systemd[1]: Starting Permit User Sessions... a # [1184316.203793] a systemd[1]: Finished Permit User Sessions. a # [1184316.206667] a systemd[1]: Started Console Getty. a # [1184316.206722] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [1184316.206754] a systemd[1]: Reached target Login Prompts. b # [1184317.236408] b postgresql-pre-start[372]: The files belonging to this database system will be owned by user "postgres". b # [1184317.236408] b postgresql-pre-start[372]: This user must also own the server process. b # [1184317.237378] b postgresql-pre-start[372]: The database cluster will be initialized with locale "en_US.UTF-8". b # [1184317.237378] b postgresql-pre-start[372]: The default database encoding has accordingly been set to "UTF8". b # [1184317.237378] b postgresql-pre-start[372]: The default text search configuration will be set to "english". b # [1184317.237378] b postgresql-pre-start[372]: Data page checksums are enabled. b # [1184317.237378] b postgresql-pre-start[372]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [1184317.238238] b postgresql-pre-start[372]: creating subdirectories ... ok b # [1184317.238396] b postgresql-pre-start[372]: selecting dynamic shared memory implementation ... posix b # [1184317.266027] b postgresql-pre-start[372]: selecting default "max_connections" ... 100 b # [1184317.284798] b systemd-logind[361]: New seat seat0. b # [1184317.287485] b systemd[1]: Starting D-Bus System Message Bus... b # [1184317.287672] b systemd[1]: Started User Login Management. b # [1184317.289092] b systemd[1]: Starting linger-users.service... b # [1184317.291961] b postgresql-pre-start[372]: selecting default "shared_buffers" ... 128MB b # [1184317.327897] b systemd[1]: linger-users.service: Deactivated successfully. b # [1184317.328066] b systemd[1]: Finished linger-users.service. a # [1184317.287636] a systemd-logind[361]: New seat seat0. a # [1184317.287878] a systemd[1]: Started User Login Management. a # [1184317.289978] a systemd[1]: Starting D-Bus System Message Bus... a # [1184317.291126] a systemd[1]: Starting linger-users.service... a # [1184317.300877] a postgresql-pre-start[372]: The files belonging to this database system will be owned by user "postgres". a # [1184317.300877] a postgresql-pre-start[372]: This user must also own the server process. a # [1184317.301414] a postgresql-pre-start[372]: The database cluster will be initialized with locale "en_US.UTF-8". a # [1184317.301414] a postgresql-pre-start[372]: The default database encoding has accordingly been set to "UTF8". a # [1184317.301414] a postgresql-pre-start[372]: The default text search configuration will be set to "english". a # [1184317.301414] a postgresql-pre-start[372]: Data page checksums are enabled. a # [1184317.301414] a postgresql-pre-start[372]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [1184317.302299] a postgresql-pre-start[372]: creating subdirectories ... ok a # [1184317.302432] a postgresql-pre-start[372]: selecting dynamic shared memory implementation ... posix a # [1184317.322157] a postgresql-pre-start[372]: selecting default "max_connections" ... 100 a # [1184317.327121] a systemd[1]: linger-users.service: Deactivated successfully. a # [1184317.327469] a systemd[1]: Finished linger-users.service. a # [1184317.346650] a postgresql-pre-start[372]: selecting default "shared_buffers" ... 128MB a # [1184317.652316] a postgresql-pre-start[372]: selecting default time zone ... UTC b # [1184317.600481] b postgresql-pre-start[372]: selecting default time zone ... UTC b # [1184317.601390] b postgresql-pre-start[372]: creating configuration files ... ok b # [1184317.679341] b dbus-broker-launch[378]: Looking up NSS user entry for 'systemd-timesync'... b # [1184317.680696] b dbus-broker-launch[378]: NSS returned no entry for 'systemd-timesync' b # [1184317.680696] b dbus-broker-launch[378]: Invalid user-name in /nix/store/61xl99z4jn7n4argr1p48x6grlj3cn3r-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [1184317.681787] b systemd[1]: Started D-Bus System Message Bus. b # [1184317.688036] b dbus-broker-launch[378]: Ready b # [1184317.739612] b postgresql-pre-start[372]: running bootstrap script ... ok a # [1184317.653091] a postgresql-pre-start[372]: creating configuration files ... ok a # [1184317.675678] a dbus-broker-launch[374]: Looking up NSS user entry for 'systemd-timesync'... a # [1184317.679778] a dbus-broker-launch[374]: NSS returned no entry for 'systemd-timesync' a # [1184317.679778] a dbus-broker-launch[374]: Invalid user-name in /nix/store/61xl99z4jn7n4argr1p48x6grlj3cn3r-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [1184317.680918] a systemd[1]: Started D-Bus System Message Bus. a # [1184317.688043] a dbus-broker-launch[374]: Ready a # [1184317.785691] a postgresql-pre-start[372]: running bootstrap script ... ok b # [1184318.104506] b postgresql-pre-start[372]: performing post-bootstrap initialization ... ok a # [1184318.125572] a postgresql-pre-start[372]: performing post-bootstrap initialization ... ok b # [1184318.532396] b postgresql-pre-start[372]: syncing data to disk ... ok b # [1184318.532396] b postgresql-pre-start[372]: initdb: warning: enabling "trust" authentication for local connections b # [1184318.532396] 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 # [1184318.532396] b postgresql-pre-start[372]: Success. You can now start the database server using: b # [1184318.532396] b postgresql-pre-start[372]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [1184318.532349] a postgresql-pre-start[372]: syncing data to disk ... ok a # [1184318.532349] a postgresql-pre-start[372]: initdb: warning: enabling "trust" authentication for local connections a # [1184318.532349] 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 # [1184318.532349] a postgresql-pre-start[372]: Success. You can now start the database server using: a # [1184318.532349] a postgresql-pre-start[372]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [1184319.582619] 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 # [1184319.584264] b postgres[390]: [390] LOG: listening on IPv6 address "::1", port 5432 b # [1184319.584264] b postgres[390]: [390] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [1184319.584622] b postgres[390]: [390] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [1184319.589971] b postgres[399]: [399] LOG: database system was shut down at 2026-08-28 06:08:28 GMT b # [1184319.593915] b postgres[390]: [390] LOG: database system is ready to accept connections b # [1184319.594643] b systemd[1]: Started PostgreSQL Server. b # [1184319.597101] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [1184319.664532] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [1184319.666092] b systemd[1]: Reached target PostgreSQL. b # [1184319.666366] b systemd[1]: Reached target flakelet contract providers ready. b # [1184319.668286] b systemd[1]: Starting Update flakelet service web... b # [1184319.680116] b flakelet[408]: web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web b # [1184319.680686] b flakelet[408]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [1184319.694323] b runuser[412]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184319.784697] b runuser[412]: pam_unix(runuser:session): session closed for user postgres b # [1184319.786863] b flakelet[408]: web: activating generation 1 b # [1184319.793399] b systemd[1]: Reload requested from client PID 415 ('systemctl') (unit flakelet-web.service)... b # [1184319.793477] b systemd[1]: Reloading... a # [1184319.594738] 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 # [1184319.596236] a postgres[390]: [390] LOG: listening on IPv6 address "::1", port 5432 a # [1184319.596236] a postgres[390]: [390] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [1184319.596772] a postgres[390]: [390] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [1184319.602069] a postgres[399]: [399] LOG: database system was shut down at 2026-08-28 06:08:28 GMT a # [1184319.605896] a postgres[390]: [390] LOG: database system is ready to accept connections a # [1184319.606632] a systemd[1]: Started PostgreSQL Server. a # [1184319.631763] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [1184319.673131] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [1184319.673761] a systemd[1]: Reached target PostgreSQL. a # [1184319.673960] a systemd[1]: Reached target flakelet contract providers ready. a # [1184319.675532] a systemd[1]: Starting Update flakelet service web... a # [1184319.687225] a flakelet[408]: web: using prebuilt artifact /nix/store/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web a # [1184319.687777] a flakelet[408]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [1184319.701160] a runuser[412]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1184319.790104] a runuser[412]: pam_unix(runuser:session): session closed for user postgres a # [1184319.792509] a flakelet[408]: web: activating generation 1 a # [1184319.799087] a systemd[1]: Reload requested from client PID 415 ('systemctl') (unit flakelet-web.service)... a # [1184319.799171] a systemd[1]: Reloading... a # [1184320.140226] a systemd[1]: Reloading finished in 340 ms. a # [1184320.280510] a systemd[1]: Reload requested from client PID 444 ('systemctl') (unit flakelet-web.service)... a # [1184320.280561] a systemd[1]: Reloading... a # [1184320.430625] 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 # [1184320.133373] b systemd[1]: Reloading finished in 339 ms. b # [1184320.275443] b systemd[1]: Reload requested from client PID 444 ('systemctl') (unit flakelet-web.service)... b # [1184320.275486] b systemd[1]: Reloading... b # [1184320.433417] 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 # [1184320.590035] a systemd[1]: Reloading finished in 309 ms. b # [1184320.592154] b systemd[1]: Reloading finished in 316 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: (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.02 seconds) a: must succeed: flakelet export web --dry-run >&2 { "version": 1, "flakelet_version": "0.1.0", "name": "web", "source_host": "a", "created": 1787897311, "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 a # [1184320.721272] a systemd[1]: Starting web.service... a # [1184320.745752] a systemd[1]: Started web.service. a # [1184320.752742] a flakelet[408]: web: updated to generation 1 a # [1184320.754818] a systemd[1]: Finished Update flakelet service web. a # [1184320.755094] a systemd[1]: Reached target flakelet managed services. a # [1184320.755185] a systemd[1]: Reached target Multi-User System. a # [1184320.755355] a systemd[1]: Startup finished in 6.552s. a # [1184320.923177] a runuser[480]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1184320.935040] a runuser[480]: pam_unix(runuser:session): session closed for user postgres a # [1184320.944874] a runuser[484]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [1184320.960292] a runuser[484]: pam_unix(runuser:session): session closed for user web a # [1184320.997340] a systemd[1]: Stopping web.service... requires.postgres: running /nix/store/2ycdgz7jxj2pvsxm7f23qry484qpr2xi-flakelet-postgres-dump/bin/flakelet-postgres-dump b # [1184320.723660] b systemd[1]: Starting web.service... b # [1184320.746347] b systemd[1]: Started web.service. b # [1184320.753617] b flakelet[408]: web: updated to generation 1 b # [1184320.755603] b systemd[1]: Finished Update flakelet service web. b # [1184320.755845] b systemd[1]: Reached target flakelet managed services. b # [1184320.755922] b systemd[1]: Reached target Multi-User System. b # [1184320.756105] b systemd[1]: Startup finished in 6.554s. web: archiving /var/lib/web a # [1184320.997767] a systemd[1]: web.service: Deactivated successfully. a # [1184320.997981] a systemd[1]: Stopped web.service. a # [1184321.021379] a runuser[497]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1184321.072926] a runuser[497]: pam_unix(runuser:session): session closed for user postgres a # [1184321.121346] a systemd[1]: Reload requested from client PID 512 ('systemctl')... a # [1184321.121428] a systemd[1]: Reloading... a # [1184321.437623] a systemd[1]: Reloading finished in 315 ms. a # [1184321.512307] a systemd[1]: Reload requested from client PID 540 ('systemctl')... a # [1184321.512357] 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.91 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.02 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.01 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 b # [1184321.975522] b systemd[1]: Stopping web.service... b # [1184321.975968] b systemd[1]: web.service: Deactivated successfully. b # [1184321.976250] b systemd[1]: Stopped web.service. b # [1184321.992754] b systemd[1]: Reload requested from client PID 492 ('systemctl')... b # [1184321.992822] b systemd[1]: Reloading... a # [1184321.807046] a systemd[1]: Reloading finished in 294 ms. b # [1184322.308809] b systemd[1]: Reloading finished in 315 ms. b # [1184322.380936] b systemd[1]: Reload requested from client PID 520 ('systemctl')... b # [1184322.380978] b systemd[1]: Reloading... b # [1184322.672726] b systemd[1]: Reloading finished in 291 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/hfs33p6jvmxq0bvpjaic8p2z8qzck0rh-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 2 b # [1184322.775735] b runuser[555]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184322.789457] b runuser[555]: pam_unix(runuser:session): session closed for user postgres b # [1184322.793857] b runuser[558]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184322.807663] b runuser[558]: pam_unix(runuser:session): session closed for user postgres b # [1184322.811433] b runuser[561]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184322.825317] b runuser[561]: pam_unix(runuser:session): session closed for user postgres b # [1184322.840736] b runuser[567]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184322.851859] b runuser[567]: pam_unix(runuser:session): session closed for user postgres b # [1184322.859021] b systemd[1]: Reload requested from client PID 570 ('systemctl')... b # [1184322.859107] b systemd[1]: Reloading... b # [1184323.174819] b systemd[1]: Reloading finished in 314 ms. b # [1184323.250147] b systemd[1]: Reload requested from client PID 598 ('systemctl')... b # [1184323.250185] b systemd[1]: Reloading... b # [1184323.383902] 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 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/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web b # [1184323.542781] b systemd[1]: Reloading finished in 292 ms. b # [1184323.622608] b systemd[1]: Starting web.service... b # [1184323.654020] b systemd[1]: Started web.service. b # [1184323.687859] b runuser[631]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [1184323.700526] b runuser[631]: pam_unix(runuser:session): session closed for user web b # [1184323.711547] b runuser[636]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184323.722853] b runuser[636]: pam_unix(runuser:session): session closed for user postgres b # [1184323.733287] b runuser[641]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184323.744264] b runuser[641]: pam_unix(runuser:session): session closed for user postgres b # [1184323.774988] b systemd[1]: Stopping web.service... b # [1184323.775457] b systemd[1]: web.service: Deactivated successfully. b # [1184323.775720] b systemd[1]: Stopped web.service. b # [1184323.793345] b systemd[1]: Reload requested from client PID 657 ('systemctl')... b # [1184323.793416] b systemd[1]: Reloading... b # [1184324.104203] b systemd[1]: Reloading finished in 310 ms. b # [1184324.183563] b systemd[1]: Reload requested from client PID 685 ('systemctl')... b # [1184324.183606] b systemd[1]: Reloading... b # [1184324.475889] b systemd[1]: Reloading finished in 291 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/hfs33p6jvmxq0bvpjaic8p2z8qzck0rh-flakelet-postgres-restore/bin/flakelet-postgres-restore error: /nix/store/hfs33p6jvmxq0bvpjaic8p2z8qzck0rh-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmpzqHihq/requires/postgres/claim.json /var/cache/flakelet/.tmpzqHihq/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.87 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/rwlfcsw28fd5xdcbdd2ca95vcqkay9f5-flakelet-web b # [1184324.577993] b runuser[720]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184324.589893] b runuser[720]: pam_unix(runuser:session): session closed for user postgres b # [1184324.594393] b runuser[723]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184324.604837] b runuser[723]: pam_unix(runuser:session): session closed for user postgres b # [1184324.663172] b systemd[1]: Reload requested from client PID 738 ('systemctl')... b # [1184324.663216] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/hfs33p6jvmxq0bvpjaic8p2z8qzck0rh-flakelet-postgres-restore/bin/flakelet-postgres-restore b # [1184324.960189] b systemd[1]: Reloading finished in 296 ms. b # [1184325.068976] b runuser[770]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184325.080414] b postgres[397]: [397] LOG: checkpoint starting: immediate force wait b # [1184325.091139] b postgres[397]: [397] 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 # [1184325.103786] b runuser[770]: pam_unix(runuser:session): session closed for user postgres b # [1184325.120978] b runuser[776]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) webb # [1184325.169558] b runuser[776]: pam_unix(runuser:session): session closed for user postgres : requires.b # [1184325.176710] b runuser[779]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184325.191685] b runuser[779]: pam_unix(runuser:session): session closed for user postgres postgresb # [1184325.197416] b runuser[782]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) : provisioning via b # [1184325.212281] b runuser[782]: pam_unix(runuser:session): session closed for user postgres /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 3 b # [1184325.229066] b runuser[788]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1184325.242646] b runuser[788]: pam_unix(runuser:session): session closed for user postgres b # [1184325.250207] b systemd[1]: Reload requested from client PID 791 ('systemctl')... b # [1184325.250284] b systemd[1]: Reloading... b # [1184325.577990] b systemd[1]: Reloading finished in 326 ms. b # [1184325.647723] b systemd[1]: Reload requested from client PID 819 ('systemctl')... b # [1184325.647764] b systemd[1]: Reloading... b # [1184325.788297] 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 # [1184325.946786] b systemd[1]: Reloading finished in 298 ms. web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.43 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.36 seconds) test script finished in 12.52s cleanup kill NspawnMachine (pid 51) b # [1184326.015643] b systemd[1]: Starting web.service... b # [1184326.045856] b systemd[1]: Started web.service. b # [1184326.081131] b runuser[852]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [1184326.095101] b runuser[852]: pam_unix(runuser:session): session closed for user web 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