tribuchet: building on jamie Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Initializing machine ID from random generator. Test will time out and terminate in 3600.0 seconds run the VM test script start all VMs a: systemd-nspawn running (pid 51) b: systemd-nspawn running (pid 52) a: Waiting for journal at /build/vm-state-a/var/log/journal... b: Waiting for journal at /build/vm-state-b/var/log/journal... (finished: start all VMs, in 0.00 seconds) a: waiting for unit postgresql.target nixos-nspawn(b): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(b): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. nixos-nspawn(a): TAP vde-tap1 not found; container will be isolated from VDE nixos-nspawn(a): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ░ Spawning container 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 # [1131823.984289] a systemd-journald[57]: Journal started a # [1131823.984330] a systemd-journald[57]: Runtime Journal (/run/log/journal/4beadb9eae7c4900b5c763b0092b35f1) is 8M, max 4G, 3.9G free. a # [1131823.991572] a systemd[1]: Finished Apply Kernel Variables. a # [1131824.002044] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [1131824.014848] a systemd[1]: Starting Flush Journal to Persistent Storage... a # [1131824.015693] a systemd[1]: Starting Create Static Device Nodes in /dev... a # [1131824.052176] a systemd-journald[57]: Time spent on flushing to /var/log/journal/4beadb9eae7c4900b5c763b0092b35f1 is 1.466ms for 6 entries. a # [1131824.052176] a systemd-journald[57]: System Journal (/var/log/journal/4beadb9eae7c4900b5c763b0092b35f1) is 512B, max 4G, 3.9G free. a # [1131824.059256] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [1131824.059976] a systemd[1]: Reached target Preparation for Local File Systems. a # [1131824.060105] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [1131824.073671] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [1131823.982892] b systemd-journald[57]: Journal started b # [1131823.982933] b systemd-journald[57]: Runtime Journal (/run/log/journal/c0242c7acc004d52b8844cfc0ff859c6) is 8M, max 4G, 3.9G free. b # [1131823.990527] b systemd[1]: Finished Apply Kernel Variables. b # [1131824.000957] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [1131824.013635] b systemd[1]: Starting Flush Journal to Persistent Storage... b # [1131824.014446] b systemd[1]: Starting Create Static Device Nodes in /dev... b # [1131824.053350] b systemd-journald[57]: Time spent on flushing to /var/log/journal/c0242c7acc004d52b8844cfc0ff859c6 is 1.468ms for 6 entries. b # [1131824.053350] b systemd-journald[57]: System Journal (/var/log/journal/c0242c7acc004d52b8844cfc0ff859c6) is 512B, max 4G, 3.9G free. b # [1131824.059115] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [1131824.059839] b systemd[1]: Reached target Preparation for Local File Systems. b # [1131824.059982] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [1131824.062554] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [1131824.143262] b systemd[1]: Finished Firewall. a # [1131824.144960] a systemd[1]: Finished Firewall. b # [1131825.005796] b systemd[1]: Mounting /run/wrappers... b # [1131825.034054] b systemd[1]: Mounted /run/wrappers. b # [1131825.035187] b systemd[1]: Reached target Local File Systems. a # [1131824.982451] a systemd[1]: Mounting /run/wrappers... b # [1131825.036526] b systemd[1]: Listening on Boot Loader Control Service Socket. a # [1131825.034514] a systemd[1]: Mounted /run/wrappers. b # [1131825.038169] b systemd[1]: Starting Create SUID/SGID Wrappers... a # [1131825.035848] a systemd[1]: Reached target Local File Systems. b # [1131825.038219] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [1131825.037408] a systemd[1]: Listening on Boot Loader Control Service Socket. b # [1131825.039504] b systemd[1]: Starting Save Transient machine-id to Disk... a # [1131825.038544] a systemd[1]: Starting Create SUID/SGID Wrappers... b # [1131825.040738] b systemd[1]: Starting Create System Files and Directories... a # [1131825.038594] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [1131825.060029] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [1131825.039963] a systemd[1]: Starting Save Transient machine-id to Disk... b # [1131825.060445] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [1131825.041132] a systemd[1]: Starting Create System Files and Directories... b # [1131825.060748] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/c0242c7acc004d52b8844cfc0ff859c6 failed: Operation not permitted a # [1131825.060323] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [1131825.060735] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted b # [1131825.061109] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [1131825.061075] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/4beadb9eae7c4900b5c763b0092b35f1 failed: Operation not permitted a # [1131825.061408] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [1131825.064282] a suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.9RvPSIGVeU/chsh': Operation not permitted a # [1131825.067112] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [1131825.067207] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [1131825.067385] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [1131825.067780] a systemd[1]: Finished Create System Files and Directories. a # [1131825.080810] a systemd[1]: Starting Rebuild Journal Catalog... a # [1131825.081390] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [1131825.091619] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [1131825.098881] a systemd[1]: Finished Rebuild Journal Catalog. a # [1131825.099879] a systemd[1]: Starting Update is Completed... a # [1131825.108160] a systemd[1]: Finished Update is Completed. a # [1131825.108233] a systemd[1]: Reached target System Initialization. a # [1131825.108301] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [1131825.108325] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [1131825.108341] a systemd[1]: Reached target Timer Units. a # [1131825.108436] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [1131825.108653] a systemd[1]: Listening on Nix Daemon Socket. a # [1131825.108743] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [1131825.108758] a systemd[1]: Reached target Socket Units. a # [1131825.108785] a systemd[1]: Reached target Basic System. a # [1131825.109990] a systemd[1]: Starting Re-link flakelet services at boot... a # [1131825.110791] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [1131825.111800] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1131825.112927] a systemd[1]: Starting resolvconf update... a # [1131825.121155] a systemd[1]: Finished Re-link flakelet services at boot. a # [1131825.122186] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [1131825.135546] a systemd[1]: Finished Import lastlog data into lastlog2 database. a # [1131825.141526] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [1131825.199050] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [1131825.199929] a systemd[1]: Finished Save Transient machine-id to Disk. a # [1131825.226355] a systemd[1]: nscd.service: Deactivated successfully. a # [1131825.226501] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [1131825.065123] b suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.FN0V4q0mwz/chsh': Operation not permitted b # [1131825.066025] b systemd[1]: Finished Create System Files and Directories. b # [1131825.076376] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [1131825.076412] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [1131825.076460] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [1131825.079251] b systemd[1]: Starting Rebuild Journal Catalog... b # [1131825.079986] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [1131825.092416] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [1131825.098604] b systemd[1]: Finished Rebuild Journal Catalog. b # [1131825.100094] b systemd[1]: Starting Update is Completed... b # [1131825.112291] b systemd[1]: Finished Update is Completed. b # [1131825.112435] b systemd[1]: Reached target System Initialization. b # [1131825.112511] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [1131825.112537] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [1131825.112550] b systemd[1]: Reached target Timer Units. b # [1131825.112653] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [1131825.112852] b systemd[1]: Listening on Nix Daemon Socket. b # [1131825.112958] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [1131825.112973] b systemd[1]: Reached target Socket Units. b # [1131825.113009] b systemd[1]: Reached target Basic System. b # [1131825.114167] b systemd[1]: Starting Re-link flakelet services at boot... b # [1131825.114846] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [1131825.115825] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1131825.116450] b systemd[1]: Starting resolvconf update... b # [1131825.199705] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [1131825.200609] b systemd[1]: Finished Save Transient machine-id to Disk. b # [1131825.200840] b systemd[1]: Finished Re-link flakelet services at boot. b # [1131825.201116] b systemd[1]: lastlog2-import.service: Failed to spawn executor: No such file or directory b # [1131825.201133] b systemd[1]: lastlog2-import.service: Failed to spawn 'start-post' task: No such file or directory b # [1131825.201166] b systemd[1]: lastlog2-import.service: Failed with result 'resources'. b # [1131825.201215] b systemd[1]: Failed to start Import lastlog data into lastlog2 database. b # [1131825.214770] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [1131825.234668] b systemd[1]: nscd.service: Deactivated successfully. b # [1131825.249244] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [1131825.250831] b systemd[1]: Finished resolvconf update. b # [1131825.251612] b systemd[1]: Reached target Preparation for Network. b # [1131825.252624] b systemd[1]: Starting Address configuration of eth1... b # [1131825.253331] b systemd[1]: Starting Extra networking commands.... b # [1131825.254069] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [1131825.258196] b systemd[1]: Finished Reconcile flakelet services with the host configuration. b # [1131825.272926] b network-addresses-eth1-start[237]: adding address 192.168.1.2/24... done b # [1131825.277461] b network-addresses-eth1-start[237]: adding address 2001:db8:1::2/64... done b # [1131825.282304] b systemd[1]: Finished Address configuration of eth1. b # [1131825.322126] b systemd[1]: Finished Extra networking commands.. b # [1131825.322229] b systemd[1]: Reached target Network. b # [1131825.323367] b systemd[1]: Starting PostgreSQL Server... b # [1131825.505985] b systemd[1]: Started Name Service Cache Daemon (nsncd). b # [1131825.506101] b systemd[1]: Reached target Host and Network Name Lookups. b # [1131825.506384] b nsncd[239]: Sep 24 15:35:33.793 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [1131825.506199] b systemd[1]: Reached target User and Group Name Lookups. b # [1131825.508481] b systemd[1]: Starting User Login Management... a # [1131825.249615] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [1131825.249906] a systemd[1]: Finished resolvconf update. a # [1131825.250629] a systemd[1]: Reached target Preparation for Network. a # [1131825.251687] a systemd[1]: Starting Address configuration of eth1... a # [1131825.252563] a systemd[1]: Starting Extra networking commands.... a # [1131825.271211] a network-addresses-eth1-start[241]: adding address 192.168.1.1/24... done a # [1131825.274335] a network-addresses-eth1-start[241]: adding address 2001:db8:1::1/64... done a # [1131825.278879] a systemd[1]: Finished Address configuration of eth1. a # [1131825.319506] a systemd[1]: Finished Extra networking commands.. a # [1131825.319645] a systemd[1]: Reached target Network. a # [1131825.321142] a systemd[1]: Starting PostgreSQL Server... b # [1131825.509919] b systemd[1]: Starting Permit User Sessions... b # [1131825.548717] b systemd[1]: Finished Permit User Sessions. b # [1131825.550805] b systemd[1]: Started Console Getty. b # [1131825.550857] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [1131825.550883] b systemd[1]: Reached target Login Prompts. a # [1131825.511292] a nsncd[232]: Sep 24 15:35:33.798 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [1131825.511384] a systemd[1]: Started Name Service Cache Daemon (nsncd). a # [1131825.511478] a systemd[1]: Reached target Host and Network Name Lookups. a # [1131825.511575] a systemd[1]: Reached target User and Group Name Lookups. a # [1131825.513751] a systemd[1]: Starting User Login Management... a # [1131825.541680] a systemd[1]: Starting Permit User Sessions... a # [1131825.552374] a systemd[1]: Finished Permit User Sessions. a # [1131825.554175] a systemd[1]: Started Console Getty. a # [1131825.554225] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [1131825.554253] a systemd[1]: Reached target Login Prompts. a # [1131826.636475] a systemd-logind[314]: New seat seat0. a # [1131826.636881] a systemd[1]: Started User Login Management. a # [1131826.638483] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [1131826.638483] a postgresql-pre-start[325]: This user must also own the server process. a # [1131826.639060] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [1131826.639060] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [1131826.639060] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [1131826.639060] a postgresql-pre-start[325]: Data page checksums are enabled. a # [1131826.639212] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [1131826.639097] a systemd[1]: Starting D-Bus System Message Bus... a # [1131826.640191] a postgresql-pre-start[325]: creating subdirectories ... ok a # [1131826.640333] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [1131826.640707] a systemd[1]: Starting linger-users.service... a # [1131826.665523] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [1131826.675431] a systemd[1]: linger-users.service: Deactivated successfully. a # [1131826.675791] a systemd[1]: Finished linger-users.service. a # [1131826.692150] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB b # [1131826.659839] b postgresql-pre-start[323]: The files belonging to this database system will be owned by user "postgres". b # [1131826.659839] b postgresql-pre-start[323]: This user must also own the server process. b # [1131826.660804] b postgresql-pre-start[323]: The database cluster will be initialized with locale "en_US.UTF-8". b # [1131826.660804] b postgresql-pre-start[323]: The default database encoding has accordingly been set to "UTF8". b # [1131826.660804] b postgresql-pre-start[323]: The default text search configuration will be set to "english". b # [1131826.660804] b postgresql-pre-start[323]: Data page checksums are enabled. b # [1131826.660804] b postgresql-pre-start[323]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [1131826.661234] b postgresql-pre-start[323]: creating subdirectories ... ok b # [1131826.661424] b postgresql-pre-start[323]: selecting dynamic shared memory implementation ... posix b # [1131826.683377] b postgresql-pre-start[323]: selecting default "max_connections" ... 100 b # [1131826.701119] b systemd-logind[312]: New seat seat0. b # [1131826.701562] b systemd[1]: Started User Login Management. b # [1131826.703702] b systemd[1]: Starting D-Bus System Message Bus... b # [1131826.705329] b systemd[1]: Starting linger-users.service... b # [1131826.712188] b postgresql-pre-start[323]: selecting default "shared_buffers" ... 128MB b # [1131826.719201] b systemd[1]: linger-users.service: Deactivated successfully. b # [1131826.719554] b systemd[1]: Finished linger-users.service. b # [1131827.030818] b dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'... b # [1131827.032276] b dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync' b # [1131827.032276] b dbus-broker-launch[329]: Invalid user-name in /nix/store/xvy01jnk6l47iijk7lfgwrm8221xsigv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [1131827.033343] b systemd[1]: Started D-Bus System Message Bus. b # [1131827.038885] b dbus-broker-launch[329]: Ready b # [1131827.057152] b postgresql-pre-start[323]: selecting default time zone ... UTC b # [1131827.058151] b postgresql-pre-start[323]: creating configuration files ... ok b # [1131827.183272] b postgresql-pre-start[323]: running bootstrap script ... ok a # [1131827.005985] a dbus-broker-launch[327]: Looking up NSS user entry for 'systemd-timesync'... a # [1131827.007688] a dbus-broker-launch[327]: NSS returned no entry for 'systemd-timesync' a # [1131827.007688] a dbus-broker-launch[327]: Invalid user-name in /nix/store/xvy01jnk6l47iijk7lfgwrm8221xsigv-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [1131827.008532] a systemd[1]: Started D-Bus System Message Bus. a # [1131827.012551] a postgresql-pre-start[325]: selecting default time zone ... UTC a # [1131827.013552] a postgresql-pre-start[325]: creating configuration files ... ok a # [1131827.013952] a dbus-broker-launch[327]: Ready a # [1131827.144715] a postgresql-pre-start[325]: running bootstrap script ... ok b # [1131827.520311] b postgresql-pre-start[323]: performing post-bootstrap initialization ... ok a # [1131827.480391] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok b # [1131827.930322] b postgresql-pre-start[323]: syncing data to disk ... ok b # [1131827.930322] b postgresql-pre-start[323]: initdb: warning: enabling "trust" authentication for local connections b # [1131827.930322] b postgresql-pre-start[323]: 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 # [1131827.930322] b postgresql-pre-start[323]: Success. You can now start the database server using: b # [1131827.930322] b postgresql-pre-start[323]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [1131827.886308] a postgresql-pre-start[325]: syncing data to disk ... ok a # [1131827.886308] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [1131827.886308] 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 # [1131827.886308] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [1131827.886308] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [1131828.941437] b postgres[341]: [341] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit b # [1131828.942592] b postgres[341]: [341] LOG: listening on IPv6 address "::1", port 5432 b # [1131828.942592] b postgres[341]: [341] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [1131828.943030] b postgres[341]: [341] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [1131828.948213] b postgres[350]: [350] LOG: database system was shut down at 2026-09-24 15:35:35 GMT b # [1131828.952057] b postgres[341]: [341] LOG: database system is ready to accept connections b # [1131828.952737] b systemd[1]: Started PostgreSQL Server. b # [1131828.980895] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [1131829.015054] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [1131829.015690] b systemd[1]: Reached target PostgreSQL. b # [1131829.015879] b systemd[1]: Reached target flakelet contract providers ready. b # [1131829.017492] b systemd[1]: Starting Update flakelet service web... b # [1131829.028877] b flakelet[359]: web: using prebuilt artifact /nix/store/vsrkap4cygqxzfr7r8v4y80yxvrd7f8p-flakelet-web b # [1131829.029452] b flakelet[359]: web: requires.postgres: provisioning via /nix/store/gpgh6w52i0i2b13c6aw7rasbk276grni-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [1131829.046255] b runuser[363]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131829.125962] b runuser[363]: pam_unix(runuser:session): session closed for user postgres b # [1131829.127648] b flakelet[359]: web: activating generation 1 b # [1131829.134963] b systemd[1]: Reload requested from client PID 366 ('systemctl') (unit flakelet-web.service)... b # [1131829.135065] b systemd[1]: Reloading... a # [1131828.929178] 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 # [1131828.930670] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [1131828.930670] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [1131828.931112] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [1131828.936243] a postgres[352]: [352] LOG: database system was shut down at 2026-09-24 15:35:35 GMT a # [1131828.939947] a postgres[343]: [343] LOG: database system is ready to accept connections a # [1131828.940700] a systemd[1]: Started PostgreSQL Server. a # [1131828.943361] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [1131829.007491] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [1131829.009079] a systemd[1]: Reached target PostgreSQL. a # [1131829.009321] a systemd[1]: Reached target flakelet contract providers ready. a # [1131829.011263] a systemd[1]: Starting Update flakelet service web... a # [1131829.025037] a flakelet[361]: web: using prebuilt artifact /nix/store/vsrkap4cygqxzfr7r8v4y80yxvrd7f8p-flakelet-web a # [1131829.025647] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/gpgh6w52i0i2b13c6aw7rasbk276grni-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [1131829.044868] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1131829.118767] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [1131829.120855] a flakelet[361]: web: activating generation 1 a # [1131829.125849] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [1131829.125931] a systemd[1]: Reloading... b # [1131829.467569] b systemd[1]: Reloading finished in 331 ms. b # [1131829.585248] b systemd[1]: Reload requested from client PID 395 ('systemctl') (unit flakelet-web.service)... b # [1131829.585291] b systemd[1]: Reloading... a # [1131829.451746] a systemd[1]: Reloading finished in 324 ms. a # [1131829.587167] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [1131829.587244] 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/9p2xsk3kxklsa1r80lhij4s5mjvqg10k-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 a: waiting for unit web.service a: (finished: waiting for unit web.service, in 0.02 seconds) a: must succeed: runuser -u postgres -- psql -qtAX -v ON_ERROR_STOP=1 -d postgres -c 'SELECT 1 FROM pg_database WHERE datname='\''web'\''' | grep -q 1 a # [1131829.901486] a systemd[1]: Reloading finished in 313 ms. a # [1131830.033431] a systemd[1]: Starting web.service... a # [1131830.069689] a systemd[1]: Started web.service. a # [1131830.076386] a flakelet[361]: web: updated to generation 1 a # [1131830.078372] a systemd[1]: Finished Update flakelet service web. a # [1131830.078646] a systemd[1]: Reached target flakelet managed services. a # [1131830.078742] a systemd[1]: Reached target Multi-User System. a # [1131830.078890] a systemd[1]: Startup finished in 6.503s. 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'\'')' b # [1131829.907253] b systemd[1]: Reloading finished in 321 ms. b # [1131830.033792] b systemd[1]: Starting web.service... b # [1131830.070324] b systemd[1]: Started web.service. b # [1131830.077193] b flakelet[359]: web: updated to generation 1 b # [1131830.078536] b systemd[1]: Finished Update flakelet service web. b # [1131830.079317] b systemd[1]: Reached target flakelet managed services. b # [1131830.079400] b systemd[1]: Reached target Multi-User System. b # [1131830.079568] b systemd[1]: Startup finished in 6.510s. 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": 1790264138, "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/lwmj9ww4rw45xifi41mrn1z9xwv11ngx-flakelet-postgres-dump/bin/flakelet-postgres-dump web: archiving /var/lib/web a # [1131830.279954] a runuser[433]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1131830.290839] a runuser[433]: pam_unix(runuser:session): session closed for user postgres a # [1131830.302778] a runuser[437]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [1131830.317388] a runuser[437]: pam_unix(runuser:session): session closed for user web a # [1131830.355673] a systemd[1]: Stopping web.service... a # [1131830.356113] a systemd[1]: web.service: Deactivated successfully. a # [1131830.356325] a systemd[1]: Stopped web.service. a # [1131830.376835] a runuser[450]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [1131830.419134] a runuser[450]: pam_unix(runuser:session): session closed for user postgres a # [1131830.465873] a systemd[1]: Reload requested from client PID 465 ('systemctl')... a # [1131830.465945] a systemd[1]: Reloading... a # [1131830.775376] a systemd[1]: Reloading finished in 308 ms. a # [1131830.866840] a systemd[1]: Reload requested from client PID 493 ('systemctl')... a # [1131830.866883] 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.01 seconds) b: waiting for unit postgresql.target b: (finished: waiting for unit postgresql.target, in 0.02 seconds) b: waiting for unit web.service b: (finished: waiting for unit web.service, in 0.02 seconds) ??? Warning (UserWarning): succeed(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/9p2xsk3kxklsa1r80lhij4s5mjvqg10k-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/9p2xsk3kxklsa1r80lhij4s5mjvqg10k-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 web: using prebuilt artifact /nix/store/vsrkap4cygqxzfr7r8v4y80yxvrd7f8p-flakelet-web a # [1131831.161645] a systemd[1]: Reloading finished in 294 ms. b # [1131831.362783] b systemd[1]: Stopping web.service... b # [1131831.364441] b systemd[1]: web.service: Deactivated successfully. b # [1131831.364713] b systemd[1]: Stopped web.service. b # [1131831.383126] b systemd[1]: Reload requested from client PID 443 ('systemctl')... b # [1131831.383194] b systemd[1]: Reloading... b # [1131831.697105] b systemd[1]: Reloading finished in 313 ms. b # [1131831.777704] b systemd[1]: Reload requested from client PID 471 ('systemctl')... b # [1131831.777743] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/2r4dp1sirlkvhbxdzld0k26kf92dd46d-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/gpgh6w52i0i2b13c6aw7rasbk276grni-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 2 b # [1131832.080628] b systemd[1]: Reloading finished in 302 ms. b # [1131832.197747] b runuser[506]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131832.211067] b runuser[506]: pam_unix(runuser:session): session closed for user postgres b # [1131832.216226] b runuser[509]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131832.229280] b runuser[509]: pam_unix(runuser:session): session closed for user postgres b # [1131832.235234] b runuser[512]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131832.250722] b runuser[512]: pam_unix(runuser:session): session closed for user postgres b # [1131832.268755] b runuser[518]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131832.280616] b runuser[518]: pam_unix(runuser:session): session closed for user postgres b # [1131832.288096] b systemd[1]: Reload requested from client PID 521 ('systemctl')... b # [1131832.288184] b systemd[1]: Reloading... b # [1131832.612152] b systemd[1]: Reloading finished in 323 ms. b # [1131832.690828] b systemd[1]: Reload requested from client PID 549 ('systemctl')... b # [1131832.690867] b systemd[1]: Reloading... b # [1131832.990921] b systemd[1]: Reloading finished in 299 ms. web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.81 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/vsrkap4cygqxzfr7r8v4y80yxvrd7f8p-flakelet-web b # [1131833.075056] b systemd[1]: Starting web.service... b # [1131833.119758] b systemd[1]: Started web.service. b # [1131833.156845] b runuser[582]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [1131833.168901] b runuser[582]: pam_unix(runuser:session): session closed for user web b # [1131833.180783] b runuser[587]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131833.192796] b runuser[587]: pam_unix(runuser:session): session closed for user postgres b # [1131833.202687] b runuser[592]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131833.212643] b runuser[592]: pam_unix(runuser:session): session closed for user postgres b # [1131833.248922] b systemd[1]: Stopping web.service... b # [1131833.249403] b systemd[1]: web.service: Deactivated successfully. b # [1131833.249664] b systemd[1]: Stopped web.service. b # [1131833.266193] b systemd[1]: Reload requested from client PID 608 ('systemctl')... b # [1131833.266265] b systemd[1]: Reloading... b # [1131833.581717] b systemd[1]: Reloading finished in 314 ms. b # [1131833.656405] b systemd[1]: Reload requested from client PID 636 ('systemctl')... b # [1131833.656445] b systemd[1]: Reloading... b # [1131833.956300] b systemd[1]: Reloading finished in 299 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/2r4dp1sirlkvhbxdzld0k26kf92dd46d-flakelet-postgres-restore/bin/flakelet-postgres-restore error: /nix/store/2r4dp1sirlkvhbxdzld0k26kf92dd46d-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmpo2UmZq/requires/postgres/claim.json /var/cache/flakelet/.tmpo2UmZq/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.90 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/vsrkap4cygqxzfr7r8v4y80yxvrd7f8p-flakelet-web b # [1131834.065663] b runuser[671]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.078091] b runuser[671]: pam_unix(runuser:session): session closed for user postgres b # [1131834.084619] b runuser[674]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.096725] b runuser[674]: pam_unix(runuser:session): session closed for user postgres b # [1131834.159172] b systemd[1]: Reload requested from client PID 689 ('systemctl')... b # [1131834.159238] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/2r4dp1sirlkvhbxdzld0k26kf92dd46d-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/gpgh6w52i0i2b13c6aw7rasbk276grni-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [1131834.472694] b systemd[1]: Reloading finished in 312 ms. b # [1131834.561947] b runuser[721]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.574277] b postgres[348]: [348] LOG: checkpoint starting: immediate force wait b # [1131834.587426] b postgres[348]: [348] LOG: checkpoint complete: wrote 14 buffers (0.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.005 s, total=0.014 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 # [1131834.610104] b runuser[721]: pam_unix(runuser:session): session closed for user postgres b # [1131834.627966] b runuser[727]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.676856] b runuser[727]: pam_unix(runuser:session): session closed for user postgres b # [1131834.682833] b runuser[730]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.698042] b runuser[730]: pam_unix(runuser:session): session closed for user postgres b # [1131834.703225] b runuser[733]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.717076] b runuser[733]: pam_unix(runuser:session): session closed for user postgres web: activating generation 3 b # [1131834.732543] b runuser[739]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [1131834.743672] b runuser[739]: pam_unix(runuser:session): session closed for user postgres b # [1131834.750727] b systemd[1]: Reload requested from client PID 742 ('systemctl')... b # [1131834.750813] b systemd[1]: Reloading... b # [1131835.076718] b systemd[1]: Reloading finished in 325 ms. b # [1131835.152970] b systemd[1]: Reload requested from client PID 770 ('systemctl')... b # [1131835.153016] b systemd[1]: Reloading... b # [1131835.452590] b systemd[1]: Reloading finished in 299 ms. web: imported as generation 3 b: (finished: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2, in 1.45 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.53 seconds) test script finished in 12.55s cleanup kill NspawnMachine (pid 51) kill NspawnMachine (pid 52) Container a terminated by signal KILL. Container b terminated by signal KILL. (finished: cleanup, in 0.28 seconds) additionally exposed symbols: a, b, vlan1, start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh