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) a: Waiting for journal at /build/vm-state-a/var/log/journal... b: systemd-nspawn running (pid 52) 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. a # [14490.775108] a systemd-journald[57]: Journal started a # [14490.775153] a systemd-journald[57]: Runtime Journal (/run/log/journal/2b2785c36b63410bab09655fc339548f) is 8M, max 4G, 3.9G free. a # [14490.783696] a systemd[1]: Finished Apply Kernel Variables. a # [14490.794609] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [14490.806439] a systemd[1]: Starting Flush Journal to Persistent Storage... a # [14490.807062] a systemd[1]: Starting Create Static Device Nodes in /dev... a # [14490.815494] a systemd-journald[57]: Time spent on flushing to /var/log/journal/2b2785c36b63410bab09655fc339548f is 1.613ms for 6 entries. a # [14490.815494] a systemd-journald[57]: System Journal (/var/log/journal/2b2785c36b63410bab09655fc339548f) is 512B, max 4G, 3.9G free. a # [14490.825122] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [14490.825832] a systemd[1]: Reached target Preparation for Local File Systems. a # [14490.825942] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [14490.837897] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [14490.768331] b systemd-journald[57]: Journal started b # [14490.768377] b systemd-journald[57]: Runtime Journal (/run/log/journal/89f6a9e318674200a6cdb8c64ac42499) is 8M, max 4G, 3.9G free. b # [14490.775368] b systemd[1]: Finished Apply Kernel Variables. b # [14490.785925] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [14490.799657] b systemd[1]: Starting Flush Journal to Persistent Storage... b # [14490.800416] b systemd[1]: Starting Create Static Device Nodes in /dev... b # [14490.808891] b systemd-journald[57]: Time spent on flushing to /var/log/journal/89f6a9e318674200a6cdb8c64ac42499 is 1.805ms for 6 entries. b # [14490.808891] b systemd-journald[57]: System Journal (/var/log/journal/89f6a9e318674200a6cdb8c64ac42499) is 512B, max 4G, 3.9G free. b # [14490.818012] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [14490.818790] b systemd[1]: Reached target Preparation for Local File Systems. b # [14490.818889] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [14490.831756] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [14490.929305] b systemd[1]: Finished Firewall. a # [14490.944687] a systemd[1]: Finished Firewall. a # [14491.773511] a systemd[1]: Mounting /run/wrappers... a # [14491.794346] a systemd[1]: Mounted /run/wrappers. a # [14491.795129] a systemd[1]: Reached target Local File Systems. a # [14491.795904] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [14491.796878] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [14491.796905] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [14491.797697] a systemd[1]: Starting Save Transient machine-id to Disk... a # [14491.798653] a systemd[1]: Starting Create System Files and Directories... a # [14491.818566] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [14491.818978] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [14491.819335] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/2b2785c36b63410bab09655fc339548f failed: Operation not permitted a # [14491.819690] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted b # [14491.775552] b systemd[1]: Mounting /run/wrappers... b # [14491.813528] b systemd[1]: Mounted /run/wrappers. b # [14491.814953] b systemd[1]: Reached target Local File Systems. b # [14491.816344] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [14491.817950] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [14491.818000] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [14491.819257] b systemd[1]: Starting Save Transient machine-id to Disk... b # [14491.820435] b systemd[1]: Starting Create System Files and Directories... b # [14491.842298] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [14491.843052] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted b # [14491.843133] b suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.SjSfYqmS6h/chsh': Operation not permitted b # [14491.843380] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/89f6a9e318674200a6cdb8c64ac42499 failed: Operation not permitted b # [14491.843742] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [14491.821899] a systemd[1]: Finished Create System Files and Directories. a # [14491.826297] a suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.61hebtlUU4/chsh': Operation not permitted a # [14491.832803] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [14491.833028] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [14491.833156] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [14491.834992] a systemd[1]: Starting Rebuild Journal Catalog... a # [14491.836097] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [14491.849464] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [14491.857901] a systemd[1]: Finished Rebuild Journal Catalog. a # [14491.859155] a systemd[1]: Starting Update is Completed... a # [14491.868469] a systemd[1]: Finished Update is Completed. a # [14491.869065] a systemd[1]: Reached target System Initialization. a # [14491.869175] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [14491.869212] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [14491.869230] a systemd[1]: Reached target Timer Units. a # [14491.869344] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [14491.869514] a systemd[1]: Listening on Nix Daemon Socket. a # [14491.869636] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [14491.869651] a systemd[1]: Reached target Socket Units. a # [14491.869681] a systemd[1]: Reached target Basic System. a # [14491.871092] a systemd[1]: Starting Re-link flakelet services at boot... a # [14491.872168] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [14491.873373] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [14491.874299] a systemd[1]: Starting resolvconf update... a # [14491.883217] a systemd[1]: Finished Re-link flakelet services at boot. a # [14491.886773] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [14491.895138] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [14491.901549] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [14491.936088] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [14491.936930] a systemd[1]: Finished Save Transient machine-id to Disk. a # [14491.958969] a systemd[1]: nscd.service: Deactivated successfully. a # [14491.959153] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [14491.961686] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [14491.970119] a systemd[1]: Finished resolvconf update. a # [14491.970239] a systemd[1]: Reached target Preparation for Network. a # [14491.971365] a systemd[1]: Starting Address configuration of eth1... a # [14491.972330] a systemd[1]: Starting Extra networking commands.... a # [14491.993198] a network-addresses-eth1-start[242]: adding address 192.168.1.1/24... done a # [14491.996741] a network-addresses-eth1-start[242]: adding address 2001:db8:1::1/64... done a # [14492.002399] a systemd[1]: Finished Address configuration of eth1. b # [14491.849064] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [14491.849109] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [14491.849169] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [14491.849675] b systemd[1]: Finished Create System Files and Directories. b # [14491.927256] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [14491.939530] b systemd[1]: Finished Save Transient machine-id to Disk. b # [14491.951324] b systemd[1]: Starting Rebuild Journal Catalog... b # [14491.952037] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [14491.964303] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [14491.972678] b systemd[1]: Finished Rebuild Journal Catalog. b # [14491.974032] b systemd[1]: Starting Update is Completed... b # [14491.984395] b systemd[1]: Finished Update is Completed. b # [14491.985114] b systemd[1]: Reached target System Initialization. b # [14491.985227] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [14491.985267] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [14491.985288] b systemd[1]: Reached target Timer Units. b # [14491.985447] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [14491.985629] b systemd[1]: Listening on Nix Daemon Socket. b # [14491.985748] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [14491.985762] b systemd[1]: Reached target Socket Units. b # [14491.985793] b systemd[1]: Reached target Basic System. b # [14491.987178] b systemd[1]: Starting Re-link flakelet services at boot... b # [14491.988097] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [14491.988982] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [14491.989852] b systemd[1]: Starting resolvconf update... b # [14491.999762] b systemd[1]: Finished Re-link flakelet services at boot. b # [14492.001371] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [14492.008610] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [14492.013134] b systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [14492.041215] a systemd[1]: Finished Extra networking commands.. a # [14492.041479] a systemd[1]: Reached target Network. a # [14492.043444] a systemd[1]: Starting PostgreSQL Server... a # [14492.258857] a nsncd[236]: Sep 10 15:36:13.753 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [14492.258988] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [14492.259113] a systemd[1]: Reached target Host and Network Name Lookups. a # [14492.259205] a systemd[1]: Reached target User and Group Name Lookups. a # [14492.261554] a systemd[1]: Starting User Login Management... a # [14492.263081] a systemd[1]: Starting Permit User Sessions... a # [14492.292770] a systemd[1]: Finished Permit User Sessions. b # [14492.070726] b systemd[1]: nscd.service: Deactivated successfully. b # [14492.071033] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [14492.075270] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [14492.082242] b systemd[1]: Finished resolvconf update. b # [14492.082561] b systemd[1]: Reached target Preparation for Network. b # [14492.084405] b systemd[1]: Starting Address configuration of eth1... b # [14492.086129] b systemd[1]: Starting Extra networking commands.... b # [14492.107220] b network-addresses-eth1-start[242]: adding address 192.168.1.2/24... done b # [14492.112015] b network-addresses-eth1-start[242]: adding address 2001:db8:1::2/64... done b # [14492.117360] b systemd[1]: Finished Address configuration of eth1. b # [14492.153531] b systemd[1]: Finished Extra networking commands.. b # [14492.153825] b systemd[1]: Reached target Network. b # [14492.155795] b systemd[1]: Starting PostgreSQL Server... b # [14492.294634] b nsncd[236]: Sep 10 15:36:13.789 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [14492.294649] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [14492.294714] b systemd[1]: Reached target Host and Network Name Lookups. b # [14492.294767] b systemd[1]: Reached target User and Group Name Lookups. b # [14492.296882] b systemd[1]: Starting User Login Management... b # [14492.298304] b systemd[1]: Starting Permit User Sessions... b # [14492.308428] b systemd[1]: Finished Permit User Sessions. b # [14492.310486] b systemd[1]: Started Console Getty. b # [14492.310517] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [14492.310532] b systemd[1]: Reached target Login Prompts. a # [14492.294766] a systemd[1]: Started Console Getty. a # [14492.294799] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [14492.294817] a systemd[1]: Reached target Login Prompts. a # [14493.417158] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [14493.417158] a postgresql-pre-start[325]: This user must also own the server process. a # [14493.418080] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [14493.418080] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [14493.418080] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [14493.418080] a postgresql-pre-start[325]: Data page checksums are enabled. a # [14493.418080] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [14493.418691] a postgresql-pre-start[325]: creating subdirectories ... ok a # [14493.418831] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [14493.442336] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [14493.471696] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB a # [14493.476959] a systemd-logind[314]: New seat seat0. a # [14493.477972] a systemd[1]: Starting D-Bus System Message Bus... a # [14493.478034] a systemd[1]: Started User Login Management. a # [14493.478961] a systemd[1]: Starting linger-users.service... a # [14493.517705] a systemd[1]: linger-users.service: Deactivated successfully. a # [14493.518090] a systemd[1]: Finished linger-users.service. a # [14493.770573] a postgresql-pre-start[325]: selecting default time zone ... UTC b # [14493.403456] b systemd-logind[314]: New seat seat0. b # [14493.403730] b systemd[1]: Started User Login Management. b # [14493.405997] b systemd[1]: Starting D-Bus System Message Bus... b # [14493.407768] b systemd[1]: Starting linger-users.service... b # [14493.434101] b systemd[1]: linger-users.service: Deactivated successfully. b # [14493.434470] b systemd[1]: Finished linger-users.service. b # [14493.524919] b postgresql-pre-start[329]: The files belonging to this database system will be owned by user "postgres". b # [14493.524919] b postgresql-pre-start[329]: This user must also own the server process. b # [14493.525945] b postgresql-pre-start[329]: The database cluster will be initialized with locale "en_US.UTF-8". b # [14493.525945] b postgresql-pre-start[329]: The default database encoding has accordingly been set to "UTF8". b # [14493.525945] b postgresql-pre-start[329]: The default text search configuration will be set to "english". b # [14493.525945] b postgresql-pre-start[329]: Data page checksums are enabled. b # [14493.525945] b postgresql-pre-start[329]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [14493.526545] b postgresql-pre-start[329]: creating subdirectories ... ok b # [14493.526718] b postgresql-pre-start[329]: selecting dynamic shared memory implementation ... posix b # [14493.551214] b postgresql-pre-start[329]: selecting default "max_connections" ... 100 b # [14493.584244] b postgresql-pre-start[329]: selecting default "shared_buffers" ... 128MB b # [14493.796319] b dbus-broker-launch[324]: Looking up NSS user entry for 'systemd-timesync'... b # [14493.797699] b dbus-broker-launch[324]: NSS returned no entry for 'systemd-timesync' b # [14493.797699] b dbus-broker-launch[324]: Invalid user-name in /nix/store/2k1xaqacqi5yiapzrh6fappdyg7q2m42-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [14493.798431] b systemd[1]: Started D-Bus System Message Bus. b # [14493.805409] b dbus-broker-launch[324]: Ready b # [14493.891114] b postgresql-pre-start[329]: selecting default time zone ... UTC b # [14493.891906] b postgresql-pre-start[329]: creating configuration files ... ok b # [14494.015044] b postgresql-pre-start[329]: running bootstrap script ... ok a # [14493.771256] a postgresql-pre-start[325]: creating configuration files ... ok a # [14493.858642] a dbus-broker-launch[331]: Looking up NSS user entry for 'systemd-timesync'... a # [14493.860224] a dbus-broker-launch[331]: NSS returned no entry for 'systemd-timesync' a # [14493.860224] a dbus-broker-launch[331]: Invalid user-name in /nix/store/2k1xaqacqi5yiapzrh6fappdyg7q2m42-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [14493.861340] a systemd[1]: Started D-Bus System Message Bus. a # [14493.868331] a dbus-broker-launch[331]: Ready a # [14493.900162] a postgresql-pre-start[325]: running bootstrap script ... ok a # [14494.211242] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok b # [14494.326290] b postgresql-pre-start[329]: performing post-bootstrap initialization ... ok a # [14494.516532] a postgresql-pre-start[325]: syncing data to disk ... ok a # [14494.516532] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [14494.516532] 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 # [14494.516532] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [14494.516532] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [14494.599443] b postgresql-pre-start[329]: syncing data to disk ... ok b # [14494.599443] b postgresql-pre-start[329]: initdb: warning: enabling "trust" authentication for local connections b # [14494.599908] b postgresql-pre-start[329]: 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 # [14494.599908] b postgresql-pre-start[329]: Success. You can now start the database server using: b # [14494.599908] b postgresql-pre-start[329]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [14495.786357] 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 # [14495.787871] b postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 b # [14495.787871] b postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [14495.788432] b postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [14495.794601] b postgres[352]: [352] LOG: database system was shut down at 2026-09-10 15:36:15 GMT b # [14495.797757] b postgres[343]: [343] LOG: database system is ready to accept connections b # [14495.798400] b systemd[1]: Started PostgreSQL Server. b # [14495.800663] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [14495.838348] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [14495.838971] b systemd[1]: Reached target PostgreSQL. b # [14495.839182] b systemd[1]: Reached target flakelet contract providers ready. b # [14495.840723] b systemd[1]: Starting Update flakelet service web... b # [14495.872256] b flakelet[361]: web: using prebuilt artifact /nix/store/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web b # [14495.873018] b flakelet[361]: web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [14495.893939] b runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14495.975314] b runuser[365]: pam_unix(runuser:session): session closed for user postgres b # [14495.977294] b flakelet[361]: web: activating generation 1 b # [14495.983272] b systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... b # [14495.983369] b systemd[1]: Reloading... a # [14495.727808] 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 # [14495.729576] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [14495.729576] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [14495.729959] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [14495.735823] a postgres[352]: [352] LOG: database system was shut down at 2026-09-10 15:36:15 GMT a # [14495.739291] a postgres[343]: [343] LOG: database system is ready to accept connections a # [14495.740098] a systemd[1]: Started PostgreSQL Server. a # [14495.742440] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [14495.785194] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [14495.785835] a systemd[1]: Reached target PostgreSQL. a # [14495.786059] a systemd[1]: Reached target flakelet contract providers ready. a # [14495.787832] a systemd[1]: Starting Update flakelet service web... a # [14495.800493] a flakelet[361]: web: using prebuilt artifact /nix/store/zfli0mxsj2jjj4p0jnms7mjd7gvz307w-flakelet-web a # [14495.801281] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/qp77pnc8s8l7i9xvwmzk7xd6ahsk13yz-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [14495.820490] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14495.903866] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [14495.906017] a flakelet[361]: web: activating generation 1 a # [14495.912267] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [14495.912354] a systemd[1]: Reloading... b # [14496.324517] b systemd[1]: Reloading finished in 340 ms. b # [14496.406391] b systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... b # [14496.406484] b systemd[1]: Reloading... a # [14496.254797] a systemd[1]: Reloading finished in 341 ms. a # [14496.334969] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [14496.335024] a systemd[1]: Reloading... a: (finished: waiting for unit postgresql.target, in 7.16 seconds) ??? Warning (UserWarning): wait_for_unit(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/fv4yr9c0f9kyrfc00100i4rlshiiidbd-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 b # [14496.722505] b systemd[1]: Reloading finished in 315 ms. b # [14496.794723] b systemd[1]: Starting web.service... b # [14496.808134] b systemd[1]: Started web.service. b # [14496.813921] b flakelet[361]: web: updated to generation 1 b # [14496.816480] b systemd[1]: Finished Update flakelet service web. b # [14496.816784] b systemd[1]: Reached target flakelet managed services. b # [14496.816875] b systemd[1]: Reached target Multi-User System. b # [14496.816995] b systemd[1]: Startup finished in 6.446s. a # [14496.654493] a systemd[1]: Reloading finished in 319 ms. a # [14496.720672] a systemd[1]: Starting web.service... a # [14496.752047] a systemd[1]: Started web.service. a # [14496.758807] a flakelet[361]: web: updated to generation 1 a # [14496.761203] a systemd[1]: Finished Update flakelet service web. a # [14496.761683] a systemd[1]: Reached target flakelet managed services. a # [14496.761836] a systemd[1]: Reached target Multi-User System. a # [14496.762103] a systemd[1]: Startup finished in 6.394s. 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": 1789054578, "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 # [14497.085782] a runuser[433]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14497.096633] a runuser[433]: pam_unix(runuser:session): session closed for user postgres a # [14497.107571] a runuser[437]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [14497.123544] a runuser[437]: pam_unix(runuser:session): session closed for user web a # [14497.164169] a systemd[1]: Stopping web.service... a # [14497.164672] a systemd[1]: web.service: Deactivated successfully. a # [14497.164939] a systemd[1]: Stopped web.service. a # [14497.185393] a runuser[450]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [14497.236189] a runuser[450]: pam_unix(runuser:session): session closed for user postgres a # [14497.291924] a systemd[1]: Reload requested from client PID 465 ('systemctl')... a # [14497.292034] a systemd[1]: Reloading... a # [14497.627553] a systemd[1]: Reloading finished in 334 ms. a # [14497.671297] a systemd[1]: Reload requested from client PID 493 ('systemctl')... a # [14497.671349] 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.92 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.02 seconds) ??? Warning (UserWarning): succeed(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/fv4yr9c0f9kyrfc00100i4rlshiiidbd-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/fv4yr9c0f9kyrfc00100i4rlshiiidbd-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 a # [14497.982903] a systemd[1]: Reloading finished in 311 ms. b # [14498.153111] b systemd[1]: Stopping web.service... b # [14498.153629] b systemd[1]: web.service: Deactivated successfully. b # [14498.153971] b systemd[1]: Stopped web.service. b # [14498.173360] b systemd[1]: Reload requested from client PID 445 ('systemctl')... b # [14498.173406] b systemd[1]: Reloading... b # [14498.481901] b systemd[1]: Reloading finished in 308 ms. b # [14498.557653] b systemd[1]: Reload requested from client PID 473 ('systemctl')... b # [14498.557697] 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 2 b # [14498.870344] b systemd[1]: Reloading finished in 312 ms. b # [14498.954107] b runuser[508]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14498.967721] b runuser[508]: pam_unix(runuser:session): session closed for user postgres b # [14498.972915] b runuser[511]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14498.985531] b runuser[511]: pam_unix(runuser:session): session closed for user postgres b # [14498.991069] b runuser[514]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14499.007908] b runuser[514]: pam_unix(runuser:session): session closed for user postgres b # [14499.025664] b runuser[520]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14499.038651] b runuser[520]: pam_unix(runuser:session): session closed for user postgres b # [14499.045695] b systemd[1]: Reload requested from client PID 523 ('systemctl')... b # [14499.045779] b systemd[1]: Reloading... b # [14499.378682] b systemd[1]: Reloading finished in 332 ms. b # [14499.427708] b systemd[1]: Reload requested from client PID 551 ('systemctl')... b # [14499.427743] b systemd[1]: Reloading... web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.74 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 # [14499.739316] b systemd[1]: Reloading finished in 311 ms. b # [14499.806923] b systemd[1]: Starting web.service... b # [14499.842582] b systemd[1]: Started web.service. b # [14499.881483] b runuser[584]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [14499.892468] b runuser[584]: pam_unix(runuser:session): session closed for user web b # [14499.904167] b runuser[589]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14499.914636] b runuser[589]: pam_unix(runuser:session): session closed for user postgres b # [14499.924357] b runuser[594]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14499.934568] b runuser[594]: pam_unix(runuser:session): session closed for user postgres b # [14499.972868] b systemd[1]: Stopping web.service... b # [14499.973392] b systemd[1]: web.service: Deactivated successfully. b # [14499.973722] b systemd[1]: Stopped web.service. b # [14499.990886] b systemd[1]: Reload requested from client PID 610 ('systemctl')... b # [14499.990960] b systemd[1]: Reloading... b # [14500.319644] b systemd[1]: Reloading finished in 327 ms. b # [14500.408087] b systemd[1]: Reload requested from client PID 638 ('systemctl')... b # [14500.408138] 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/.tmp6r8Q9c/requires/postgres/claim.json /var/cache/flakelet/.tmp6r8Q9c/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.95 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 # [14500.735177] b systemd[1]: Reloading finished in 326 ms. b # [14500.847981] b runuser[673]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14500.860229] b runuser[673]: pam_unix(runuser:session): session closed for user postgres b # [14500.865752] b runuser[676]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14500.876371] b runuser[676]: pam_unix(runuser:session): session closed for user postgres b # [14500.937991] b systemd[1]: Reload requested from client PID 691 ('systemctl')... b # [14500.938069] 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 # [14501.264662] b systemd[1]: Reloading finished in 325 ms. b # [14501.333191] b runuser[723]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14501.344491] b postgres[350]: [350] LOG: checkpoint starting: immediate force wait b # [14501.354958] b postgres[350]: [350] LOG: checkpoint complete: wrote 14 buffers (0.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.005 s, sync=0.004 s, total=0.011 s; sync files=14, longest=0.001 s, average=0.001 s; distance=4387 kB, estimate=4387 kB; lsn=0/1BAED90, redo lsn=0/1BAED38 b # [14501.373298] b runuser[723]: pam_unix(runuser:session): session closed for user postgres b # [14501.390841] b runuser[729]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14501.434137] b runuser[729]: pam_unix(runuser:session): session closed for user postgres b # [14501.440245] b runuser[732]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14501.454385] b runuser[732]: pam_unix(runuser:session): session closed for user postgres b # [14501.459328] b runuser[735]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14501.471444] b runuser[735]: pam_unix(runuser:session): session closed for user postgres b # [14501.488236] b runuser[741]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [14501.498916] b runuser[741]: pam_unix(runuser:session): session closed for user postgres b # [14501.506144] b systemd[1]: Reload requested from client PID 744 ('systemctl')... b # [14501.506225] b systemd[1]: Reloading... b # [14501.842908] b systemd[1]: Reloading finished in 335 ms. b # [14501.896942] b systemd[1]: Reload requested from client PID 772 ('systemctl')... b # [14501.896981] b systemd[1]: Reloading... b # [14502.214727] b systemd[1]: Reloading finished in 317 ms. web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.46 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.51 seconds) test script finished in 12.53s 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.23 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