# Checking port 63430 # Found port 63430 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/archives Connection string: port=63430 host=/tmp/RxaF1lN7Zf Log file: /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/log/004_logrotate_primary.log [06:08:12.853](0.014s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/log/004_logrotate_primary.log -o --cluster-name=primary start pg_ctl: another server might be running; trying to start server anyway waiting for server to start.... done server started # Postmaster PID for node "primary" is 27066 psql: error: connection to server on socket "/tmp/RxaF1lN7Zf/.s.PGSQL.63430" failed: FATAL: database "postgres" does not exist [06:08:13.166](0.313s) # current_logfiles = stderr log/postgresql-2024-03-11_060813.log # csvlog log/postgresql-2024-03-11_060813.csv # jsonlog log/postgresql-2024-03-11_060813.json [06:08:13.166](0.000s) ok 1 - current_logfiles is sane [06:11:13.504](180.338s) not ok 2 - found expected log file content for stderr [06:11:13.504](0.000s) # Failed test 'found expected log file content for stderr' # at /tmp/cirrus-ci-build/src/bin/pg_ctl/t/004_logrotate.pl line 103. [06:11:13.504](0.000s) # '2024-03-11 06:08:13.039 UTC [27066][postmaster] LOG: starting PostgreSQL 17devel on x86_64-linux, compiled by gcc-10.2.1, 64-bit # 2024-03-11 06:08:13.039 UTC [27066][postmaster] LOG: listening on Unix socket "/tmp/RxaF1lN7Zf/.s.PGSQL.63430" # 2024-03-11 06:08:13.041 UTC [27077][startup] LOG: database system was interrupted; last known up at 2024-03-11 06:07:54 UTC # 2024-03-11 06:08:13.042 UTC [27077][startup] LOG: database system was not properly shut down; automatic recovery in progress # 2024-03-11 06:08:13.042 UTC [27077][startup] LOG: redo starts at 0/10B1AF0 # 2024-03-11 06:08:13.045 UTC [27077][startup] LOG: invalid record length at 0/1173720: expected at least 24, got 0 # 2024-03-11 06:08:13.045 UTC [27077][startup] LOG: redo done at 0/11736C8 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s # 2024-03-11 06:08:13.045 UTC [27074][checkpointer] LOG: checkpoint starting: end-of-recovery immediate wait # 2024-03-11 06:08:13.096 UTC [27074][checkpointer] LOG: checkpoint complete: wrote 117 buffers (0.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.052 s; sync files=0, longest=0.000 s, average=0.000 s; distance=775 kB, estimate=775 kB; lsn=0/1173720, redo lsn=0/1173720 # 2024-03-11 06:08:13.101 UTC [27066][postmaster] LOG: database system is ready to accept connections # 2024-03-11 06:08:13.131 UTC [27103][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:13.132 UTC [27103][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata/pg_hba.conf:117) # 2024-03-11 06:08:13.132 UTC [27103][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=004_logrotate.pl # 2024-03-11 06:08:13.132 UTC [27103][client backend] [[unknown]][0/1:0] FATAL: database "postgres" does not exist # ' # doesn't match '(?^:division by zero)' connection error: 'psql: error: connection to server on socket "/tmp/RxaF1lN7Zf/.s.PGSQL.63430" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=63430 host=/tmp/RxaF1lN7Zf dbname='postgres' -f - -v ON_ERROR_STOP=1' at /tmp/cirrus-ci-build/src/test/perl/PostgreSQL/Test/Cluster.pm line 2043. # Postmaster PID for node "primary" is 27066 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_ctl/004_logrotate/data/t_004_logrotate_primary_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" [06:11:13.617](0.112s) # Tests were run but no plan was declared and done_testing() was not seen. [06:11:13.617](0.000s) # Looks like your test exited with 29 just after 2.