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 # [108726.677530] a systemd-journald[57]: Journal started a # [108726.677571] a systemd-journald[57]: Runtime Journal (/run/log/journal/f84b28d51ae241e780a9ce3844259e40) is 8M, max 4G, 3.9G free. a # [108726.684553] a systemd[1]: Finished Apply Kernel Variables. a # [108726.694693] a systemd[1]: Finished Create Static Device Nodes in /dev gracefully. a # [108726.706842] a systemd[1]: Starting Flush Journal to Persistent Storage... a # [108726.707508] a systemd[1]: Starting Create Static Device Nodes in /dev... a # [108726.737176] a systemd-journald[57]: Time spent on flushing to /var/log/journal/f84b28d51ae241e780a9ce3844259e40 is 1.364ms for 6 entries. a # [108726.737176] a systemd-journald[57]: System Journal (/var/log/journal/f84b28d51ae241e780a9ce3844259e40) is 512B, max 4G, 3.9G free. a # [108726.743742] a systemd[1]: Finished Create Static Device Nodes in /dev. a # [108726.744426] a systemd[1]: Reached target Preparation for Local File Systems. a # [108726.744531] a systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys a # [108726.759050] a systemd[1]: Finished Flush Journal to Persistent Storage. b # [108726.686635] b systemd-journald[57]: Journal started b # [108726.686681] b systemd-journald[57]: Runtime Journal (/run/log/journal/d639c5da36f048a2a555b5e6f2d18295) is 8M, max 4G, 3.9G free. b # [108726.693017] b systemd[1]: Finished Apply Kernel Variables. b # [108726.703286] b systemd[1]: Finished Create Static Device Nodes in /dev gracefully. b # [108726.731645] b systemd[1]: Starting Flush Journal to Persistent Storage... b # [108726.732325] b systemd[1]: Starting Create Static Device Nodes in /dev... b # [108726.740019] b systemd-journald[57]: Time spent on flushing to /var/log/journal/d639c5da36f048a2a555b5e6f2d18295 is 1.378ms for 6 entries. b # [108726.740019] b systemd-journald[57]: System Journal (/var/log/journal/d639c5da36f048a2a555b5e6f2d18295) is 512B, max 4G, 3.9G free. b # [108726.747804] b systemd[1]: Finished Create Static Device Nodes in /dev. b # [108726.748527] b systemd[1]: Reached target Preparation for Local File Systems. b # [108726.748667] b systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys b # [108726.762670] b systemd[1]: Finished Flush Journal to Persistent Storage. b # [108726.845218] b systemd[1]: Finished Firewall. a # [108726.834683] a systemd[1]: Finished Firewall. a # [108727.675960] a systemd[1]: Mounting /run/wrappers... a # [108727.732668] a systemd[1]: Mounted /run/wrappers. a # [108727.733880] a systemd[1]: Reached target Local File Systems. a # [108727.735230] a systemd[1]: Listening on Boot Loader Control Service Socket. a # [108727.736676] a systemd[1]: Starting Create SUID/SGID Wrappers... a # [108727.736720] a systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container a # [108727.737960] a systemd[1]: Starting Save Transient machine-id to Disk... a # [108727.739105] a systemd[1]: Starting Create System Files and Directories... a # [108727.756664] a systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted a # [108727.757059] a systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted a # [108727.757343] a systemd-tmpfiles[161]: fchmod() of /var/log/journal/f84b28d51ae241e780a9ce3844259e40 failed: Operation not permitted a # [108727.757672] a systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted b # [108727.704685] b systemd[1]: Mounting /run/wrappers... b # [108727.737911] b systemd[1]: Mounted /run/wrappers. b # [108727.739128] b systemd[1]: Reached target Local File Systems. b # [108727.740514] b systemd[1]: Listening on Boot Loader Control Service Socket. b # [108727.741908] b systemd[1]: Starting Create SUID/SGID Wrappers... b # [108727.741960] b systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container b # [108727.743249] b systemd[1]: Starting Save Transient machine-id to Disk... b # [108727.744465] b systemd[1]: Starting Create System Files and Directories... b # [108727.763010] b systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted b # [108727.763401] b systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted b # [108727.763699] b systemd-tmpfiles[161]: fchmod() of /var/log/journal/d639c5da36f048a2a555b5e6f2d18295 failed: Operation not permitted b # [108727.764039] b systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted a # [108727.761850] a suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.mlJ1Ig7mvW/chsh': Operation not permitted a # [108727.778274] a systemd[1]: Finished Create System Files and Directories. a # [108727.799226] a systemd[1]: etc-machine\x2did.mount: Deactivated successfully. a # [108727.809044] a systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE a # [108727.809133] a systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. a # [108727.809276] a systemd[1]: Failed to start Create SUID/SGID Wrappers. a # [108727.809486] a systemd[1]: Finished Save Transient machine-id to Disk. a # [108727.811665] a systemd[1]: Starting Rebuild Journal Catalog... a # [108727.812504] a systemd[1]: Starting Record System Boot/Shutdown in UTMP... a # [108727.841930] a systemd[1]: Finished Record System Boot/Shutdown in UTMP. a # [108727.848812] a systemd[1]: Finished Rebuild Journal Catalog. a # [108727.849774] a systemd[1]: Starting Update is Completed... a # [108727.857939] a systemd[1]: Finished Update is Completed. a # [108727.858042] a systemd[1]: Reached target System Initialization. a # [108727.858129] a systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container a # [108727.858160] a systemd[1]: Started Daily Cleanup of Temporary Directories. a # [108727.858177] a systemd[1]: Reached target Timer Units. a # [108727.858276] a systemd[1]: Listening on D-Bus System Message Bus Socket. a # [108727.858451] a systemd[1]: Listening on Nix Daemon Socket. a # [108727.858541] a systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. a # [108727.858555] a systemd[1]: Reached target Socket Units. a # [108727.858580] a systemd[1]: Reached target Basic System. a # [108727.859599] a systemd[1]: Starting Re-link flakelet services at boot... a # [108727.860550] a systemd[1]: Starting Import lastlog data into lastlog2 database... a # [108727.861432] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [108727.862126] a systemd[1]: Starting resolvconf update... a # [108727.869258] a systemd[1]: Finished Re-link flakelet services at boot. a # [108727.870208] a systemd[1]: Starting Reconcile flakelet services with the host configuration... a # [108727.880147] a systemd[1]: Finished Reconcile flakelet services with the host configuration. a # [108727.880578] a systemd[1]: Finished Import lastlog data into lastlog2 database. b # [108727.769604] b suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.HSTE7aCpz6/chsh': Operation not permitted b # [108727.803545] b systemd[1]: etc-machine\x2did.mount: Deactivated successfully. b # [108727.815711] b systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE b # [108727.815749] b systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. b # [108727.815816] b systemd[1]: Failed to start Create SUID/SGID Wrappers. b # [108727.815970] b systemd[1]: Finished Save Transient machine-id to Disk. b # [108727.833418] b systemd[1]: Finished Create System Files and Directories. b # [108727.846078] b systemd[1]: Starting Rebuild Journal Catalog... b # [108727.846931] b systemd[1]: Starting Record System Boot/Shutdown in UTMP... b # [108727.859201] b systemd[1]: Finished Record System Boot/Shutdown in UTMP. b # [108727.866224] b systemd[1]: Finished Rebuild Journal Catalog. b # [108727.867459] b systemd[1]: Starting Update is Completed... b # [108727.879284] b systemd[1]: Finished Update is Completed. b # [108727.879390] b systemd[1]: Reached target System Initialization. b # [108727.879474] b systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container b # [108727.879502] b systemd[1]: Started Daily Cleanup of Temporary Directories. b # [108727.879520] b systemd[1]: Reached target Timer Units. b # [108727.879629] b systemd[1]: Listening on D-Bus System Message Bus Socket. b # [108727.879819] b systemd[1]: Listening on Nix Daemon Socket. b # [108727.879917] b systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. b # [108727.879932] b systemd[1]: Reached target Socket Units. b # [108727.879958] b systemd[1]: Reached target Basic System. b # [108727.881239] b systemd[1]: Starting Re-link flakelet services at boot... b # [108727.882454] b systemd[1]: Starting Import lastlog data into lastlog2 database... b # [108727.883668] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [108727.884546] b systemd[1]: Starting resolvconf update... b # [108727.892643] b systemd[1]: Finished Re-link flakelet services at boot. b # [108727.894956] b systemd[1]: Starting Reconcile flakelet services with the host configuration... b # [108727.901731] b systemd[1]: Finished Import lastlog data into lastlog2 database. b # [108727.907350] b systemd[1]: Finished Reconcile flakelet services with the host configuration. b # [108727.962755] b systemd[1]: nscd.service: Deactivated successfully. b # [108727.975360] b systemd[1]: Stopped Name Service Cache Daemon (nsncd). b # [108727.976801] b systemd[1]: Finished resolvconf update. b # [108727.977558] b systemd[1]: Reached target Preparation for Network. b # [108727.978520] b systemd[1]: Starting Address configuration of eth1... b # [108727.979163] b systemd[1]: Starting Extra networking commands.... b # [108727.980056] b systemd[1]: Starting Name Service Cache Daemon (nsncd)... b # [108727.999118] b network-addresses-eth1-start[240]: adding address 192.168.1.2/24... done b # [108728.002666] b network-addresses-eth1-start[240]: adding address 2001:db8:1::2/64... done b # [108728.008870] b systemd[1]: Finished Address configuration of eth1. b # [108728.047917] b systemd[1]: Finished Extra networking commands.. b # [108728.048074] b systemd[1]: Reached target Network. b # [108728.049425] b systemd[1]: Starting PostgreSQL Server... b # [108728.232996] b systemd[1]: Started Name Service Cache Daemon (nsncd). a # [108727.939380] a systemd[1]: nscd.service: Deactivated successfully. a # [108727.939607] a systemd[1]: Stopped Name Service Cache Daemon (nsncd). a # [108727.943788] a systemd[1]: Starting Name Service Cache Daemon (nsncd)... a # [108727.975250] a systemd[1]: Finished resolvconf update. a # [108727.975679] a systemd[1]: Reached target Preparation for Network. a # [108727.977321] a systemd[1]: Starting Address configuration of eth1... a # [108727.978982] a systemd[1]: Starting Extra networking commands.... a # [108727.997905] a network-addresses-eth1-start[242]: adding address 192.168.1.1/24... done a # [108728.002293] a network-addresses-eth1-start[242]: adding address 2001:db8:1::1/64... done a # [108728.007461] a systemd[1]: Finished Address configuration of eth1. a # [108728.049582] a systemd[1]: Finished Extra networking commands.. a # [108728.049721] a systemd[1]: Reached target Network. a # [108728.050869] a systemd[1]: Starting PostgreSQL Server... a # [108728.238217] a systemd[1]: Started Name Service Cache Daemon (nsncd). b # [108728.233432] b nsncd[242]: Oct 15 15:35:21.043 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" b # [108728.233117] b systemd[1]: Reached target Host and Network Name Lookups. b # [108728.233222] b systemd[1]: Reached target User and Group Name Lookups. b # [108728.236128] b systemd[1]: Starting User Login Management... b # [108728.237691] b systemd[1]: Starting Permit User Sessions... b # [108728.279805] b systemd[1]: Finished Permit User Sessions. b # [108728.281529] b systemd[1]: Started Console Getty. b # [108728.281553] b systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 b # [108728.281567] b systemd[1]: Reached target Login Prompts. a # [108728.238620] a nsncd[236]: Oct 15 15:35:21.048 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" a # [108728.238310] a systemd[1]: Reached target Host and Network Name Lookups. a # [108728.238413] a systemd[1]: Reached target User and Group Name Lookups. a # [108728.240703] a systemd[1]: Starting User Login Management... a # [108728.241943] a systemd[1]: Starting Permit User Sessions... a # [108728.278337] a systemd[1]: Finished Permit User Sessions. a # [108728.281220] a systemd[1]: Started Console Getty. a # [108728.281282] a systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 a # [108728.281313] a systemd[1]: Reached target Login Prompts. b # [108729.324913] b postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". b # [108729.324913] b postgresql-pre-start[325]: This user must also own the server process. b # [108729.325869] b postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". b # [108729.325869] b postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". b # [108729.325869] b postgresql-pre-start[325]: The default text search configuration will be set to "english". b # [108729.325869] b postgresql-pre-start[325]: Data page checksums are enabled. b # [108729.325869] b postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok b # [108729.326396] b postgresql-pre-start[325]: creating subdirectories ... ok b # [108729.326537] b postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix b # [108729.333274] b systemd-logind[314]: New seat seat0. b # [108729.333673] b systemd[1]: Started User Login Management. b # [108729.335934] b systemd[1]: Starting D-Bus System Message Bus... b # [108729.337227] b systemd[1]: Starting linger-users.service... b # [108729.349301] b postgresql-pre-start[325]: selecting default "max_connections" ... 100 b # [108729.372117] b systemd[1]: linger-users.service: Deactivated successfully. b # [108729.372321] b systemd[1]: Finished linger-users.service. b # [108729.379526] b postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB a # [108729.351683] a systemd-logind[314]: New seat seat0. a # [108729.359833] a postgresql-pre-start[325]: The files belonging to this database system will be owned by user "postgres". a # [108729.359833] a postgresql-pre-start[325]: This user must also own the server process. a # [108729.360427] a postgresql-pre-start[325]: The database cluster will be initialized with locale "en_US.UTF-8". a # [108729.360427] a postgresql-pre-start[325]: The default database encoding has accordingly been set to "UTF8". a # [108729.360427] a postgresql-pre-start[325]: The default text search configuration will be set to "english". a # [108729.360427] a postgresql-pre-start[325]: Data page checksums are enabled. a # [108729.360427] a postgresql-pre-start[325]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok a # [108729.361184] a postgresql-pre-start[325]: creating subdirectories ... ok a # [108729.361351] a postgresql-pre-start[325]: selecting dynamic shared memory implementation ... posix a # [108729.363548] a systemd[1]: Starting D-Bus System Message Bus... a # [108729.363615] a systemd[1]: Started User Login Management. a # [108729.364262] a systemd[1]: Starting linger-users.service... a # [108729.384850] a postgresql-pre-start[325]: selecting default "max_connections" ... 100 a # [108729.398287] a systemd[1]: linger-users.service: Deactivated successfully. a # [108729.398373] a systemd[1]: Finished linger-users.service. a # [108729.411534] a postgresql-pre-start[325]: selecting default "shared_buffers" ... 128MB b # [108729.692850] b postgresql-pre-start[325]: selecting default time zone ... UTC b # [108729.693847] b postgresql-pre-start[325]: creating configuration files ... ok b # [108729.725377] b dbus-broker-launch[329]: Looking up NSS user entry for 'systemd-timesync'... b # [108729.726759] b dbus-broker-launch[329]: NSS returned no entry for 'systemd-timesync' b # [108729.726759] b dbus-broker-launch[329]: Invalid user-name in /nix/store/670wp0jvdfpj68fw18j585vy9a24ll5j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" b # [108729.727595] b systemd[1]: Started D-Bus System Message Bus. b # [108729.734124] b dbus-broker-launch[329]: Ready b # [108729.821862] b postgresql-pre-start[325]: running bootstrap script ... ok a # [108729.720676] a dbus-broker-launch[327]: Looking up NSS user entry for 'systemd-timesync'... a # [108729.722320] a dbus-broker-launch[327]: NSS returned no entry for 'systemd-timesync' a # [108729.722359] a dbus-broker-launch[327]: Invalid user-name in /nix/store/670wp0jvdfpj68fw18j585vy9a24ll5j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" a # [108729.723375] a systemd[1]: Started D-Bus System Message Bus. a # [108729.728433] a dbus-broker-launch[327]: Ready a # [108729.736730] a postgresql-pre-start[325]: selecting default time zone ... UTC a # [108729.737762] a postgresql-pre-start[325]: creating configuration files ... ok a # [108729.860731] a postgresql-pre-start[325]: running bootstrap script ... ok b # [108730.153101] b postgresql-pre-start[325]: performing post-bootstrap initialization ... ok a # [108730.196261] a postgresql-pre-start[325]: performing post-bootstrap initialization ... ok b # [108730.546649] b postgresql-pre-start[325]: syncing data to disk ... ok b # [108730.546649] b postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections b # [108730.546649] 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 # [108730.546649] b postgresql-pre-start[325]: Success. You can now start the database server using: b # [108730.546649] b postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start a # [108730.592953] a postgresql-pre-start[325]: syncing data to disk ... ok a # [108730.592953] a postgresql-pre-start[325]: initdb: warning: enabling "trust" authentication for local connections a # [108730.592953] 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 # [108730.592953] a postgresql-pre-start[325]: Success. You can now start the database server using: a # [108730.592953] a postgresql-pre-start[325]: pg_ctl -D /var/lib/postgresql/18 -l logfile start b # [108731.619196] 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 # [108731.620724] b postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 b # [108731.620724] b postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 b # [108731.621247] b postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" b # [108731.626195] b postgres[352]: [352] LOG: database system was shut down at 2026-10-15 15:35:22 GMT b # [108731.630535] b postgres[343]: [343] LOG: database system is ready to accept connections b # [108731.631514] b systemd[1]: Started PostgreSQL Server. b # [108731.634242] b systemd[1]: Starting PostgreSQL Setup Scripts... b # [108731.701170] b systemd[1]: Finished PostgreSQL Setup Scripts. b # [108731.702689] b systemd[1]: Reached target PostgreSQL. b # [108731.702929] b systemd[1]: Reached target flakelet contract providers ready. b # [108731.704785] b systemd[1]: Starting Update flakelet service web... b # [108731.717327] b flakelet[361]: web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [108731.717809] b flakelet[361]: web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [108731.736007] b runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108731.810474] b runuser[365]: pam_unix(runuser:session): session closed for user postgres b # [108731.812300] b flakelet[361]: web: activating generation 1 b # [108731.817929] b systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... b # [108731.818031] b systemd[1]: Reloading... a # [108731.658929] 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 # [108731.660523] a postgres[343]: [343] LOG: listening on IPv6 address "::1", port 5432 a # [108731.660577] a postgres[343]: [343] LOG: listening on IPv4 address "127.0.0.1", port 5432 a # [108731.661202] a postgres[343]: [343] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" a # [108731.666582] a postgres[352]: [352] LOG: database system was shut down at 2026-10-15 15:35:22 GMT a # [108731.670239] a postgres[343]: [343] LOG: database system is ready to accept connections a # [108731.670997] a systemd[1]: Started PostgreSQL Server. a # [108731.673210] a systemd[1]: Starting PostgreSQL Setup Scripts... a # [108731.727618] a systemd[1]: Finished PostgreSQL Setup Scripts. a # [108731.729116] a systemd[1]: Reached target PostgreSQL. a # [108731.729356] a systemd[1]: Reached target flakelet contract providers ready. a # [108731.730869] a systemd[1]: Starting Update flakelet service web... a # [108731.742021] a flakelet[361]: web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web a # [108731.742564] a flakelet[361]: web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision a # [108731.756625] a runuser[365]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108731.841628] a runuser[365]: pam_unix(runuser:session): session closed for user postgres a # [108731.843615] a flakelet[361]: web: activating generation 1 a # [108731.849278] a systemd[1]: Reload requested from client PID 368 ('systemctl') (unit flakelet-web.service)... a # [108731.849360] a systemd[1]: Reloading... b # [108732.158277] b systemd[1]: Reloading finished in 339 ms. b # [108732.299531] b systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... b # [108732.299569] b systemd[1]: Reloading... a # [108732.166736] a systemd[1]: Reloading finished in 316 ms. a # [108732.309316] a systemd[1]: Reload requested from client PID 397 ('systemctl') (unit flakelet-web.service)... a # [108732.309374] 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/f499z2x8krpksz8cyfbq40djpw3i52nv-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 # [108732.611819] a systemd[1]: Reloading finished in 301 ms. a # [108732.740576] a systemd[1]: Starting web.service... a # [108732.773749] a systemd[1]: Started web.service. a # [108732.781202] a flakelet[361]: web: updated to generation 1 a # [108732.782959] a systemd[1]: Finished Update flakelet service web. a # [108732.783548] a systemd[1]: Reached target flakelet managed services. a # [108732.783778] a systemd[1]: Reached target Multi-User System. a # [108732.784045] 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.03 seconds) a: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')' a: (finished: must succeed: runuser -u web -- psql -qtAX -v ON_ERROR_STOP=1 -d web -c 'CREATE TABLE t(v text); INSERT INTO t VALUES ('\''payload'\'')', in 0.02 seconds) a: must succeed: flakelet export web --dry-run >&2 { "version": 1, "flakelet_version": "0.1.0", "name": "web", "source_host": "a", "created": 1792078525, "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/4mjyafbw7x9sij3kn6rkm9p9knp47raw-flakelet-postgres-dump/bin/flakelet-postgres-dump b # [108732.608312] b systemd[1]: Reloading finished in 308 ms. b # [108732.743820] b systemd[1]: Starting web.service... b # [108732.773543] b systemd[1]: Started web.service. b # [108732.780503] b flakelet[361]: web: updated to generation 1 b # [108732.782565] b systemd[1]: Finished Update flakelet service web. b # [108732.783166] b systemd[1]: Reached target flakelet managed services. b # [108732.783390] b systemd[1]: Reached target Multi-User System. b # [108732.783678] b systemd[1]: Startup finished in 6.496s. web: archiving /var/lib/web a # [108732.986514] a runuser[433]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108732.998956] a runuser[433]: pam_unix(runuser:session): session closed for user postgres a # [108733.010290] a runuser[437]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) a # [108733.024842] a runuser[437]: pam_unix(runuser:session): session closed for user web a # [108733.063874] a systemd[1]: Stopping web.service... a # [108733.064308] a systemd[1]: web.service: Deactivated successfully. a # [108733.064512] a systemd[1]: Stopped web.service. a # [108733.086745] a runuser[450]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) a # [108733.133243] a runuser[450]: pam_unix(runuser:session): session closed for user postgres a # [108733.183989] a systemd[1]: Reload requested from client PID 465 ('systemctl')... a # [108733.184071] a systemd[1]: Reloading... a # [108733.490280] a systemd[1]: Reloading finished in 305 ms. a # [108733.580047] a systemd[1]: Reload requested from client PID 493 ('systemctl')... a # [108733.580084] 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.90 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.02 seconds) ??? Warning (UserWarning): succeed(): passing a bare int/float as a duration is deprecated. Use datetime.timedelta instead. File "/nix/store/f499z2x8krpksz8cyfbq40djpw3i52nv-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/f499z2x8krpksz8cyfbq40djpw3i52nv-nixos-test-driver-1.1/lib/python3.14/site-packages/test_driver/duration.py", line 39 web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [108734.029971] b systemd[1]: Stopping web.service... b # [108734.030693] b systemd[1]: web.service: Deactivated successfully. b # [108734.030838] b systemd[1]: Stopped web.service. b # [108734.040791] b systemd[1]: Reload requested from client PID 445 ('systemctl')... b # [108734.040826] b systemd[1]: Reloading... a # [108733.868838] a systemd[1]: Reloading finished in 288 ms. b # [108734.337704] b systemd[1]: Reloading finished in 296 ms. b # [108734.418704] b systemd[1]: Reload requested from client PID 473 ('systemctl')... b # [108734.418747] b systemd[1]: Reloading... b # [108734.715391] b systemd[1]: Reloading finished in 296 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision web: activating generation 2 b # [108734.834284] b runuser[508]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108734.848198] b runuser[508]: pam_unix(runuser:session): session closed for user postgres b # [108734.853802] b runuser[511]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108734.868459] b runuser[511]: pam_unix(runuser:session): session closed for user postgres b # [108734.873196] b runuser[514]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108734.886721] b runuser[514]: pam_unix(runuser:session): session closed for user postgres b # [108734.903131] b runuser[520]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108734.914648] b runuser[520]: pam_unix(runuser:session): session closed for user postgres b # [108734.922126] b systemd[1]: Reload requested from client PID 523 ('systemctl')... b # [108734.922202] b systemd[1]: Reloading... b # [108735.249470] b systemd[1]: Reloading finished in 326 ms. b # [108735.334168] b systemd[1]: Reload requested from client PID 551 ('systemctl')... b # [108735.334210] b systemd[1]: Reloading... web: imported as generation 2 b: (finished: must succeed: flakelet import - < /tmp/shared/web.tar.zst >&2, in 1.75 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/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [108735.630619] b systemd[1]: Reloading finished in 296 ms. b # [108735.708239] b systemd[1]: Starting web.service... b # [108735.736194] b systemd[1]: Started web.service. b # [108735.770210] b runuser[584]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [108735.781050] b runuser[584]: pam_unix(runuser:session): session closed for user web b # [108735.793800] b runuser[589]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108735.805122] b runuser[589]: pam_unix(runuser:session): session closed for user postgres b # [108735.816375] b runuser[594]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108735.827320] b runuser[594]: pam_unix(runuser:session): session closed for user postgres b # [108735.858600] b systemd[1]: Stopping web.service... b # [108735.859316] b systemd[1]: web.service: Deactivated successfully. b # [108735.859450] b systemd[1]: Stopped web.service. b # [108735.869882] b systemd[1]: Reload requested from client PID 610 ('systemctl')... b # [108735.869922] b systemd[1]: Reloading... b # [108736.171097] b systemd[1]: Reloading finished in 300 ms. b # [108736.252027] b systemd[1]: Reload requested from client PID 638 ('systemctl')... b # [108736.252070] b systemd[1]: Reloading... b # [108736.550590] b systemd[1]: Reloading finished in 298 ms. web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore error: /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore /var/cache/flakelet/.tmpNOOaud/requires/postgres/claim.json /var/cache/flakelet/.tmpNOOaud/requires/postgres failed: flakelet-postgres-restore: database web is not empty, refusing b: (finished: must fail: flakelet import /tmp/shared/web.tar.zst >&2, in 0.87 seconds) b: must fail: systemctl is-active web.service b: (finished: must fail: systemctl is-active web.service, in 0.01 seconds) b: must succeed: flakelet import --replace /tmp/shared/web.tar.zst >&2 web: using prebuilt artifact /nix/store/m732qs5ppfnm3j1kcnh10ni5l6gxyy9m-flakelet-web b # [108736.662251] b runuser[673]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108736.673955] b runuser[673]: pam_unix(runuser:session): session closed for user postgres b # [108736.678758] b runuser[676]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108736.690906] b runuser[676]: pam_unix(runuser:session): session closed for user postgres b # [108736.750815] b systemd[1]: Reload requested from client PID 691 ('systemctl')... b # [108736.750858] b systemd[1]: Reloading... web: restoring /var/lib/web requires.postgres: running /nix/store/74qvb36qi4n2ggwmxas1sjr4lnply9zq-flakelet-postgres-restore/bin/flakelet-postgres-restore web: requires.postgres: provisioning via /nix/store/g4lhvdqwxy6vvyqah8vq1qff0xyschv1-flakelet-postgres-provision/bin/flakelet-postgres-provision b # [108737.048423] b systemd[1]: Reloading finished in 297 ms. b # [108737.147076] b runuser[723]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108737.158878] b postgres[350]: [350] LOG: checkpoint starting: immediate force wait b # [108737.169489] 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 # [108737.187701] b runuser[723]: pam_unix(runuser:session): session closed for user postgres b # [108737.207113] b runuser[729]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108737.255253] b runuser[729]: pam_unix(runuser:session): session closed for user postgres b # [108737.262925] b runuser[732]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108737.278498] b runuser[732]: pam_unix(runuser:session): session closed for user postgres b # [108737.283467] b runuser[735]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) b # [108737.296849] b runuser[735]: pam_unix(runuser:session): session closed for user postgres b # [108737.314832] b runuser[741]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0) web: activating generation 3 b # [108737.326223] b runuser[741]: pam_unix(runuser:session): session closed for user postgres b # [108737.333503] b systemd[1]: Reload requested from client PID 744 ('systemctl')... b # [108737.333580] b systemd[1]: Reloading... b # [108737.656668] b systemd[1]: Reloading finished in 322 ms. b # [108737.747600] b systemd[1]: Reload requested from client PID 772 ('systemctl')... b # [108737.747642] b systemd[1]: Reloading... b # [108738.047659] 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.02 seconds) (finished: run the VM test script, in 12.41 seconds) test script finished in 12.43s cleanup kill NspawnMachine (pid 51) kill NspawnMachine (pid 52) b # [108738.126516] b systemd[1]: Starting web.service... b # [108738.156667] b systemd[1]: Started web.service. b # [108738.190090] b runuser[805]: pam_unix(runuser:session): session opened for user web(uid=996) by (uid=0) b # [108738.200370] b runuser[805]: pam_unix(runuser:session): session closed for user web 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