[00:47:21.349](0.029s) # setting up data directory # Checking port 56223 # Found port 56223 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=56223 host=/tmp/GEq9mnjYYV Log file: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log [00:47:21.352](0.003s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/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 28681 [00:47:21.527](0.175s) 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 28815 [00:47:22.211](0.684s) # 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 00:47:21.416 UTC [28681][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 00:47:21.416 UTC [28681][postmaster] LOG: listening on Unix socket "/tmp/GEq9mnjYYV/.s.PGSQL.56223" 2024-03-19 00:47:21.418 UTC [28684][startup] LOG: database system was shut down at 2024-03-19 00:06:43 UTC 2024-03-19 00:47:21.420 UTC [28681][postmaster] LOG: database system is ready to accept connections 2024-03-19 00:47:21.520 UTC [28702][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.521 UTC [28702][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 00:47:21.521 UTC [28702][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.524 UTC [28702][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-19 00:47:21.525 UTC [28702][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.537 UTC [28707][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.537 UTC [28707][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 00:47:21.537 UTC [28707][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.581 UTC [28719][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.581 UTC [28719][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 00:47:21.581 UTC [28719][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.627 UTC [28728][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.627 UTC [28728][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 00:47:21.627 UTC [28728][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.671 UTC [28737][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.671 UTC [28737][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 00:47:21.671 UTC [28737][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.714 UTC [28743][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.714 UTC [28743][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 00:47:21.714 UTC [28743][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.715 UTC [28743][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-19 00:47:21.715 UTC [28743][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.734 UTC [28743][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.020 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.758 UTC [28754][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.758 UTC [28754][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 00:47:21.758 UTC [28754][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.759 UTC [28754][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-19 00:47:21.759 UTC [28754][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.780 UTC [28754][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.802 UTC [28762][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.802 UTC [28762][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 00:47:21.802 UTC [28762][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.803 UTC [28762][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-19 00:47:21.803 UTC [28762][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.819 UTC [28762][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.845 UTC [28771][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.846 UTC [28771][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 00:47:21.846 UTC [28771][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.846 UTC [28771][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-19 00:47:21.846 UTC [28771][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.867 UTC [28771][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.889 UTC [28779][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.889 UTC [28779][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 00:47:21.889 UTC [28779][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.889 UTC [28779][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-19 00:47:21.890 UTC [28779][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.906 UTC [28779][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.932 UTC [28784][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.932 UTC [28784][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 00:47:21.932 UTC [28784][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.933 UTC [28784][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-19 00:47:21.933 UTC [28784][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.960 UTC [28784][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-19 00:47:22.009 UTC [28681][postmaster] LOG: received fast shutdown request 2024-03-19 00:47:22.009 UTC [28681][postmaster] LOG: aborting any active transactions 2024-03-19 00:47:22.010 UTC [28681][postmaster] LOG: background worker "logical replication launcher" (PID 28687) exited with exit code 1 2024-03-19 00:47:22.010 UTC [28682][checkpointer] LOG: shutting down 2024-03-19 00:47:22.010 UTC [28682][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 00:47:22.054 UTC [28682][checkpointer] LOG: checkpoint complete: wrote 5614 buffers (34.3%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.044 s, sync=0.001 s, total=0.044 s; sync files=0, longest=0.000 s, average=0.000 s; distance=45190 kB, estimate=45190 kB; lsn=0/413CB30, redo lsn=0/413CB30 2024-03-19 00:47:22.059 UTC [28681][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 56223 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: listening on Unix socket "/tmp/GEq9mnjYYV/.s.PGSQL.56223" 2024-03-19 00:47:22.121 UTC [28819][startup] LOG: database system was shut down at 2024-03-19 00:47:22 UTC 2024-03-19 00:47:22.123 UTC [28815][postmaster] LOG: database system is ready to accept connections 2024-03-19 00:47:22.213 UTC [28815][postmaster] LOG: received fast shutdown request 2024-03-19 00:47:22.213 UTC [28815][postmaster] LOG: aborting any active transactions 2024-03-19 00:47:22.214 UTC [28815][postmaster] LOG: background worker "logical replication launcher" (PID 28822) exited with exit code 1 2024-03-19 00:47:22.215 UTC [28817][checkpointer] LOG: shutting down 2024-03-19 00:47:22.215 UTC [28817][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 00:47:22.215 UTC [28817][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/413CBA8, redo lsn=0/413CBA8 2024-03-19 00:47:22.216 UTC [28815][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.324 UTC [28863][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-19 00:47:22.324 UTC [28863][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [00:47:22.414](0.203s) 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 28886 [00:47:22.518](0.103s) 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 00:47:21.416 UTC [28681][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 00:47:21.416 UTC [28681][postmaster] LOG: listening on Unix socket "/tmp/GEq9mnjYYV/.s.PGSQL.56223" 2024-03-19 00:47:21.418 UTC [28684][startup] LOG: database system was shut down at 2024-03-19 00:06:43 UTC 2024-03-19 00:47:21.420 UTC [28681][postmaster] LOG: database system is ready to accept connections 2024-03-19 00:47:21.520 UTC [28702][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.521 UTC [28702][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 00:47:21.521 UTC [28702][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.524 UTC [28702][client backend] [001_ssltests.pl][0/2:0] LOG: statement: SHOW ssl_library 2024-03-19 00:47:21.525 UTC [28702][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.004 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.537 UTC [28707][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.537 UTC [28707][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 00:47:21.537 UTC [28707][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][1/2:0] LOG: statement: CREATE USER ssltestuser 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][1/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.538 UTC [28707][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.581 UTC [28719][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.581 UTC [28719][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 00:47:21.581 UTC [28719][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][2/2:0] LOG: statement: CREATE USER md5testuser 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][2/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.582 UTC [28719][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.627 UTC [28728][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.627 UTC [28728][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 00:47:21.627 UTC [28728][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][3/2:0] LOG: statement: CREATE USER anotheruser 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][3/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.628 UTC [28728][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.671 UTC [28737][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.671 UTC [28737][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 00:47:21.671 UTC [28737][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][4/2:0] LOG: statement: CREATE USER yetanotheruser 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][4/2:0] WARNING: roles created by regression test cases should have names starting with "regress_" 2024-03-19 00:47:21.672 UTC [28737][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.001 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.714 UTC [28743][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.714 UTC [28743][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 00:47:21.714 UTC [28743][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.715 UTC [28743][client backend] [001_ssltests.pl][5/2:0] LOG: statement: CREATE DATABASE trustdb 2024-03-19 00:47:21.715 UTC [28743][client backend] [001_ssltests.pl][5/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.734 UTC [28743][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.020 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.758 UTC [28754][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.758 UTC [28754][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 00:47:21.758 UTC [28754][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.759 UTC [28754][client backend] [001_ssltests.pl][6/2:0] LOG: statement: CREATE DATABASE certdb 2024-03-19 00:47:21.759 UTC [28754][client backend] [001_ssltests.pl][6/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.780 UTC [28754][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.802 UTC [28762][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.802 UTC [28762][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 00:47:21.802 UTC [28762][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.803 UTC [28762][client backend] [001_ssltests.pl][7/2:0] LOG: statement: CREATE DATABASE certdb_dn 2024-03-19 00:47:21.803 UTC [28762][client backend] [001_ssltests.pl][7/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.819 UTC [28762][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.845 UTC [28771][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.846 UTC [28771][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 00:47:21.846 UTC [28771][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.846 UTC [28771][client backend] [001_ssltests.pl][8/2:0] LOG: statement: CREATE DATABASE certdb_dn_re 2024-03-19 00:47:21.846 UTC [28771][client backend] [001_ssltests.pl][8/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.867 UTC [28771][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.022 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.889 UTC [28779][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.889 UTC [28779][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 00:47:21.889 UTC [28779][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.889 UTC [28779][client backend] [001_ssltests.pl][9/2:0] LOG: statement: CREATE DATABASE certdb_cn 2024-03-19 00:47:21.890 UTC [28779][client backend] [001_ssltests.pl][9/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.906 UTC [28779][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.017 user=postgres database=postgres host=[local] 2024-03-19 00:47:21.932 UTC [28784][not initialized] [[unknown]][:0] LOG: connection received: host=[local] 2024-03-19 00:47:21.932 UTC [28784][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 00:47:21.932 UTC [28784][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=001_ssltests.pl 2024-03-19 00:47:21.933 UTC [28784][client backend] [001_ssltests.pl][10/2:0] LOG: statement: CREATE DATABASE verifydb 2024-03-19 00:47:21.933 UTC [28784][client backend] [001_ssltests.pl][10/2:0] WARNING: databases created by regression test cases should have names including "regression" 2024-03-19 00:47:21.960 UTC [28784][client backend] [001_ssltests.pl][:0] LOG: disconnection: session time: 0:00:00.028 user=postgres database=postgres host=[local] 2024-03-19 00:47:22.009 UTC [28681][postmaster] LOG: received fast shutdown request 2024-03-19 00:47:22.009 UTC [28681][postmaster] LOG: aborting any active transactions 2024-03-19 00:47:22.010 UTC [28681][postmaster] LOG: background worker "logical replication launcher" (PID 28687) exited with exit code 1 2024-03-19 00:47:22.010 UTC [28682][checkpointer] LOG: shutting down 2024-03-19 00:47:22.010 UTC [28682][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 00:47:22.054 UTC [28682][checkpointer] LOG: checkpoint complete: wrote 5614 buffers (34.3%); 0 WAL file(s) added, 0 removed, 3 recycled; write=0.044 s, sync=0.001 s, total=0.044 s; sync files=0, longest=0.000 s, average=0.000 s; distance=45190 kB, estimate=45190 kB; lsn=0/413CB30, redo lsn=0/413CB30 2024-03-19 00:47:22.059 UTC [28681][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 56223 2024-03-19 00:47:22.119 UTC [28815][postmaster] LOG: listening on Unix socket "/tmp/GEq9mnjYYV/.s.PGSQL.56223" 2024-03-19 00:47:22.121 UTC [28819][startup] LOG: database system was shut down at 2024-03-19 00:47:22 UTC 2024-03-19 00:47:22.123 UTC [28815][postmaster] LOG: database system is ready to accept connections 2024-03-19 00:47:22.213 UTC [28815][postmaster] LOG: received fast shutdown request 2024-03-19 00:47:22.213 UTC [28815][postmaster] LOG: aborting any active transactions 2024-03-19 00:47:22.214 UTC [28815][postmaster] LOG: background worker "logical replication launcher" (PID 28822) exited with exit code 1 2024-03-19 00:47:22.215 UTC [28817][checkpointer] LOG: shutting down 2024-03-19 00:47:22.215 UTC [28817][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 00:47:22.215 UTC [28817][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/413CBA8, redo lsn=0/413CBA8 2024-03-19 00:47:22.216 UTC [28815][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.324 UTC [28863][postmaster] FATAL: could not load private key file "server-password.key": bad decrypt 2024-03-19 00:47:22.324 UTC [28863][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.428 UTC [28886][postmaster] LOG: starting PostgreSQL 17devel on x86_64-freebsd, compiled by clang-14.0.5, 64-bit 2024-03-19 00:47:22.428 UTC [28886][postmaster] LOG: listening on IPv4 address "127.0.0.1", port 56223 2024-03-19 00:47:22.428 UTC [28886][postmaster] LOG: listening on Unix socket "/tmp/GEq9mnjYYV/.s.PGSQL.56223" 2024-03-19 00:47:22.430 UTC [28892][startup] LOG: database system was shut down at 2024-03-19 00:47:22 UTC 2024-03-19 00:47:22.432 UTC [28886][postmaster] LOG: database system is ready to accept connections 2024-03-19 00:47:22.520 UTC [28886][postmaster] LOG: received fast shutdown request 2024-03-19 00:47:22.520 UTC [28886][postmaster] LOG: aborting any active transactions 2024-03-19 00:47:22.522 UTC [28886][postmaster] LOG: background worker "logical replication launcher" (PID 28895) exited with exit code 1 2024-03-19 00:47:22.522 UTC [28890][checkpointer] LOG: shutting down 2024-03-19 00:47:22.522 UTC [28890][checkpointer] LOG: checkpoint starting: shutdown immediate 2024-03-19 00:47:22.522 UTC [28890][checkpointer] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.000 s, total=0.001 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=0 kB; lsn=0/413CC20, redo lsn=0/413CC20 2024-03-19 00:47:22.523 UTC [28886][postmaster] LOG: database system is shut down 2024-03-19 00:47:22.629 UTC [28927][postmaster] FATAL: could not set SSL protocol version range 2024-03-19 00:47:22.629 UTC [28927][postmaster] DETAIL: ssl_min_protocol_version cannot be higher than ssl_max_protocol_version 2024-03-19 00:47:22.629 UTC [28927][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [00:47:22.725](0.207s) 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 28948 [00:47:22.831](0.106s) ok 5 - restart succeeds with correct SSL protocol bounds [00:47:22.832](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 29003 [00:47:23.047](0.216s) ok 6 - server doesn't accept non-SSL connections [00:47:23.048](0.000s) ok 7 - server doesn't accept non-SSL connections: matches [00:47:23.062](0.014s) ok 8 - connect without server root cert sslmode=require [00:47:23.062](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [00:47:23.069](0.007s) ok 10 - connect without server root cert sslmode=verify-ca [00:47:23.069](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [00:47:23.076](0.007s) ok 12 - connect without server root cert sslmode=verify-full [00:47:23.076](0.001s) ok 13 - connect without server root cert sslmode=verify-full: matches [00:47:23.087](0.011s) ok 14 - connect with wrong server root cert sslmode=require [00:47:23.088](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [00:47:23.100](0.012s) ok 16 - connect with wrong server root cert sslmode=verify-ca [00:47:23.100](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [00:47:23.111](0.012s) ok 18 - connect with wrong server root cert sslmode=verify-full [00:47:23.112](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [00:47:23.123](0.011s) ok 20 - connect with server CA cert, without root CA [00:47:23.123](0.000s) ok 21 - connect with server CA cert, without root CA: matches [00:47:23.136](0.012s) ok 22 - connect with correct server CA cert file sslmode=require [00:47:23.136](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [00:47:23.148](0.012s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [00:47:23.148](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [00:47:23.160](0.013s) ok 26 - connect with correct server CA cert file sslmode=verify-full [00:47:23.161](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [00:47:23.172](0.012s) ok 28 - cert root file that contains two certificates, order 1 [00:47:23.172](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [00:47:23.184](0.011s) ok 30 - cert root file that contains two certificates, order 2 [00:47:23.184](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [00:47:23.196](0.012s) ok 32 - connect with sslcertmode=disable [00:47:23.196](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [00:47:23.208](0.012s) ok 34 - connect with sslcertmode=allow [00:47:23.208](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [00:47:23.220](0.012s) ok 36 - connect with sslcertmode=require fails without a client certificate [00:47:23.220](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [00:47:23.232](0.012s) ok 38 - sslcrl option with invalid file name [00:47:23.232](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [00:47:23.243](0.011s) ok 40 - CRL belonging to a different CA [00:47:23.243](0.000s) ok 41 - CRL belonging to a different CA: matches [00:47:23.253](0.011s) ok 42 - directory CRL belonging to a different CA [00:47:23.254](0.000s) ok 43 - directory CRL belonging to a different CA: matches [00:47:23.267](0.013s) ok 44 - CRL with a non-revoked cert [00:47:23.267](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [00:47:23.280](0.013s) ok 46 - directory CRL with a non-revoked cert [00:47:23.280](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [00:47:23.292](0.012s) ok 48 - mismatch between host name and server certificate sslmode=require [00:47:23.292](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [00:47:23.303](0.011s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [00:47:23.303](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [00:47:23.313](0.010s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [00:47:23.313](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 29139 [00:47:23.539](0.226s) ok 54 - IP address in the Common Name [00:47:23.540](0.001s) ok 55 - IP address in the Common Name: no stderr [00:47:23.557](0.017s) ok 56 - mismatch between host name and server certificate IP address [00:47:23.558](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 29206 [00:47:23.779](0.221s) ok 58 - IP address in a dNSName [00:47:23.779](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 29266 [00:47:24.000](0.220s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [00:47:24.000](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [00:47:24.012](0.012s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [00:47:24.012](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [00:47:24.024](0.012s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [00:47:24.025](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [00:47:24.035](0.011s) ok 66 - host name not matching with X.509 Subject Alternative Names [00:47:24.035](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [00:47:24.045](0.010s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [00:47:24.046](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 29332 [00:47:24.267](0.221s) ok 70 - host name matching with a single X.509 Subject Alternative Name [00:47:24.267](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [00:47:24.381](0.114s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [00:47:24.386](0.005s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [00:47:24.408](0.022s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [00:47:24.408](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 29421 [00:47:24.637](0.229s) ok 76 - host matching an IPv4 address (Subject Alternative Name 1) [00:47:24.637](0.000s) ok 77 - host matching an IPv4 address (Subject Alternative Name 1): no stderr [00:47:24.649](0.012s) ok 78 - host matching an IPv4 address in alternate form (Subject Alternative Name 1) [00:47:24.649](0.000s) ok 79 - host matching an IPv4 address in alternate form (Subject Alternative Name 1): no stderr [00:47:24.658](0.009s) ok 80 - host not matching an IPv4 address (Subject Alternative Name 1) [00:47:24.659](0.000s) ok 81 - host not matching an IPv4 address (Subject Alternative Name 1): matches [00:47:24.669](0.010s) ok 82 - host matching an IPv6 address (Subject Alternative Name 2) [00:47:24.669](0.000s) ok 83 - host matching an IPv6 address (Subject Alternative Name 2): no stderr [00:47:24.679](0.010s) ok 84 - host matching an IPv6 address in alternate form (Subject Alternative Name 2) [00:47:24.679](0.000s) ok 85 - host matching an IPv6 address in alternate form (Subject Alternative Name 2): no stderr [00:47:24.689](0.010s) ok 86 - host matching an IPv6 address in mixed form (Subject Alternative Name 2) [00:47:24.689](0.000s) ok 87 - host matching an IPv6 address in mixed form (Subject Alternative Name 2): no stderr [00:47:24.698](0.009s) ok 88 - host not matching an IPv6 address (Subject Alternative Name 2) [00:47:24.698](0.000s) ok 89 - host not matching an IPv6 address (Subject Alternative Name 2): matches [00:47:24.707](0.009s) ok 90 - IPv6 host with CIDR mask does not match [00:47:24.707](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 29491 [00:47:24.927](0.220s) ok 92 - certificate with both a CN and SANs 1 [00:47:24.927](0.000s) ok 93 - certificate with both a CN and SANs 1: no stderr [00:47:24.938](0.011s) ok 94 - certificate with both a CN and SANs 2 [00:47:24.938](0.000s) ok 95 - certificate with both a CN and SANs 2: no stderr [00:47:24.948](0.010s) ok 96 - certificate with both a CN and SANs ignores CN [00:47:24.949](0.001s) 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 29551 [00:47:25.178](0.229s) ok 98 - certificate with both a CN and IP SANs matches CN [00:47:25.178](0.001s) ok 99 - certificate with both a CN and IP SANs matches CN: no stderr [00:47:25.206](0.027s) ok 100 - certificate with both a CN and IP SANs matches SAN 1 [00:47:25.208](0.002s) ok 101 - certificate with both a CN and IP SANs matches SAN 1: no stderr [00:47:25.222](0.014s) ok 102 - certificate with both a CN and IP SANs matches SAN 2 [00:47:25.222](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 29618 [00:47:25.442](0.220s) ok 104 - certificate with both an IP CN and IP SANs 1 [00:47:25.442](0.000s) ok 105 - certificate with both an IP CN and IP SANs 1: no stderr [00:47:25.454](0.012s) ok 106 - certificate with both an IP CN and IP SANs 2 [00:47:25.454](0.000s) ok 107 - certificate with both an IP CN and IP SANs 2: no stderr [00:47:25.464](0.010s) ok 108 - certificate with both an IP CN and IP SANs ignores CN [00:47:25.464](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 29682 [00:47:25.685](0.221s) ok 110 - certificate with both an IP CN and DNS SANs matches CN [00:47:25.686](0.000s) ok 111 - certificate with both an IP CN and DNS SANs matches CN: no stderr [00:47:25.699](0.013s) ok 112 - certificate with both an IP CN and DNS SANs matches SAN 1 [00:47:25.699](0.000s) ok 113 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [00:47:25.711](0.012s) ok 114 - certificate with both an IP CN and DNS SANs matches SAN 2 [00:47:25.711](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 29734 [00:47:25.942](0.231s) ok 116 - server certificate without CN or SANs sslmode=verify-ca [00:47:25.943](0.000s) ok 117 - server certificate without CN or SANs sslmode=verify-ca: no stderr [00:47:25.953](0.011s) ok 118 - server certificate without CN or SANs sslmode=verify-full [00:47:25.954](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 29778 [00:47:26.171](0.218s) ok 120 - sslrootcert=system does not connect with private CA [00:47:26.171](0.000s) ok 121 - sslrootcert=system does not connect with private CA: matches [00:47:26.177](0.006s) ok 122 - sslrootcert=system only accepts sslmode=verify-full [00:47:26.177](0.000s) ok 123 - sslrootcert=system only accepts sslmode=verify-full: matches [00:47:26.193](0.016s) ok 124 - sslrootcert=system connects with overridden SSL_CERT_FILE [00:47:26.194](0.000s) ok 125 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [00:47:26.205](0.012s) ok 126 - sslrootcert=system defaults to sslmode=verify-full [00:47:26.206](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 29823 [00:47:26.432](0.226s) ok 128 - connects without client-side CRL [00:47:26.432](0.000s) ok 129 - connects without client-side CRL: no stderr [00:47:26.443](0.011s) ok 130 - does not connect with client-side CRL file [00:47:26.444](0.000s) ok 131 - does not connect with client-side CRL file: matches [00:47:26.463](0.020s) ok 132 - does not connect with client-side CRL directory [00:47:26.464](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() [00:47:26.477](0.014s) ok 134 - pg_stat_ssl view without client certificate: exit code 0 [00:47:26.478](0.000s) not ok 135 - pg_stat_ssl view without client certificate: no stderr [00:47:26.478](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. [00:47:26.478](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [00:47:26.478](0.000s) ok 136 - pg_stat_ssl view without client certificate: matches [00:47:26.491](0.013s) ok 137 - connection success with correct range of TLS protocol versions [00:47:26.492](0.000s) ok 138 - connection success with correct range of TLS protocol versions: no stderr [00:47:26.497](0.006s) ok 139 - connection failure with incorrect range of TLS protocol versions [00:47:26.498](0.000s) ok 140 - connection failure with incorrect range of TLS protocol versions: matches [00:47:26.503](0.006s) ok 141 - connection failure with an incorrect SSL protocol minimum bound [00:47:26.503](0.000s) ok 142 - connection failure with an incorrect SSL protocol minimum bound: matches [00:47:26.510](0.006s) ok 143 - connection failure with an incorrect SSL protocol maximum bound [00:47:26.510](0.000s) ok 144 - connection failure with an incorrect SSL protocol maximum bound: matches [00:47:26.510](0.000s) # running server tests [00:47:26.522](0.012s) ok 145 - certificate authorization fails without client cert [00:47:26.522](0.000s) ok 146 - certificate authorization fails without client cert: matches [00:47:26.540](0.018s) ok 147 - certificate authorization succeeds with correct client cert in PEM format [00:47:26.540](0.000s) ok 148 - certificate authorization succeeds with correct client cert in PEM format: no stderr [00:47:26.556](0.016s) ok 149 - certificate authorization succeeds with correct client cert in DER format [00:47:26.556](0.000s) ok 150 - certificate authorization succeeds with correct client cert in DER format: no stderr [00:47:26.577](0.021s) ok 151 - certificate authorization succeeds with correct client cert in encrypted PEM format [00:47:26.578](0.000s) ok 152 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [00:47:26.593](0.015s) ok 153 - certificate authorization succeeds with correct client cert in encrypted DER format [00:47:26.593](0.000s) ok 154 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [00:47:26.607](0.015s) ok 155 - certificate authorization succeeds with correct client cert and sslcertmode=require [00:47:26.608](0.000s) ok 156 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [00:47:26.623](0.015s) ok 157 - certificate authorization succeeds with correct client cert and sslcertmode=allow [00:47:26.623](0.000s) ok 158 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [00:47:26.635](0.012s) ok 159 - certificate authorization fails with correct client cert and sslcertmode=disable [00:47:26.635](0.000s) ok 160 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [00:47:26.645](0.010s) ok 161 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [00:47:26.645](0.000s) ok 162 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [00:47:26.665](0.020s) ok 163 - certificate authorization succeeds with DN mapping [00:47:26.665](0.000s) ok 164 - certificate authorization succeeds with DN mapping: no stderr [00:47:26.666](0.000s) ok 165 - certificate authorization succeeds with DN mapping: log matches [00:47:26.692](0.027s) ok 166 - certificate authorization succeeds with DN regex mapping [00:47:26.693](0.000s) ok 167 - certificate authorization succeeds with DN regex mapping: no stderr [00:47:26.712](0.019s) ok 168 - certificate authorization succeeds with CN mapping [00:47:26.712](0.000s) ok 169 - certificate authorization succeeds with CN mapping: no stderr [00:47:26.712](0.000s) ok 170 - certificate authorization succeeds with CN mapping: log matches [00:47:26.713](0.000s) not ok 171 # TODO & SKIP Need Pty support [00:47:26.713](0.000s) not ok 172 # TODO & SKIP Need Pty support [00:47:26.713](0.000s) not ok 173 # TODO & SKIP Need Pty support [00:47:26.713](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_cled/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [00:47:26.750](0.037s) ok 175 - pg_stat_ssl with client certificate: exit code 0 [00:47:26.750](0.001s) not ok 176 - pg_stat_ssl with client certificate: no stderr [00:47:26.751](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. [00:47:26.751](0.000s) # got: 'WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree # ' # expected: '' [00:47:26.751](0.000s) ok 177 - pg_stat_ssl with client certificate: matches [00:47:26.760](0.009s) ok 178 - certificate authorization fails because of file permissions [00:47:26.760](0.000s) ok 179 - certificate authorization fails because of file permissions: matches [00:47:26.773](0.013s) ok 180 - certificate authorization fails with client cert belonging to another user [00:47:26.774](0.000s) ok 181 - certificate authorization fails with client cert belonging to another user: matches [00:47:26.868](0.094s) ok 182 - certificate authorization fails with revoked client cert [00:47:26.868](0.000s) ok 183 - certificate authorization fails with revoked client cert: matches [00:47:26.868](0.000s) ok 184 - certificate authorization fails with revoked client cert: log does not match [00:47:26.888](0.019s) ok 185 - auth_option clientcert=verify-full succeeds with matching username and Common Name [00:47:26.888](0.000s) ok 186 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [00:47:26.888](0.000s) ok 187 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [00:47:26.903](0.014s) ok 188 - auth_option clientcert=verify-full fails with mismatching username and Common Name [00:47:26.903](0.000s) ok 189 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [00:47:26.903](0.000s) ok 190 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [00:47:26.920](0.016s) ok 191 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [00:47:26.920](0.000s) ok 192 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [00:47:26.920](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 29958 [00:47:27.146](0.226s) ok 194 - intermediate client certificate is provided by client [00:47:27.146](0.000s) ok 195 - intermediate client certificate is provided by client: no stderr [00:47:27.160](0.015s) ok 196 - intermediate client certificate is missing [00:47:27.161](0.000s) ok 197 - intermediate client certificate is missing: matches [00:47:27.175](0.014s) ok 198 - logged client certificate Subjects are truncated if they're too long [00:47:27.175](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 29998 [00:47:27.394](0.219s) ok 200 - intermediate client certificate is untrusted [00:47:27.394](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 30030 [00:47:27.614](0.220s) ok 202 - certificate authorization fails with revoked client cert with server-side CRL directory [00:47:27.614](0.000s) ok 203 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [00:47:27.627](0.012s) ok 204 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [00:47:27.627](0.000s) ok 205 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory: matches [00:47:27.627](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" [00:47:27.731](0.104s) # Looks like you failed 2 tests of 205.