tribuchet: building on jamie Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Initializing machine ID from random generator. Test will time out and terminate in 3600.0 seconds run the VM test script start all VMs a: systemd-nspawn running (pid 51) b: systemd-nspawn running (pid 52) a: Waiting for journal at /build/vm-state-a/var/log/journal... b: Waiting for journal at /build/vm-state-b/var/log/journal... (finished: start all VMs, in 0.00 seconds) a: waiting for unit postgresql.target nixos-nspawn(b): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(b): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. nixos-nspawn(a): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(a): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. 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. a # [108556.996435] a systemd-journald[57]: Journal started a # [108556.996478] a systemd-journald[57]: Runtime Journal (/run/log/journal/ad51e43b7d2f4d7aa1e2dc22fde53fb8) is 8M, max 4G, 3.9G free. a # [108557.006024] a systemd[1]: Finished Apply Kernel Variables. a # [108557.016849] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [108557.053603] a systemd[1]: Starting Flush Journal to Persistent Storage... a # [108557.054510] a systemd[1]: Starting Create Static Device Nodes in /dev... a # [108557.063563] a systemd-journald[57]: Time spent on flushing to /var/log/journal/ad51e43b7d2f4d7aa1e2dc22fde53fb8 is 1.669ms for 6 entries. a # [108557.063563] a systemd-journald[57]: System Journal (/var/log/journal/ad51e43b7d2f4d7aa1e2dc22fde53fb8) is 512B, max 4G, 3.9G free. a # [108557.071387] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [108557.072120] a systemd[1]: Reached target Preparation for Local File Systems. a # [108557.072233] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [108557.072982] a systemd[1]: Finished Flush Journal to Persistent Storage. a # [108557.142839] a systemd[1]: Finished Firewall. b # [108556.999413] b systemd-journald[57]: Journal started b # [108556.999456] b systemd-journald[57]: Runtime Journal (/run/log/journal/b9b791f0adfa4e97a0551d6e9ae89762) is 8M, max 4G, 3.9G free. b # [108557.008619] b systemd[1]: Finished Apply Kernel Variables. b # [108557.019938] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [108557.053630] b systemd[1]: Starting Flush Journal to Persistent Storage... b # [108557.054406] b systemd[1]: Starting Create Static Device Nodes in /dev... b # [108557.063630] b systemd-journald[57]: Time spent on flushing to /var/log/journal/b9b791f0adfa4e97a0551d6e9ae89762 is 1.706ms for 6 entries. b # [108557.063630] b systemd-journald[57]: System Journal (/var/log/journal/b9b791f0adfa4e97a0551d6e9ae89762) is 512B, max 4G, 3.9G free. b # [108557.070553] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [108557.071189] b systemd[1]: Reached target Preparation for Local File Systems. b # [108557.071308] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [108557.087796] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [108557.152200] b systemd[1]: Finished Firewall. a # [108557.993265] a systemd[1]: Mounting /run/wrappers... a # [108558.033102] a systemd[1]: Mounted /run/wrappers. a # [108558.033759] a systemd[1]: Reached target Local File Systems. a # [108558.034510] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [108558.035375] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [108558.035403] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [108558.036332] a systemd[1]: Starting Save Transient machine-id to Disk... a # [108558.036946] a systemd[1]: Starting Create System Files and Directories... a # [108558.054315] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [108558.054725] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [108558.055020] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/ad51e43b7d2f4d7aa1e2dc22fde53fb8 failed: Operation not permitted a # [108558.055349] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted b # [108558.017653] b systemd[1]: Mounting /run/wrappers... b # [108558.050123] b systemd[1]: Mounted /run/wrappers. b # [108558.051144] b systemd[1]: Reached target Local File Systems. b # [108558.052443] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [108558.053478] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [108558.053521] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [108558.054578] b systemd[1]: Starting Save Transient machine-id to Disk... b # [108558.055608] b systemd[1]: Starting Create System Files and Directories... b # [108558.074413] b suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.pwZ1o9Z7hZ/chsh': Operation not permitted b # [108558.076411] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [108558.076827] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted b # [108558.077159] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/b9b791f0adfa4e97a0551d6e9ae89762 failed: Operation not permitted b # [108558.077500] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [108558.057669] a systemd[1]: Finished Create System Files and Directories. a # [108558.061477] a suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.2yf8e4tHrO/chsh': Operation not permitted a # [108558.068954] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [108558.069171] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [108558.069342] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [108558.070921] a systemd[1]: Starting Rebuild Journal Catalog... a # [108558.071554] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [108558.082809] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [108558.088777] a systemd[1]: Finished Rebuild Journal Catalog. a # [108558.089738] a systemd[1]: Starting Update is Completed... a # [108558.099124] a systemd[1]: Finished Update is Completed. a # [108558.099219] a systemd[1]: Reached target System Initialization. a # [108558.099272] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [108558.099298] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [108558.099309] a systemd[1]: Reached target Timer Units. a # [108558.099604] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [108558.099786] a systemd[1]: Listening on Nix Daemon Socket. a # [108558.099877] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [108558.099891] a systemd[1]: Reached target Socket Units. a # [108558.099917] a systemd[1]: Reached target Basic System. a # [108558.100900] a systemd[1]: Starting Re-link flakelet services at boot... a # [108558.101584] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [108558.102591] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [108558.103264] a systemd[1]: Starting resolvconf update... a # [108558.111175] a systemd[1]: Finished Re-link flakelet services at boot. a # [108558.112613] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [108558.119243] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [108558.123324] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [108558.174345] a systemd[1]: Finished resolvconf update. a # [108558.174474] a systemd[1]: Reached target Preparation for Network. a # [108558.175510] a systemd[1]: Starting Address configuration of eth1... a # [108558.176493] a systemd[1]: Starting Extra networking commands.... a # [108558.200788] a systemd[1]: nscd.service: Deactivated successfully. a # [108558.201052] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [108558.207625] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [108558.209073] a network-addresses-eth1-start[236]: adding address 192.168.1.1/24... done a # [108558.212472] a network-addresses-eth1-start[236]: adding address 2001:db8:1::1/64... done a # [108558.224284] a systemd[1]: Finished Address configuration of eth1. b # [108558.085688] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [108558.085732] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [108558.085805] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [108558.086295] b systemd[1]: Finished Create System Files and Directories. b # [108558.099196] b systemd[1]: Starting Rebuild Journal Catalog... b # [108558.100084] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [108558.112596] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [108558.118860] b systemd[1]: Finished Rebuild Journal Catalog. b # [108558.119933] b systemd[1]: Starting Update is Completed... b # [108558.128744] b systemd[1]: Finished Update is Completed. b # [108558.128830] b systemd[1]: Reached target System Initialization. b # [108558.128906] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [108558.128937] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [108558.128951] b systemd[1]: Reached target Timer Units. b # [108558.129058] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [108558.129286] b systemd[1]: Listening on Nix Daemon Socket. b # [108558.129387] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [108558.129402] b systemd[1]: Reached target Socket Units. b # [108558.129431] b systemd[1]: Reached target Basic System. b # [108558.130536] b systemd[1]: Starting Re-link flakelet services at boot... b # [108558.131483] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [108558.132310] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [108558.132932] b systemd[1]: Starting resolvconf update... b # [108558.141033] b systemd[1]: Finished Re-link flakelet services at boot. b # [108558.142142] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [108558.150899] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [108558.152460] b systemd[1]: Finished Reconcile flakelet services with the host configuration. b # [108558.194374] b systemd[1]: nscd.service: Deactivated successfully. b # [108558.195781] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [108558.204059] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [108558.224176] b systemd[1]: Finished resolvconf update. b # [108558.224310] b systemd[1]: Reached target Preparation for Network. b # [108558.225184] b systemd[1]: Starting Address configuration of eth1... b # [108558.225807] b systemd[1]: Starting Extra networking commands.... b # [108558.243383] b network-addresses-eth1-start[241]: adding address 192.168.1.2/24... done b # [108558.246039] b network-addresses-eth1-start[241]: adding address 2001:db8:1::2/64... done b # [108558.313392] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [108558.323390] b systemd[1]: Finished Save Transient machine-id to Disk. b # [108558.323594] b systemd[1]: Finished Address configuration of eth1. b # [108558.323801] b systemd[1]: Finished Extra networking commands.. b # [108558.325439] b systemd[1]: Reached target Network. b # [108558.326728] b systemd[1]: Starting PostgreSQL Server... a # [108558.328786] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [108558.330132] a systemd[1]: Finished Save Transient machine-id to Disk. a # [108558.330420] a systemd[1]: Finished Extra networking commands.. a # [108558.332823] a systemd[1]: Reached target Network. a # [108558.335632] a systemd[1]: Starting PostgreSQL Server... b # [108558.650735] b nsncd[229]: Sep 03 15:36:59.970 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [108558.650782] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [108558.650834] b systemd[1]: Reached target Host and Network Name Lookups. b # [108558.650882] b systemd[1]: Reached target User and Group Name Lookups. b # [108558.657216] b systemd[1]: Starting User Login Management... b # [108558.658365] b systemd[1]: Starting Permit User Sessions... b # [108558.669958] b systemd[1]: Finished Permit User Sessions. b # [108558.671099] b systemd[1]: Started Console Getty. b # [108558.671123] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [108558.671133] b systemd[1]: Reached target Login Prompts. a # [108558.652193] a nsncd[248]: Sep 03 15:36:59.972 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [108558.652330] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [108558.652431] a systemd[1]: Reached target Host and Network Name Lookups. a # [108558.652545] a systemd[1]: Reached target User and Group Name Lookups. a # [108558.658255] a systemd[1]: Starting User Login Management... a # [108558.659465] a systemd[1]: Starting Permit User Sessions... a # [108558.669829] a systemd[1]: Finished Permit User Sessions. a # [108558.671114] a systemd[1]: Started Console Getty. a # [108558.671141] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [108558.671156] a systemd[1]: Reached target Login Prompts. b # [108560.050094] b systemd-logind[314]: New seat seat0. b # [108560.052155] b systemd[1]: Starting D-Bus System Message Bus... b # [108560.052331] b systemd[1]: Started User Login Management. b # [108560.053591] b systemd[1]: Starting linger-users.service... b # [108560.064111] b postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". b # [108560.064111] b postgresql-pre-start[325]: This user must also own the server process. b # [108560.068523] b postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". b # [108560.068523] b postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". b # [108560.068523] b postgresql-pre-start[325]: The default text search configuration will be set to "english". b # [108560.068523] b postgresql-pre-start[325]: Data page checksums are enabled. b # [108560.068523] b postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [108560.069448] b postgresql-pre-start[325]: creating subdirectories ... ok b # [108560.069585] b postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix b # [108560.092535] b postgresql-pre-start[325]: selecting default "max_connections" ... 100 b # [108560.096596] b systemd[1]: linger-users.service: Deactivated successfully. b # [108560.096966] b systemd[1]: Finished linger-users.service. b # [108560.121870] b postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB a # [108560.080390] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [108560.080390] a postgresql-pre-start[325]: This user must also own the server process. a # [108560.080390] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [108560.081382] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [108560.081382] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [108560.081382] a postgresql-pre-start[325]: Data page checksums are enabled. a # [108560.081382] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [108560.081800] a postgresql-pre-start[325]: creating subdirectories ... ok a # [108560.081948] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [108560.103603] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [108560.130632] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB a # [108560.145157] a systemd-logind[314]: New seat seat0. a # [108560.145534] a systemd[1]: Started User Login Management. a # [108560.148535] a systemd[1]: Starting D-Bus System Message Bus... a # [108560.150139] a systemd[1]: Starting linger-users.service... a # [108560.186237] a systemd[1]: linger-users.service: Deactivated successfully. a # [108560.186614] a systemd[1]: Finished linger-users.service. b # [108560.439500] b postgresql-pre-start[325]: selecting default time zone ... UTC b # [108560.440521] b postgresql-pre-start[325]: creating configuration files ... ok b # [108560.534669] b dbus-broker-launch[327]: Looking up NSS user entry for 'systemd-timesync'... b # [108560.536316] b dbus-broker-launch[327]: NSS returned no entry for 'systemd-timesync' b # [108560.536316] b dbus-broker-launch[327]: Invalid user-name in /nix/store/i3blqww45cjmrp820xfcbikhss2lc9mw-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [108560.537155] b systemd[1]: Started D-Bus System Message Bus. b # [108560.543151] b dbus-broker-launch[327]: Ready b # [108560.585652] b postgresql-pre-start[325]: running bootstrap script ... ok a # [108560.453106] a postgresql-pre-start[325]: selecting default time zone ... UTC a # [108560.454277] a postgresql-pre-start[325]: creating configuration files ... ok a # [108560.592616] a dbus-broker-launch[331]: Looking up NSS user entry for 'systemd-timesync'... a # [108560.594446] a dbus-broker-launch[331]: NSS returned no entry for 'systemd-timesync' a # [108560.594446] a dbus-broker-launch[331]: Invalid user-name in /nix/store/i3blqww45cjmrp820xfcbikhss2lc9mw-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [108560.595439] a systemd[1]: Started D-Bus System Message Bus. a # [108560.601176] a dbus-broker-launch[331]: Ready a # [108560.607764] a postgresql-pre-start[325]: running bootstrap script ... ok b # [108560.940172] b postgresql-pre-start[325]: performing post-bootstrap initialization ... ok a # [108560.971940] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok b # [108561.500906] b postgresql-pre-start[325]: syncing data to disk ... ok b # [108561.500906] b postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections b # [108561.500906] b postgresql-pre-start[325]: initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. b # [108561.500906] b postgresql-pre-start[325]: Success. You can now start the database server using: b # [108561.500906] b postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [108561.520092] a postgresql-pre-start[325]: syncing data to disk ... ok a # [108561.520092] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [108561.520092] 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 # [108561.520092] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [108561.520092] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [108562.765900] 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 # [108562.767346] b postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 b # [108562.767417] b postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [108562.767885] b postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [108562.772193] b postgres[352]: [352] LOG: database system was shut down at 2026-09-03 15:37:02 GMT b # [108562.775696] b postgres[343]: [343] LOG: database system is ready to accept connections b # [108562.776383] b systemd[1]: Started PostgreSQL Server. b # [108562.794380] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [108562.831132] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [108562.831704] b systemd[1]: Reached target PostgreSQL. b # [108562.831878] b systemd[1]: Reached target flakelet contract providers ready. b # [108562.833661] b systemd[1]: Starting Update flakelet service web... b # [108562.846066] b flakelet[361]: web: using prebuilt artifact /nix/store/5j1w8806g7ljdn99phwadpfglncvaz3z-flakelet-web b # [108562.846645] b flakelet[361]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [108562.859674] b runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108562.931724] b runuser[365]: pam_unix(runuser:session): session closed for user postgres b # [108562.933416] b flakelet[361]: web: activating generation 1 b # [108562.938466] b systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... b # [108562.938541] b systemd[1]: Reloading... a # [108562.796923] 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 # [108562.798345] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [108562.798405] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [108562.798938] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [108562.804076] a postgres[352]: [352] LOG: database system was shut down at 2026-09-03 15:37:02 GMT a # [108562.807647] a postgres[343]: [343] LOG: database system is ready to accept connections a # [108562.808229] a systemd[1]: Started PostgreSQL Server. a # [108562.809395] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [108562.842021] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [108562.842287] a systemd[1]: Reached target PostgreSQL. a # [108562.842374] a systemd[1]: Reached target flakelet contract providers ready. a # [108562.843364] a systemd[1]: Starting Update flakelet service web... a # [108562.856798] a flakelet[361]: web: using prebuilt artifact /nix/store/5j1w8806g7ljdn99phwadpfglncvaz3z-flakelet-web a # [108562.857240] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [108562.870377] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108562.951286] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [108562.953130] a flakelet[361]: web: activating generation 1 a # [108562.959380] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [108562.959440] a systemd[1]: Reloading... b # [108563.288500] b systemd[1]: Reloading finished in 349 ms. b # [108563.426256] b systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... b # [108563.426291] b systemd[1]: Reloading... a # [108563.288744] a systemd[1]: Reloading finished in 328 ms. a # [108563.428657] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [108563.428696] a systemd[1]: Reloading... b # [108563.738619] b systemd[1]: Reloading finished in 312 ms. b # [108563.922715] b systemd[1]: Starting web.service... b # [108563.950577] b systemd[1]: Started web.service. b # [108563.970571] b flakelet[361]: web: updated to generation 1 b # [108563.972791] b systemd[1]: Finished Update flakelet service web. b # [108563.973233] b systemd[1]: Reached target flakelet managed services. b # [108563.973385] b systemd[1]: Reached target Multi-User System. b # [108563.973615] b systemd[1]: Startup finished in 7.359s. a # [108563.742571] a systemd[1]: Reloading finished in 313 ms. a # [108563.917897] a systemd[1]: Starting web.service... a # [108563.954554] a systemd[1]: Started web.service. a # [108563.973441] a flakelet[361]: web: updated to generation 1 a # [108563.975861] a systemd[1]: Finished Update flakelet service web. a # [108563.976301] a systemd[1]: Reached target flakelet managed services. a # [108563.976435] a systemd[1]: Reached target Multi-User System. a # [108563.976675] a systemd[1]: Startup finished in 7.364s. a: (finished: waiting for unit postgresql.target, in 8.15 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.02 seconds) a: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')' a: (finished: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')', in 0.03 seconds) a: must succeed: flakelet export web --dry-run >&2 { "version": 1, "flakelet_version": "0.1.0", "name": "web", "source_host": "a", "created": 1788449825, "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/2ycdgz7jxj2pvsxm7f23qry484qpr2xi-flakelet-postgres-dump/bin/flakelet-postgres-dump web: archiving /var/lib/web a # [108564.332815] a runuser[434]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108564.344341] a runuser[434]: pam_unix(runuser:session): session closed for user postgres a # [108564.354859] a runuser[438]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [108564.371089] a runuser[438]: pam_unix(runuser:session): session closed for user web a # [108564.405470] a systemd[1]: Stopping web.service... a # [108564.405881] a systemd[1]: web.service: Deactivated successfully. a # [108564.406130] a systemd[1]: Stopped web.service. a # [108564.424613] a runuser[451]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108564.469988] a runuser[451]: pam_unix(runuser:session): session closed for user postgres a # [108564.510971] a systemd[1]: Reload requested from client PID 466 ('systemctl')... a # [108564.511014] a systemd[1]: Reloading... a # [108564.802423] a systemd[1]: Reloading finished in 291 ms. a # [108564.892539] a systemd[1]: Reload requested from client PID 494 ('systemctl')... a # [108564.892576] a systemd[1]: Reloading... web: disabled here, 'flakelet enable web' undoes that a: (finished: must succeed: flakelet export web --to b > /tmp/shared/web.tar.zst, in 0.88 seconds) a: must fail: systemctl is-active web.service a: (finished: must fail: systemctl is-active web.service, in 0.01 seconds) a: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst | grep -q requires/postgres/db.pgdump a: (finished: must succeed: tar --zstd -tf /tmp/shared/web.tar.zst | grep -q requires/postgres/db.pgdump, in 0.01 seconds) b: waiting for unit postgresql.target b: (finished: waiting for unit postgresql.target, in 0.01 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/5j1w8806g7ljdn99phwadpfglncvaz3z-flakelet-web b # [108565.339119] b systemd[1]: Stopping web.service... b # [108565.339568] b systemd[1]: web.service: Deactivated successfully. b # [108565.339827] b systemd[1]: Stopped web.service. b # [108565.355143] b systemd[1]: Reload requested from client PID 446 ('systemctl')... b # [108565.355206] b systemd[1]: Reloading... a # [108565.182734] a systemd[1]: Reloading finished in 289 ms. b # [108565.664379] b systemd[1]: Reloading finished in 308 ms. b # [108565.757660] b systemd[1]: Reload requested from client PID 474 ('systemctl')... b # [108565.757697] b systemd[1]: Reloading... b # [108566.051149] b systemd[1]: Reloading finished in 293 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 # [108566.161755] b runuser[509]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108566.175650] b runuser[509]: pam_unix(runuser:session): session closed for user postgres b # [108566.179985] b runuser[512]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108566.192119] b runuser[512]: pam_unix(runuser:session): session closed for user postgres b # [108566.196106] b runuser[515]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108566.210188] b runuser[515]: pam_unix(runuser:session): session closed for user postgres b # [108566.225675] b runuser[521]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108566.237792] b runuser[521]: pam_unix(runuser:session): session closed for user postgres b # [108566.245222] b systemd[1]: Reload requested from client PID 524 ('systemctl')... b # [108566.245291] b systemd[1]: Reloading... b # [108566.561817] b systemd[1]: Reloading finished in 315 ms. b # [108566.652914] b systemd[1]: Reload requested from client PID 552 ('systemctl')... b # [108566.652947] b systemd[1]: Reloading... web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.77 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) 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/5j1w8806g7ljdn99phwadpfglncvaz3z-flakelet-web b # [108566.955728] b systemd[1]: Reloading finished in 302 ms. b # [108567.045327] b systemd[1]: Starting web.service... b # [108567.057227] b systemd[1]: Started web.service. b # [108567.093336] b runuser[586]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [108567.102509] b runuser[586]: pam_unix(runuser:session): session closed for user web b # [108567.112811] b runuser[591]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108567.123487] b runuser[591]: pam_unix(runuser:session): session closed for user postgres b # [108567.132239] b runuser[596]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108567.142015] b runuser[596]: pam_unix(runuser:session): session closed for user postgres b # [108567.170907] b systemd[1]: Stopping web.service... b # [108567.172506] b systemd[1]: web.service: Deactivated successfully. b # [108567.172824] b systemd[1]: Stopped web.service. b # [108567.189164] b systemd[1]: Reload requested from client PID 612 ('systemctl')... b # [108567.189230] b systemd[1]: Reloading... b # [108567.505145] b systemd[1]: Reloading finished in 315 ms. b # [108567.579715] b systemd[1]: Reload requested from client PID 640 ('systemctl')... b # [108567.579749] b systemd[1]: Reloading... 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/.tmpc2PGEZ/requires/postgres/claim.json /var/cache/flakelet/.tmpc2PGEZ/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.89 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/5j1w8806g7ljdn99phwadpfglncvaz3z-flakelet-web b # [108567.881112] b systemd[1]: Reloading finished in 300 ms. b # [108567.994576] b runuser[675]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108568.007492] b runuser[675]: pam_unix(runuser:session): session closed for user postgres b # [108568.012340] b runuser[678]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108568.023201] b runuser[678]: pam_unix(runuser:session): session closed for user postgres b # [108568.071761] b systemd[1]: Reload requested from client PID 693 ('systemctl')... b # [108568.071797] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/hfs33p6jvmxq0bvpjaic8p2z8qzck0rh-flakelet-postgres-restore/bin/flakelet-postgres-restore b # [108568.371989] b systemd[1]: Reloading finished in 299 ms. b # [108568.484450] b runuser[725]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108568.495686] b postgres[350]: [350] LOG: checkpoint starting: immediate force wait b # [108568.506394] 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 # [108568.518879] b runuser[725]: pam_unix(runuser:session): session closed for user postgres b # [108568.537224] b runuser[731]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108568.590648] b runuser[731]: pam_unix(runuser:session): session closed for user postgres b # [108568.596291] b runuser[734]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) webb # [108568.612659] b runuser[734]: pam_unix(runuser:session): session closed for user postgres : requires.b # [108568.617176] b runuser[737]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) postgresb # [108568.631578] b runuser[737]: pam_unix(runuser:session): session closed for user postgres : provisioning via /nix/store/zk0hfw0p92criayi9wayi4r91mqsc2jd-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 3 b # [108568.647432] b runuser[743]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108568.658518] b runuser[743]: pam_unix(runuser:session): session closed for user postgres b # [108568.664957] b systemd[1]: Reload requested from client PID 746 ('systemctl')... b # [108568.665041] b systemd[1]: Reloading... b # [108568.986291] b systemd[1]: Reloading finished in 320 ms. b # [108569.066248] b systemd[1]: Reload requested from client PID 774 ('systemctl')... b # [108569.066283] b systemd[1]: Reloading... web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.47 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 13.40 seconds) test script finished in 13.42s 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.38 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