[14:45:43.515](0.026s) # setting up data directory # Checking port 56932 # Found port 56932 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=56932 host=/tmp/nrk22kFEiR Log file: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log [14:45:43.524](0.008s) # 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 38628 [14:45:43.725](0.201s) 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 38879 [14:45:44.301](0.577s) # 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; see logfile for details: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log # No postmaster PID for node "primary" [14:45:44.511](0.209s) 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 39050 [14:45:44.619](0.109s) 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; see logfile for details: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log # No postmaster PID for node "primary" [14:45:44.830](0.211s) 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 39155 [14:45:44.941](0.111s) ok 5 - restart succeeds with correct SSL protocol bounds [14:45:44.941](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 39223 [14:45:45.158](0.216s) ok 6 - server doesn't accept non-SSL connections [14:45:45.158](0.001s) ok 7 - server doesn't accept non-SSL connections: matches [14:45:45.175](0.016s) ok 8 - connect without server root cert sslmode=require [14:45:45.175](0.001s) ok 9 - connect without server root cert sslmode=require: no stderr [14:45:45.185](0.009s) ok 10 - connect without server root cert sslmode=verify-ca [14:45:45.185](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [14:45:45.193](0.008s) ok 12 - connect without server root cert sslmode=verify-full [14:45:45.193](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [14:45:45.203](0.010s) ok 14 - connect with wrong server root cert sslmode=require [14:45:45.204](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [14:45:45.213](0.010s) ok 16 - connect with wrong server root cert sslmode=verify-ca [14:45:45.213](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [14:45:45.223](0.010s) ok 18 - connect with wrong server root cert sslmode=verify-full [14:45:45.223](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [14:45:45.233](0.010s) ok 20 - connect with server CA cert, without root CA [14:45:45.234](0.000s) ok 21 - connect with server CA cert, without root CA: matches [14:45:45.245](0.011s) ok 22 - connect with correct server CA cert file sslmode=require [14:45:45.245](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [14:45:45.256](0.011s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [14:45:45.257](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [14:45:45.268](0.011s) ok 26 - connect with correct server CA cert file sslmode=verify-full [14:45:45.268](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [14:45:45.282](0.013s) ok 28 - cert root file that contains two certificates, order 1 [14:45:45.282](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [14:45:45.293](0.012s) ok 30 - cert root file that contains two certificates, order 2 [14:45:45.294](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [14:45:45.305](0.012s) ok 32 - connect with sslcertmode=disable [14:45:45.306](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [14:45:45.317](0.012s) ok 34 - connect with sslcertmode=allow [14:45:45.318](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [14:45:45.329](0.011s) ok 36 - connect with sslcertmode=require fails without a client certificate [14:45:45.329](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [14:45:45.340](0.011s) ok 38 - sslcrl option with invalid file name [14:45:45.340](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [14:45:45.350](0.009s) ok 40 - CRL belonging to a different CA [14:45:45.350](0.000s) ok 41 - CRL belonging to a different CA: matches [14:45:45.359](0.009s) ok 42 - directory CRL belonging to a different CA [14:45:45.360](0.000s) ok 43 - directory CRL belonging to a different CA: matches [14:45:45.370](0.011s) ok 44 - CRL with a non-revoked cert [14:45:45.370](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [14:45:45.381](0.011s) ok 46 - directory CRL with a non-revoked cert [14:45:45.382](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [14:45:45.392](0.011s) ok 48 - mismatch between host name and server certificate sslmode=require [14:45:45.392](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [14:45:45.403](0.011s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [14:45:45.403](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [14:45:45.413](0.009s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [14:45:45.413](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 39322 [14:45:45.634](0.221s) ok 54 - IP address in the Common Name [14:45:45.634](0.000s) ok 55 - IP address in the Common Name: no stderr [14:45:45.643](0.009s) ok 56 - mismatch between host name and server certificate IP address [14:45:45.644](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 39352 [14:45:45.875](0.232s) ok 58 - IP address in a dNSName [14:45:45.876](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 39381 [14:45:46.107](0.232s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [14:45:46.107](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [14:45:46.121](0.013s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [14:45:46.121](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [14:45:46.134](0.013s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [14:45:46.134](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [14:45:46.145](0.011s) ok 66 - host name not matching with X.509 Subject Alternative Names [14:45:46.145](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [14:45:46.155](0.010s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [14:45:46.155](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 39419 [14:45:46.382](0.227s) ok 70 - host name matching with a single X.509 Subject Alternative Name [14:45:46.382](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [14:45:46.394](0.012s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [14:45:46.394](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [14:45:46.404](0.010s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [14:45:46.404](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 39447 [14:45:46.629](0.225s) ok 76 - host matching an IPv4 address (Subject Alternative Name 1) [14:45:46.629](0.000s) ok 77 - host matching an IPv4 address (Subject Alternative Name 1): no stderr [14:45:46.641](0.012s) ok 78 - host matching an IPv4 address in alternate form (Subject Alternative Name 1) [14:45:46.641](0.000s) ok 79 - host matching an IPv4 address in alternate form (Subject Alternative Name 1): no stderr [14:45:46.651](0.010s) ok 80 - host not matching an IPv4 address (Subject Alternative Name 1) [14:45:46.651](0.000s) ok 81 - host not matching an IPv4 address (Subject Alternative Name 1): matches [14:45:46.662](0.011s) ok 82 - host matching an IPv6 address (Subject Alternative Name 2) [14:45:46.662](0.000s) ok 83 - host matching an IPv6 address (Subject Alternative Name 2): no stderr [14:45:46.673](0.010s) ok 84 - host matching an IPv6 address in alternate form (Subject Alternative Name 2) [14:45:46.673](0.000s) ok 85 - host matching an IPv6 address in alternate form (Subject Alternative Name 2): no stderr [14:45:46.683](0.011s) ok 86 - host matching an IPv6 address in mixed form (Subject Alternative Name 2) [14:45:46.684](0.000s) ok 87 - host matching an IPv6 address in mixed form (Subject Alternative Name 2): no stderr [14:45:46.693](0.009s) ok 88 - host not matching an IPv6 address (Subject Alternative Name 2) [14:45:46.693](0.000s) ok 89 - host not matching an IPv6 address (Subject Alternative Name 2): matches [14:45:46.703](0.011s) ok 90 - IPv6 host with CIDR mask does not match [14:45:46.704](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 39481 [14:45:46.933](0.230s) ok 92 - certificate with both a CN and SANs 1 [14:45:46.934](0.000s) ok 93 - certificate with both a CN and SANs 1: no stderr [14:45:46.947](0.013s) ok 94 - certificate with both a CN and SANs 2 [14:45:46.948](0.000s) ok 95 - certificate with both a CN and SANs 2: no stderr [14:45:46.960](0.012s) ok 96 - certificate with both a CN and SANs ignores CN [14:45:46.960](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 39513 [14:45:47.188](0.228s) ok 98 - certificate with both a CN and IP SANs matches CN [14:45:47.188](0.000s) ok 99 - certificate with both a CN and IP SANs matches CN: no stderr [14:45:47.199](0.011s) ok 100 - certificate with both a CN and IP SANs matches SAN 1 [14:45:47.199](0.000s) ok 101 - certificate with both a CN and IP SANs matches SAN 1: no stderr [14:45:47.210](0.010s) ok 102 - certificate with both a CN and IP SANs matches SAN 2 [14:45:47.210](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 39537 [14:45:47.440](0.230s) ok 104 - certificate with both an IP CN and IP SANs 1 [14:45:47.440](0.000s) ok 105 - certificate with both an IP CN and IP SANs 1: no stderr [14:45:47.451](0.011s) ok 106 - certificate with both an IP CN and IP SANs 2 [14:45:47.451](0.000s) ok 107 - certificate with both an IP CN and IP SANs 2: no stderr [14:45:47.460](0.009s) ok 108 - certificate with both an IP CN and IP SANs ignores CN [14:45:47.460](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 39561 [14:45:47.690](0.230s) ok 110 - certificate with both an IP CN and DNS SANs matches CN [14:45:47.690](0.000s) ok 111 - certificate with both an IP CN and DNS SANs matches CN: no stderr [14:45:47.701](0.011s) ok 112 - certificate with both an IP CN and DNS SANs matches SAN 1 [14:45:47.701](0.000s) ok 113 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [14:45:47.711](0.010s) ok 114 - certificate with both an IP CN and DNS SANs matches SAN 2 [14:45:47.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 39585 [14:45:47.941](0.230s) ok 116 - server certificate without CN or SANs sslmode=verify-ca [14:45:47.941](0.000s) ok 117 - server certificate without CN or SANs sslmode=verify-ca: no stderr [14:45:47.951](0.009s) ok 118 - server certificate without CN or SANs sslmode=verify-full [14:45:47.951](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 39600 [14:45:48.173](0.222s) ok 120 - sslrootcert=system does not connect with private CA [14:45:48.173](0.000s) ok 121 - sslrootcert=system does not connect with private CA: matches [14:45:48.177](0.004s) ok 122 - sslrootcert=system only accepts sslmode=verify-full [14:45:48.177](0.000s) ok 123 - sslrootcert=system only accepts sslmode=verify-full: matches [14:45:48.191](0.014s) ok 124 - sslrootcert=system connects with overridden SSL_CERT_FILE [14:45:48.192](0.000s) ok 125 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [14:45:48.203](0.011s) ok 126 - sslrootcert=system defaults to sslmode=verify-full [14:45:48.203](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 39615 [14:45:48.432](0.229s) ok 128 - connects without client-side CRL [14:45:48.433](0.000s) ok 129 - connects without client-side CRL: no stderr [14:45:48.443](0.010s) ok 130 - does not connect with client-side CRL file [14:45:48.443](0.000s) ok 131 - does not connect with client-side CRL file: matches [14:45:48.453](0.009s) ok 132 - does not connect with client-side CRL directory [14:45:48.453](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:45:48.464](0.011s) ok 134 - pg_stat_ssl view without client certificate: exit code 0 [14:45:48.464](0.000s) ok 135 - pg_stat_ssl view without client certificate: no stderr [14:45:48.464](0.000s) ok 136 - pg_stat_ssl view without client certificate: matches [14:45:48.474](0.010s) ok 137 - connection success with correct range of TLS protocol versions [14:45:48.475](0.000s) ok 138 - connection success with correct range of TLS protocol versions: no stderr [14:45:48.479](0.004s) ok 139 - connection failure with incorrect range of TLS protocol versions [14:45:48.479](0.000s) ok 140 - connection failure with incorrect range of TLS protocol versions: matches [14:45:48.483](0.004s) ok 141 - connection failure with an incorrect SSL protocol minimum bound [14:45:48.484](0.000s) ok 142 - connection failure with an incorrect SSL protocol minimum bound: matches [14:45:48.488](0.004s) ok 143 - connection failure with an incorrect SSL protocol maximum bound [14:45:48.488](0.000s) ok 144 - connection failure with an incorrect SSL protocol maximum bound: matches [14:45:48.488](0.000s) # running server tests [14:45:48.498](0.010s) ok 145 - certificate authorization fails without client cert [14:45:48.498](0.000s) ok 146 - certificate authorization fails without client cert: matches [14:45:48.513](0.015s) ok 147 - certificate authorization succeeds with correct client cert in PEM format [14:45:48.513](0.000s) ok 148 - certificate authorization succeeds with correct client cert in PEM format: no stderr [14:45:48.525](0.012s) ok 149 - certificate authorization succeeds with correct client cert in DER format [14:45:48.525](0.000s) ok 150 - certificate authorization succeeds with correct client cert in DER format: no stderr [14:45:48.537](0.012s) ok 151 - certificate authorization succeeds with correct client cert in encrypted PEM format [14:45:48.538](0.000s) ok 152 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [14:45:48.550](0.012s) ok 153 - certificate authorization succeeds with correct client cert in encrypted DER format [14:45:48.550](0.000s) ok 154 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [14:45:48.562](0.012s) ok 155 - certificate authorization succeeds with correct client cert and sslcertmode=require [14:45:48.562](0.000s) ok 156 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [14:45:48.574](0.012s) ok 157 - certificate authorization succeeds with correct client cert and sslcertmode=allow [14:45:48.575](0.000s) ok 158 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [14:45:48.584](0.009s) ok 159 - certificate authorization fails with correct client cert and sslcertmode=disable [14:45:48.584](0.000s) ok 160 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [14:45:48.594](0.009s) ok 161 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [14:45:48.594](0.000s) ok 162 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [14:45:48.610](0.016s) ok 163 - certificate authorization succeeds with DN mapping [14:45:48.610](0.000s) ok 164 - certificate authorization succeeds with DN mapping: no stderr [14:45:48.611](0.000s) ok 165 - certificate authorization succeeds with DN mapping: log matches [14:45:48.628](0.018s) ok 166 - certificate authorization succeeds with DN regex mapping [14:45:48.629](0.000s) ok 167 - certificate authorization succeeds with DN regex mapping: no stderr [14:45:48.645](0.017s) ok 168 - certificate authorization succeeds with CN mapping [14:45:48.646](0.000s) ok 169 - certificate authorization succeeds with CN mapping: no stderr [14:45:48.646](0.000s) ok 170 - certificate authorization succeeds with CN mapping: log matches [14:45:48.646](0.000s) not ok 171 # TODO & SKIP Need Pty support [14:45:48.646](0.000s) not ok 172 # TODO & SKIP Need Pty support [14:45:48.646](0.000s) not ok 173 # TODO & SKIP Need Pty support [14:45:48.646](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_u8_v/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [14:45:48.675](0.029s) ok 175 - pg_stat_ssl with client certificate: exit code 0 [14:45:48.676](0.000s) ok 176 - pg_stat_ssl with client certificate: no stderr [14:45:48.676](0.000s) ok 177 - pg_stat_ssl with client certificate: matches [14:45:48.683](0.007s) ok 178 - certificate authorization fails because of file permissions [14:45:48.683](0.000s) ok 179 - certificate authorization fails because of file permissions: matches [14:45:48.695](0.011s) ok 180 - certificate authorization fails with client cert belonging to another user [14:45:48.695](0.000s) ok 181 - certificate authorization fails with client cert belonging to another user: matches [14:45:48.707](0.012s) ok 182 - certificate authorization fails with revoked client cert [14:45:48.707](0.000s) ok 183 - certificate authorization fails with revoked client cert: matches [14:45:48.708](0.000s) ok 184 - certificate authorization fails with revoked client cert: log does not match [14:45:48.724](0.017s) ok 185 - auth_option clientcert=verify-full succeeds with matching username and Common Name [14:45:48.724](0.000s) ok 186 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [14:45:48.725](0.000s) ok 187 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [14:45:48.736](0.012s) ok 188 - auth_option clientcert=verify-full fails with mismatching username and Common Name [14:45:48.737](0.000s) ok 189 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [14:45:48.737](0.000s) ok 190 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [14:45:48.749](0.013s) ok 191 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [14:45:48.749](0.000s) ok 192 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [14:45:48.750](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 39675 [14:45:48.981](0.231s) ok 194 - intermediate client certificate is provided by client [14:45:48.981](0.000s) ok 195 - intermediate client certificate is provided by client: no stderr [14:45:48.992](0.011s) ok 196 - intermediate client certificate is missing [14:45:48.992](0.000s) ok 197 - intermediate client certificate is missing: matches [14:45:49.003](0.010s) ok 198 - logged client certificate Subjects are truncated if they're too long [14:45:49.003](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 39689 [14:45:49.228](0.225s) ok 200 - intermediate client certificate is untrusted [14:45:49.228](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 39699 [14:45:49.456](0.227s) ok 202 - certificate authorization fails with revoked client cert with server-side CRL directory [14:45:49.456](0.000s) ok 203 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [14:45:49.467](0.011s) ok 204 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [14:45:49.467](0.000s) ok 205 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory: 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 39711 [14:45:49.687](0.220s) not ok 206 - connect with valid stapled ocsp response when sslocspstapling=1 [14:45:49.687](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 923. [14:45:49.687](0.000s) # got: '2' # expected: '0' [14:45:49.688](0.000s) not ok 207 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [14:45:49.688](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 923. [14:45:49.688](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56932 failed: SSL SYSCALL error: EOF detected' # expected: '' [14:45:49.702](0.014s) ok 208 - connect without requesting ocsp response when sslocspstapling=0 [14:45:49.702](0.000s) ok 209 - connect without requesting ocsp response when sslocspstapling=0: 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 39723 [14:45:49.927](0.224s) ok 210 - failed with a revoked ocsp response when sslocspstapling=1 [14:45:49.941](0.015s) ok 211 - connect without requesting ocsp response when sslocspstapling=0 [14:45:49.941](0.000s) ok 212 - connect without requesting ocsp response when sslocspstapling=0: 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 39735 [14:45:50.166](0.224s) ok 213 - failed with a revoked ocsp response when sslocspstapling=1 [14:45:50.180](0.015s) ok 214 - connect without requesting ocsp response when sslocspstapling=0 [14:45:50.181](0.000s) ok 215 - connect without requesting ocsp response when sslocspstapling=0: 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 39747 [14:45:50.405](0.224s) ok 216 - failed with an expired ocsp response when sslocspstapling=1 [14:45:50.419](0.014s) ok 217 - connect without requesting ocsp response when sslocspstapling=0 [14:45:50.419](0.000s) ok 218 - connect without requesting ocsp response when sslocspstapling=0: 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 39759 [14:45:50.640](0.221s) not ok 219 - connect with valid stapled ocsp response when sslocspstapling=1 [14:45:50.641](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 1001. [14:45:50.641](0.000s) # got: '2' # expected: '0' [14:45:50.641](0.000s) not ok 220 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [14:45:50.641](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/001_ssltests.pl line 1001. [14:45:50.641](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56932 failed: SSL SYSCALL error: EOF detected' # expected: '' [14:45:50.655](0.014s) ok 221 - connect without requesting ocsp response when sslocspstapling=0 [14:45:50.655](0.000s) ok 222 - connect without requesting ocsp response when sslocspstapling=0: 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 39771 [14:45:50.879](0.224s) ok 223 - failed with a revoked ocsp response when sslocspstapling=1 [14:45:50.894](0.015s) ok 224 - connect without requesting ocsp response when sslocspstapling=0 [14:45:50.894](0.000s) ok 225 - connect without requesting ocsp response when sslocspstapling=0: 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 39783 [14:45:51.119](0.225s) ok 226 - failed with a revoked ocsp response when sslocspstapling=1 [14:45:51.134](0.016s) ok 227 - connect without requesting ocsp response when sslocspstapling=0 [14:45:51.135](0.000s) ok 228 - connect without requesting ocsp response when sslocspstapling=0: 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 39795 [14:45:51.360](0.225s) ok 229 - failed with an expired ocsp response when sslocspstapling=1 [14:45:51.375](0.015s) ok 230 - connect without requesting ocsp response when sslocspstapling=0 [14:45:51.375](0.000s) ok 231 - connect without requesting ocsp response when sslocspstapling=0: 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 39807 [14:45:51.601](0.226s) ok 232 - failed with an expired ocsp response when sslocspstapling=1 [14:45:51.616](0.015s) ok 233 - connect without requesting ocsp response when sslocspstapling=0 [14:45:51.616](0.000s) ok 234 - connect without requesting ocsp response when sslocspstapling=0: 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.... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl restart failed; see logfile for details: /tmp/cirrus-ci-build/build/testrun/ssl/001_ssltests/log/001_ssltests_primary.log # No postmaster PID for node "primary" [14:45:51.832](0.215s) Bail out! pg_ctl restart failed # No postmaster PID for node "primary"