container-test-run-service-postgresql
checks.aarch64-linux.postgresql
· build #1043
· raw
1build01: building bhaawj2f5rddwrs56zkw6rcm1rcd3hhf-container-test-run-service-postgresql.drv2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)5Initializing machine ID from random generator.6Test will time out and terminate in 3600.0 seconds7run the VM test script8additionally exposed symbols:9 machine,10 vlan1,11 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_ssh12start all VMs13machine: systemd-nspawn running (pid 51)14machine: Waiting for journal at /build/vm-state-machine/var/log/journal...15(finished: start all VMs, in 0.00 seconds)16machine: waiting for unit postgresql17nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE18nixos-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.19Note: 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.20░ Spawning container machine on /build/vm-state-machine.21machine # [312591.845558] machine systemd-journald[73]: Journal started22machine # [312591.845608] machine systemd-journald[73]: Runtime Journal (/run/log/journal/dbb6cbf4489d4abe8a87cb01b684d219) is 8M, max 2.5G, 2.4G free.23machine # [312591.852615] machine systemd[1]: Finished Apply Kernel Variables.24machine # [312591.864254] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.25machine # [312591.876848] machine systemd[1]: Starting Flush Journal to Persistent Storage...26machine # [312591.877636] machine systemd[1]: Starting Network Name Resolution...27machine # [312591.878280] machine systemd[1]: Starting Create Static Device Nodes in /dev...28machine # [312591.886162] machine systemd-journald[73]: Time spent on flushing to /var/log/journal/dbb6cbf4489d4abe8a87cb01b684d219 is 1.616ms for 7 entries.29machine # [312591.886162] machine systemd-journald[73]: System Journal (/var/log/journal/dbb6cbf4489d4abe8a87cb01b684d219) is 8M, max 4G, 3.9G free.30machine # [312591.900852] machine systemd[1]: Finished Flush Journal to Persistent Storage.31machine # [312591.901320] machine systemd[1]: Finished Create Static Device Nodes in /dev.32machine # [312591.902321] machine systemd[1]: Reached target Preparation for Local File Systems.33machine # [312591.902427] machine systemd[1]: Reached target Local File Systems.34machine # [312591.903129] machine systemd[1]: Listening on Boot Loader Control Service Socket.35machine # [312591.903181] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36machine # [312591.903996] machine systemd[1]: Starting Save Transient machine-id to Disk...37machine # [312591.904721] machine systemd[1]: Starting Create System Files and Directories...38machine # [312591.904755] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys39machine # [312591.922373] machine systemd-tmpfiles[131]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40machine # [312591.922566] machine systemd-tmpfiles[131]: fchmod() of /var/log/journal failed: Operation not permitted41machine # [312591.922699] machine systemd-tmpfiles[131]: fchmod() of /var/log/journal/dbb6cbf4489d4abe8a87cb01b684d219 failed: Operation not permitted42machine # [312591.922896] machine systemd-tmpfiles[131]: fchmod() of /run/log/journal failed: Operation not permitted43machine # [312591.924384] machine systemd[1]: Finished Create System Files and Directories.44machine # [312591.925442] machine systemd[1]: Starting Rebuild Journal Catalog...45machine # [312591.926322] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...46machine # [312591.941032] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.47machine # [312591.944565] machine systemd[1]: Finished Rebuild Journal Catalog.48machine # [312591.945704] machine systemd[1]: Starting Update is Completed...49machine # [312591.955664] machine systemd[1]: Finished Update is Completed.50machine # [312591.992317] machine systemd[1]: Finished Firewall.51machine # [312591.992486] machine systemd[1]: Reached target Preparation for Network.52machine # [312591.992732] machine systemd[1]: Listening on Network Management Resolve Hook Socket.53machine # [312591.993859] machine systemd[1]: Starting Network Management...54machine # [312592.071381] machine systemd[1]: Finished Save Transient machine-id to Disk.55machine # [312592.657948] machine systemd-networkd[186]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted56machine # [312592.658039] machine systemd-networkd[186]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted57machine # [312592.667356] machine systemd-networkd[186]: /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.58machine # [312592.667523] machine systemd-networkd[186]: /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.59machine # [312592.667680] machine systemd-networkd[186]: lo: Link UP60machine # [312592.667684] machine systemd-networkd[186]: lo: Gained carrier61machine # [312592.667860] machine systemd-networkd[186]: eth1: Configuring with /etc/systemd/network/40-eth1.network.62machine # [312592.668343] machine systemd-networkd[186]: eth1: Link UP63machine # [312592.668589] machine systemd[1]: Started Network Management.64machine # [312592.668655] machine systemd-networkd[186]: eth1: Gained carrier65machine # [312592.670662] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...66machine # [312592.734692] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.67machine # [312592.839487] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.68machine # [312592.980977] machine systemd-resolved[109]: Positive Trust Anchors:69machine # [312592.980995] machine systemd-resolved[109]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d70machine # [312592.980998] machine systemd-resolved[109]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1671machine # [312592.981034] machine systemd-resolved[109]: 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 test72machine # [312592.981815] machine systemd-resolved[109]: Using system hostname 'machine'.73machine # [312592.984398] machine systemd[1]: Started Network Name Resolution.74machine # [312592.984541] machine systemd[1]: Reached target Network.75machine # [312592.984639] machine systemd[1]: Reached target System Initialization.76machine # [312592.984740] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container77machine # [312592.984792] machine systemd[1]: Started Daily Cleanup of Temporary Directories.78machine # [312592.984832] machine systemd[1]: Reached target Timer Units.79machine # [312592.985021] machine systemd[1]: Listening on D-Bus System Message Bus Socket.80machine # [312592.985191] machine systemd[1]: Listening on Nix Daemon Socket.81machine # [312592.985375] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.82machine # [312592.985404] machine systemd[1]: Reached target Socket Units.83machine # [312592.985454] machine systemd[1]: Reached target Basic System.84machine # [312592.986827] machine systemd[1]: Starting Import lastlog data into lastlog2 database...85machine # [312592.987982] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...86machine # [312592.989254] machine systemd[1]: Starting PostgreSQL Server...87machine # [312593.032517] machine systemd[1]: Starting D-Bus System Message Bus...88machine # [312593.049155] machine systemd[1]: Finished Import lastlog data into lastlog2 database.89machine # [312593.201237] machine nsncd[193]: Oct 20 00:13:18.173 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"90machine # [312593.201273] machine systemd[1]: Started Name Service Cache Daemon (nsncd).91machine # [312593.201343] machine systemd[1]: Reached target Host and Network Name Lookups.92machine # [312593.201410] machine systemd[1]: Reached target User and Group Name Lookups.93machine # [312593.202795] machine systemd[1]: Starting User Login Management...94machine # [312593.203603] machine systemd[1]: Starting Permit User Sessions...95machine # [312593.247143] machine systemd[1]: Finished Permit User Sessions.96machine # [312593.248402] machine systemd[1]: Started Console Getty.97machine # [312593.248457] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty098machine # [312593.248482] machine systemd[1]: Reached target Login Prompts.99machine # [312593.376618] machine dbus-broker-launch[195]: Looking up NSS user entry for 'systemd-timesync'...100machine # [312593.377593] machine dbus-broker-launch[195]: NSS returned no entry for 'systemd-timesync'101machine # [312593.377593] machine dbus-broker-launch[195]: Invalid user-name in /nix/store/3xpa8ji081q6bnfjx6djixxdzfba3ym8-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"102machine # [312593.378556] machine systemd[1]: Started D-Bus System Message Bus.103machine # [312593.385546] machine dbus-broker-launch[195]: Ready104machine # [312594.126928] machine postgresql-pre-start[225]: The files belonging to this database system will be owned by user "postgres".105machine # [312594.126928] machine postgresql-pre-start[225]: This user must also own the server process.106machine # [312594.127376] machine postgresql-pre-start[225]: The database cluster will be initialized with locale "en_US.UTF-8".107machine # [312594.127376] machine postgresql-pre-start[225]: The default database encoding has accordingly been set to "UTF8".108machine # [312594.127376] machine postgresql-pre-start[225]: The default text search configuration will be set to "english".109machine # [312594.127376] machine postgresql-pre-start[225]: Data page checksums are enabled.110machine # [312594.127376] machine postgresql-pre-start[225]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok111machine # [312594.127561] machine postgresql-pre-start[225]: creating subdirectories ... ok112machine # [312594.127598] machine postgresql-pre-start[225]: selecting dynamic shared memory implementation ... posix113machine # [312594.149872] machine postgresql-pre-start[225]: selecting default "max_connections" ... 100114machine # [312594.165116] machine systemd-logind[213]: New seat seat0.115machine # [312594.165625] machine systemd[1]: Started User Login Management.116machine # [312594.167037] machine systemd[1]: Starting linger-users.service...117machine # [312594.176586] machine postgresql-pre-start[225]: selecting default "shared_buffers" ... 128MB118machine # [312594.239544] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available119machine # [312594.239599] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available120machine # [312594.239643] machine systemd[1]: linger-users.service: Deactivated successfully.121machine # [312594.239886] machine systemd[1]: Finished linger-users.service.122machine # [312594.436845] machine postgresql-pre-start[225]: selecting default time zone ... UTC123machine # [312594.437505] machine postgresql-pre-start[225]: creating configuration files ... ok124machine # [312594.560189] machine systemd-networkd[186]: eth1: Gained IPv6LL125machine # [312594.570675] machine postgresql-pre-start[225]: running bootstrap script ... ok126machine # [312594.989002] machine postgresql-pre-start[225]: performing post-bootstrap initialization ... ok127machine # [312595.058350] machine postgresql-pre-start[225]: syncing data to disk ... ok128machine # [312595.058350] machine postgresql-pre-start[225]: initdb: warning: enabling "trust" authentication for local connections129machine # [312595.058350] machine postgresql-pre-start[225]: 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.130machine # [312595.058350] machine postgresql-pre-start[225]: Success. You can now start the database server using:131machine # [312595.058350] machine postgresql-pre-start[225]: pg_ctl -D /var/lib/postgresql/18 -l logfile start132machine # [312596.227342] machine postgres[241]: [241] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit133machine # [312596.230105] machine postgres[241]: [241] LOG: listening on IPv6 address "::1", port 5432134machine # [312596.230105] machine postgres[241]: [241] LOG: listening on IPv4 address "127.0.0.1", port 5432135machine # [312596.230535] machine postgres[241]: [241] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432"136machine # [312596.234212] machine postgres[250]: [250] LOG: database system was shut down at 2026-10-20 00:13:19 GMT137machine # [312596.237736] machine postgres[241]: [241] LOG: database system is ready to accept connections138machine # [312597.652627] machine postgresql-post-start[263]: CREATE ROLE139machine # [312597.732080] machine postgresql-post-start[268]: CREATE DATABASE140machine # [312597.737454] machine systemd[1]: Started PostgreSQL Server.141machine # [312597.739867] machine systemd[1]: Starting PostgreSQL Setup Scripts...142machine # [312597.819047] machine systemd[1]: Finished PostgreSQL Setup Scripts.143machine # [312597.819570] machine systemd[1]: Reached target PostgreSQL.144machine # [312597.819770] machine systemd[1]: Reached target Multi-User System.145machine # [312597.820013] machine systemd[1]: Startup finished in 6.363s.146machine: (finished: waiting for unit postgresql, in 7.15 seconds)147machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test148machine: (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)149machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;'150machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;', in 0.02 seconds)151machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;'152machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;', in 0.02 seconds)153(finished: run the VM test script, in 7.22 seconds)154test script finished in 7.30s155cleanup156kill NspawnMachine (pid 51)157Container machine terminated by signal KILL.158(finished: cleanup, in 0.26 seconds)