container-test-run-service-postgresql
checks.aarch64-linux.postgresql
· build #661
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)45Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 machine,9 vlan1,10 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_ssh11start all VMs12machine: systemd-nspawn running (pid 51)13machine: Waiting for journal at /build/vm-state-machine/var/log/journal...14(finished: start all VMs, in 0.00 seconds)15machine: waiting for unit postgresql16nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE17nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.18Note: 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.19░ Spawning container machine on /build/vm-state-machine.20machine # No journal files were found.21machine # No journal boot entry found for the specified boot (+0).22machine # [976172.676504] machine systemd-journald[69]: Journal started23machine # [976172.676566] machine systemd-journald[69]: Runtime Journal (/run/log/journal/61466bfbe64e4cc58a5c941d47f2203f) is 8M, max 2.5G, 2.4G free.24machine # [976172.682375] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [976172.683313] machine systemd[1]: Starting Network Name Resolution...26machine # [976172.684146] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [976172.693512] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/61466bfbe64e4cc58a5c941d47f2203f is 1.445ms for 5 entries.28machine # [976172.693512] machine systemd-journald[69]: System Journal (/var/log/journal/61466bfbe64e4cc58a5c941d47f2203f) is 8M, max 4G, 3.9G free.29machine # [976172.698463] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [976172.698707] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [976172.698796] machine systemd[1]: Reached target Local File Systems.32machine # [976172.699540] machine systemd[1]: Listening on Boot Loader Control Service Socket.33machine # [976172.699588] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container34machine # [976172.700509] machine systemd[1]: Starting Save Transient machine-id to Disk...35machine # [976172.700548] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [976172.832291] machine systemd[1]: Finished Firewall.37machine # [976172.832899] machine systemd[1]: Reached target Preparation for Network.38machine # [976172.833200] machine systemd[1]: Listening on Network Management Resolve Hook Socket.39machine # [976172.834284] machine systemd[1]: Starting Network Management...40machine # [976172.884298] machine systemd[1]: Finished Flush Journal to Persistent Storage.41machine # [976172.886235] machine systemd[1]: Starting Create System Files and Directories...42machine # [976172.902550] machine systemd-tmpfiles[176]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted43machine # [976172.902741] machine systemd-tmpfiles[176]: fchmod() of /var/log/journal failed: Operation not permitted44machine # [976172.902868] machine systemd-tmpfiles[176]: fchmod() of /var/log/journal/61466bfbe64e4cc58a5c941d47f2203f failed: Operation not permitted45machine # [976172.903057] machine systemd-tmpfiles[176]: fchmod() of /run/log/journal failed: Operation not permitted46machine # [976172.904722] machine systemd[1]: Finished Create System Files and Directories.47machine # [976172.906016] machine systemd[1]: Starting Rebuild Journal Catalog...48machine # [976172.906829] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...49machine # [976172.921196] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.50machine # [976172.928642] machine systemd[1]: Finished Rebuild Journal Catalog.51machine # [976172.931030] machine systemd[1]: Starting Update is Completed...52machine # [976172.945149] machine systemd[1]: Finished Update is Completed.53machine # [976173.242865] machine systemd-networkd[172]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted54machine # [976173.242964] machine systemd-networkd[172]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted55machine # [976173.249464] machine systemd-networkd[172]: /etc/systemd/network/99-ethernet-default-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section.56machine # [976173.249627] machine systemd-networkd[172]: /etc/systemd/network/99-wireless-client-dhcp.network: No valid settings found in the [Match] section, ignoring file. To match all interfaces, add Name=* in the [Match] section.57machine # [976173.249805] machine systemd-networkd[172]: lo: Link UP58machine # [976173.249810] machine systemd-networkd[172]: lo: Gained carrier59machine # [976173.249992] machine systemd-networkd[172]: eth1: Configuring with /etc/systemd/network/40-eth1.network.60machine # [976173.250477] machine systemd-networkd[172]: eth1: Link UP61machine # [976173.250588] machine systemd[1]: Started Network Management.62machine # [976173.251747] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...63machine # [976173.252194] machine systemd-networkd[172]: eth1: Gained carrier64machine # [976173.299174] machine systemd-resolved[88]: Positive Trust Anchors:65machine # [976173.299188] machine systemd-resolved[88]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d66machine # [976173.299191] machine systemd-resolved[88]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1667machine # [976173.299226] machine systemd-resolved[88]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa resolver.arpa corp home internal intranet lan local private test68machine # [976173.321700] machine systemd-resolved[88]: Using system hostname 'machine'.69machine # [976173.323015] machine systemd[1]: Started Network Name Resolution.70machine # [976173.323100] machine systemd[1]: Reached target Network.71machine # [976173.323172] machine systemd[1]: Reached target System Initialization.72machine # [976173.323236] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container73machine # [976173.323269] machine systemd[1]: Started Daily Cleanup of Temporary Directories.74machine # [976173.323292] machine systemd[1]: Reached target Timer Units.75machine # [976173.323425] machine systemd[1]: Listening on D-Bus System Message Bus Socket.76machine # [976173.323547] machine systemd[1]: Listening on Nix Daemon Socket.77machine # [976173.323670] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.78machine # [976173.323702] machine systemd[1]: Reached target Socket Units.79machine # [976173.323741] machine systemd[1]: Reached target Basic System.80machine # [976173.425501] machine systemd[1]: Starting Import lastlog data into lastlog2 database...81machine # [976173.442759] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...82machine # [976173.446254] machine systemd[1]: Starting PostgreSQL Server...83machine # [976173.455012] machine systemd[1]: Starting D-Bus System Message Bus...84machine # [976173.455604] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.85machine # [976173.458504] machine systemd[1]: Finished Import lastlog data into lastlog2 database.86machine # [976173.606322] machine nsncd[187]: Sep 15 14:36:33.592 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87machine # [976173.606475] machine systemd[1]: Started Name Service Cache Daemon (nsncd).88machine # [976173.606540] machine systemd[1]: Reached target Host and Network Name Lookups.89machine # [976173.606603] machine systemd[1]: Reached target User and Group Name Lookups.90machine # [976173.612943] machine systemd[1]: Starting User Login Management...91machine # [976173.614494] machine systemd[1]: Starting Permit User Sessions...92machine # [976173.675947] machine dbus-broker-launch[194]: Looking up NSS user entry for 'systemd-timesync'...93machine # [976173.677331] machine dbus-broker-launch[194]: NSS returned no entry for 'systemd-timesync'94machine # [976173.677331] machine dbus-broker-launch[194]: Invalid user-name in /nix/store/c9smmzmzviila4gcvdga16kc5d0kfsad-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"95machine # [976173.677787] machine systemd[1]: Started D-Bus System Message Bus.96machine # [976173.685640] machine dbus-broker-launch[194]: Ready97machine # [976173.686168] machine systemd[1]: Finished Permit User Sessions.98machine # [976173.687971] machine systemd[1]: Started Console Getty.99machine # [976173.688066] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0100machine # [976173.688112] machine systemd[1]: Reached target Login Prompts.101machine # [976174.051858] machine postgresql-pre-start[220]: The files belonging to this database system will be owned by user "postgres".102machine # [976174.051858] machine postgresql-pre-start[220]: This user must also own the server process.103machine # [976174.052352] machine postgresql-pre-start[220]: The database cluster will be initialized with locale "en_US.UTF-8".104machine # [976174.052352] machine postgresql-pre-start[220]: The default database encoding has accordingly been set to "UTF8".105machine # [976174.052352] machine postgresql-pre-start[220]: The default text search configuration will be set to "english".106machine # [976174.052352] machine postgresql-pre-start[220]: Data page checksums are enabled.107machine # [976174.052352] machine postgresql-pre-start[220]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok108machine # [976174.052509] machine postgresql-pre-start[220]: creating subdirectories ... ok109machine # [976174.052558] machine postgresql-pre-start[220]: selecting dynamic shared memory implementation ... posix110machine # [976174.080950] machine postgresql-pre-start[220]: selecting default "max_connections" ... 100111machine # [976174.107456] machine postgresql-pre-start[220]: selecting default "shared_buffers" ... 128MB112machine # [976174.171902] machine systemd-logind[208]: New seat seat0.113machine # [976174.172129] machine systemd[1]: Started User Login Management.114machine # [976174.189523] machine systemd[1]: Starting linger-users.service...115machine # [976174.203494] machine systemd[1]: linger-users.service: Deactivated successfully.116machine # [976174.203674] machine systemd[1]: Finished linger-users.service.117machine # [976174.361967] machine postgresql-pre-start[220]: selecting default time zone ... UTC118machine # [976174.363528] machine postgresql-pre-start[220]: creating configuration files ... ok119machine # [976174.560164] machine systemd-networkd[172]: eth1: Gained IPv6LL120machine # [976175.345501] machine postgresql-pre-start[220]: running bootstrap script ... ok121machine # [976176.068235] machine postgresql-pre-start[220]: performing post-bootstrap initialization ... ok122machine # [976177.065449] machine postgresql-pre-start[220]: syncing data to disk ... ok123machine # [976177.065449] machine postgresql-pre-start[220]: initdb: warning: enabling "trust" authentication for local connections124machine # [976177.065449] machine postgresql-pre-start[220]: 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.125machine # [976177.065449] machine postgresql-pre-start[220]: Success. You can now start the database server using:126machine # [976177.065449] machine postgresql-pre-start[220]: pg_ctl -D /var/lib/postgresql/18 -l logfile start127machine # [976177.945672] machine postgres[236]: [236] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit128machine # [976177.948063] machine postgres[236]: [236] LOG: listening on IPv6 address "::1", port 5432129machine # [976177.948063] machine postgres[236]: [236] LOG: listening on IPv4 address "127.0.0.1", port 5432130machine # [976177.949156] machine postgres[236]: [236] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432"131machine # [976177.953126] machine postgres[245]: [245] LOG: database system was shut down at 2026-09-15 14:36:36 GMT132machine # [976178.048240] machine postgres[236]: [236] LOG: database system is ready to accept connections133machine # [976178.536901] machine postgresql-post-start[258]: CREATE ROLE134machine # [976178.882393] machine postgresql-post-start[263]: CREATE DATABASE135machine # [976178.886925] machine systemd[1]: Started PostgreSQL Server.136machine # [976178.927265] machine systemd[1]: Starting PostgreSQL Setup Scripts...137machine # [976178.957016] machine systemd[1]: Finished PostgreSQL Setup Scripts.138machine # [976178.957785] machine systemd[1]: Reached target PostgreSQL.139machine # [976178.958085] machine systemd[1]: Reached target Multi-User System.140machine: still waiting for container 'machine' to reach ready state...141machine: still waiting for container 'machine' to reach ready state...142machine: still waiting for container 'machine' to reach ready state...143machine: still waiting for container 'machine' to reach ready state...144machine: still waiting for container 'machine' to reach ready state...145machine: still waiting for container 'machine' to reach ready state...146machine: still waiting for container 'machine' to reach ready state...147machine: still waiting for container 'machine' to reach ready state...148machine: still waiting for container 'machine' to reach ready state...149machine # [976262.906744] machine systemd[1]: systemd-machine-id-commit.service: start operation timed out. Terminating.150machine: still waiting for container 'machine' to reach ready state...151machine: still waiting for container 'machine' to reach ready state...152machine: still waiting for container 'machine' to reach ready state...153machine: still waiting for container 'machine' to reach ready state...154machine: still waiting for container 'machine' to reach ready state...155machine: still waiting for container 'machine' to reach ready state...156machine: still waiting for container 'machine' to reach ready state...157machine: still waiting for container 'machine' to reach ready state...158machine: still waiting for container 'machine' to reach ready state...159machine # [976353.156779] machine systemd[1]: systemd-machine-id-commit.service: State 'stop-sigterm' timed out. Killing.160machine # [976353.156886] machine systemd[1]: systemd-machine-id-commit.service: Killing process 101 (systemd-machine) with signal SIGKILL.161machine: still waiting for container 'machine' to reach ready state...162machine: still waiting for container 'machine' to reach ready state...163machine: still waiting for container 'machine' to reach ready state...164machine: still waiting for container 'machine' to reach ready state...165machine: still waiting for container 'machine' to reach ready state...166machine: still waiting for container 'machine' to reach ready state...167machine: still waiting for container 'machine' to reach ready state...168machine: still waiting for container 'machine' to reach ready state...169machine: still waiting for container 'machine' to reach ready state...170machine # [976443.406744] machine systemd[1]: systemd-machine-id-commit.service: Processes still around after SIGKILL. Ignoring.171machine: still waiting for container 'machine' to reach ready state...172machine: still waiting for container 'machine' to reach ready state...173machine: still waiting for container 'machine' to reach ready state...174machine # [976478.053014] machine postgres[243]: [243] LOG: checkpoint starting: time175machine: still waiting for container 'machine' to reach ready state...176machine: still waiting for container 'machine' to reach ready state...177machine: still waiting for container 'machine' to reach ready state...178machine: still waiting for container 'machine' to reach ready state...179machine: still waiting for container 'machine' to reach ready state...180machine: still waiting for container 'machine' to reach ready state...181machine # [976533.656745] machine systemd[1]: systemd-machine-id-commit.service: State 'final-sigterm' timed out. Killing.182machine # [976533.656803] machine systemd[1]: systemd-machine-id-commit.service: Killing process 101 (systemd-machine) with signal SIGKILL.183machine: still waiting for container 'machine' to reach ready state...184machine: still waiting for container 'machine' to reach ready state...185machine: still waiting for container 'machine' to reach ready state...186machine: still waiting for container 'machine' to reach ready state...187machine: still waiting for container 'machine' to reach ready state...188machine # [976583.966665] machine postgres[243]: [243] LOG: checkpoint complete: wrote 994 buffers (6.1%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=105.110 s, sync=0.038 s, total=105.914 s; sync files=319, longest=0.020 s, average=0.001 s; distance=4700 kB, estimate=4700 kB; lsn=0/1BFD570, redo lsn=0/1BFD4E0189machine: still waiting for container 'machine' to reach ready state...190machine: still waiting for container 'machine' to reach ready state...191machine: still waiting for container 'machine' to reach ready state...192machine: still waiting for container 'machine' to reach ready state...193machine: (finished: waiting for unit postgresql, in 452.33 seconds)194machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test195machine # [976623.656815] machine systemd[1]: systemd-machine-id-commit.service: Processes still around after final SIGKILL. Entering failed mode.196machine # [976623.656836] machine systemd[1]: systemd-machine-id-commit.service: Failed with result 'timeout'.197machine # [976623.656991] machine systemd[1]: systemd-machine-id-commit.service: Unit process 101 (systemd-machine) remains running after unit stopped.198machine # [976623.657341] machine systemd[1]: Failed to start Save Transient machine-id to Disk.199machine # [976623.660071] machine systemd[1]: Startup finished in 7min 31.474s.200machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test, in 0.11 seconds)201machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;'202machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;', in 0.02 seconds)203machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;'204machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;', in 0.02 seconds)205(finished: run the VM test script, in 452.48 seconds)206machine # [976624.026409] machine runuser[286]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)207machine # [976624.116748] machine runuser[286]: pam_unix(runuser:session): session closed for user postgres208machine # [976624.128200] machine runuser[289]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)209machine # [976624.140519] machine runuser[289]: pam_unix(runuser:session): session closed for user postgres210machine # [976624.150364] machine runuser[292]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)211machine # [976624.161806] machine runuser[292]: pam_unix(runuser:session): session closed for user postgres212machine # [976779.064208] machine postgres[243]: [243] LOG: checkpoint starting: time213machine # [976785.601372] machine postgres[243]: [243] LOG: checkpoint complete: wrote 47 buffers (0.3%), wrote 1 SLRU buffers; 1 WAL file(s) added, 0 removed, 0 recycled; write=5.402 s, sync=0.023 s, total=6.538 s; sync files=39, longest=0.023 s, average=0.001 s; distance=202 kB, estimate=4251 kB; lsn=0/1C300B0, redo lsn=0/1C30058214test script finished in 778.65s215cleanup216kill NspawnMachine (pid 51)217Container machine terminated by signal KILL.218(finished: cleanup, in 0.42 seconds)