[10:59:42.864](0.207s) # setting up data directory # Checking port 58771 # Found port 58771 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=58771 host=C:/Windows/TEMP/T3ZFSiQLRp Log file: C:\cirrus\build/testrun/ssl/001_ssltests\log/001_ssltests_primary.log [10:59:42.885](0.021s) # 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 2572 [10:59:44.849](1.963s) 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 5380 [10:59:49.986](5.137s) # 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" [10:59:50.233](0.247s) 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 3340 [10:59:50.384](0.151s) 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" [10:59:50.627](0.244s) 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 4016 [10:59:50.769](0.141s) ok 5 - restart succeeds with correct SSL protocol bounds [10:59:50.769](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 6620 [10:59:51.190](0.421s) ok 6 - server doesn't accept non-SSL connections [10:59:51.190](0.000s) ok 7 - server doesn't accept non-SSL connections: matches [10:59:51.314](0.124s) ok 8 - connect without server root cert sslmode=require [10:59:51.314](0.000s) ok 9 - connect without server root cert sslmode=require: no stderr [10:59:51.518](0.204s) ok 10 - connect without server root cert sslmode=verify-ca [10:59:51.518](0.000s) ok 11 - connect without server root cert sslmode=verify-ca: matches [10:59:51.597](0.079s) ok 12 - connect without server root cert sslmode=verify-full [10:59:51.598](0.000s) ok 13 - connect without server root cert sslmode=verify-full: matches [10:59:51.706](0.109s) ok 14 - connect with wrong server root cert sslmode=require [10:59:51.707](0.000s) ok 15 - connect with wrong server root cert sslmode=require: matches [10:59:51.788](0.082s) ok 16 - connect with wrong server root cert sslmode=verify-ca [10:59:51.789](0.000s) ok 17 - connect with wrong server root cert sslmode=verify-ca: matches [10:59:51.879](0.090s) ok 18 - connect with wrong server root cert sslmode=verify-full [10:59:51.879](0.000s) ok 19 - connect with wrong server root cert sslmode=verify-full: matches [10:59:51.942](0.063s) ok 20 - connect with server CA cert, without root CA [10:59:51.942](0.000s) ok 21 - connect with server CA cert, without root CA: matches [10:59:52.021](0.079s) ok 22 - connect with correct server CA cert file sslmode=require [10:59:52.021](0.000s) ok 23 - connect with correct server CA cert file sslmode=require: no stderr [10:59:52.098](0.077s) ok 24 - connect with correct server CA cert file sslmode=verify-ca [10:59:52.098](0.000s) ok 25 - connect with correct server CA cert file sslmode=verify-ca: no stderr [10:59:52.222](0.124s) ok 26 - connect with correct server CA cert file sslmode=verify-full [10:59:52.222](0.000s) ok 27 - connect with correct server CA cert file sslmode=verify-full: no stderr [10:59:52.298](0.075s) ok 28 - cert root file that contains two certificates, order 1 [10:59:52.298](0.000s) ok 29 - cert root file that contains two certificates, order 1: no stderr [10:59:52.423](0.125s) ok 30 - cert root file that contains two certificates, order 2 [10:59:52.423](0.000s) ok 31 - cert root file that contains two certificates, order 2: no stderr [10:59:52.506](0.083s) ok 32 - connect with sslcertmode=disable [10:59:52.506](0.000s) ok 33 - connect with sslcertmode=disable: no stderr [10:59:52.629](0.123s) ok 34 - connect with sslcertmode=allow [10:59:52.630](0.000s) ok 35 - connect with sslcertmode=allow: no stderr [10:59:52.738](0.108s) ok 36 - connect with sslcertmode=require fails without a client certificate [10:59:52.738](0.000s) ok 37 - connect with sslcertmode=require fails without a client certificate: matches [10:59:52.862](0.124s) ok 38 - sslcrl option with invalid file name [10:59:52.862](0.000s) ok 39 - sslcrl option with invalid file name: no stderr [10:59:52.985](0.122s) ok 40 - CRL belonging to a different CA [10:59:52.985](0.000s) ok 41 - CRL belonging to a different CA: matches [10:59:53.070](0.085s) ok 42 - directory CRL belonging to a different CA [10:59:53.070](0.000s) ok 43 - directory CRL belonging to a different CA: matches [10:59:53.142](0.072s) ok 44 - CRL with a non-revoked cert [10:59:53.142](0.000s) ok 45 - CRL with a non-revoked cert: no stderr [10:59:53.221](0.078s) ok 46 - directory CRL with a non-revoked cert [10:59:53.221](0.000s) ok 47 - directory CRL with a non-revoked cert: no stderr [10:59:53.286](0.065s) ok 48 - mismatch between host name and server certificate sslmode=require [10:59:53.286](0.000s) ok 49 - mismatch between host name and server certificate sslmode=require: no stderr [10:59:53.394](0.108s) ok 50 - mismatch between host name and server certificate sslmode=verify-ca [10:59:53.394](0.000s) ok 51 - mismatch between host name and server certificate sslmode=verify-ca: no stderr [10:59:53.504](0.110s) ok 52 - mismatch between host name and server certificate sslmode=verify-full [10:59:53.504](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 7592 [10:59:53.989](0.485s) ok 54 - IP address in the Common Name [10:59:53.989](0.000s) ok 55 - IP address in the Common Name: no stderr [10:59:54.206](0.217s) ok 56 - mismatch between host name and server certificate IP address [10:59:54.207](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 6624 [10:59:54.554](0.347s) ok 58 - IP address in a dNSName [10:59:54.554](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 8020 [10:59:54.898](0.345s) ok 60 - host name matching with X.509 Subject Alternative Names 1 [10:59:54.899](0.000s) ok 61 - host name matching with X.509 Subject Alternative Names 1: no stderr [10:59:54.960](0.062s) ok 62 - host name matching with X.509 Subject Alternative Names 2 [10:59:54.960](0.000s) ok 63 - host name matching with X.509 Subject Alternative Names 2: no stderr [10:59:55.038](0.077s) ok 64 - host name matching with X.509 Subject Alternative Names wildcard [10:59:55.038](0.000s) ok 65 - host name matching with X.509 Subject Alternative Names wildcard: no stderr [10:59:55.101](0.062s) ok 66 - host name not matching with X.509 Subject Alternative Names [10:59:55.101](0.001s) ok 67 - host name not matching with X.509 Subject Alternative Names: matches [10:59:55.163](0.062s) ok 68 - host name not matching with X.509 Subject Alternative Names wildcard [10:59:55.163](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 3780 [10:59:55.512](0.348s) ok 70 - host name matching with a single X.509 Subject Alternative Name [10:59:55.512](0.000s) ok 71 - host name matching with a single X.509 Subject Alternative Name: no stderr [10:59:55.617](0.105s) ok 72 - host name not matching with a single X.509 Subject Alternative Name [10:59:55.617](0.000s) ok 73 - host name not matching with a single X.509 Subject Alternative Name: matches [10:59:55.680](0.062s) ok 74 - host name not matching with a single X.509 Subject Alternative Name wildcard [10:59:55.680](0.000s) ok 75 - host name not matching with a single X.509 Subject Alternative Name wildcard: matches [10:59:55.710](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 4452 [10:59:56.032](0.321s) ok 77 - certificate with both a CN and SANs 1 [10:59:56.032](0.000s) ok 78 - certificate with both a CN and SANs 1: no stderr [10:59:56.088](0.056s) ok 79 - certificate with both a CN and SANs 2 [10:59:56.089](0.001s) ok 80 - certificate with both a CN and SANs 2: no stderr [10:59:56.150](0.062s) ok 81 - certificate with both a CN and SANs ignores CN [10:59:56.151](0.000s) ok 82 - certificate with both a CN and SANs ignores CN: matches [10:59:56.181](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 1076 [10:59:56.528](0.346s) ok 84 - certificate with both an IP CN and DNS SANs matches CN [10:59:56.528](0.000s) ok 85 - certificate with both an IP CN and DNS SANs matches CN: no stderr [10:59:56.651](0.123s) ok 86 - certificate with both an IP CN and DNS SANs matches SAN 1 [10:59:56.652](0.000s) ok 87 - certificate with both an IP CN and DNS SANs matches SAN 1: no stderr [10:59:56.798](0.146s) ok 88 - certificate with both an IP CN and DNS SANs matches SAN 2 [10:59:56.798](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 1252 [10:59:57.137](0.339s) ok 90 - server certificate without CN or SANs sslmode=verify-ca [10:59:57.137](0.000s) ok 91 - server certificate without CN or SANs sslmode=verify-ca: no stderr [10:59:57.198](0.061s) ok 92 - server certificate without CN or SANs sslmode=verify-full [10:59:57.198](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 [10:59:57.494](0.296s) ok 94 - sslrootcert=system does not connect with private CA [10:59:57.494](0.000s) ok 95 - sslrootcert=system does not connect with private CA: matches [10:59:57.525](0.031s) ok 96 - sslrootcert=system only accepts sslmode=verify-full [10:59:57.526](0.000s) ok 97 - sslrootcert=system only accepts sslmode=verify-full: matches [10:59:57.636](0.110s) ok 98 - sslrootcert=system connects with overridden SSL_CERT_FILE [10:59:57.636](0.000s) ok 99 - sslrootcert=system connects with overridden SSL_CERT_FILE: no stderr [10:59:57.699](0.063s) ok 100 - sslrootcert=system defaults to sslmode=verify-full [10:59:57.699](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 2608 [10:59:58.043](0.343s) ok 102 - connects without client-side CRL [10:59:58.043](0.000s) ok 103 - connects without client-side CRL: no stderr [10:59:58.105](0.062s) ok 104 - does not connect with client-side CRL file [10:59:58.105](0.000s) ok 105 - does not connect with client-side CRL file: matches [10:59:58.168](0.063s) ok 106 - does not connect with client-side CRL directory [10:59:58.168](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() [10:59:58.230](0.062s) ok 108 - pg_stat_ssl view without client certificate: exit code 0 [10:59:58.231](0.000s) ok 109 - pg_stat_ssl view without client certificate: no stderr [10:59:58.231](0.000s) ok 110 - pg_stat_ssl view without client certificate: matches [10:59:58.290](0.059s) ok 111 - connection success with correct range of TLS protocol versions [10:59:58.290](0.000s) ok 112 - connection success with correct range of TLS protocol versions: no stderr [10:59:58.320](0.030s) ok 113 - connection failure with incorrect range of TLS protocol versions [10:59:58.321](0.000s) ok 114 - connection failure with incorrect range of TLS protocol versions: matches [10:59:58.352](0.031s) ok 115 - connection failure with an incorrect SSL protocol minimum bound [10:59:58.352](0.000s) ok 116 - connection failure with an incorrect SSL protocol minimum bound: matches [10:59:58.383](0.031s) ok 117 - connection failure with an incorrect SSL protocol maximum bound [10:59:58.383](0.000s) ok 118 - connection failure with an incorrect SSL protocol maximum bound: matches [10:59:58.383](0.000s) # running server tests [10:59:58.446](0.062s) ok 119 - certificate authorization fails without client cert [10:59:58.446](0.000s) ok 120 - certificate authorization fails without client cert: matches [10:59:58.555](0.109s) ok 121 - certificate authorization succeeds with correct client cert in PEM format [10:59:58.555](0.000s) ok 122 - certificate authorization succeeds with correct client cert in PEM format: no stderr [10:59:58.617](0.062s) ok 123 - certificate authorization succeeds with correct client cert in DER format [10:59:58.618](0.000s) ok 124 - certificate authorization succeeds with correct client cert in DER format: no stderr [10:59:58.680](0.063s) ok 125 - certificate authorization succeeds with correct client cert in encrypted PEM format [10:59:58.680](0.000s) ok 126 - certificate authorization succeeds with correct client cert in encrypted PEM format: no stderr [10:59:58.746](0.066s) ok 127 - certificate authorization succeeds with correct client cert in encrypted DER format [10:59:58.746](0.000s) ok 128 - certificate authorization succeeds with correct client cert in encrypted DER format: no stderr [10:59:58.809](0.062s) ok 129 - certificate authorization succeeds with correct client cert and sslcertmode=require [10:59:58.809](0.000s) ok 130 - certificate authorization succeeds with correct client cert and sslcertmode=require: no stderr [10:59:58.871](0.062s) ok 131 - certificate authorization succeeds with correct client cert and sslcertmode=allow [10:59:58.871](0.000s) ok 132 - certificate authorization succeeds with correct client cert and sslcertmode=allow: no stderr [10:59:58.934](0.062s) ok 133 - certificate authorization fails with correct client cert and sslcertmode=disable [10:59:58.934](0.000s) ok 134 - certificate authorization fails with correct client cert and sslcertmode=disable: matches [10:59:58.996](0.062s) ok 135 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format [10:59:58.996](0.000s) ok 136 - certificate authorization fails with correct client cert and wrong password in encrypted PEM format: matches [10:59:59.106](0.110s) ok 137 - certificate authorization succeeds with DN mapping [10:59:59.106](0.000s) ok 138 - certificate authorization succeeds with DN mapping: no stderr [10:59:59.107](0.001s) ok 139 - certificate authorization succeeds with DN mapping: log matches [10:59:59.215](0.108s) ok 140 - certificate authorization succeeds with DN regex mapping [10:59:59.215](0.000s) ok 141 - certificate authorization succeeds with DN regex mapping: no stderr [10:59:59.325](0.110s) ok 142 - certificate authorization succeeds with CN mapping [10:59:59.325](0.000s) ok 143 - certificate authorization succeeds with CN mapping: no stderr [10:59:59.326](0.001s) ok 144 - certificate authorization succeeds with CN mapping: log matches [10:59:59.326](0.000s) not ok 145 # TODO & SKIP Need Pty support [10:59:59.326](0.000s) not ok 146 # TODO & SKIP Need Pty support [10:59:59.326](0.000s) not ok 147 # TODO & SKIP Need Pty support [10:59:59.327](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_6rvE/client.key -c SELECT * FROM pg_stat_ssl WHERE pid = pg_backend_pid() [10:59:59.387](0.061s) ok 149 - pg_stat_ssl with client certificate: exit code 0 [10:59:59.388](0.001s) ok 150 - pg_stat_ssl with client certificate: no stderr [10:59:59.388](0.000s) ok 151 - pg_stat_ssl with client certificate: matches [10:59:59.388](0.000s) ok 152 # skip Permissions check not enforced on Windows [10:59:59.389](0.000s) ok 153 # skip Permissions check not enforced on Windows [10:59:59.450](0.062s) ok 154 - certificate authorization fails with client cert belonging to another user [10:59:59.451](0.001s) ok 155 - certificate authorization fails with client cert belonging to another user: matches [10:59:59.513](0.062s) ok 156 - certificate authorization fails with revoked client cert [10:59:59.513](0.000s) ok 157 - certificate authorization fails with revoked client cert: matches [10:59:59.513](0.000s) ok 158 - certificate authorization fails with revoked client cert: log does not match [10:59:59.622](0.109s) ok 159 - auth_option clientcert=verify-full succeeds with matching username and Common Name [10:59:59.622](0.000s) ok 160 - auth_option clientcert=verify-full succeeds with matching username and Common Name: no stderr [10:59:59.623](0.001s) ok 161 - auth_option clientcert=verify-full succeeds with matching username and Common Name: log matches [10:59:59.684](0.062s) ok 162 - auth_option clientcert=verify-full fails with mismatching username and Common Name [10:59:59.685](0.000s) ok 163 - auth_option clientcert=verify-full fails with mismatching username and Common Name: matches [10:59:59.685](0.000s) ok 164 - auth_option clientcert=verify-full fails with mismatching username and Common Name: log does not match [10:59:59.747](0.062s) ok 165 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name [10:59:59.747](0.000s) ok 166 - auth_option clientcert=verify-ca succeeds with mismatching username and Common Name: no stderr [10:59:59.748](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 6712 [11:00:00.091](0.343s) ok 168 - intermediate client certificate is provided by client [11:00:00.091](0.000s) ok 169 - intermediate client certificate is provided by client: no stderr [11:00:00.154](0.063s) ok 170 - intermediate client certificate is missing [11:00:00.154](0.000s) ok 171 - intermediate client certificate is missing: matches [11:00:00.216](0.062s) ok 172 - logged client certificate Subjects are truncated if they're too long [11:00:00.216](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 5564 [11:00:00.513](0.296s) ok 174 - intermediate client certificate is untrusted [11:00:00.513](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 7580 [11:00:00.809](0.297s) ok 176 - certificate authorization fails with revoked client cert with server-side CRL directory [11:00:00.810](0.000s) ok 177 - certificate authorization fails with revoked client cert with server-side CRL directory: matches [11:00:00.872](0.062s) ok 178 - certificate authorization fails with revoked UTF-8 client cert with server-side CRL directory [11:00:00.872](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 3496 [11:00:01.169](0.297s) not ok 180 - connect with valid stapled ocsp response when sslocspstapling=1 [11:00:01.169](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:00:01.169](0.000s) # got: '2' # expected: '0' [11:00:01.170](0.000s) not ok 181 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [11:00:01.170](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:00:01.170](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 58771 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:00:01.234](0.064s) ok 182 - connect without requesting ocsp response when sslocspstapling=0 [11:00:01.234](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 3668 [11:00:01.530](0.296s) ok 184 - failed with a revoked ocsp response when sslocspstapling=1 [11:00:01.594](0.064s) ok 185 - connect without requesting ocsp response when sslocspstapling=0 [11:00:01.594](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 5164 [11:00:01.890](0.295s) ok 187 - failed with a revoked ocsp response when sslocspstapling=1 [11:00:01.955](0.066s) ok 188 - connect without requesting ocsp response when sslocspstapling=0 [11:00:01.955](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 6252 [11:00:02.249](0.294s) ok 190 - failed with an expired ocsp response when sslocspstapling=1 [11:00:02.364](0.115s) ok 191 - connect without requesting ocsp response when sslocspstapling=0 [11:00:02.364](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 5780 [11:00:02.655](0.291s) not ok 193 - connect with valid stapled ocsp response when sslocspstapling=1 [11:00:02.656](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:00:02.656](0.000s) # got: '2' # expected: '0' [11:00:02.656](0.000s) not ok 194 - connect with valid stapled ocsp response when sslocspstapling=1: no stderr [11:00:02.656](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:00:02.656](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 58771 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:00:02.720](0.063s) ok 195 - connect without requesting ocsp response when sslocspstapling=0 [11:00:02.720](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 3764 [11:00:03.016](0.296s) ok 197 - failed with a revoked ocsp response when sslocspstapling=1 [11:00:03.125](0.110s) ok 198 - connect without requesting ocsp response when sslocspstapling=0 [11:00:03.125](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 2720 [11:00:03.422](0.296s) ok 200 - failed with a revoked ocsp response when sslocspstapling=1 [11:00:03.531](0.110s) ok 201 - connect without requesting ocsp response when sslocspstapling=0 [11:00:03.531](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 2528 [11:00:03.874](0.343s) ok 203 - failed with an expired ocsp response when sslocspstapling=1 [11:00:03.983](0.110s) ok 204 - connect without requesting ocsp response when sslocspstapling=0 [11:00:03.984](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 2448 [11:00:04.282](0.298s) ok 206 - failed with an expired ocsp response when sslocspstapling=1 [11:00:04.392](0.109s) ok 207 - connect without requesting ocsp response when sslocspstapling=0 [11:00:04.392](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:00:04.626](0.234s) Bail out! pg_ctl restart failed # No postmaster PID for node "primary"