nixbot

builds

succeeded container-test-run-service-postgresql checks.aarch64-linux.postgresql · build #1227 · raw

1build01: building nhigdjrkwpwifm4cfycq2y1jm3aycdfv-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 # [879830.279036] machine systemd-journald[69]: Journal started22machine # [879830.279090] machine systemd-journald[69]: Runtime Journal (/run/log/journal/229bac7e3df74b81a3bc95845440806b) is 8M, max 2.5G, 2.4G free.23machine # [879830.281733] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully.24machine # [879830.290262] machine systemd[1]: Starting Flush Journal to Persistent Storage...25machine # [879830.291204] machine systemd[1]: Starting Network Name Resolution...26machine # [879830.291934] machine systemd[1]: Starting Create Static Device Nodes in /dev...27machine # [879830.299442] machine systemd-journald[69]: Time spent on flushing to /var/log/journal/229bac7e3df74b81a3bc95845440806b is 1.631ms for 6 entries.28machine # [879830.299442] machine systemd-journald[69]: System Journal (/var/log/journal/229bac7e3df74b81a3bc95845440806b) is 8M, max 4G, 3.9G free.29machine # [879830.313971] machine systemd[1]: Finished Create Static Device Nodes in /dev.30machine # [879830.314739] machine systemd[1]: Reached target Preparation for Local File Systems.31machine # [879830.314845] machine systemd[1]: Reached target Local File Systems.32machine # [879830.315704] machine systemd[1]: Listening on Boot Loader Control Service Socket.33machine # [879830.315752] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container34machine # [879830.316850] machine systemd[1]: Starting Save Transient machine-id to Disk...35machine # [879830.316889] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys36machine # [879830.318333] machine systemd[1]: Finished Flush Journal to Persistent Storage.37machine # [879830.319259] machine systemd[1]: Starting Create System Files and Directories...38machine # [879830.334003] machine systemd-tmpfiles[116]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39machine # [879830.334185] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal failed: Operation not permitted40machine # [879830.334308] machine systemd-tmpfiles[116]: fchmod() of /var/log/journal/229bac7e3df74b81a3bc95845440806b failed: Operation not permitted41machine # [879830.334492] machine systemd-tmpfiles[116]: fchmod() of /run/log/journal failed: Operation not permitted42machine # [879830.340272] machine systemd[1]: Finished Create System Files and Directories.43machine # [879830.341395] machine systemd[1]: Starting Rebuild Journal Catalog...44machine # [879830.342142] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP...45machine # [879830.354095] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP.46machine # [879830.361104] machine systemd[1]: Finished Rebuild Journal Catalog.47machine # [879830.362238] machine systemd[1]: Starting Update is Completed...48machine # [879830.368859] machine systemd[1]: Finished Save Transient machine-id to Disk.49machine # [879830.372443] machine systemd[1]: Finished Update is Completed.50machine # [879830.415554] machine systemd[1]: Finished Firewall.51machine # [879830.415723] machine systemd[1]: Reached target Preparation for Network.52machine # [879830.415934] machine systemd[1]: Listening on Network Management Resolve Hook Socket.53machine # [879830.416993] machine systemd[1]: Starting Network Management...54machine # [879831.018108] machine systemd-networkd[183]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted55machine # [879831.018205] machine systemd-networkd[183]: Failed to increase receive buffer size for nftables netlink socket, ignoring: Operation not permitted56machine # [879831.024969] machine systemd-networkd[183]: /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.57machine # [879831.025136] machine systemd-networkd[183]: /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.58machine # [879831.025310] machine systemd-networkd[183]: lo: Link UP59machine # [879831.025314] machine systemd-networkd[183]: lo: Gained carrier60machine # [879831.025497] machine systemd-networkd[183]: eth1: Configuring with /etc/systemd/network/40-eth1.network.61machine # [879831.025895] machine systemd[1]: Started Network Management.62machine # [879831.025998] machine systemd-networkd[183]: eth1: Link UP63machine # [879831.026269] machine systemd-networkd[183]: eth1: Gained carrier64machine # [879831.027091] machine systemd[1]: Starting Enable Persistent Storage in systemd-networkd...65machine # [879831.054105] machine systemd[1]: Finished Enable Persistent Storage in systemd-networkd.66machine # [879831.121401] machine systemd-resolved[92]: Positive Trust Anchors:67machine # [879831.121415] machine systemd-resolved[92]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d68machine # [879831.121419] machine systemd-resolved[92]: . IN DS 38696 8 2 683d2d0acb8c9b712a1948b27f741219298d0a450d612c483af444a4c0fb2b1669machine # [879831.121451] machine systemd-resolved[92]: 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 test70machine # [879831.144093] machine systemd-resolved[92]: Using system hostname 'machine'.71machine # [879831.145700] machine systemd[1]: Started Network Name Resolution.72machine # [879831.145782] machine systemd[1]: Reached target Network.73machine # [879831.145853] machine systemd[1]: Reached target System Initialization.74machine # [879831.145905] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container75machine # [879831.145929] machine systemd[1]: Started Daily Cleanup of Temporary Directories.76machine # [879831.145945] machine systemd[1]: Reached target Timer Units.77machine # [879831.146067] machine systemd[1]: Listening on D-Bus System Message Bus Socket.78machine # [879831.146205] machine systemd[1]: Listening on Nix Daemon Socket.79machine # [879831.146306] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.80machine # [879831.146328] machine systemd[1]: Reached target Socket Units.81machine # [879831.146362] machine systemd[1]: Reached target Basic System.82machine # [879831.147448] machine systemd[1]: Starting Import lastlog data into lastlog2 database...83machine # [879831.148313] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)...84machine # [879831.149215] machine systemd[1]: Starting PostgreSQL Server...85machine # [879831.150501] machine systemd[1]: Starting D-Bus System Message Bus...86machine # [879831.166122] machine systemd[1]: Finished Import lastlog data into lastlog2 database.87machine # [879831.262059] machine nsncd[189]: Nov 13 10:12:16.212 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88machine # [879831.267987] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully.89machine # [879831.268796] machine systemd[1]: Started Name Service Cache Daemon (nsncd).90machine # [879831.268845] machine systemd[1]: Reached target Host and Network Name Lookups.91machine # [879831.268906] machine systemd[1]: Reached target User and Group Name Lookups.92machine # [879831.270104] machine systemd[1]: Starting User Login Management...93machine # [879831.270858] machine systemd[1]: Starting Permit User Sessions...94machine # [879831.320529] machine systemd[1]: Finished Permit User Sessions.95machine # [879831.321669] machine systemd[1]: Started Console Getty.96machine # [879831.321708] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097machine # [879831.321725] machine systemd[1]: Reached target Login Prompts.98machine # [879831.355326] machine dbus-broker-launch[191]: Looking up NSS user entry for 'systemd-timesync'...99machine # [879831.355997] machine dbus-broker-launch[191]: NSS returned no entry for 'systemd-timesync'100machine # [879831.355997] machine dbus-broker-launch[191]: Invalid user-name in /nix/store/275qi7zp97qih28djvr21fvaxjnw0wdn-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"101machine # [879831.356425] machine systemd[1]: Started D-Bus System Message Bus.102machine # [879831.363755] machine dbus-broker-launch[191]: Ready103machine # [879831.759818] machine postgresql-pre-start[221]: The files belonging to this database system will be owned by user "postgres".104machine # [879831.759818] machine postgresql-pre-start[221]: This user must also own the server process.105machine # [879831.760358] machine postgresql-pre-start[221]: The database cluster will be initialized with locale "en_US.UTF-8".106machine # [879831.760358] machine postgresql-pre-start[221]: The default database encoding has accordingly been set to "UTF8".107machine # [879831.760358] machine postgresql-pre-start[221]: The default text search configuration will be set to "english".108machine # [879831.760358] machine postgresql-pre-start[221]: Data page checksums are enabled.109machine # [879831.760358] machine postgresql-pre-start[221]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok110machine # [879831.760516] machine postgresql-pre-start[221]: creating subdirectories ... ok111machine # [879831.760550] machine postgresql-pre-start[221]: selecting dynamic shared memory implementation ... posix112machine # [879831.781935] machine postgresql-pre-start[221]: selecting default "max_connections" ... 100113machine # [879831.808935] machine postgresql-pre-start[221]: selecting default "shared_buffers" ... 128MB114machine # [879831.859553] machine systemd-logind[209]: New seat seat0.115machine # [879831.859800] machine systemd[1]: Started User Login Management.116machine # [879831.862001] machine systemd[1]: Starting linger-users.service...117machine # [879831.909965] machine systemd[1]: linger-users.service: Deactivated successfully.118machine # [879831.910170] machine systemd[1]: Finished linger-users.service.119machine # [879832.095521] machine postgresql-pre-start[221]: selecting default time zone ... UTC120machine # [879832.098387] machine postgresql-pre-start[221]: creating configuration files ... ok121machine # [879832.229620] machine postgresql-pre-start[221]: running bootstrap script ... ok122machine # [879832.416184] machine systemd-networkd[183]: eth1: Gained IPv6LL123machine # [879832.628169] machine postgresql-pre-start[221]: performing post-bootstrap initialization ... ok124machine # [879832.770899] machine postgresql-pre-start[221]: syncing data to disk ... ok125machine # [879832.770899] machine postgresql-pre-start[221]: initdb: warning: enabling "trust" authentication for local connections126machine # [879832.770899] 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.127machine # [879832.771417] machine postgresql-pre-start[221]: Success. You can now start the database server using:128machine # [879832.771417] machine postgresql-pre-start[221]: pg_ctl -D /var/lib/postgresql/18 -l logfile start129machine # [879833.603386] machine postgres[237]: [237] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit130machine # [879833.605913] machine postgres[237]: [237] LOG: listening on IPv6 address "::1", port 5432131machine # [879833.605913] machine postgres[237]: [237] LOG: listening on IPv4 address "127.0.0.1", port 5432132machine # [879833.608677] machine postgres[237]: [237] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432"133machine # [879833.613970] machine postgres[246]: [246] LOG: database system was shut down at 2026-11-13 10:12:17 GMT134machine # [879833.619542] machine postgres[237]: [237] LOG: database system is ready to accept connections135machine: (finished: waiting for unit postgresql, in 5.15 seconds)136machine: must succeed: runuser -u postgres -- /run/current-system/sw/bin/psql -c 'CREATE TABLE test (id serial PRIMARY KEY);' test137machine # [879834.242958] machine postgresql-post-start[259]: CREATE ROLE138machine # [879834.329008] machine postgresql-post-start[264]: CREATE DATABASE139machine # [879834.333655] machine systemd[1]: Started PostgreSQL Server.140machine # [879834.335016] machine systemd[1]: Starting PostgreSQL Setup Scripts...141machine # [879834.411391] machine systemd[1]: Finished PostgreSQL Setup Scripts.142machine # [879834.411797] machine systemd[1]: Reached target PostgreSQL.143machine # [879834.411930] machine systemd[1]: Reached target Multi-User System.144machine # [879834.412232] machine systemd[1]: Startup finished in 4.538s.145machine: (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 5.22 seconds)151test script finished in 5.42s152cleanup153kill NspawnMachine (pid 51)154machine # [879834.526240] machine runuser[273]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)155machine # [879834.543857] machine runuser[273]: pam_unix(runuser:session): session closed for user postgres156machine # [879834.554966] machine runuser[276]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)157machine # [879834.564747] machine runuser[276]: pam_unix(runuser:session): session closed for user postgres158machine # [879834.573116] machine runuser[279]: pam_unix(runuser:session): session opened for user postgres(uid=71) by (uid=0)159machine # [879834.582235] machine runuser[279]: pam_unix(runuser:session): session closed for user postgres160(finished: cleanup, in 0.21 seconds)161Container machine terminated by signal KILL.