container-test-run-service-postgresql
checks.aarch64-linux.postgresql
· build #748
· 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 # [1547085.018875] machine systemd-journald[72]: Journal started21machine # [1547085.018944] machine systemd-journald[72]: Runtime Journal (/run/log/journal/0e03f1032a804e518e7e7d5a3bc6ba4e) is 8M, max 2.5G, 2.4G free.22machine # [1547085.027896] machine systemd[1]: Finished Apply Kernel Variables.23machine # [1547085.040982] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [1547085.057397] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [1547085.058372] machine systemd[1]: Starting Network Name Resolution...26machine # [1547085.059102] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [1547085.067032] machine systemd-journald[72]: Time spent on flushing to /var/log/journal/0e03f1032a804e518e7e7d5a3bc6ba4e is 1.066ms for 7 entries.28machine # [1547085.067032] machine systemd-journald[72]: System Journal (/var/log/journal/0e03f1032a804e518e7e7d5a3bc6ba4e) is 8M, max 4G, 3.9G free.29machine # [1547085.080976] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [1547085.081664] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [1547085.081782] machine systemd[1]: Reached target Local File Systems.32machine # [1547085.082630] machine systemd[1]: Listening on Boot Loader Control Service Socket.33machine # [1547085.082679] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container34machine # [1547085.083679] machine systemd[1]: Starting Save Transient machine-id to Disk...35machine # [1547085.083717] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [1547085.125536] machine systemd[1]: Finished Flush Journal to Persistent Storage.37machine # [1547085.126707] machine systemd[1]: Starting Create System Files and Directories...38machine # [1547085.142936] machine systemd-tmpfiles[150]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [1547085.143116] machine systemd-tmpfiles[150]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [1547085.143238] machine systemd-tmpfiles[150]: fchmod() of /var/log/journal/0e03f1032a804e518e7e7d5a3bc6ba4e failed: Operation not permitted41machine # [1547085.143418] machine systemd-tmpfiles[150]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [1547085.144938] machine systemd[1]: Finished Create System Files and Directories.43machine # [1547085.146257] machine systemd[1]: Starting Rebuild Journal Catalog...44machine # [1547085.147132] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...45machine # [1547085.160293] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.46machine # [1547085.167739] machine systemd[1]: Finished Rebuild Journal Catalog.47machine # [1547085.169114] machine systemd[1]: Starting Update is Completed...48machine # [1547085.177878] machine systemd[1]: Finished Firewall.49machine # [1547085.178580] machine systemd[1]: Reached target Preparation for Network.50machine # [1547085.178911] machine systemd[1]: Listening on Network Management Resolve Hook Socket.51machine # [1547085.180493] machine systemd[1]: Starting Network Management...52machine # [1547085.184567] machine systemd[1]: Finished Update is Completed.53machine # [1547085.976689] machine systemd-networkd[184]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted54machine # [1547085.976780] machine systemd-networkd[184]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted55machine # [1547085.986128] machine systemd-networkd[184]: /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 # [1547085.986299] machine systemd-networkd[184]: /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 # [1547085.986478] machine systemd-networkd[184]: lo: Link UP58machine # [1547085.986481] machine systemd-networkd[184]: lo: Gained carrier59machine # [1547085.986683] machine systemd-networkd[184]: eth1: Configuring with /etc/systemd/network/40-eth1.network.60machine # [1547085.987113] machine systemd[1]: Started Network Management.61machine # [1547085.987174] machine systemd-networkd[184]: eth1: Link UP62machine # [1547085.987574] machine systemd-networkd[184]: eth1: Gained carrier63machine # [1547085.988596] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...64machine # [1547086.043521] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.65machine # [1547086.409615] machine systemd-resolved[109]: Positive Trust Anchors:66machine # [1547086.409624] machine systemd-resolved[109]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d67machine # [1547086.409629] machine systemd-resolved[109]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1668machine # [1547086.409664] 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 test69machine # [1547086.432605] machine systemd-resolved[109]: Using system hostname 'machine'.70machine # [1547086.433975] machine systemd[1]: Started Network Name Resolution.71machine # [1547086.434065] machine systemd[1]: Reached target Network.72machine # [1547086.434134] machine systemd[1]: Reached target System Initialization.73machine # [1547086.434179] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container74machine # [1547086.434204] machine systemd[1]: Started Daily Cleanup of Temporary Directories.75machine # [1547086.434225] machine systemd[1]: Reached target Timer Units.76machine # [1547086.434347] machine systemd[1]: Listening on D-Bus System Message Bus Socket.77machine # [1547086.434477] machine systemd[1]: Listening on Nix Daemon Socket.78machine # [1547086.434577] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.79machine # [1547086.434598] machine systemd[1]: Reached target Socket Units.80machine # [1547086.434630] machine systemd[1]: Reached target Basic System.81machine # [1547086.435881] machine systemd[1]: Starting Import lastlog data into lastlog2 database...82machine # [1547086.436715] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...83machine # [1547086.437688] machine systemd[1]: Starting PostgreSQL Server...84machine # [1547086.439046] machine systemd[1]: Starting D-Bus System Message Bus...85machine # [1547086.456331] machine systemd[1]: Finished Import lastlog data into lastlog2 database.86machine # [1547086.621313] machine nsncd[191]: Sep 22 05:11:46.607 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"87machine # [1547086.621418] machine systemd[1]: Started Name Service Cache Daemon (nsncd).88machine # [1547086.621490] machine systemd[1]: Reached target Host and Network Name Lookups.89machine # [1547086.621554] machine systemd[1]: Reached target User and Group Name Lookups.90machine # [1547086.622707] machine systemd[1]: Starting User Login Management...91machine # [1547086.623400] machine systemd[1]: Starting Permit User Sessions...92machine # [1547086.664388] machine systemd[1]: Finished Permit User Sessions.93machine # [1547086.665464] machine systemd[1]: Started Console Getty.94machine # [1547086.665508] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty095machine # [1547086.665535] machine systemd[1]: Reached target Login Prompts.96machine # [1547086.787707] machine dbus-broker-launch[193]: Looking up NSS user entry for 'systemd-timesync'...97machine # [1547086.788475] machine dbus-broker-launch[193]: NSS returned no entry for 'systemd-timesync'98machine # [1547086.788475] machine dbus-broker-launch[193]: Invalid user-name in /nix/store/wjkacgyc19b5rj2rpsb9giq7k8ay3qal-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"99machine # [1547086.788919] machine systemd[1]: Started D-Bus System Message Bus.100machine # [1547086.795866] machine dbus-broker-launch[193]: Ready101machine # [1547087.104451] machine systemd-networkd[184]: eth1: Gained IPv6LL102machine # [1547087.448972] machine postgresql-pre-start[223]: The files belonging to this database system will be owned by user "postgres".103machine # [1547087.448972] machine postgresql-pre-start[223]: This user must also own the server process.104machine # [1547087.449351] machine postgresql-pre-start[223]: The database cluster will be initialized with locale "en_US.UTF-8".105machine # [1547087.449351] machine postgresql-pre-start[223]: The default database encoding has accordingly been set to "UTF8".106machine # [1547087.449351] machine postgresql-pre-start[223]: The default text search configuration will be set to "english".107machine # [1547087.449351] machine postgresql-pre-start[223]: Data page checksums are enabled.108machine # [1547087.449351] machine postgresql-pre-start[223]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok109machine # [1547087.449690] machine postgresql-pre-start[223]: creating subdirectories ... ok110machine # [1547087.449791] machine postgresql-pre-start[223]: selecting dynamic shared memory implementation ... posix111machine # [1547087.477228] machine postgresql-pre-start[223]: selecting default "max_connections" ... 100112machine # [1547087.505349] machine postgresql-pre-start[223]: selecting default "shared_buffers" ... 128MB113machine # [1547087.518068] machine systemd-logind[211]: New seat seat0.114machine # [1547087.518283] machine systemd[1]: Started User Login Management.115machine # [1547087.520143] machine systemd[1]: Starting linger-users.service...116machine # [1547087.572660] machine systemd[1]: linger-users.service: Deactivated successfully.117machine # [1547087.572831] machine systemd[1]: Finished linger-users.service.118machine # [1547087.789725] machine postgresql-pre-start[223]: selecting default time zone ... UTC119machine # [1547087.790414] machine postgresql-pre-start[223]: creating configuration files ... ok120machine # [1547087.923706] machine postgresql-pre-start[223]: running bootstrap script ... ok121machine # [1547088.164295] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.122machine # [1547088.165519] machine systemd[1]: Finished Save Transient machine-id to Disk.123machine # [1547088.328293] machine postgresql-pre-start[223]: performing post-bootstrap initialization ... ok124machine # [1547088.493232] machine postgresql-pre-start[223]: syncing data to disk ... ok125machine # [1547088.493232] machine postgresql-pre-start[223]: initdb: warning: enabling "trust" authentication for local connections126machine # [1547088.493232] machine postgresql-pre-start[223]: 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.127machine # [1547088.493232] machine postgresql-pre-start[223]: Success. You can now start the database server using:128machine # [1547088.493232] machine postgresql-pre-start[223]: pg_ctl -D /var/lib/postgresql/18 -l logfile start129machine # [1547089.512899] machine postgres[240]: [240] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit130machine # [1547089.514636] machine postgres[240]: [240] LOG: listening on IPv6 address "::1", port 5432131machine # [1547089.514636] machine postgres[240]: [240] LOG: listening on IPv4 address "127.0.0.1", port 5432132machine # [1547089.516360] machine postgres[240]: [240] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432"133machine # [1547089.520176] machine postgres[249]: [249] LOG: database system was shut down at 2026-09-22 05:11:48 GMT134machine # [1547089.523749] machine postgres[240]: [240] LOG: database system is ready to accept connections135machine # [1547090.425035] machine postgresql-post-start[262]: CREATE ROLE136machine # [1547090.543871] machine postgresql-post-start[267]: CREATE DATABASE137machine # [1547090.549452] machine systemd[1]: Started PostgreSQL Server.138machine # [1547090.568953] machine systemd[1]: Starting PostgreSQL Setup Scripts...139machine # [1547090.595793] machine systemd[1]: Finished PostgreSQL Setup Scripts.140machine # [1547090.596587] machine systemd[1]: Reached target PostgreSQL.141machine # [1547090.596883] machine systemd[1]: Reached target Multi-User System.142machine # [1547090.597261] machine systemd[1]: Startup finished in 5.992s.143machine: (finished: waiting for unit postgresql, in 6.66 seconds)144machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test145machine: (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)146machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;'147machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'INSERT INTO test DEFAULT VALUES;', in 0.02 seconds)148machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;'149machine: (finished: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -d test -c 'SELECT * FROM test;', in 0.02 seconds)150(finished: run the VM test script, in 6.74 seconds)151machine # [1547090.813463] machine runuser[276]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)152machine # [1547090.829854] machine runuser[276]: pam_unix(runuser:session): session closed for user postgres153machine # [1547090.841219] machine runuser[279]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)154machine # [1547090.851669] machine runuser[279]: pam_unix(runuser:session): session closed for user postgres155machine # [1547090.862165] machine runuser[282]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)156machine # [1547090.871920] machine runuser[282]: pam_unix(runuser:session): session closed for user postgres157test script finished in 7.09s158cleanup159kill NspawnMachine (pid 51)160(finished: cleanup, in 0.16 seconds)161Container machine terminated by signal KILL.