[19:08:23.283](0.182s) # setting up data directory # Checking port 56519 # Found port 56519 Name: primary Data directory: C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/backup Archive directory: C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/archives Connection string: port=56519 host=C:/Windows/TEMP/HCOMee0tVm Log file: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log [19:08:23.380](0.097s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 3324 [19:08:25.917](2.537s) ok 1 - ssl_library parameter ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 4332 [19:08:31.426](5.509s) # testing password-protected keys ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log # No postmaster PID for node "primary" [19:08:31.683](0.257s) ok 2 - restart fails with password-protected key file with wrong password ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log restart pg_ctl: PID file "C:/cirrus/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 5240 [19:08:31.945](0.263s) ok 3 - restart succeeds with password-protected key file ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log # No postmaster PID for node "primary" [19:08:32.298](0.353s) ok 4 - restart fails with incorrect SSL protocol bounds ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log restart pg_ctl: PID file "C:/cirrus/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 8168 [19:08:32.556](0.258s) ok 5 - restart succeeds with correct SSL protocol bounds [19:08:32.556](0.000s) # running client tests ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 3116 [19:08:32.990](0.434s) ok 6 - server doesn't accept non-SSL connections [19:08:32.991](0.001s) ok 7 - server doesn't accept non-SSL connections: matches [19:08:33.134](0.143s) ok 8 - connect without server root cert sslmode=require [19:08:33.134](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [19:08:33.244](0.110s) ok 10 - connect without server root cert sslmode=verify-ca [19:08:33.244](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [19:08:33.446](0.202s) ok 12 - connect without server root cert sslmode=verify-full [19:08:33.447](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [19:08:33.617](0.170s) ok 14 - connect with wrong server root cert sslmode=require [19:08:33.617](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [19:08:33.743](0.126s) ok 16 - connect with wrong server root cert sslmode=verify-ca [19:08:33.744](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [19:08:33.849](0.105s) ok 18 - connect with wrong server root cert sslmode=verify-full [19:08:33.849](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [19:08:33.959](0.110s) ok 20 - connect with server CA cert, without root CA [19:08:33.959](0.000s) ok 21 - connect with server CA cert, without root CA: matches [19:08:34.073](0.113s) ok 22 - connect with correct server CA cert file sslmode=require [19:08:34.073](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [19:08:34.150](0.077s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [19:08:34.152](0.002s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [19:08:34.240](0.088s) ok 26 - connect with correct server CA cert file sslmode=verify-full [19:08:34.240](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [19:08:34.306](0.065s) ok 28 - cert root file that contains two certificates, order 1 [19:08:34.306](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [19:08:34.384](0.078s) ok 30 - cert root file that contains two certificates, order 2 [19:08:34.384](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [19:08:34.554](0.170s) ok 32 - connect with sslcertmode=disable [19:08:34.554](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [19:08:34.711](0.156s) ok 34 - connect with sslcertmode=allow [19:08:34.711](0.001s) ok 35 - connect with sslcertmode=allow: no stderr [19:08:34.916](0.205s) ok 36 - connect with sslcertmode=require fails without a client certificate [19:08:34.917](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [19:08:35.073](0.156s) ok 38 - sslcrl option with invalid file name [19:08:35.073](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [19:08:35.232](0.158s) ok 40 - CRL belonging to a different CA [19:08:35.232](0.000s) ok 41 - CRL belonging to a different CA: matches [19:08:35.307](0.075s) ok 42 - directory CRL belonging to a different CA [19:08:35.307](0.000s) ok 43 - directory CRL belonging to a different CA: matches [19:08:35.387](0.081s) ok 44 - CRL with a non-revoked cert [19:08:35.388](0.001s) ok 45 - CRL with a non-revoked cert: no stderr [19:08:35.496](0.107s) ok 46 - directory CRL with a non-revoked cert [19:08:35.496](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [19:08:35.561](0.066s) ok 48 - mismatch between host name and server certificate sslmode=require [19:08:35.562](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [19:08:35.669](0.107s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [19:08:35.669](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [19:08:35.777](0.108s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [19:08:35.777](0.000s) ok 53 - mismatch between host name and server certificate sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 7984 [19:08:36.122](0.345s) ok 54 - IP address in the Common Name [19:08:36.123](0.000s) ok 55 - IP address in the Common Name: no stderr [19:08:36.228](0.106s) ok 56 - mismatch between host name and server certificate IP address [19:08:36.229](0.001s) ok 57 - mismatch between host name and server certificate IP address: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 8060 [19:08:36.572](0.343s) ok 58 - IP address in a dNSName [19:08:36.572](0.000s) ok 59 - IP address in a dNSName: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 5116 [19:08:36.922](0.350s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [19:08:36.922](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [19:08:36.986](0.064s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [19:08:36.987](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [19:08:37.094](0.107s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [19:08:37.094](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [19:08:37.157](0.063s) ok 66 - host name not matching with X.509 Subject Alternative Names [19:08:37.157](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [19:08:37.219](0.062s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [19:08:37.220](0.001s) ok 69 - host name not matching with X.509 Subject Alternative Names wildcard: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 6952 [19:08:37.564](0.344s) ok 70 - host name matching with a single X.509 Subject Alternative Name [19:08:37.564](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [19:08:37.626](0.062s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [19:08:37.627](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [19:08:37.689](0.062s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [19:08:37.689](0.000s) ok 75 - host name not matching with a single X.509 Subject Alternative Name wildcard: matches [19:08:37.719](0.029s) ok 76 # skip IPv6 addresses in certificates not support on this platform ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 4276 [19:08:38.080](0.361s) ok 77 - certificate with both a CN and SANs 1 [19:08:38.080](0.000s) ok 78 - certificate with both a CN and SANs 1: no stderr [19:08:38.142](0.062s) ok 79 - certificate with both a CN and SANs 2 [19:08:38.142](0.000s) ok 80 - certificate with both a CN and SANs 2: no stderr [19:08:38.204](0.062s) ok 81 - certificate with both a CN and SANs ignores CN [19:08:38.204](0.000s) ok 82 - certificate with both a CN and SANs ignores CN: matches [19:08:38.235](0.031s) ok 83 # skip IPv6 addresses in certificates not support on this platform ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 6760 [19:08:38.595](0.360s) ok 84 - certificate with both an IP CN and DNS SANs matches CN [19:08:38.595](0.000s) ok 85 - certificate with both an IP CN and DNS SANs matches CN: no stderr [19:08:38.657](0.062s) ok 86 - certificate with both an IP CN and DNS SANs matches SAN 1 [19:08:38.658](0.000s) ok 87 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [19:08:38.720](0.063s) ok 88 - certificate with both an IP CN and DNS SANs matches SAN 2 [19:08:38.720](0.000s) ok 89 - certificate with both an IP CN and DNS SANs matches SAN 2: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 2744 [19:08:39.064](0.344s) ok 90 - server certificate without CN or SANs sslmode=verify-ca [19:08:39.064](0.000s) ok 91 - server certificate without CN or SANs sslmode=verify-ca: no stderr [19:08:39.126](0.062s) ok 92 - server certificate without CN or SANs sslmode=verify-full [19:08:39.127](0.000s) ok 93 - server certificate without CN or SANs sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 904 [19:08:39.424](0.297s) ok 94 - sslrootcert=system does not connect with private CA [19:08:39.424](0.000s) ok 95 - sslrootcert=system does not connect with private CA: matches [19:08:39.486](0.062s) ok 96 - sslrootcert=system only accepts sslmode=verify-full [19:08:39.486](0.000s) ok 97 - sslrootcert=system only accepts sslmode=verify-full: matches [19:08:39.596](0.109s) ok 98 - sslrootcert=system connects with overridden SSL_CERT_FILE [19:08:39.596](0.000s) ok 99 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [19:08:39.658](0.062s) ok 100 - sslrootcert=system defaults to sslmode=verify-full [19:08:39.658](0.000s) ok 101 - sslrootcert=system defaults to sslmode=verify-full: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 4324 [19:08:40.002](0.344s) ok 102 - connects without client-side CRL [19:08:40.002](0.001s) ok 103 - connects without client-side CRL: no stderr [19:08:40.064](0.062s) ok 104 - does not connect with client-side CRL file [19:08:40.064](0.000s) ok 105 - does not connect with client-side CRL file: matches [19:08:40.126](0.062s) ok 106 - does not connect with client-side CRL directory [19:08:40.127](0.000s) ok 107 - 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() [19:08:40.189](0.062s) ok 108 - pg_stat_ssl view without client certificate: exit code 0 [19:08:40.190](0.000s) ok 109 - pg_stat_ssl view without client certificate: no stderr [19:08:40.190](0.000s) ok 110 - pg_stat_ssl view without client certificate: matches [19:08:40.264](0.074s) ok 111 - connection success with correct range of TLS protocol versions [19:08:40.264](0.000s) ok 112 - connection success with correct range of TLS protocol versions: no stderr [19:08:40.317](0.052s) ok 113 - connection failure with incorrect range of TLS protocol versions [19:08:40.317](0.001s) ok 114 - connection failure with incorrect range of TLS protocol versions: matches [19:08:40.348](0.031s) ok 115 - connection failure with an incorrect SSL protocol minimum bound [19:08:40.349](0.001s) ok 116 - connection failure with an incorrect SSL protocol minimum bound: matches [19:08:40.379](0.031s) ok 117 - connection failure with an incorrect SSL protocol maximum bound [19:08:40.379](0.000s) ok 118 - connection failure with an incorrect SSL protocol maximum bound: matches [19:08:40.380](0.000s) # running server tests [19:08:40.443](0.063s) ok 119 - certificate authorization fails without client cert [19:08:40.443](0.000s) ok 120 - certificate authorization fails without client cert: matches [19:08:40.551](0.108s) ok 121 - certificate authorization succeeds with correct client cert in PEM format [19:08:40.551](0.000s) ok 122 - certificate authorization succeeds with correct client cert in PEM format: no stderr [19:08:40.613](0.062s) ok 123 - certificate authorization succeeds with correct client cert in DER format [19:08:40.613](0.000s) ok 124 - certificate authorization succeeds with correct client cert in DER format: no stderr [19:08:40.678](0.065s) ok 125 - certificate authorization succeeds with correct client cert in encrypted PEM format [19:08:40.678](0.000s) ok 126 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [19:08:40.739](0.060s) ok 127 - certificate authorization succeeds with correct client cert in encrypted DER format [19:08:40.739](0.000s) ok 128 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [19:08:40.801](0.062s) ok 129 - certificate authorization succeeds with correct client cert and sslcertmode=require [19:08:40.802](0.000s) ok 130 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [19:08:40.864](0.062s) ok 131 - certificate authorization succeeds with correct client cert and sslcertmode=allow [19:08:40.864](0.000s) ok 132 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [19:08:40.926](0.062s) ok 133 - certificate authorization fails with correct client cert and sslcertmode=disable [19:08:40.926](0.000s) ok 134 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [19:08:40.989](0.063s) ok 135 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [19:08:40.989](0.000s) ok 136 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [19:08:41.098](0.109s) ok 137 - certificate authorization succeeds with DN mapping [19:08:41.098](0.000s) ok 138 - certificate authorization succeeds with DN mapping: no stderr [19:08:41.099](0.001s) ok 139 - certificate authorization succeeds with DN mapping: log matches [19:08:41.208](0.109s) ok 140 - certificate authorization succeeds with DN regex mapping [19:08:41.208](0.000s) ok 141 - certificate authorization succeeds with DN regex mapping: no stderr [19:08:41.318](0.110s) ok 142 - certificate authorization succeeds with CN mapping [19:08:41.318](0.000s) ok 143 - certificate authorization succeeds with CN mapping: no stderr [19:08:41.319](0.001s) ok 144 - certificate authorization succeeds with CN mapping: log matches [19:08:41.319](0.000s) not ok 145 # TODO & SKIP Need Pty support [19:08:41.319](0.000s) not ok 146 # TODO & SKIP Need Pty support [19:08:41.319](0.000s) not ok 147 # TODO & SKIP Need Pty support [19:08:41.319](0.000s) not ok 148 # TODO & SKIP Need Pty support 'C:\Program' is not recognized as an internal or external command, operable program or batch file. couldn't run "C:\Program Files\Git\usr\bin\openssl.EXE x509" to get client cert serialno at C:/cirrus/src/test/ssl/t/001_ssltests.pl line 726. # 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=C:/cirrus/build/testrun/ssl/001_ssltests/data/tmp_test_1pzF/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [19:08:41.424](0.105s) ok 149 - pg_stat_ssl with client certificate: exit code 0 [19:08:41.425](0.001s) ok 150 - pg_stat_ssl with client certificate: no stderr [19:08:41.425](0.000s) ok 151 - pg_stat_ssl with client certificate: matches [19:08:41.426](0.000s) ok 152 # skip Permissions check not enforced on Windows [19:08:41.426](0.000s) ok 153 # skip Permissions check not enforced on Windows [19:08:41.536](0.110s) ok 154 - certificate authorization fails with client cert belonging to another user [19:08:41.536](0.001s) ok 155 - certificate authorization fails with client cert belonging to another user: matches [19:08:41.614](0.078s) ok 156 - certificate authorization fails with revoked client cert [19:08:41.615](0.000s) ok 157 - certificate authorization fails with revoked client cert: matches [19:08:41.615](0.000s) ok 158 - certificate authorization fails with revoked client cert: log does not match [19:08:41.725](0.110s) ok 159 - auth_option clientcert=verify-full succeeds with matching username and Common Name [19:08:41.725](0.000s) ok 160 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [19:08:41.726](0.001s) ok 161 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [19:08:41.786](0.061s) ok 162 - auth_option clientcert=verify-full fails with mismatching username and Common Name [19:08:41.787](0.000s) ok 163 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [19:08:41.787](0.000s) ok 164 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [19:08:41.850](0.063s) ok 165 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [19:08:41.850](0.000s) ok 166 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [19:08:41.851](0.000s) ok 167 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: log matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 7140 [19:08:42.193](0.343s) ok 168 - intermediate client certificate is provided by client [19:08:42.194](0.000s) ok 169 - intermediate client certificate is provided by client: no stderr [19:08:42.255](0.062s) ok 170 - intermediate client certificate is missing [19:08:42.256](0.000s) ok 171 - intermediate client certificate is missing: matches [19:08:42.317](0.062s) ok 172 - logged client certificate Subjects are truncated if they're too long [19:08:42.318](0.000s) ok 173 - logged client certificate Subjects are truncated if they're too long: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 5380 [19:08:42.617](0.299s) ok 174 - intermediate client certificate is untrusted [19:08:42.617](0.000s) ok 175 - intermediate client certificate is untrusted: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 988 [19:08:42.913](0.296s) ok 176 - certificate authorization fails with revoked client cert with server-side CRL directory [19:08:42.914](0.000s) ok 177 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [19:08:42.976](0.063s) ok 178 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [19:08:42.977](0.000s) ok 179 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory: matches ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 5116 [19:08:43.273](0.296s) not ok 180 - connect with valid stapled ocsp response when sslocspstapling=1 [19:08:43.273](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1' # at C:/cirrus/src/test/ssl/t/001_ssltests.pl line 923. [19:08:43.273](0.000s) # got: '2' # expected: '0' [19:08:43.273](0.000s) not ok 181 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [19:08:43.274](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1: no stderr' # at C:/cirrus/src/test/ssl/t/001_ssltests.pl line 923. [19:08:43.274](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56519 failed: server closed the connection unexpectedly # This probably means the server terminated abnormally # before or while processing the request. # SSL SYSCALL error: Connection reset by peer (0x00002746/10054)' # expected: '' [19:08:43.384](0.110s) ok 182 - connect without requesting ocsp response when sslocspstapling=0 [19:08:43.384](0.000s) ok 183 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 7548 [19:08:43.680](0.296s) ok 184 - failed with a revoked ocsp response when sslocspstapling=1 [19:08:43.789](0.109s) ok 185 - connect without requesting ocsp response when sslocspstapling=0 [19:08:43.790](0.000s) ok 186 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 6904 [19:08:44.086](0.297s) ok 187 - failed with a revoked ocsp response when sslocspstapling=1 [19:08:44.196](0.110s) ok 188 - connect without requesting ocsp response when sslocspstapling=0 [19:08:44.197](0.000s) ok 189 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 1628 [19:08:44.493](0.296s) ok 190 - failed with an expired ocsp response when sslocspstapling=1 [19:08:44.602](0.110s) ok 191 - connect without requesting ocsp response when sslocspstapling=0 [19:08:44.603](0.001s) ok 192 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 5456 [19:08:44.899](0.296s) not ok 193 - connect with valid stapled ocsp response when sslocspstapling=1 [19:08:44.899](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1' # at C:/cirrus/src/test/ssl/t/001_ssltests.pl line 1001. [19:08:44.899](0.000s) # got: '2' # expected: '0' [19:08:44.899](0.000s) not ok 194 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [19:08:44.899](0.000s) # Failed test 'connect with valid stapled ocsp response when sslocspstapling=1: no stderr' # at C:/cirrus/src/test/ssl/t/001_ssltests.pl line 1001. [19:08:44.899](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56519 failed: server closed the connection unexpectedly # This probably means the server terminated abnormally # before or while processing the request. # SSL SYSCALL error: Connection reset by peer (0x00002746/10054)' # expected: '' [19:08:45.010](0.110s) ok 195 - connect without requesting ocsp response when sslocspstapling=0 [19:08:45.010](0.000s) ok 196 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 6844 [19:08:45.307](0.297s) ok 197 - failed with a revoked ocsp response when sslocspstapling=1 [19:08:45.416](0.110s) ok 198 - connect without requesting ocsp response when sslocspstapling=0 [19:08:45.417](0.000s) ok 199 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 5420 [19:08:45.717](0.300s) ok 200 - failed with a revoked ocsp response when sslocspstapling=1 [19:08:45.827](0.110s) ok 201 - connect without requesting ocsp response when sslocspstapling=0 [19:08:45.827](0.000s) ok 202 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 2812 [19:08:46.123](0.297s) ok 203 - failed with an expired ocsp response when sslocspstapling=1 [19:08:46.233](0.109s) ok 204 - connect without requesting ocsp response when sslocspstapling=0 [19:08:46.233](0.000s) ok 205 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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 1320 [19:08:46.529](0.296s) ok 206 - failed with an expired ocsp response when sslocspstapling=1 [19:08:46.640](0.111s) ok 207 - connect without requesting ocsp response when sslocspstapling=0 [19:08:46.640](0.000s) ok 208 - connect without requesting ocsp response when sslocspstapling=0: no stderr ### Restarting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/ssl/001_ssltests\data/t_001_ssltests_primary_data/pgdata -l C:\cirrus\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: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log # No postmaster PID for node "primary" [19:08:46.875](0.235s) Bail out! pg_ctl restart failed # No postmaster PID for node "primary"