# Running: clusterdb --help [21:06:32.686](0.015s) ok 1 - clusterdb --help exit code 0 [21:06:32.686](0.000s) ok 2 - clusterdb --help goes to stdout [21:06:32.686](0.000s) ok 3 - clusterdb --help nothing to stderr [21:06:32.686](0.000s) ok 4 - clusterdb --help maximum line length # Running: clusterdb --version [21:06:32.691](0.005s) ok 5 - clusterdb --version exit code 0 [21:06:32.692](0.000s) ok 6 - clusterdb --version goes to stdout [21:06:32.692](0.000s) ok 7 - clusterdb --version nothing to stderr # Running: clusterdb --not-a-valid-option [21:06:32.697](0.005s) ok 8 - clusterdb with invalid option nonzero exit code [21:06:32.697](0.000s) ok 9 - clusterdb with invalid option prints error message # Checking port 54497 # Found port 54497 Name: main Data directory: /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/archives Connection string: port=54497 host=/tmp/fmj5KN3uc5 Log file: /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/log/010_clusterdb_main.log [21:06:32.700](0.003s) # 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/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/log/010_clusterdb_main.log -o --cluster-name=main 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 "main" is 29277 # Running: clusterdb clusterdb: error: connection to server on socket "/tmp/fmj5KN3uc5/.s.PGSQL.54497" failed: FATAL: database "postgres" does not exist [21:06:32.855](0.155s) not ok 10 - clusterdb exit code 0 [21:06:32.855](0.000s) # Failed test 'clusterdb exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/010_clusterdb.pl line 19. [21:06:32.856](0.000s) not ok 11 - SQL CLUSTER run: SQL found in server log [21:06:32.856](0.000s) # Failed test 'SQL CLUSTER run: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/010_clusterdb.pl line 19. [21:06:32.856](0.000s) # '2024-03-04 21:06:32.849 UTC [29293][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-04 21:06:32.850 UTC [29293][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata/pg_hba.conf:117) # 2024-03-04 21:06:32.850 UTC [29293][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=010_clusterdb.pl # 2024-03-04 21:06:32.850 UTC [29293][client backend] [[unknown]][0/1:0] FATAL: database "postgres" does not exist # ' # doesn't match '(?^:statement: CLUSTER;)' # Running: clusterdb -t nonexistent clusterdb: error: connection to server on socket "/tmp/fmj5KN3uc5/.s.PGSQL.54497" failed: FATAL: database "postgres" does not exist [21:06:32.869](0.013s) ok 12 - fails with nonexistent table connection error: 'psql: error: connection to server on socket "/tmp/fmj5KN3uc5/.s.PGSQL.54497" failed: FATAL: database "postgres" does not exist' while running 'psql -XAtq -d port=54497 host=/tmp/fmj5KN3uc5 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 "main" is 29277 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/scripts/010_clusterdb/data/t_010_clusterdb_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [21:06:32.981](0.112s) # Tests were run but no plan was declared and done_testing() was not seen. [21:06:32.982](0.000s) # Looks like your test exited with 29 just after 12.