[21:18:33.221](0.366s) # setting up data directory # Checking port 52465 # Found port 52465 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=52465 host=C:/Windows/TEMP/JJDgmxbEOM Log file: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log [21:18:33.278](0.057s) # 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 5540 [21:18:35.686](2.408s) 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 6480 [21:18:41.135](5.449s) # 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" [21:18:41.521](0.386s) 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 3780 [21:18:41.932](0.411s) 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" [21:18:42.190](0.257s) 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 4724 [21:18:42.432](0.243s) ok 5 - restart succeeds with correct SSL protocol bounds [21:18:42.433](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 7724 [21:18:42.792](0.359s) ok 6 - server doesn't accept non-SSL connections [21:18:42.792](0.000s) ok 7 - server doesn't accept non-SSL connections: matches [21:18:43.011](0.219s) ok 8 - connect without server root cert sslmode=require [21:18:43.012](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [21:18:43.125](0.113s) ok 10 - connect without server root cert sslmode=verify-ca [21:18:43.125](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [21:18:43.259](0.134s) ok 12 - connect without server root cert sslmode=verify-full [21:18:43.260](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [21:18:43.356](0.097s) ok 14 - connect with wrong server root cert sslmode=require [21:18:43.357](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [21:18:43.428](0.072s) ok 16 - connect with wrong server root cert sslmode=verify-ca [21:18:43.429](0.001s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [21:18:43.543](0.114s) ok 18 - connect with wrong server root cert sslmode=verify-full [21:18:43.543](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [21:18:43.637](0.094s) ok 20 - connect with server CA cert, without root CA [21:18:43.637](0.000s) ok 21 - connect with server CA cert, without root CA: matches [21:18:43.716](0.079s) ok 22 - connect with correct server CA cert file sslmode=require [21:18:43.716](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [21:18:43.782](0.066s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [21:18:43.782](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [21:18:43.906](0.124s) ok 26 - connect with correct server CA cert file sslmode=verify-full [21:18:43.906](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [21:18:44.016](0.110s) ok 28 - cert root file that contains two certificates, order 1 [21:18:44.016](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [21:18:44.154](0.138s) ok 30 - cert root file that contains two certificates, order 2 [21:18:44.154](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [21:18:44.407](0.253s) ok 32 - connect with sslcertmode=disable [21:18:44.407](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [21:18:44.543](0.136s) ok 34 - connect with sslcertmode=allow [21:18:44.544](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [21:18:44.648](0.105s) ok 36 - connect with sslcertmode=require fails without a client certificate [21:18:44.648](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [21:18:44.763](0.115s) ok 38 - sslcrl option with invalid file name [21:18:44.763](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [21:18:45.152](0.389s) ok 40 - CRL belonging to a different CA [21:18:45.153](0.000s) ok 41 - CRL belonging to a different CA: matches [21:18:45.341](0.188s) ok 42 - directory CRL belonging to a different CA [21:18:45.341](0.000s) ok 43 - directory CRL belonging to a different CA: matches [21:18:45.460](0.118s) ok 44 - CRL with a non-revoked cert [21:18:45.460](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [21:18:45.589](0.129s) ok 46 - directory CRL with a non-revoked cert [21:18:45.590](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [21:18:45.683](0.094s) ok 48 - mismatch between host name and server certificate sslmode=require [21:18:45.683](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [21:18:45.791](0.108s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [21:18:45.792](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [21:18:45.907](0.115s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [21:18:45.908](0.001s) 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 8164 [21:18:46.250](0.342s) ok 54 - IP address in the Common Name [21:18:46.250](0.000s) ok 55 - IP address in the Common Name: no stderr [21:18:46.328](0.078s) ok 56 - mismatch between host name and server certificate IP address [21:18:46.329](0.000s) 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 4824 [21:18:46.674](0.345s) ok 58 - IP address in a dNSName [21:18:46.674](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 6412 [21:18:47.034](0.360s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [21:18:47.034](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [21:18:47.097](0.063s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [21:18:47.097](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [21:18:47.205](0.108s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [21:18:47.205](0.001s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [21:18:47.316](0.111s) ok 66 - host name not matching with X.509 Subject Alternative Names [21:18:47.317](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [21:18:47.439](0.122s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [21:18:47.439](0.000s) 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 7984 [21:18:47.816](0.376s) ok 70 - host name matching with a single X.509 Subject Alternative Name [21:18:47.816](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [21:18:47.879](0.063s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [21:18:47.879](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [21:18:47.987](0.108s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [21:18:47.987](0.000s) ok 75 - host name not matching with a single X.509 Subject Alternative Name wildcard: matches [21:18:48.017](0.030s) 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 6388 [21:18:48.364](0.347s) ok 77 - certificate with both a CN and SANs 1 [21:18:48.364](0.000s) ok 78 - certificate with both a CN and SANs 1: no stderr [21:18:48.475](0.111s) ok 79 - certificate with both a CN and SANs 2 [21:18:48.475](0.000s) ok 80 - certificate with both a CN and SANs 2: no stderr [21:18:48.553](0.078s) ok 81 - certificate with both a CN and SANs ignores CN [21:18:48.553](0.000s) ok 82 - certificate with both a CN and SANs ignores CN: matches [21:18:48.583](0.030s) 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 7308 [21:18:48.960](0.377s) ok 84 - certificate with both an IP CN and DNS SANs matches CN [21:18:48.960](0.000s) ok 85 - certificate with both an IP CN and DNS SANs matches CN: no stderr [21:18:49.023](0.062s) ok 86 - certificate with both an IP CN and DNS SANs matches SAN 1 [21:18:49.023](0.000s) ok 87 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [21:18:49.086](0.063s) ok 88 - certificate with both an IP CN and DNS SANs matches SAN 2 [21:18:49.087](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 6196 [21:18:49.430](0.343s) ok 90 - server certificate without CN or SANs sslmode=verify-ca [21:18:49.430](0.000s) ok 91 - server certificate without CN or SANs sslmode=verify-ca: no stderr [21:18:49.538](0.108s) ok 92 - server certificate without CN or SANs sslmode=verify-full [21:18:49.539](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 2332 [21:18:49.885](0.346s) ok 94 - sslrootcert=system does not connect with private CA [21:18:49.885](0.000s) ok 95 - sslrootcert=system does not connect with private CA: matches [21:18:49.945](0.060s) ok 96 - sslrootcert=system only accepts sslmode=verify-full [21:18:49.945](0.001s) ok 97 - sslrootcert=system only accepts sslmode=verify-full: matches [21:18:50.054](0.108s) ok 98 - sslrootcert=system connects with overridden SSL_CERT_FILE [21:18:50.054](0.000s) ok 99 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [21:18:50.117](0.063s) ok 100 - sslrootcert=system defaults to sslmode=verify-full [21:18:50.117](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 5428 [21:18:50.461](0.343s) ok 102 - connects without client-side CRL [21:18:50.461](0.000s) ok 103 - connects without client-side CRL: no stderr [21:18:50.570](0.109s) ok 104 - does not connect with client-side CRL file [21:18:50.570](0.000s) ok 105 - does not connect with client-side CRL file: matches [21:18:50.679](0.109s) ok 106 - does not connect with client-side CRL directory [21:18:50.680](0.001s) 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() [21:18:50.757](0.077s) ok 108 - pg_stat_ssl view without client certificate: exit code 0 [21:18:50.757](0.000s) ok 109 - pg_stat_ssl view without client certificate: no stderr [21:18:50.757](0.000s) ok 110 - pg_stat_ssl view without client certificate: matches [21:18:50.867](0.110s) ok 111 - connection success with correct range of TLS protocol versions [21:18:50.868](0.001s) ok 112 - connection success with correct range of TLS protocol versions: no stderr [21:18:50.914](0.046s) ok 113 - connection failure with incorrect range of TLS protocol versions [21:18:50.914](0.000s) ok 114 - connection failure with incorrect range of TLS protocol versions: matches [21:18:50.979](0.065s) ok 115 - connection failure with an incorrect SSL protocol minimum bound [21:18:50.980](0.001s) ok 116 - connection failure with an incorrect SSL protocol minimum bound: matches [21:18:51.048](0.068s) ok 117 - connection failure with an incorrect SSL protocol maximum bound [21:18:51.048](0.001s) ok 118 - connection failure with an incorrect SSL protocol maximum bound: matches [21:18:51.049](0.000s) # running server tests [21:18:51.116](0.067s) ok 119 - certificate authorization fails without client cert [21:18:51.117](0.000s) ok 120 - certificate authorization fails without client cert: matches [21:18:51.224](0.107s) ok 121 - certificate authorization succeeds with correct client cert in PEM format [21:18:51.224](0.000s) ok 122 - certificate authorization succeeds with correct client cert in PEM format: no stderr [21:18:51.288](0.064s) ok 123 - certificate authorization succeeds with correct client cert in DER format [21:18:51.288](0.000s) ok 124 - certificate authorization succeeds with correct client cert in DER format: no stderr [21:18:51.396](0.108s) ok 125 - certificate authorization succeeds with correct client cert in encrypted PEM format [21:18:51.396](0.000s) ok 126 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [21:18:51.507](0.110s) ok 127 - certificate authorization succeeds with correct client cert in encrypted DER format [21:18:51.507](0.000s) ok 128 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [21:18:51.616](0.109s) ok 129 - certificate authorization succeeds with correct client cert and sslcertmode=require [21:18:51.616](0.000s) ok 130 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [21:18:51.679](0.063s) ok 131 - certificate authorization succeeds with correct client cert and sslcertmode=allow [21:18:51.679](0.000s) ok 132 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [21:18:51.786](0.107s) ok 133 - certificate authorization fails with correct client cert and sslcertmode=disable [21:18:51.787](0.001s) ok 134 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [21:18:51.848](0.061s) ok 135 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [21:18:51.848](0.000s) ok 136 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [21:18:51.957](0.109s) ok 137 - certificate authorization succeeds with DN mapping [21:18:51.958](0.001s) ok 138 - certificate authorization succeeds with DN mapping: no stderr [21:18:51.959](0.001s) ok 139 - certificate authorization succeeds with DN mapping: log matches [21:18:52.066](0.108s) ok 140 - certificate authorization succeeds with DN regex mapping [21:18:52.067](0.000s) ok 141 - certificate authorization succeeds with DN regex mapping: no stderr [21:18:52.177](0.110s) ok 142 - certificate authorization succeeds with CN mapping [21:18:52.177](0.001s) ok 143 - certificate authorization succeeds with CN mapping: no stderr [21:18:52.178](0.001s) ok 144 - certificate authorization succeeds with CN mapping: log matches [21:18:52.179](0.001s) not ok 145 # TODO & SKIP Need Pty support [21:18:52.179](0.000s) not ok 146 # TODO & SKIP Need Pty support [21:18:52.179](0.000s) not ok 147 # TODO & SKIP Need Pty support [21:18:52.180](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_FNZG/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [21:18:52.252](0.072s) ok 149 - pg_stat_ssl with client certificate: exit code 0 [21:18:52.252](0.000s) ok 150 - pg_stat_ssl with client certificate: no stderr [21:18:52.252](0.000s) ok 151 - pg_stat_ssl with client certificate: matches [21:18:52.253](0.000s) ok 152 # skip Permissions check not enforced on Windows [21:18:52.253](0.000s) ok 153 # skip Permissions check not enforced on Windows [21:18:52.316](0.063s) ok 154 - certificate authorization fails with client cert belonging to another user [21:18:52.316](0.000s) ok 155 - certificate authorization fails with client cert belonging to another user: matches [21:18:52.426](0.109s) ok 156 - certificate authorization fails with revoked client cert [21:18:52.426](0.000s) ok 157 - certificate authorization fails with revoked client cert: matches [21:18:52.427](0.001s) ok 158 - certificate authorization fails with revoked client cert: log does not match [21:18:52.535](0.109s) ok 159 - auth_option clientcert=verify-full succeeds with matching username and Common Name [21:18:52.535](0.000s) ok 160 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [21:18:52.536](0.001s) ok 161 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [21:18:52.646](0.110s) ok 162 - auth_option clientcert=verify-full fails with mismatching username and Common Name [21:18:52.646](0.000s) ok 163 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [21:18:52.646](0.001s) ok 164 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [21:18:52.758](0.112s) ok 165 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [21:18:52.759](0.001s) ok 166 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [21:18:52.759](0.001s) 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 3880 [21:18:53.120](0.360s) ok 168 - intermediate client certificate is provided by client [21:18:53.120](0.001s) ok 169 - intermediate client certificate is provided by client: no stderr [21:18:53.182](0.062s) ok 170 - intermediate client certificate is missing [21:18:53.182](0.000s) ok 171 - intermediate client certificate is missing: matches [21:18:53.248](0.066s) ok 172 - logged client certificate Subjects are truncated if they're too long [21:18:53.249](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 5584 [21:18:53.590](0.341s) ok 174 - intermediate client certificate is untrusted [21:18:53.590](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 5420 [21:18:53.935](0.345s) ok 176 - certificate authorization fails with revoked client cert with server-side CRL directory [21:18:53.935](0.000s) ok 177 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [21:18:54.044](0.109s) ok 178 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [21:18:54.045](0.001s) 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 6272 [21:18:54.387](0.343s) not ok 180 - connect with valid stapled ocsp response when sslocspstapling=1 [21:18:54.388](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. [21:18:54.388](0.000s) # got: '2' # expected: '0' [21:18:54.388](0.000s) not ok 181 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [21:18:54.388](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. [21:18:54.388](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 52465 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: '' [21:18:54.497](0.109s) ok 182 - connect without requesting ocsp response when sslocspstapling=0 [21:18:54.498](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 2264 [21:18:54.793](0.296s) ok 184 - failed with a revoked ocsp response when sslocspstapling=1 [21:18:54.904](0.111s) ok 185 - connect without requesting ocsp response when sslocspstapling=0 [21:18:54.904](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 7676 [21:18:55.248](0.344s) ok 187 - failed with a revoked ocsp response when sslocspstapling=1 [21:18:55.358](0.110s) ok 188 - connect without requesting ocsp response when sslocspstapling=0 [21:18:55.358](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 4204 [21:18:55.656](0.298s) ok 190 - failed with an expired ocsp response when sslocspstapling=1 [21:18:55.766](0.110s) ok 191 - connect without requesting ocsp response when sslocspstapling=0 [21:18:55.766](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 7620 [21:18:56.062](0.295s) not ok 193 - connect with valid stapled ocsp response when sslocspstapling=1 [21:18:56.062](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. [21:18:56.062](0.000s) # got: '2' # expected: '0' [21:18:56.062](0.000s) not ok 194 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [21:18:56.062](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. [21:18:56.063](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 52465 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: '' [21:18:56.172](0.109s) ok 195 - connect without requesting ocsp response when sslocspstapling=0 [21:18:56.172](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 6392 [21:18:56.470](0.297s) ok 197 - failed with a revoked ocsp response when sslocspstapling=1 [21:18:56.578](0.109s) ok 198 - connect without requesting ocsp response when sslocspstapling=0 [21:18:56.579](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 1768 [21:18:56.923](0.344s) ok 200 - failed with a revoked ocsp response when sslocspstapling=1 [21:18:57.032](0.109s) ok 201 - connect without requesting ocsp response when sslocspstapling=0 [21:18:57.033](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 8016 [21:18:57.379](0.347s) ok 203 - failed with an expired ocsp response when sslocspstapling=1 [21:18:57.486](0.106s) ok 204 - connect without requesting ocsp response when sslocspstapling=0 [21:18:57.486](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 2336 [21:18:57.844](0.358s) ok 206 - failed with an expired ocsp response when sslocspstapling=1 [21:18:57.953](0.109s) ok 207 - connect without requesting ocsp response when sslocspstapling=0 [21:18:57.953](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" [21:18:58.191](0.238s) Bail out! pg_ctl restart failed # No postmaster PID for node "primary"