container-test-run-service-postgresql
checks.aarch64-linux.postgresql
· build #582
· 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 # [27691.872701] machine systemd-journald[69]: Journal started21machine # [27691.872766] machine systemd-journald[69]: Runtime Journal (/run/log/journal/987d5e1b94264c149b94b066ca9ad4a2) is 8M, max 2.5G, 2.4G free.22machine # [27691.875916] machine systemd[1]: Starting Flush Journal to Persistent Storage...23machine # [27691.886433] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/987d5e1b94264c149b94b066ca9ad4a2 is 1.143ms for 3 entries.24machine # [27691.886433] machine systemd-journald[69]: System Journal (/var/log/journal/987d5e1b94264c149b94b066ca9ad4a2) is 8M, max 4G, 3.9G free.25machine # [27691.888950] machine systemd[1]: Finished Create Static Device Nodes in /dev.26machine # [27691.889201] machine systemd[1]: Reached target Preparation for Local File Systems.27machine # [27691.889286] machine systemd[1]: Reached target Local File Systems.28machine # [27691.890037] machine systemd[1]: Listening on Boot Loader Control Service Socket.29machine # [27691.890081] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container30machine # [27691.890959] machine systemd[1]: Starting Save Transient machine-id to Disk...31machine # [27691.890992] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys32machine # [27691.917555] machine systemd[1]: Finished Flush Journal to Persistent Storage.33machine # [27691.918736] machine systemd[1]: Starting Create System Files and Directories...34machine # [27691.936753] machine systemd-tmpfiles[121]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted35machine # [27691.936958] machine systemd-tmpfiles[121]: fchmod() of /var/log/journal failed: Operation not permitted36machine # [27691.937102] machine systemd-tmpfiles[121]: fchmod() of /var/log/journal/987d5e1b94264c149b94b066ca9ad4a2 failed: Operation not permitted37machine # [27691.937315] machine systemd-tmpfiles[121]: fchmod() of /run/log/journal failed: Operation not permitted38machine # [27691.938854] machine systemd[1]: Finished Create System Files and Directories.39machine # [27691.939934] machine systemd[1]: Starting Rebuild Journal Catalog...40machine # [27691.940730] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...41machine # [27691.954283] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.42machine # [27691.960723] machine systemd[1]: Finished Rebuild Journal Catalog.43machine # [27691.961782] machine systemd[1]: Starting Update is Completed...44machine # [27691.973957] machine systemd[1]: Finished Update is Completed.45machine # [27692.016240] machine systemd[1]: Finished Firewall.46machine # [27692.016396] machine systemd[1]: Reached target Preparation for Network.47machine # [27692.016613] machine systemd[1]: Listening on Network Management Resolve Hook Socket.48machine # [27692.017653] machine systemd[1]: Starting Network Management...49machine # [27692.085102] machine systemd[1]: Finished Save Transient machine-id to Disk.50machine # [27692.355826] machine systemd-networkd[182]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted51machine # [27692.355916] machine systemd-networkd[182]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted52machine # [27692.362268] machine systemd-networkd[182]: /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.53machine # [27692.362434] machine systemd-networkd[182]: /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.54machine # [27692.362590] machine systemd-networkd[182]: lo: Link UP55machine # [27692.362595] machine systemd-networkd[182]: lo: Gained carrier56machine # [27692.362785] machine systemd-networkd[182]: eth1: Configuring with /etc/systemd/network/40-eth1.network.57machine # [27692.363141] machine systemd[1]: Started Network Management.58machine # [27692.408328] machine systemd-networkd[182]: eth1: Link UP59machine # [27692.408640] machine systemd-networkd[182]: eth1: Gained carrier60machine # [27692.408861] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...61machine # [27692.441311] machine systemd-resolved[87]: Positive Trust Anchors:62machine # [27692.441323] machine systemd-resolved[87]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d63machine # [27692.441325] machine systemd-resolved[87]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1664machine # [27692.441361] machine systemd-resolved[87]: 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 test65machine # [27692.450445] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.66machine # [27692.463645] machine systemd-resolved[87]: Using system hostname 'machine'.67machine # [27692.465021] machine systemd[1]: Started Network Name Resolution.68machine # [27692.465106] machine systemd[1]: Reached target Network.69machine # [27692.465172] machine systemd[1]: Reached target System Initialization.70machine # [27692.465223] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container71machine # [27692.465257] machine systemd[1]: Started Daily Cleanup of Temporary Directories.72machine # [27692.465275] machine systemd[1]: Reached target Timer Units.73machine # [27692.465387] machine systemd[1]: Listening on D-Bus System Message Bus Socket.74machine # [27692.465520] machine systemd[1]: Listening on Nix Daemon Socket.75machine # [27692.465620] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.76machine # [27692.465638] machine systemd[1]: Reached target Socket Units.77machine # [27692.465670] machine systemd[1]: Reached target Basic System.78machine # [27692.466872] machine systemd[1]: Starting Import lastlog data into lastlog2 database...79machine # [27692.467784] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...80machine # [27692.468682] machine systemd[1]: Starting PostgreSQL Server...81machine # [27692.469847] machine systemd[1]: Starting D-Bus System Message Bus...82machine # [27692.486986] machine systemd[1]: Finished Import lastlog data into lastlog2 database.83machine # [27692.567421] machine nsncd[189]: Sep 04 15:08:32.553 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"84machine # [27692.567533] machine systemd[1]: Started Name Service Cache Daemon (nsncd).85machine # [27692.567585] machine systemd[1]: Reached target Host and Network Name Lookups.86machine # [27692.567644] machine systemd[1]: Reached target User and Group Name Lookups.87machine # [27692.568780] machine systemd[1]: Starting User Login Management...88machine # [27692.569489] machine systemd[1]: Starting Permit User Sessions...89machine # [27692.624928] machine systemd[1]: Finished Permit User Sessions.90machine # [27692.626803] machine systemd[1]: Started Console Getty.91machine # [27692.626881] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty092machine # [27692.626925] machine systemd[1]: Reached target Login Prompts.93machine # [27692.627035] machine dbus-broker-launch[191]: Looking up NSS user entry for 'systemd-timesync'...94machine # [27692.628598] machine dbus-broker-launch[191]: NSS returned no entry for 'systemd-timesync'95machine # [27692.628598] machine dbus-broker-launch[191]: Invalid user-name in /nix/store/dz863mqg9zq05q5rdnbirgziylrg5mgc-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"96machine # [27692.629082] machine systemd[1]: Started D-Bus System Message Bus.97machine # [27692.635930] machine dbus-broker-launch[191]: Ready98machine # [27692.862134] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.99machine # [27692.946232] machine postgresql-pre-start[221]: The files belonging to this database system will be owned by user "postgres".100machine # [27692.946232] machine postgresql-pre-start[221]: This user must also own the server process.101machine # [27692.946906] machine postgresql-pre-start[221]: The database cluster will be initialized with locale "en_US.UTF-8".102machine # [27692.946906] machine postgresql-pre-start[221]: The default database encoding has accordingly been set to "UTF8".103machine # [27692.946906] machine postgresql-pre-start[221]: The default text search configuration will be set to "english".104machine # [27692.946906] machine postgresql-pre-start[221]: Data page checksums are enabled.105machine # [27692.946906] machine postgresql-pre-start[221]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok106machine # [27692.947161] machine postgresql-pre-start[221]: creating subdirectories ... ok107machine # [27692.947161] machine postgresql-pre-start[221]: selecting dynamic shared memory implementation ... posix108machine # [27692.969871] machine postgresql-pre-start[221]: selecting default "max_connections" ... 100109machine # [27693.001682] machine postgresql-pre-start[221]: selecting default "shared_buffers" ... 128MB110machine # [27693.035528] machine systemd-logind[209]: New seat seat0.111machine # [27693.035739] machine systemd[1]: Started User Login Management.112machine # [27693.036821] machine systemd[1]: Starting linger-users.service...113machine # [27693.086096] machine systemd[1]: linger-users.service: Deactivated successfully.114machine # [27693.086256] machine systemd[1]: Finished linger-users.service.115machine # [27693.279673] machine postgresql-pre-start[221]: selecting default time zone ... UTC116machine # [27693.280443] machine postgresql-pre-start[221]: creating configuration files ... ok117machine # [27693.404545] machine postgresql-pre-start[221]: running bootstrap script ... ok118machine # [27693.788204] machine postgresql-pre-start[221]: performing post-bootstrap initialization ... ok119machine # [27693.880986] machine postgresql-pre-start[221]: syncing data to disk ... ok120machine # [27693.880986] machine postgresql-pre-start[221]: initdb: warning: enabling "trust" authentication for local connections121machine # [27693.880986] machine postgresql-pre-start[221]: 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.122machine # [27693.880986] machine postgresql-pre-start[221]: Success. You can now start the database server using:123machine # [27693.880986] machine postgresql-pre-start[221]: pg_ctl -D /var/lib/postgresql/18 -l logfile start124machine # [27694.052392] machine systemd-networkd[182]: eth1: Gained IPv6LL125machine # [27694.361004] machine postgres[236]: [236] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit126machine # [27694.362538] machine postgres[236]: [236] LOG: listening on IPv6 address "::1", port 5432127machine # [27694.362538] machine postgres[236]: [236] LOG: listening on IPv4 address "127.0.0.1", port 5432128machine # [27694.362861] machine postgres[236]: [236] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432"129machine # [27694.366376] machine postgres[246]: [246] LOG: database system was shut down at 2026-09-04 15:08:33 GMT130machine # [27694.369792] machine postgres[236]: [236] LOG: database system is ready to accept connections131machine # [27694.860276] machine postgresql-post-start[259]: CREATE ROLE132machine # [27694.942954] machine postgresql-post-start[264]: CREATE DATABASE133machine # [27694.949485] machine systemd[1]: Started PostgreSQL Server.134machine # [27694.951895] machine systemd[1]: Starting PostgreSQL Setup Scripts...135machine # [27695.018326] machine systemd[1]: Finished PostgreSQL Setup Scripts.136machine # [27695.019098] machine systemd[1]: Reached target PostgreSQL.137machine # [27695.019381] machine systemd[1]: Reached target Multi-User System.138machine # [27695.019660] machine systemd[1]: Startup finished in 3.547s.139machine: (finished: waiting for unit postgresql, in 4.16 seconds)140machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test141machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test, in 0.03 seconds)142machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;'143machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;', in 0.02 seconds)144machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;'145machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;', in 0.02 seconds)146(finished: run the VM test script, in 4.23 seconds)147test script finished in 4.29s148cleanup149kill NspawnMachine (pid 51)150(finished: cleanup, in 0.16 seconds)151Container machine terminated by signal KILL.