[14:17:28.008](0.033s) # setting up data directory # Checking port 51740 # Found port 51740 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=51740 host=/tmp/zHsYC8G_VE Log file: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log [14:17:28.013](0.005s) # 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 28473 [14:17:28.183](0.170s) 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 28607 [14:17:28.883](0.700s) # 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-19 14:17:28.079 UTC [28473][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 14:17:28.079 UTC [28473][postmaster] LOG: listening on Unix socket "/tmp/zHsYC8G_VE/.s.PGSQL.51740" 2024-03-19 14:17:28.081 UTC [28476][startup] LOG: database system was shut down at 2024-03-19 13:36:50 UTC 2024-03-19 14:17:28.085 UTC [28473][postmaster] LOG: database system is ready to accept connections 2024-03-19 14:17:28.177 UTC [28494][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.177 UTC [28494][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-19 14:17:28.177 UTC [28494][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.182 UTC [28494][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-19 14:17:28.182 UTC [28494][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.190 UTC [28496][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.191 UTC [28496][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-19 14:17:28.191 UTC [28496][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.191 UTC [28496][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-19 14:17:28.191 UTC [28496][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.192 UTC [28496][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.237 UTC [28500][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.237 UTC [28500][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-19 14:17:28.238 UTC [28500][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.238 UTC [28500][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-19 14:17:28.238 UTC [28500][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.239 UTC [28500][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.281 UTC [28513][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.281 UTC [28513][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-19 14:17:28.281 UTC [28513][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.282 UTC [28513][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-19 14:17:28.282 UTC [28513][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.283 UTC [28513][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.327 UTC [28516][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.327 UTC [28516][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-19 14:17:28.327 UTC [28516][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.374 UTC [28529][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.374 UTC [28529][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-19 14:17:28.374 UTC [28529][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.376 UTC [28529][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-19 14:17:28.380 UTC [28529][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.402 UTC [28529][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.421 UTC [28546][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.422 UTC [28546][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-19 14:17:28.422 UTC [28546][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.423 UTC [28546][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-19 14:17:28.423 UTC [28546][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.447 UTC [28546][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.469 UTC [28548][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.469 UTC [28548][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-19 14:17:28.469 UTC [28548][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.470 UTC [28548][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-19 14:17:28.470 UTC [28548][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.490 UTC [28548][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.516 UTC [28564][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.516 UTC [28564][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-19 14:17:28.516 UTC [28564][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.517 UTC [28564][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-19 14:17:28.517 UTC [28564][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.542 UTC [28564][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.563 UTC [28568][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.564 UTC [28568][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-19 14:17:28.564 UTC [28568][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.565 UTC [28568][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-19 14:17:28.565 UTC [28568][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.583 UTC [28568][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.606 UTC [28580][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.606 UTC [28580][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-19 14:17:28.606 UTC [28580][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.607 UTC [28580][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-19 14:17:28.607 UTC [28580][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.632 UTC [28580][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.673 UTC [28473][postmaster] LOG: received fast shutdown request 2024-03-19 14:17:28.673 UTC [28473][postmaster] LOG: aborting any active transactions 2024-03-19 14:17:28.676 UTC [28473][postmaster] LOG: background worker "logical replication launcher" (PID 28480) exited with exit code 1 2024-03-19 14:17:28.676 UTC [28474][checkpointer] LOG: shutting down 2024-03-19 14:17:28.676 UTC [28474][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 14:17:28.725 UTC [28474][checkpointer] LOG: checkpoint complete: wrote 5614 buffers (34.3%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.049 s, sync=0.001 s, total=0.050 s; sync files=0, longest=0.000 s, average=0.000 s; distance=45190 kB, estimate=45190 kB; lsn=0/413CA70, redo lsn=0/413CA70 2024-03-19 14:17:28.731 UTC [28473][postmaster] LOG: database system is shut down 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 51740 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: listening on Unix socket "/tmp/zHsYC8G_VE/.s.PGSQL.51740" 2024-03-19 14:17:28.788 UTC [28610][startup] LOG: database system was shut down at 2024-03-19 14:17:28 UTC 2024-03-19 14:17:28.790 UTC [28607][postmaster] LOG: database system is ready to accept connections 2024-03-19 14:17:28.888 UTC [28607][postmaster] LOG: received fast shutdown request 2024-03-19 14:17:28.888 UTC [28607][postmaster] LOG: aborting any active transactions 2024-03-19 14:17:28.890 UTC [28607][postmaster] LOG: background worker "logical replication launcher" (PID 28613) exited with exit code 1 2024-03-19 14:17:28.891 UTC [28608][checkpointer] LOG: shutting down 2024-03-19 14:17:28.891 UTC [28608][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 14:17:28.892 UTC [28608][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/413CAE8, redo lsn=0/413CAE8 2024-03-19 14:17:28.894 UTC [28607][postmaster] LOG: database system is shut down 2024-03-19 14:17:29.002 UTC [28649][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-19 14:17:29.002 UTC [28649][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [14:17:29.091](0.207s) 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 28668 [14:17:29.197](0.106s) 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-19 14:17:28.079 UTC [28473][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 14:17:28.079 UTC [28473][postmaster] LOG: listening on Unix socket "/tmp/zHsYC8G_VE/.s.PGSQL.51740" 2024-03-19 14:17:28.081 UTC [28476][startup] LOG: database system was shut down at 2024-03-19 13:36:50 UTC 2024-03-19 14:17:28.085 UTC [28473][postmaster] LOG: database system is ready to accept connections 2024-03-19 14:17:28.177 UTC [28494][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.177 UTC [28494][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-19 14:17:28.177 UTC [28494][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.182 UTC [28494][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-19 14:17:28.182 UTC [28494][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.190 UTC [28496][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.191 UTC [28496][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-19 14:17:28.191 UTC [28496][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.191 UTC [28496][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-19 14:17:28.191 UTC [28496][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.192 UTC [28496][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.237 UTC [28500][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.237 UTC [28500][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-19 14:17:28.238 UTC [28500][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.238 UTC [28500][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-19 14:17:28.238 UTC [28500][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.239 UTC [28500][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.281 UTC [28513][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.281 UTC [28513][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-19 14:17:28.281 UTC [28513][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.282 UTC [28513][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-19 14:17:28.282 UTC [28513][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.283 UTC [28513][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.327 UTC [28516][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.327 UTC [28516][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-19 14:17:28.327 UTC [28516][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 14:17:28.328 UTC [28516][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.374 UTC [28529][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.374 UTC [28529][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-19 14:17:28.374 UTC [28529][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.376 UTC [28529][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-19 14:17:28.380 UTC [28529][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.402 UTC [28529][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.421 UTC [28546][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.422 UTC [28546][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-19 14:17:28.422 UTC [28546][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.423 UTC [28546][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-19 14:17:28.423 UTC [28546][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.447 UTC [28546][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.469 UTC [28548][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.469 UTC [28548][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-19 14:17:28.469 UTC [28548][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.470 UTC [28548][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-19 14:17:28.470 UTC [28548][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.490 UTC [28548][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.021 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.516 UTC [28564][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.516 UTC [28564][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-19 14:17:28.516 UTC [28564][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.517 UTC [28564][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-19 14:17:28.517 UTC [28564][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.542 UTC [28564][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.563 UTC [28568][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.564 UTC [28568][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-19 14:17:28.564 UTC [28568][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.565 UTC [28568][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-19 14:17:28.565 UTC [28568][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.583 UTC [28568][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.019 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.606 UTC [28580][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 14:17:28.606 UTC [28580][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-19 14:17:28.606 UTC [28580][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 14:17:28.607 UTC [28580][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-19 14:17:28.607 UTC [28580][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 14:17:28.632 UTC [28580][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.025 user=postgres database=postgres host=[local] 2024-03-19 14:17:28.673 UTC [28473][postmaster] LOG: received fast shutdown request 2024-03-19 14:17:28.673 UTC [28473][postmaster] LOG: aborting any active transactions 2024-03-19 14:17:28.676 UTC [28473][postmaster] LOG: background worker "logical replication launcher" (PID 28480) exited with exit code 1 2024-03-19 14:17:28.676 UTC [28474][checkpointer] LOG: shutting down 2024-03-19 14:17:28.676 UTC [28474][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 14:17:28.725 UTC [28474][checkpointer] LOG: checkpoint complete: wrote 5614 buffers (34.3%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.049 s, sync=0.001 s, total=0.050 s; sync files=0, longest=0.000 s, average=0.000 s; distance=45190 kB, estimate=45190 kB; lsn=0/413CA70, redo lsn=0/413CA70 2024-03-19 14:17:28.731 UTC [28473][postmaster] LOG: database system is shut down 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 51740 2024-03-19 14:17:28.786 UTC [28607][postmaster] LOG: listening on Unix socket "/tmp/zHsYC8G_VE/.s.PGSQL.51740" 2024-03-19 14:17:28.788 UTC [28610][startup] LOG: database system was shut down at 2024-03-19 14:17:28 UTC 2024-03-19 14:17:28.790 UTC [28607][postmaster] LOG: database system is ready to accept connections 2024-03-19 14:17:28.888 UTC [28607][postmaster] LOG: received fast shutdown request 2024-03-19 14:17:28.888 UTC [28607][postmaster] LOG: aborting any active transactions 2024-03-19 14:17:28.890 UTC [28607][postmaster] LOG: background worker "logical replication launcher" (PID 28613) exited with exit code 1 2024-03-19 14:17:28.891 UTC [28608][checkpointer] LOG: shutting down 2024-03-19 14:17:28.891 UTC [28608][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 14:17:28.892 UTC [28608][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/413CAE8, redo lsn=0/413CAE8 2024-03-19 14:17:28.894 UTC [28607][postmaster] LOG: database system is shut down 2024-03-19 14:17:29.002 UTC [28649][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-19 14:17:29.002 UTC [28649][postmaster] LOG: database system is shut down 2024-03-19 14:17:29.108 UTC [28668][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 14:17:29.108 UTC [28668][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 51740 2024-03-19 14:17:29.109 UTC [28668][postmaster] LOG: listening on Unix socket "/tmp/zHsYC8G_VE/.s.PGSQL.51740" 2024-03-19 14:17:29.111 UTC [28672][startup] LOG: database system was shut down at 2024-03-19 14:17:28 UTC 2024-03-19 14:17:29.115 UTC [28668][postmaster] LOG: database system is ready to accept connections 2024-03-19 14:17:29.200 UTC [28668][postmaster] LOG: received fast shutdown request 2024-03-19 14:17:29.200 UTC [28668][postmaster] LOG: aborting any active transactions 2024-03-19 14:17:29.202 UTC [28668][postmaster] LOG: background worker "logical replication launcher" (PID 28675) exited with exit code 1 2024-03-19 14:17:29.202 UTC [28670][checkpointer] LOG: shutting down 2024-03-19 14:17:29.202 UTC [28670][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 14:17:29.203 UTC [28670][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/413CB60, redo lsn=0/413CB60 2024-03-19 14:17:29.205 UTC [28668][postmaster] LOG: database system is shut down 2024-03-19 14:17:29.311 UTC [28705][postmaster] FATAL: could not set SSL protocol version range 2024-03-19 14:17:29.311 UTC [28705][postmaster] DETAIL: ssl_min_protocol_version cannot be higher than ssl_max_protocol_version 2024-03-19 14:17:29.311 UTC [28705][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [14:17:29.403](0.206s) 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 28720 [14:17:29.513](0.110s) ok 5 - restart succeeds with correct SSL protocol bounds [14:17:29.513](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 28762 [14:17:29.727](0.215s) ok 6 - server doesn't accept non-SSL connections [14:17:29.728](0.001s) ok 7 - server doesn't accept non-SSL connections: matches [14:17:29.748](0.020s) ok 8 - connect without server root cert sslmode=require [14:17:29.748](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [14:17:29.759](0.011s) ok 10 - connect without server root cert sslmode=verify-ca [14:17:29.759](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [14:17:29.770](0.011s) ok 12 - connect without server root cert sslmode=verify-full [14:17:29.771](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [14:17:29.785](0.015s) ok 14 - connect with wrong server root cert sslmode=require [14:17:29.786](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [14:17:29.799](0.013s) ok 16 - connect with wrong server root cert sslmode=verify-ca [14:17:29.799](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [14:17:29.812](0.013s) ok 18 - connect with wrong server root cert sslmode=verify-full [14:17:29.812](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [14:17:29.827](0.015s) ok 20 - connect with server CA cert, without root CA [14:17:29.828](0.001s) ok 21 - connect with server CA cert, without root CA: matches [14:17:29.844](0.017s) ok 22 - connect with correct server CA cert file sslmode=require [14:17:29.844](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [14:17:29.859](0.015s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [14:17:29.859](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [14:17:29.874](0.015s) ok 26 - connect with correct server CA cert file sslmode=verify-full [14:17:29.874](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [14:17:29.890](0.016s) ok 28 - cert root file that contains two certificates, order 1 [14:17:29.890](0.001s) ok 29 - cert root file that contains two certificates, order 1: no stderr [14:17:29.907](0.017s) ok 30 - cert root file that contains two certificates, order 2 [14:17:29.907](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [14:17:29.922](0.015s) ok 32 - connect with sslcertmode=disable [14:17:29.922](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [14:17:29.939](0.017s) ok 34 - connect with sslcertmode=allow [14:17:29.940](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [14:17:29.956](0.016s) ok 36 - connect with sslcertmode=require fails without a client certificate [14:17:29.956](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [14:17:29.973](0.017s) ok 38 - sslcrl option with invalid file name [14:17:29.973](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [14:17:29.988](0.015s) ok 40 - CRL belonging to a different CA [14:17:29.989](0.001s) ok 41 - CRL belonging to a different CA: matches [14:17:30.004](0.015s) ok 42 - directory CRL belonging to a different CA [14:17:30.005](0.001s) ok 43 - directory CRL belonging to a different CA: matches [14:17:30.022](0.017s) ok 44 - CRL with a non-revoked cert [14:17:30.022](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [14:17:30.034](0.013s) ok 46 - directory CRL with a non-revoked cert [14:17:30.035](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [14:17:30.051](0.016s) ok 48 - mismatch between host name and server certificate sslmode=require [14:17:30.052](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [14:17:30.068](0.016s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [14:17:30.068](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [14:17:30.083](0.014s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [14:17:30.083](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 28924 [14:17:30.309](0.226s) ok 54 - IP address in the Common Name [14:17:30.309](0.000s) ok 55 - IP address in the Common Name: no stderr [14:17:30.324](0.015s) ok 56 - mismatch between host name and server certificate IP address [14:17:30.325](0.001s) 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 28972 [14:17:30.551](0.226s) ok 58 - IP address in a dNSName [14:17:30.551](0.000s) 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 29030 [14:17:30.782](0.230s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [14:17:30.782](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [14:17:30.798](0.016s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [14:17:30.798](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [14:17:30.813](0.015s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [14:17:30.814](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [14:17:30.827](0.014s) ok 66 - host name not matching with X.509 Subject Alternative Names [14:17:30.827](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [14:17:30.841](0.014s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [14:17:30.841](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 29108 [14:17:31.066](0.224s) ok 70 - host name matching with a single X.509 Subject Alternative Name [14:17:31.066](0.001s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [14:17:31.080](0.013s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [14:17:31.080](0.001s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [14:17:31.094](0.014s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [14:17:31.095](0.000s) 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 29181 [14:17:31.331](0.236s) ok 76 - host matching an IPv4 address (Subject Alternative Name 1) [14:17:31.331](0.000s) ok 77 - host matching an IPv4 address (Subject Alternative Name 1): no stderr [14:17:31.345](0.014s) ok 78 - host matching an IPv4 address in alternate form (Subject Alternative Name 1) [14:17:31.345](0.000s) ok 79 - host matching an IPv4 address in alternate form (Subject Alternative Name 1): no stderr [14:17:31.358](0.013s) ok 80 - host not matching an IPv4 address (Subject Alternative Name 1) [14:17:31.359](0.001s) ok 81 - host not matching an IPv4 address (Subject Alternative Name 1): matches [14:17:31.375](0.016s) ok 82 - host matching an IPv6 address (Subject Alternative Name 2) [14:17:31.376](0.001s) ok 83 - host matching an IPv6 address (Subject Alternative Name 2): no stderr [14:17:31.392](0.016s) ok 84 - host matching an IPv6 address in alternate form (Subject Alternative Name 2) [14:17:31.392](0.001s) ok 85 - host matching an IPv6 address in alternate form (Subject Alternative Name 2): no stderr [14:17:31.409](0.016s) ok 86 - host matching an IPv6 address in mixed form (Subject Alternative Name 2) [14:17:31.409](0.000s) ok 87 - host matching an IPv6 address in mixed form (Subject Alternative Name 2): no stderr [14:17:31.423](0.014s) ok 88 - host not matching an IPv6 address (Subject Alternative Name 2) [14:17:31.423](0.000s) ok 89 - host not matching an IPv6 address (Subject Alternative Name 2): matches [14:17:31.438](0.015s) ok 90 - IPv6 host with CIDR mask does not match [14:17:31.438](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 29257 [14:17:31.662](0.224s) ok 92 - certificate with both a CN and SANs 1 [14:17:31.663](0.000s) ok 93 - certificate with both a CN and SANs 1: no stderr [14:17:31.844](0.182s) ok 94 - certificate with both a CN and SANs 2 [14:17:31.845](0.001s) ok 95 - certificate with both a CN and SANs 2: no stderr [14:17:31.859](0.014s) ok 96 - certificate with both a CN and SANs ignores CN [14:17:31.860](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 29342 [14:17:32.090](0.230s) ok 98 - certificate with both a CN and IP SANs matches CN [14:17:32.090](0.000s) ok 99 - certificate with both a CN and IP SANs matches CN: no stderr [14:17:32.108](0.018s) ok 100 - certificate with both a CN and IP SANs matches SAN 1 [14:17:32.108](0.000s) ok 101 - certificate with both a CN and IP SANs matches SAN 1: no stderr [14:17:32.123](0.015s) ok 102 - certificate with both a CN and IP SANs matches SAN 2 [14:17:32.123](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 29406 [14:17:32.354](0.231s) ok 104 - certificate with both an IP CN and IP SANs 1 [14:17:32.355](0.000s) ok 105 - certificate with both an IP CN and IP SANs 1: no stderr [14:17:32.370](0.015s) ok 106 - certificate with both an IP CN and IP SANs 2 [14:17:32.370](0.000s) ok 107 - certificate with both an IP CN and IP SANs 2: no stderr [14:17:32.384](0.014s) ok 108 - certificate with both an IP CN and IP SANs ignores CN [14:17:32.384](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 29472 [14:17:32.619](0.235s) ok 110 - certificate with both an IP CN and DNS SANs matches CN [14:17:32.619](0.000s) ok 111 - certificate with both an IP CN and DNS SANs matches CN: no stderr [14:17:32.635](0.016s) ok 112 - certificate with both an IP CN and DNS SANs matches SAN 1 [14:17:32.637](0.002s) ok 113 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [14:17:32.653](0.016s) ok 114 - certificate with both an IP CN and DNS SANs matches SAN 2 [14:17:32.653](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 29535 [14:17:32.887](0.234s) ok 116 - server certificate without CN or SANs sslmode=verify-ca [14:17:32.888](0.001s) ok 117 - server certificate without CN or SANs sslmode=verify-ca: no stderr [14:17:32.901](0.013s) ok 118 - server certificate without CN or SANs sslmode=verify-full [14:17:32.901](0.000s) 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 29582 [14:17:33.125](0.223s) ok 120 - sslrootcert=system does not connect with private CA [14:17:33.125](0.000s) ok 121 - sslrootcert=system does not connect with private CA: matches [14:17:33.133](0.008s) ok 122 - sslrootcert=system only accepts sslmode=verify-full [14:17:33.133](0.000s) ok 123 - sslrootcert=system only accepts sslmode=verify-full: matches [14:17:33.154](0.021s) ok 124 - sslrootcert=system connects with overridden SSL_CERT_FILE [14:17:33.154](0.000s) ok 125 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [14:17:33.168](0.014s) ok 126 - sslrootcert=system defaults to sslmode=verify-full [14:17:33.168](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 29644 [14:17:33.395](0.228s) ok 128 - connects without client-side CRL [14:17:33.396](0.001s) ok 129 - connects without client-side CRL: no stderr [14:17:33.411](0.015s) ok 130 - does not connect with client-side CRL file [14:17:33.411](0.000s) ok 131 - does not connect with client-side CRL file: matches [14:17:33.427](0.016s) ok 132 - does not connect with client-side CRL directory [14:17:33.427](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() [14:17:33.445](0.018s) ok 134 - pg_stat_ssl view without client certificate: exit code 0 [14:17:33.446](0.001s) not ok 135 - pg_stat_ssl view without client certificate: no stderr [14:17:33.447](0.001s) # 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. [14:17:33.447](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [14:17:33.448](0.000s) ok 136 - pg_stat_ssl view without client certificate: matches [14:17:33.463](0.016s) ok 137 - connection success with correct range of TLS protocol versions [14:17:33.463](0.000s) ok 138 - connection success with correct range of TLS protocol versions: no stderr [14:17:33.471](0.008s) ok 139 - connection failure with incorrect range of TLS protocol versions [14:17:33.472](0.001s) ok 140 - connection failure with incorrect range of TLS protocol versions: matches [14:17:33.480](0.008s) ok 141 - connection failure with an incorrect SSL protocol minimum bound [14:17:33.480](0.000s) ok 142 - connection failure with an incorrect SSL protocol minimum bound: matches [14:17:33.488](0.008s) ok 143 - connection failure with an incorrect SSL protocol maximum bound [14:17:33.488](0.000s) ok 144 - connection failure with an incorrect SSL protocol maximum bound: matches [14:17:33.489](0.000s) # running server tests [14:17:33.504](0.016s) ok 145 - certificate authorization fails without client cert [14:17:33.504](0.000s) ok 146 - certificate authorization fails without client cert: matches [14:17:33.856](0.352s) ok 147 - certificate authorization succeeds with correct client cert in PEM format [14:17:33.857](0.000s) ok 148 - certificate authorization succeeds with correct client cert in PEM format: no stderr [14:17:33.873](0.017s) ok 149 - certificate authorization succeeds with correct client cert in DER format [14:17:33.874](0.000s) ok 150 - certificate authorization succeeds with correct client cert in DER format: no stderr [14:17:33.890](0.017s) ok 151 - certificate authorization succeeds with correct client cert in encrypted PEM format [14:17:33.890](0.000s) ok 152 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [14:17:33.907](0.017s) ok 153 - certificate authorization succeeds with correct client cert in encrypted DER format [14:17:33.907](0.000s) ok 154 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [14:17:33.923](0.016s) ok 155 - certificate authorization succeeds with correct client cert and sslcertmode=require [14:17:33.923](0.000s) ok 156 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [14:17:33.940](0.016s) ok 157 - certificate authorization succeeds with correct client cert and sslcertmode=allow [14:17:33.940](0.000s) ok 158 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [14:17:33.953](0.013s) ok 159 - certificate authorization fails with correct client cert and sslcertmode=disable [14:17:33.953](0.000s) ok 160 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [14:17:33.964](0.011s) ok 161 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [14:17:33.964](0.000s) ok 162 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [14:17:33.986](0.021s) ok 163 - certificate authorization succeeds with DN mapping [14:17:33.986](0.000s) ok 164 - certificate authorization succeeds with DN mapping: no stderr [14:17:33.986](0.000s) ok 165 - certificate authorization succeeds with DN mapping: log matches [14:17:34.006](0.020s) ok 166 - certificate authorization succeeds with DN regex mapping [14:17:34.007](0.000s) ok 167 - certificate authorization succeeds with DN regex mapping: no stderr [14:17:34.027](0.020s) ok 168 - certificate authorization succeeds with CN mapping [14:17:34.027](0.000s) ok 169 - certificate authorization succeeds with CN mapping: no stderr [14:17:34.028](0.000s) ok 170 - certificate authorization succeeds with CN mapping: log matches [14:17:34.028](0.000s) not ok 171 # TODO & SKIP Need Pty support [14:17:34.028](0.000s) not ok 172 # TODO & SKIP Need Pty support [14:17:34.028](0.000s) not ok 173 # TODO & SKIP Need Pty support [14:17:34.028](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_5a_s/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [14:17:34.063](0.035s) ok 175 - pg_stat_ssl with client certificate: exit code 0 [14:17:34.063](0.000s) not ok 176 - pg_stat_ssl with client certificate: no stderr [14:17:34.064](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. [14:17:34.064](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [14:17:34.064](0.000s) ok 177 - pg_stat_ssl with client certificate: matches [14:17:34.075](0.011s) ok 178 - certificate authorization fails because of file permissions [14:17:34.075](0.000s) ok 179 - certificate authorization fails because of file permissions: matches [14:17:34.090](0.015s) ok 180 - certificate authorization fails with client cert belonging to another user [14:17:34.091](0.000s) ok 181 - certificate authorization fails with client cert belonging to another user: matches [14:17:34.107](0.016s) ok 182 - certificate authorization fails with revoked client cert [14:17:34.107](0.000s) ok 183 - certificate authorization fails with revoked client cert: matches [14:17:34.107](0.000s) ok 184 - certificate authorization fails with revoked client cert: log does not match [14:17:34.127](0.020s) ok 185 - auth_option clientcert=verify-full succeeds with matching username and Common Name [14:17:34.127](0.000s) ok 186 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [14:17:34.128](0.000s) ok 187 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [14:17:34.144](0.017s) ok 188 - auth_option clientcert=verify-full fails with mismatching username and Common Name [14:17:34.145](0.000s) ok 189 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [14:17:34.145](0.000s) ok 190 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [14:17:34.162](0.017s) ok 191 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [14:17:34.162](0.000s) ok 192 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [14:17:34.162](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 29822 [14:17:34.387](0.225s) ok 194 - intermediate client certificate is provided by client [14:17:34.387](0.000s) ok 195 - intermediate client certificate is provided by client: no stderr [14:17:34.400](0.013s) ok 196 - intermediate client certificate is missing [14:17:34.401](0.000s) ok 197 - intermediate client certificate is missing: matches [14:17:34.415](0.014s) ok 198 - logged client certificate Subjects are truncated if they're too long [14:17:34.415](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 29858 [14:17:34.635](0.220s) ok 200 - intermediate client certificate is untrusted [14:17:34.636](0.000s) 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 29889 [14:17:34.855](0.220s) ok 202 - certificate authorization fails with revoked client cert with server-side CRL directory [14:17:34.856](0.000s) ok 203 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [14:17:34.871](0.015s) ok 204 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [14:17:34.871](0.000s) ok 205 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory: matches [14:17:34.871](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" [14:17:34.982](0.111s) # Looks like you failed 2 tests of 205.