[11:36:37.967](0.189s) # setting up data directory # Checking port 56809 # Found port 56809 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=56809 host=C:/Windows/TEMP/donUg1Ko5j Log file: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log [11:36:38.091](0.124s) # 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 5744 [11:36:39.983](1.892s) 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 6060 [11:36:45.701](5.718s) # 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" [11:36:46.203](0.502s) 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 7652 [11:36:46.476](0.273s) 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" [11:36:46.940](0.464s) 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 5400 [11:36:47.311](0.371s) ok 5 - restart succeeds with correct SSL protocol bounds [11:36:47.311](0.001s) # 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 732 [11:36:47.830](0.519s) ok 6 - server doesn't accept non-SSL connections [11:36:47.830](0.000s) ok 7 - server doesn't accept non-SSL connections: matches [11:36:47.951](0.120s) ok 8 - connect without server root cert sslmode=require [11:36:47.951](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [11:36:48.158](0.208s) ok 10 - connect without server root cert sslmode=verify-ca [11:36:48.159](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [11:36:48.295](0.136s) ok 12 - connect without server root cert sslmode=verify-full [11:36:48.295](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [11:36:48.456](0.161s) ok 14 - connect with wrong server root cert sslmode=require [11:36:48.457](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [11:36:48.594](0.137s) ok 16 - connect with wrong server root cert sslmode=verify-ca [11:36:48.594](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [11:36:48.718](0.124s) ok 18 - connect with wrong server root cert sslmode=verify-full [11:36:48.719](0.001s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [11:36:48.943](0.224s) ok 20 - connect with server CA cert, without root CA [11:36:48.946](0.003s) ok 21 - connect with server CA cert, without root CA: matches [11:36:49.081](0.136s) ok 22 - connect with correct server CA cert file sslmode=require [11:36:49.081](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [11:36:49.193](0.111s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [11:36:49.193](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [11:36:49.438](0.245s) ok 26 - connect with correct server CA cert file sslmode=verify-full [11:36:49.438](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [11:36:49.522](0.083s) ok 28 - cert root file that contains two certificates, order 1 [11:36:49.522](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [11:36:49.607](0.085s) ok 30 - cert root file that contains two certificates, order 2 [11:36:49.607](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [11:36:49.713](0.106s) ok 32 - connect with sslcertmode=disable [11:36:49.713](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [11:36:49.775](0.062s) ok 34 - connect with sslcertmode=allow [11:36:49.776](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [11:36:49.884](0.108s) ok 36 - connect with sslcertmode=require fails without a client certificate [11:36:49.884](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [11:36:49.947](0.063s) ok 38 - sslcrl option with invalid file name [11:36:49.947](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [11:36:50.060](0.112s) ok 40 - CRL belonging to a different CA [11:36:50.060](0.000s) ok 41 - CRL belonging to a different CA: matches [11:36:50.146](0.086s) ok 42 - directory CRL belonging to a different CA [11:36:50.146](0.000s) ok 43 - directory CRL belonging to a different CA: matches [11:36:50.233](0.087s) ok 44 - CRL with a non-revoked cert [11:36:50.233](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [11:36:50.344](0.111s) ok 46 - directory CRL with a non-revoked cert [11:36:50.344](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [11:36:50.468](0.124s) ok 48 - mismatch between host name and server certificate sslmode=require [11:36:50.469](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [11:36:50.546](0.077s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [11:36:50.546](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [11:36:50.610](0.064s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [11:36:50.610](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 6024 [11:36:50.992](0.382s) ok 54 - IP address in the Common Name [11:36:50.992](0.000s) ok 55 - IP address in the Common Name: no stderr [11:36:51.054](0.062s) ok 56 - mismatch between host name and server certificate IP address [11:36:51.054](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 4348 [11:36:51.414](0.359s) ok 58 - IP address in a dNSName [11:36:51.414](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 4820 [11:36:51.757](0.344s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [11:36:51.758](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [11:36:51.820](0.062s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [11:36:51.820](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [11:36:51.882](0.062s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [11:36:51.882](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [11:36:51.945](0.063s) ok 66 - host name not matching with X.509 Subject Alternative Names [11:36:51.946](0.000s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [11:36:52.008](0.063s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [11:36:52.009](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 6096 [11:36:52.461](0.452s) ok 70 - host name matching with a single X.509 Subject Alternative Name [11:36:52.461](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [11:36:52.569](0.108s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [11:36:52.569](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [11:36:52.631](0.062s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [11:36:52.632](0.000s) ok 75 - host name not matching with a single X.509 Subject Alternative Name wildcard: matches [11:36:52.663](0.032s) 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 4436 [11:36:53.007](0.344s) ok 77 - certificate with both a CN and SANs 1 [11:36:53.008](0.000s) ok 78 - certificate with both a CN and SANs 1: no stderr [11:36:53.070](0.062s) ok 79 - certificate with both a CN and SANs 2 [11:36:53.070](0.000s) ok 80 - certificate with both a CN and SANs 2: no stderr [11:36:53.133](0.063s) ok 81 - certificate with both a CN and SANs ignores CN [11:36:53.133](0.000s) ok 82 - certificate with both a CN and SANs ignores CN: matches [11:36:53.162](0.029s) 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 5160 [11:36:53.509](0.347s) ok 84 - certificate with both an IP CN and DNS SANs matches CN [11:36:53.510](0.000s) ok 85 - certificate with both an IP CN and DNS SANs matches CN: no stderr [11:36:53.620](0.110s) ok 86 - certificate with both an IP CN and DNS SANs matches SAN 1 [11:36:53.620](0.000s) ok 87 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [11:36:53.713](0.093s) ok 88 - certificate with both an IP CN and DNS SANs matches SAN 2 [11:36:53.714](0.001s) 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 6620 [11:36:54.057](0.343s) ok 90 - server certificate without CN or SANs sslmode=verify-ca [11:36:54.057](0.000s) ok 91 - server certificate without CN or SANs sslmode=verify-ca: no stderr [11:36:54.120](0.063s) ok 92 - server certificate without CN or SANs sslmode=verify-full [11:36:54.120](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 7804 [11:36:54.474](0.353s) ok 94 - sslrootcert=system does not connect with private CA [11:36:54.475](0.001s) ok 95 - sslrootcert=system does not connect with private CA: matches [11:36:54.532](0.057s) ok 96 - sslrootcert=system only accepts sslmode=verify-full [11:36:54.533](0.001s) ok 97 - sslrootcert=system only accepts sslmode=verify-full: matches [11:36:54.667](0.134s) ok 98 - sslrootcert=system connects with overridden SSL_CERT_FILE [11:36:54.667](0.001s) ok 99 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [11:36:54.751](0.083s) ok 100 - sslrootcert=system defaults to sslmode=verify-full [11:36:54.752](0.001s) 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 6324 [11:36:55.109](0.357s) ok 102 - connects without client-side CRL [11:36:55.109](0.000s) ok 103 - connects without client-side CRL: no stderr [11:36:55.229](0.120s) ok 104 - does not connect with client-side CRL file [11:36:55.230](0.001s) ok 105 - does not connect with client-side CRL file: matches [11:36:55.308](0.078s) ok 106 - does not connect with client-side CRL directory [11:36:55.308](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() [11:36:55.385](0.077s) ok 108 - pg_stat_ssl view without client certificate: exit code 0 [11:36:55.386](0.001s) ok 109 - pg_stat_ssl view without client certificate: no stderr [11:36:55.386](0.001s) ok 110 - pg_stat_ssl view without client certificate: matches [11:36:55.481](0.095s) ok 111 - connection success with correct range of TLS protocol versions [11:36:55.482](0.001s) ok 112 - connection success with correct range of TLS protocol versions: no stderr [11:36:55.526](0.045s) ok 113 - connection failure with incorrect range of TLS protocol versions [11:36:55.527](0.001s) ok 114 - connection failure with incorrect range of TLS protocol versions: matches [11:36:55.590](0.063s) ok 115 - connection failure with an incorrect SSL protocol minimum bound [11:36:55.590](0.001s) ok 116 - connection failure with an incorrect SSL protocol minimum bound: matches [11:36:55.651](0.061s) ok 117 - connection failure with an incorrect SSL protocol maximum bound [11:36:55.652](0.001s) ok 118 - connection failure with an incorrect SSL protocol maximum bound: matches [11:36:55.652](0.000s) # running server tests [11:36:55.730](0.077s) ok 119 - certificate authorization fails without client cert [11:36:55.730](0.001s) ok 120 - certificate authorization fails without client cert: matches [11:36:55.839](0.108s) ok 121 - certificate authorization succeeds with correct client cert in PEM format [11:36:55.839](0.000s) ok 122 - certificate authorization succeeds with correct client cert in PEM format: no stderr [11:36:55.901](0.063s) ok 123 - certificate authorization succeeds with correct client cert in DER format [11:36:55.902](0.000s) ok 124 - certificate authorization succeeds with correct client cert in DER format: no stderr [11:36:56.011](0.109s) ok 125 - certificate authorization succeeds with correct client cert in encrypted PEM format [11:36:56.011](0.000s) ok 126 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [11:36:56.120](0.109s) ok 127 - certificate authorization succeeds with correct client cert in encrypted DER format [11:36:56.121](0.001s) ok 128 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [11:36:56.185](0.064s) ok 129 - certificate authorization succeeds with correct client cert and sslcertmode=require [11:36:56.185](0.001s) ok 130 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [11:36:56.293](0.107s) ok 131 - certificate authorization succeeds with correct client cert and sslcertmode=allow [11:36:56.293](0.000s) ok 132 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [11:36:56.402](0.109s) ok 133 - certificate authorization fails with correct client cert and sslcertmode=disable [11:36:56.402](0.000s) ok 134 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [11:36:56.464](0.062s) ok 135 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [11:36:56.465](0.000s) ok 136 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [11:36:56.575](0.111s) ok 137 - certificate authorization succeeds with DN mapping [11:36:56.576](0.000s) ok 138 - certificate authorization succeeds with DN mapping: no stderr [11:36:56.576](0.001s) ok 139 - certificate authorization succeeds with DN mapping: log matches [11:36:56.685](0.109s) ok 140 - certificate authorization succeeds with DN regex mapping [11:36:56.686](0.000s) ok 141 - certificate authorization succeeds with DN regex mapping: no stderr [11:36:56.795](0.109s) ok 142 - certificate authorization succeeds with CN mapping [11:36:56.795](0.000s) ok 143 - certificate authorization succeeds with CN mapping: no stderr [11:36:56.795](0.001s) ok 144 - certificate authorization succeeds with CN mapping: log matches [11:36:56.796](0.001s) not ok 145 # TODO & SKIP Need Pty support [11:36:56.796](0.000s) not ok 146 # TODO & SKIP Need Pty support [11:36:56.796](0.000s) not ok 147 # TODO & SKIP Need Pty support [11:36:56.797](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_jrbV/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [11:36:56.902](0.106s) ok 149 - pg_stat_ssl with client certificate: exit code 0 [11:36:56.903](0.000s) ok 150 - pg_stat_ssl with client certificate: no stderr [11:36:56.903](0.000s) ok 151 - pg_stat_ssl with client certificate: matches [11:36:56.903](0.000s) ok 152 # skip Permissions check not enforced on Windows [11:36:56.904](0.000s) ok 153 # skip Permissions check not enforced on Windows [11:36:56.966](0.063s) ok 154 - certificate authorization fails with client cert belonging to another user [11:36:56.967](0.000s) ok 155 - certificate authorization fails with client cert belonging to another user: matches [11:36:57.030](0.063s) ok 156 - certificate authorization fails with revoked client cert [11:36:57.030](0.001s) ok 157 - certificate authorization fails with revoked client cert: matches [11:36:57.031](0.001s) ok 158 - certificate authorization fails with revoked client cert: log does not match [11:36:57.139](0.108s) ok 159 - auth_option clientcert=verify-full succeeds with matching username and Common Name [11:36:57.139](0.000s) ok 160 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [11:36:57.140](0.001s) ok 161 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [11:36:57.202](0.062s) ok 162 - auth_option clientcert=verify-full fails with mismatching username and Common Name [11:36:57.203](0.001s) ok 163 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [11:36:57.204](0.001s) ok 164 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [11:36:57.310](0.106s) ok 165 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [11:36:57.310](0.000s) ok 166 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [11:36:57.311](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 1160 [11:36:57.653](0.342s) ok 168 - intermediate client certificate is provided by client [11:36:57.654](0.000s) ok 169 - intermediate client certificate is provided by client: no stderr [11:36:57.716](0.062s) ok 170 - intermediate client certificate is missing [11:36:57.716](0.000s) ok 171 - intermediate client certificate is missing: matches [11:36:57.779](0.063s) ok 172 - logged client certificate Subjects are truncated if they're too long [11:36:57.779](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 3916 [11:36:58.076](0.297s) ok 174 - intermediate client certificate is untrusted [11:36:58.076](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 5888 [11:36:58.437](0.360s) ok 176 - certificate authorization fails with revoked client cert with server-side CRL directory [11:36:58.437](0.001s) ok 177 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [11:36:58.545](0.108s) ok 178 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [11:36:58.545](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 6268 [11:36:58.889](0.344s) not ok 180 - connect with valid stapled ocsp response when sslocspstapling=1 [11:36:58.890](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. [11:36:58.890](0.000s) # got: '2' # expected: '0' [11:36:58.890](0.000s) not ok 181 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [11:36:58.890](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. [11:36:58.890](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56809 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: '' [11:36:59.005](0.115s) ok 182 - connect without requesting ocsp response when sslocspstapling=0 [11:36:59.005](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 6576 [11:36:59.296](0.291s) ok 184 - failed with a revoked ocsp response when sslocspstapling=1 [11:36:59.405](0.109s) ok 185 - connect without requesting ocsp response when sslocspstapling=0 [11:36:59.406](0.001s) 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 6364 [11:36:59.703](0.297s) ok 187 - failed with a revoked ocsp response when sslocspstapling=1 [11:36:59.828](0.125s) ok 188 - connect without requesting ocsp response when sslocspstapling=0 [11:36:59.828](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 6004 [11:37:00.125](0.297s) ok 190 - failed with an expired ocsp response when sslocspstapling=1 [11:37:00.235](0.109s) ok 191 - connect without requesting ocsp response when sslocspstapling=0 [11:37:00.235](0.000s) 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 4716 [11:37:00.547](0.312s) not ok 193 - connect with valid stapled ocsp response when sslocspstapling=1 [11:37:00.547](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. [11:37:00.547](0.000s) # got: '2' # expected: '0' [11:37:00.548](0.000s) not ok 194 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [11:37:00.548](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. [11:37:00.548](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 56809 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: '' [11:37:00.657](0.110s) ok 195 - connect without requesting ocsp response when sslocspstapling=0 [11:37:00.658](0.001s) 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 8120 [11:37:01.004](0.346s) ok 197 - failed with a revoked ocsp response when sslocspstapling=1 [11:37:01.112](0.108s) ok 198 - connect without requesting ocsp response when sslocspstapling=0 [11:37:01.113](0.001s) 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 2596 [11:37:01.408](0.296s) ok 200 - failed with a revoked ocsp response when sslocspstapling=1 [11:37:01.518](0.110s) ok 201 - connect without requesting ocsp response when sslocspstapling=0 [11:37:01.518](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 7124 [11:37:01.815](0.297s) ok 203 - failed with an expired ocsp response when sslocspstapling=1 [11:37:01.908](0.093s) ok 204 - connect without requesting ocsp response when sslocspstapling=0 [11:37:01.909](0.001s) 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 5040 [11:37:02.250](0.341s) ok 206 - failed with an expired ocsp response when sslocspstapling=1 [11:37:02.359](0.110s) ok 207 - connect without requesting ocsp response when sslocspstapling=0 [11:37:02.360](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" [11:37:02.596](0.236s) Bail out! pg_ctl restart failed # No postmaster PID for node "primary"