[10:49:15.882](0.032s) # setting up data directory # Checking port 60270 # Found port 60270 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/archives Connection string: port=60270 host=/tmp/blMObPXYrl Log file: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log [10:49:15.887](0.004s) # 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/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 29715 [10:49:16.056](0.169s) ok 1 - ssl_library parameter psql::1: WARNING: roles created by regression test cases should have names starting with "regress_" psql::1: WARNING: roles created by regression test cases should have names starting with "regress_" psql::1: WARNING: roles created by regression test cases should have names starting with "regress_" psql::1: WARNING: roles created by regression test cases should have names starting with "regress_" psql::1: WARNING: databases created by regression test cases should have names including "regression" psql::1: WARNING: databases created by regression test cases should have names including "regression" psql::1: WARNING: databases created by regression test cases should have names including "regression" psql::1: WARNING: databases created by regression test cases should have names including "regression" psql::1: WARNING: databases created by regression test cases should have names including "regression" psql::1: WARNING: databases created by regression test cases should have names including "regression" ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 29830 [10:49:16.765](0.710s) # testing password-protected keys ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl restart failed; logfile: 2024-03-29 10:49:15.942 UTC [29715][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-29 10:49:15.942 UTC [29715][postmaster] LOG: listening on Unix socket "/tmp/blMObPXYrl/.s.PGSQL.60270" 2024-03-29 10:49:15.944 UTC [29718][startup] LOG: database system was shut down at 2024-03-29 10:08:27 UTC 2024-03-29 10:49:15.946 UTC [29715][postmaster] LOG: database system is ready to accept connections 2024-03-29 10:49:16.048 UTC [29738][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.049 UTC [29738][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.049 UTC [29738][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.053 UTC [29738][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-29 10:49:16.054 UTC [29738][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.063 UTC [29740][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.064 UTC [29740][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.064 UTC [29740][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.064 UTC [29740][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-29 10:49:16.064 UTC [29740][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.065 UTC [29740][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.110 UTC [29749][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.111 UTC [29749][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.111 UTC [29749][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.111 UTC [29749][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-29 10:49:16.111 UTC [29749][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.112 UTC [29749][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.156 UTC [29752][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.156 UTC [29752][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.156 UTC [29752][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.157 UTC [29752][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-29 10:49:16.157 UTC [29752][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.158 UTC [29752][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.002 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.203 UTC [29764][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.203 UTC [29764][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.203 UTC [29764][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.204 UTC [29764][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-29 10:49:16.204 UTC [29764][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.205 UTC [29764][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.250 UTC [29770][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.251 UTC [29770][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.251 UTC [29770][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.252 UTC [29770][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-29 10:49:16.252 UTC [29770][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.273 UTC [29770][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.296 UTC [29778][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.297 UTC [29778][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.297 UTC [29778][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.298 UTC [29778][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-29 10:49:16.298 UTC [29778][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.329 UTC [29778][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.033 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.342 UTC [29788][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.343 UTC [29788][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.343 UTC [29788][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.343 UTC [29788][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-29 10:49:16.344 UTC [29788][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.364 UTC [29788][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.390 UTC [29790][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.390 UTC [29790][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.390 UTC [29790][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.391 UTC [29790][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-29 10:49:16.391 UTC [29790][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.418 UTC [29790][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.436 UTC [29803][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.437 UTC [29803][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.437 UTC [29803][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.437 UTC [29803][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-29 10:49:16.438 UTC [29803][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.456 UTC [29803][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.484 UTC [29808][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.484 UTC [29808][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.484 UTC [29808][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.485 UTC [29808][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-29 10:49:16.485 UTC [29808][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.509 UTC [29808][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.550 UTC [29715][postmaster] LOG: received fast shutdown request 2024-03-29 10:49:16.550 UTC [29715][postmaster] LOG: aborting any active transactions 2024-03-29 10:49:16.553 UTC [29715][postmaster] LOG: background worker "logical replication launcher" (PID 29721) exited with exit code 1 2024-03-29 10:49:16.553 UTC [29716][checkpointer] LOG: shutting down 2024-03-29 10:49:16.553 UTC [29716][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-29 10:49:16.601 UTC [29716][checkpointer] LOG: checkpoint complete: wrote 5590 buffers (34.1%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.048 s, sync=0.001 s, total=0.048 s; sync files=0, longest=0.000 s, average=0.000 s; distance=44997 kB, estimate=44997 kB; lsn=0/4100AC0, redo lsn=0/4100AC0 2024-03-29 10:49:16.608 UTC [29715][postmaster] LOG: database system is shut down 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 60270 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: listening on Unix socket "/tmp/blMObPXYrl/.s.PGSQL.60270" 2024-03-29 10:49:16.675 UTC [29840][startup] LOG: database system was shut down at 2024-03-29 10:49:16 UTC 2024-03-29 10:49:16.680 UTC [29830][postmaster] LOG: database system is ready to accept connections 2024-03-29 10:49:16.768 UTC [29830][postmaster] LOG: received fast shutdown request 2024-03-29 10:49:16.768 UTC [29830][postmaster] LOG: aborting any active transactions 2024-03-29 10:49:16.770 UTC [29830][postmaster] LOG: background worker "logical replication launcher" (PID 29844) exited with exit code 1 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: shutting down 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/4100B38, redo lsn=0/4100B38 2024-03-29 10:49:16.772 UTC [29830][postmaster] LOG: database system is shut down 2024-03-29 10:49:16.884 UTC [29867][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-29 10:49:16.884 UTC [29867][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [10:49:16.974](0.208s) ok 2 - restart fails with password-protected key file with wrong password ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart pg_ctl: PID file "/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/postmaster.pid" does not exist Is server running? trying to start server anyway waiting for server to start.... done server started # Postmaster PID for node "primary" is 29883 [10:49:17.084](0.111s) ok 3 - restart succeeds with password-protected key file ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl restart failed; logfile: 2024-03-29 10:49:15.942 UTC [29715][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-29 10:49:15.942 UTC [29715][postmaster] LOG: listening on Unix socket "/tmp/blMObPXYrl/.s.PGSQL.60270" 2024-03-29 10:49:15.944 UTC [29718][startup] LOG: database system was shut down at 2024-03-29 10:08:27 UTC 2024-03-29 10:49:15.946 UTC [29715][postmaster] LOG: database system is ready to accept connections 2024-03-29 10:49:16.048 UTC [29738][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.049 UTC [29738][client backend] [[unknown]][0/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.049 UTC [29738][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.053 UTC [29738][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-29 10:49:16.054 UTC [29738][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.063 UTC [29740][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.064 UTC [29740][client backend] [[unknown]][1/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.064 UTC [29740][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.064 UTC [29740][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-29 10:49:16.064 UTC [29740][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.065 UTC [29740][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.110 UTC [29749][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.111 UTC [29749][client backend] [[unknown]][2/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.111 UTC [29749][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.111 UTC [29749][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-29 10:49:16.111 UTC [29749][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.112 UTC [29749][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.156 UTC [29752][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.156 UTC [29752][client backend] [[unknown]][3/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.156 UTC [29752][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.157 UTC [29752][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-29 10:49:16.157 UTC [29752][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.158 UTC [29752][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.002 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.203 UTC [29764][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.203 UTC [29764][client backend] [[unknown]][4/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.203 UTC [29764][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.204 UTC [29764][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-29 10:49:16.204 UTC [29764][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-29 10:49:16.205 UTC [29764][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.250 UTC [29770][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.251 UTC [29770][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.251 UTC [29770][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.252 UTC [29770][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-29 10:49:16.252 UTC [29770][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.273 UTC [29770][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.296 UTC [29778][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.297 UTC [29778][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.297 UTC [29778][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.298 UTC [29778][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-29 10:49:16.298 UTC [29778][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.329 UTC [29778][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.033 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.342 UTC [29788][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.343 UTC [29788][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.343 UTC [29788][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.343 UTC [29788][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-29 10:49:16.344 UTC [29788][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.364 UTC [29788][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.390 UTC [29790][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.390 UTC [29790][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.390 UTC [29790][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.391 UTC [29790][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-29 10:49:16.391 UTC [29790][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.418 UTC [29790][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.436 UTC [29803][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.437 UTC [29803][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.437 UTC [29803][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.437 UTC [29803][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-29 10:49:16.438 UTC [29803][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.456 UTC [29803][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.484 UTC [29808][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-29 10:49:16.484 UTC [29808][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/pg_hba.conf:117) 2024-03-29 10:49:16.484 UTC [29808][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-29 10:49:16.485 UTC [29808][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-29 10:49:16.485 UTC [29808][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-29 10:49:16.509 UTC [29808][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-29 10:49:16.550 UTC [29715][postmaster] LOG: received fast shutdown request 2024-03-29 10:49:16.550 UTC [29715][postmaster] LOG: aborting any active transactions 2024-03-29 10:49:16.553 UTC [29715][postmaster] LOG: background worker "logical replication launcher" (PID 29721) exited with exit code 1 2024-03-29 10:49:16.553 UTC [29716][checkpointer] LOG: shutting down 2024-03-29 10:49:16.553 UTC [29716][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-29 10:49:16.601 UTC [29716][checkpointer] LOG: checkpoint complete: wrote 5590 buffers (34.1%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.048 s, sync=0.001 s, total=0.048 s; sync files=0, longest=0.000 s, average=0.000 s; distance=44997 kB, estimate=44997 kB; lsn=0/4100AC0, redo lsn=0/4100AC0 2024-03-29 10:49:16.608 UTC [29715][postmaster] LOG: database system is shut down 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 60270 2024-03-29 10:49:16.671 UTC [29830][postmaster] LOG: listening on Unix socket "/tmp/blMObPXYrl/.s.PGSQL.60270" 2024-03-29 10:49:16.675 UTC [29840][startup] LOG: database system was shut down at 2024-03-29 10:49:16 UTC 2024-03-29 10:49:16.680 UTC [29830][postmaster] LOG: database system is ready to accept connections 2024-03-29 10:49:16.768 UTC [29830][postmaster] LOG: received fast shutdown request 2024-03-29 10:49:16.768 UTC [29830][postmaster] LOG: aborting any active transactions 2024-03-29 10:49:16.770 UTC [29830][postmaster] LOG: background worker "logical replication launcher" (PID 29844) exited with exit code 1 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: shutting down 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-29 10:49:16.770 UTC [29838][checkpointer] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/4100B38, redo lsn=0/4100B38 2024-03-29 10:49:16.772 UTC [29830][postmaster] LOG: database system is shut down 2024-03-29 10:49:16.884 UTC [29867][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-29 10:49:16.884 UTC [29867][postmaster] LOG: database system is shut down 2024-03-29 10:49:16.991 UTC [29883][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-29 10:49:16.991 UTC [29883][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 60270 2024-03-29 10:49:16.991 UTC [29883][postmaster] LOG: listening on Unix socket "/tmp/blMObPXYrl/.s.PGSQL.60270" 2024-03-29 10:49:16.992 UTC [29888][startup] LOG: database system was shut down at 2024-03-29 10:49:16 UTC 2024-03-29 10:49:16.996 UTC [29883][postmaster] LOG: database system is ready to accept connections 2024-03-29 10:49:17.087 UTC [29883][postmaster] LOG: received fast shutdown request 2024-03-29 10:49:17.087 UTC [29883][postmaster] LOG: aborting any active transactions 2024-03-29 10:49:17.089 UTC [29883][postmaster] LOG: background worker "logical replication launcher" (PID 29891) exited with exit code 1 2024-03-29 10:49:17.090 UTC [29886][checkpointer] LOG: shutting down 2024-03-29 10:49:17.090 UTC [29886][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-29 10:49:17.090 UTC [29886][checkpointer] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/4100BB0, redo lsn=0/4100BB0 2024-03-29 10:49:17.092 UTC [29883][postmaster] LOG: database system is shut down 2024-03-29 10:49:17.198 UTC [29916][postmaster] FATAL: could not set SSL protocol version range 2024-03-29 10:49:17.198 UTC [29916][postmaster] DETAIL: ssl_min_protocol_version cannot be higher than ssl_max_protocol_version 2024-03-29 10:49:17.198 UTC [29916][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [10:49:17.290](0.205s) ok 4 - restart fails with incorrect SSL protocol bounds ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart pg_ctl: PID file "/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata/postmaster.pid" does not exist Is server running? trying to start server anyway waiting for server to start.... done server started # Postmaster PID for node "primary" is 29933 [10:49:17.400](0.111s) ok 5 - restart succeeds with correct SSL protocol bounds [10:49:17.401](0.000s) # running client tests ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 29970 [10:49:17.644](0.243s) ok 6 - server doesn't accept non-SSL connections [10:49:17.644](0.000s) ok 7 - server doesn't accept non-SSL connections: matches [10:49:17.673](0.029s) ok 8 - connect without server root cert sslmode=require [10:49:17.674](0.001s) ok 9 - connect without server root cert sslmode=require: no stderr [10:49:17.686](0.012s) ok 10 - connect without server root cert sslmode=verify-ca [10:49:17.686](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [10:49:17.696](0.010s) ok 12 - connect without server root cert sslmode=verify-full [10:49:17.697](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [10:49:17.716](0.019s) ok 14 - connect with wrong server root cert sslmode=require [10:49:17.716](0.001s) ok 15 - connect with wrong server root cert sslmode=require: matches [10:49:17.733](0.017s) ok 16 - connect with wrong server root cert sslmode=verify-ca [10:49:17.734](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [10:49:17.750](0.016s) ok 18 - connect with wrong server root cert sslmode=verify-full [10:49:17.750](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [10:49:17.763](0.013s) ok 20 - connect with server CA cert, without root CA [10:49:17.763](0.000s) ok 21 - connect with server CA cert, without root CA: matches [10:49:17.777](0.014s) ok 22 - connect with correct server CA cert file sslmode=require [10:49:17.778](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [10:49:17.793](0.015s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [10:49:17.793](0.001s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [10:49:17.809](0.016s) ok 26 - connect with correct server CA cert file sslmode=verify-full [10:49:17.809](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [10:49:17.829](0.020s) ok 28 - cert root file that contains two certificates, order 1 [10:49:17.830](0.001s) ok 29 - cert root file that contains two certificates, order 1: no stderr [10:49:17.848](0.018s) ok 30 - cert root file that contains two certificates, order 2 [10:49:17.848](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [10:49:17.865](0.016s) ok 32 - connect with sslcertmode=disable [10:49:17.865](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [10:49:17.880](0.015s) ok 34 - connect with sslcertmode=allow [10:49:17.880](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [10:49:17.894](0.014s) ok 36 - connect with sslcertmode=require fails without a client certificate [10:49:17.894](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [10:49:17.908](0.014s) ok 38 - sslcrl option with invalid file name [10:49:17.908](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [10:49:17.921](0.013s) ok 40 - CRL belonging to a different CA [10:49:17.922](0.000s) ok 41 - CRL belonging to a different CA: matches [10:49:17.935](0.014s) ok 42 - directory CRL belonging to a different CA [10:49:17.936](0.000s) ok 43 - directory CRL belonging to a different CA: matches [10:49:17.951](0.015s) ok 44 - CRL with a non-revoked cert [10:49:17.951](0.001s) ok 45 - CRL with a non-revoked cert: no stderr [10:49:17.966](0.015s) ok 46 - directory CRL with a non-revoked cert [10:49:17.966](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [10:49:17.981](0.015s) ok 48 - mismatch between host name and server certificate sslmode=require [10:49:17.981](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [10:49:17.995](0.014s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [10:49:17.995](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [10:49:18.010](0.015s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [10:49:18.010](0.000s) ok 53 - mismatch between host name and server certificate sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30097 [10:49:18.240](0.229s) ok 54 - IP address in the Common Name [10:49:18.240](0.001s) ok 55 - IP address in the Common Name: no stderr [10:49:18.254](0.013s) ok 56 - mismatch between host name and server certificate IP address [10:49:18.254](0.000s) ok 57 - mismatch between host name and server certificate IP address: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30151 [10:49:18.487](0.233s) ok 58 - IP address in a dNSName [10:49:18.487](0.001s) ok 59 - IP address in a dNSName: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30193 [10:49:18.714](0.226s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [10:49:18.714](0.001s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [10:49:18.732](0.018s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [10:49:18.733](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [10:49:18.749](0.016s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [10:49:18.749](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [10:49:18.764](0.015s) ok 66 - host name not matching with X.509 Subject Alternative Names [10:49:18.765](0.001s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [10:49:18.779](0.014s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [10:49:18.779](0.000s) ok 69 - host name not matching with X.509 Subject Alternative Names wildcard: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30259 [10:49:19.006](0.227s) ok 70 - host name matching with a single X.509 Subject Alternative Name [10:49:19.006](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [10:49:19.021](0.015s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [10:49:19.021](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [10:49:19.035](0.015s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [10:49:19.036](0.001s) ok 75 - host name not matching with a single X.509 Subject Alternative Name wildcard: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30311 [10:49:19.279](0.243s) ok 76 - host matching an IPv4 address (Subject Alternative Name 1) [10:49:19.279](0.000s) ok 77 - host matching an IPv4 address (Subject Alternative Name 1): no stderr [10:49:19.296](0.017s) ok 78 - host matching an IPv4 address in alternate form (Subject Alternative Name 1) [10:49:19.297](0.001s) ok 79 - host matching an IPv4 address in alternate form (Subject Alternative Name 1): no stderr [10:49:19.313](0.016s) ok 80 - host not matching an IPv4 address (Subject Alternative Name 1) [10:49:19.313](0.000s) ok 81 - host not matching an IPv4 address (Subject Alternative Name 1): matches [10:49:19.331](0.018s) ok 82 - host matching an IPv6 address (Subject Alternative Name 2) [10:49:19.331](0.000s) ok 83 - host matching an IPv6 address (Subject Alternative Name 2): no stderr [10:49:19.347](0.016s) ok 84 - host matching an IPv6 address in alternate form (Subject Alternative Name 2) [10:49:19.347](0.001s) ok 85 - host matching an IPv6 address in alternate form (Subject Alternative Name 2): no stderr [10:49:19.364](0.017s) ok 86 - host matching an IPv6 address in mixed form (Subject Alternative Name 2) [10:49:19.364](0.000s) ok 87 - host matching an IPv6 address in mixed form (Subject Alternative Name 2): no stderr [10:49:19.379](0.015s) ok 88 - host not matching an IPv6 address (Subject Alternative Name 2) [10:49:19.380](0.000s) ok 89 - host not matching an IPv6 address (Subject Alternative Name 2): matches [10:49:19.395](0.016s) ok 90 - IPv6 host with CIDR mask does not match [10:49:19.395](0.000s) ok 91 - IPv6 host with CIDR mask does not match: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30388 [10:49:19.619](0.224s) ok 92 - certificate with both a CN and SANs 1 [10:49:19.619](0.000s) ok 93 - certificate with both a CN and SANs 1: no stderr [10:49:19.634](0.015s) ok 94 - certificate with both a CN and SANs 2 [10:49:19.634](0.000s) ok 95 - certificate with both a CN and SANs 2: no stderr [10:49:19.647](0.013s) ok 96 - certificate with both a CN and SANs ignores CN [10:49:19.648](0.000s) ok 97 - certificate with both a CN and SANs ignores CN: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30446 [10:49:19.882](0.234s) ok 98 - certificate with both a CN and IP SANs matches CN [10:49:19.882](0.000s) ok 99 - certificate with both a CN and IP SANs matches CN: no stderr [10:49:19.899](0.017s) ok 100 - certificate with both a CN and IP SANs matches SAN 1 [10:49:19.900](0.000s) ok 101 - certificate with both a CN and IP SANs matches SAN 1: no stderr [10:49:19.915](0.015s) ok 102 - certificate with both a CN and IP SANs matches SAN 2 [10:49:19.915](0.000s) ok 103 - certificate with both a CN and IP SANs matches SAN 2: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30490 [10:49:20.142](0.226s) ok 104 - certificate with both an IP CN and IP SANs 1 [10:49:20.142](0.000s) ok 105 - certificate with both an IP CN and IP SANs 1: no stderr [10:49:20.158](0.017s) ok 106 - certificate with both an IP CN and IP SANs 2 [10:49:20.159](0.001s) ok 107 - certificate with both an IP CN and IP SANs 2: no stderr [10:49:20.180](0.020s) ok 108 - certificate with both an IP CN and IP SANs ignores CN [10:49:20.180](0.000s) ok 109 - certificate with both an IP CN and IP SANs ignores CN: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30547 [10:49:20.407](0.227s) ok 110 - certificate with both an IP CN and DNS SANs matches CN [10:49:20.407](0.000s) ok 111 - certificate with both an IP CN and DNS SANs matches CN: no stderr [10:49:20.424](0.017s) ok 112 - certificate with both an IP CN and DNS SANs matches SAN 1 [10:49:20.424](0.000s) ok 113 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [10:49:20.440](0.017s) ok 114 - certificate with both an IP CN and DNS SANs matches SAN 2 [10:49:20.441](0.000s) ok 115 - certificate with both an IP CN and DNS SANs matches SAN 2: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30599 [10:49:20.670](0.230s) ok 116 - server certificate without CN or SANs sslmode=verify-ca [10:49:20.671](0.000s) ok 117 - server certificate without CN or SANs sslmode=verify-ca: no stderr [10:49:20.686](0.015s) ok 118 - server certificate without CN or SANs sslmode=verify-full [10:49:20.687](0.001s) ok 119 - server certificate without CN or SANs sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30645 [10:49:20.909](0.223s) ok 120 - sslrootcert=system does not connect with private CA [10:49:20.910](0.001s) ok 121 - sslrootcert=system does not connect with private CA: matches [10:49:20.917](0.007s) ok 122 - sslrootcert=system only accepts sslmode=verify-full [10:49:20.917](0.000s) ok 123 - sslrootcert=system only accepts sslmode=verify-full: matches [10:49:20.937](0.020s) ok 124 - sslrootcert=system connects with overridden SSL_CERT_FILE [10:49:20.937](0.000s) ok 125 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [10:49:20.953](0.015s) ok 126 - sslrootcert=system defaults to sslmode=verify-full [10:49:20.953](0.000s) ok 127 - sslrootcert=system defaults to sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30701 [10:49:21.190](0.237s) ok 128 - connects without client-side CRL [10:49:21.190](0.000s) ok 129 - connects without client-side CRL: no stderr [10:49:21.205](0.014s) ok 130 - does not connect with client-side CRL file [10:49:21.205](0.000s) ok 131 - does not connect with client-side CRL file: matches [10:49:21.219](0.014s) ok 132 - does not connect with client-side CRL directory [10:49:21.219](0.000s) ok 133 - does not connect with client-side CRL directory: matches # Running: psql -X -A -F , -P null=_null_ -d sslkey=invalid sslcert=invalid sslrootcert=invalid sslcrl=invalid sslcrldir=invalid user=ssltestuser dbname=trustdb hostaddr=127.0.0.1 host=common-name.pg-ssltest.test sslrootcert=invalid -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [10:49:21.237](0.017s) ok 134 - pg_stat_ssl view without client certificate: exit code 0 [10:49:21.237](0.000s) not ok 135 - pg_stat_ssl view without client certificate: no stderr [10:49:21.237](0.000s) # Failed test 'pg_stat_ssl view without client certificate: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 532. [10:49:21.237](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [10:49:21.238](0.000s) ok 136 - pg_stat_ssl view without client certificate: matches [10:49:21.254](0.016s) ok 137 - connection success with correct range of TLS protocol versions [10:49:21.254](0.000s) ok 138 - connection success with correct range of TLS protocol versions: no stderr [10:49:21.262](0.007s) ok 139 - connection failure with incorrect range of TLS protocol versions [10:49:21.262](0.000s) ok 140 - connection failure with incorrect range of TLS protocol versions: matches [10:49:21.268](0.006s) ok 141 - connection failure with an incorrect SSL protocol minimum bound [10:49:21.268](0.000s) ok 142 - connection failure with an incorrect SSL protocol minimum bound: matches [10:49:21.276](0.007s) ok 143 - connection failure with an incorrect SSL protocol maximum bound [10:49:21.276](0.000s) ok 144 - connection failure with an incorrect SSL protocol maximum bound: matches [10:49:21.276](0.000s) # running server tests [10:49:21.291](0.015s) ok 145 - certificate authorization fails without client cert [10:49:21.291](0.000s) ok 146 - certificate authorization fails without client cert: matches [10:49:21.313](0.022s) ok 147 - certificate authorization succeeds with correct client cert in PEM format [10:49:21.313](0.000s) ok 148 - certificate authorization succeeds with correct client cert in PEM format: no stderr [10:49:21.332](0.018s) ok 149 - certificate authorization succeeds with correct client cert in DER format [10:49:21.332](0.001s) ok 150 - certificate authorization succeeds with correct client cert in DER format: no stderr [10:49:21.351](0.019s) ok 151 - certificate authorization succeeds with correct client cert in encrypted PEM format [10:49:21.351](0.000s) ok 152 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [10:49:21.371](0.019s) ok 153 - certificate authorization succeeds with correct client cert in encrypted DER format [10:49:21.371](0.000s) ok 154 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [10:49:21.390](0.019s) ok 155 - certificate authorization succeeds with correct client cert and sslcertmode=require [10:49:21.391](0.001s) ok 156 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [10:49:21.410](0.019s) ok 157 - certificate authorization succeeds with correct client cert and sslcertmode=allow [10:49:21.410](0.000s) ok 158 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [10:49:21.425](0.015s) ok 159 - certificate authorization fails with correct client cert and sslcertmode=disable [10:49:21.426](0.000s) ok 160 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [10:49:21.438](0.012s) ok 161 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [10:49:21.438](0.000s) ok 162 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [10:49:21.462](0.024s) ok 163 - certificate authorization succeeds with DN mapping [10:49:21.462](0.000s) ok 164 - certificate authorization succeeds with DN mapping: no stderr [10:49:21.462](0.000s) ok 165 - certificate authorization succeeds with DN mapping: log matches [10:49:21.484](0.021s) ok 166 - certificate authorization succeeds with DN regex mapping [10:49:21.484](0.000s) ok 167 - certificate authorization succeeds with DN regex mapping: no stderr [10:49:21.508](0.024s) ok 168 - certificate authorization succeeds with CN mapping [10:49:21.509](0.001s) ok 169 - certificate authorization succeeds with CN mapping: no stderr [10:49:21.509](0.000s) ok 170 - certificate authorization succeeds with CN mapping: log matches [10:49:21.509](0.000s) not ok 171 # TODO & SKIP Need Pty support [10:49:21.510](0.000s) not ok 172 # TODO & SKIP Need Pty support [10:49:21.510](0.000s) not ok 173 # TODO & SKIP Need Pty support [10:49:21.510](0.000s) not ok 174 # TODO & SKIP Need Pty support # Running: psql -X -A -F , -P null=_null_ -d sslkey=invalid sslcert=invalid sslrootcert=invalid sslcrl=invalid sslcrldir=invalid sslrootcert=ssl/root+server_ca.crt sslmode=require dbname=certdb hostaddr=127.0.0.1 host=localhost user=ssltestuser sslcert=ssl/client.crt sslkey=/tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/tmp_test_5JvI/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [10:49:21.547](0.037s) ok 175 - pg_stat_ssl with client certificate: exit code 0 [10:49:21.548](0.000s) not ok 176 - pg_stat_ssl with client certificate: no stderr [10:49:21.548](0.000s) # Failed test 'pg_stat_ssl with client certificate: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 730. [10:49:21.548](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [10:49:21.548](0.000s) ok 177 - pg_stat_ssl with client certificate: matches [10:49:21.563](0.015s) ok 178 - certificate authorization fails because of file permissions [10:49:21.564](0.001s) ok 179 - certificate authorization fails because of file permissions: matches [10:49:21.581](0.017s) ok 180 - certificate authorization fails with client cert belonging to another user [10:49:21.581](0.000s) ok 181 - certificate authorization fails with client cert belonging to another user: matches [10:49:21.597](0.016s) ok 182 - certificate authorization fails with revoked client cert [10:49:21.597](0.000s) ok 183 - certificate authorization fails with revoked client cert: matches [10:49:21.597](0.000s) ok 184 - certificate authorization fails with revoked client cert: log does not match [10:49:21.620](0.022s) ok 185 - auth_option clientcert=verify-full succeeds with matching username and Common Name [10:49:21.620](0.001s) ok 186 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [10:49:21.621](0.000s) ok 187 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [10:49:21.639](0.018s) ok 188 - auth_option clientcert=verify-full fails with mismatching username and Common Name [10:49:21.639](0.000s) ok 189 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [10:49:21.639](0.000s) ok 190 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [10:49:21.836](0.196s) ok 191 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [10:49:21.836](0.000s) ok 192 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [10:49:21.836](0.000s) ok 193 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: log matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30904 [10:49:22.065](0.229s) ok 194 - intermediate client certificate is provided by client [10:49:22.065](0.000s) ok 195 - intermediate client certificate is provided by client: no stderr [10:49:22.082](0.017s) ok 196 - intermediate client certificate is missing [10:49:22.083](0.001s) ok 197 - intermediate client certificate is missing: matches [10:49:22.100](0.017s) ok 198 - logged client certificate Subjects are truncated if they're too long [10:49:22.100](0.000s) ok 199 - logged client certificate Subjects are truncated if they're too long: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30953 [10:49:22.330](0.230s) ok 200 - intermediate client certificate is untrusted [10:49:22.330](0.001s) ok 201 - intermediate client certificate is untrusted: matches ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 30997 [10:49:22.561](0.231s) ok 202 - certificate authorization fails with revoked client cert with server-side CRL directory [10:49:22.561](0.000s) ok 203 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [10:49:22.578](0.017s) ok 204 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [10:49:22.579](0.000s) ok 205 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory: matches [10:49:22.579](0.000s) 1..205 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/data/t_001_ssltests_primary_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" [10:49:22.689](0.110s) # Looks like you failed 2 tests of 205.