[01:01:06.888](0.016s) # setting up data directory # Checking port 62409 # Found port 62409 Name: primary Data directory: /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/archives Connection string: port=62409 host=/tmp/OkxDnBh3wu Log file: /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_primary.log [01:01:06.897](0.008s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/build/tmp_install/initdb-template /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_primary.log -o --cluster-name=primary start pg_ctl: another server might be running; trying to start server anyway waiting for server to start.... done server started # Postmaster PID for node "primary" is 32896 psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/OkxDnBh3wu/.s.PGSQL.62409" failed: FATAL: database "postgres" does not exist ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_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 33069 ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_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 33122 [01:01:08.087](1.190s) not ok 1 - Basic SCRAM authentication with SSL [01:01:08.087](0.000s) # Failed test 'Basic SCRAM authentication with SSL' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 82. [01:01:08.088](0.000s) # got: '2' # expected: '0' [01:01:08.088](0.000s) not ok 2 - Basic SCRAM authentication with SSL: no stderr [01:01:08.088](0.000s) # Failed test 'Basic SCRAM authentication with SSL: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 82. [01:01:08.088](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [01:01:08.098](0.010s) ok 3 - SCRAM with SSL and channel_binding=invalid_value [01:01:08.098](0.000s) ok 4 - SCRAM with SSL and channel_binding=invalid_value: matches [01:01:08.116](0.018s) not ok 5 - SCRAM with SSL and channel_binding=disable [01:01:08.117](0.000s) # Failed test 'SCRAM with SSL and channel_binding=disable' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 91. [01:01:08.117](0.000s) # got: '2' # expected: '0' [01:01:08.117](0.000s) not ok 6 - SCRAM with SSL and channel_binding=disable: no stderr [01:01:08.117](0.000s) # Failed test 'SCRAM with SSL and channel_binding=disable: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 91. [01:01:08.117](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [01:01:08.137](0.020s) not ok 7 - SCRAM with SSL and channel_binding=require [01:01:08.137](0.000s) # Failed test 'SCRAM with SSL and channel_binding=require' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 93. [01:01:08.138](0.000s) # got: '2' # expected: '0' [01:01:08.138](0.000s) not ok 8 - SCRAM with SSL and channel_binding=require: no stderr [01:01:08.138](0.000s) # Failed test 'SCRAM with SSL and channel_binding=require: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 93. [01:01:08.138](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [01:01:08.138](0.000s) ok 9 # skip MD5 not supported [01:01:08.155](0.017s) ok 10 - Cert authentication and channel_binding=require [01:01:08.156](0.000s) ok 11 - Cert authentication and channel_binding=require: matches [01:01:08.178](0.022s) not ok 12 - SCRAM with clientcert=verify-full [01:01:08.178](0.000s) # Failed test 'SCRAM with clientcert=verify-full' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 128. [01:01:08.179](0.000s) # got: '2' # expected: '0' [01:01:08.179](0.000s) not ok 13 - SCRAM with clientcert=verify-full: no stderr [01:01:08.179](0.000s) # Failed test 'SCRAM with clientcert=verify-full: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 128. [01:01:08.179](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser" # connection to server at "127.0.0.1", port 62409 failed: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ssltestuser", database "verifydb", no encryption' # expected: '' [01:01:08.179](0.000s) not ok 14 - SCRAM with clientcert=verify-full: log matches [01:01:08.179](0.000s) # Failed test 'SCRAM with clientcert=verify-full: log matches' # at /tmp/cirrus-ci-build/src/test/perl/PostgreSQL/Test/Cluster.pm line 2350. [01:01:08.179](0.000s) # '2024-03-07 01:01:08.165 UTC [33180][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58504 # 2024-03-07 01:01:08.174 UTC [33180][client backend] [[unknown]][4/1:0] FATAL: password authentication failed for user "ssltestuser" # 2024-03-07 01:01:08.174 UTC [33180][client backend] [[unknown]][4/1:0] DETAIL: Role "ssltestuser" does not exist. # Connection matched file "/tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata/pg_hba.conf" line 4: "hostssl verifydb ssltestuser 127.0.0.1/32 scram-sha-256 clientcert=verify-full" # 2024-03-07 01:01:08.176 UTC [33182][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58520 # 2024-03-07 01:01:08.176 UTC [33182][client backend] [[unknown]][5/1:0] FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ssltestuser", database "verifydb", no encryption # 2024-03-07 01:01:08.176 UTC [33182][client backend] [[unknown]][5/1:0] DETAIL: Client IP address resolved to "localhost", forward lookup not checked. # ' # doesn't match '(?^:connection authenticated: identity="ssltestuser" method=scram-sha-256)' [01:01:08.198](0.019s) not ok 15 - SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256 [01:01:08.198](0.000s) # Failed test 'SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 136. [01:01:08.198](0.000s) # got: '2' # expected: '0' [01:01:08.199](0.000s) not ok 16 - SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256: no stderr [01:01:08.199](0.000s) # Failed test 'SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 136. [01:01:08.199](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [01:01:08.199](0.000s) ok 17 # skip MD5 not supported [01:01:08.217](0.018s) not ok 18 - SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256 [01:01:08.217](0.000s) # Failed test 'SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 151. [01:01:08.217](0.000s) # got: '2' # expected: '0' [01:01:08.217](0.000s) not ok 19 - SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256: no stderr [01:01:08.217](0.000s) # Failed test 'SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256: no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 151. [01:01:08.217](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' ### Restarting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_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 33198 [01:01:08.443](0.225s) not ok 20 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss' [01:01:08.443](0.000s) # Failed test 'SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss'' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 161. [01:01:08.443](0.000s) # got: '2' # expected: '0' [01:01:08.443](0.000s) not ok 21 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': no stderr [01:01:08.444](0.000s) # Failed test 'SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': no stderr' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 161. [01:01:08.444](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 62409 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [01:01:08.444](0.000s) not ok 22 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': log matches [01:01:08.444](0.000s) # Failed test 'SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': log matches' # at /tmp/cirrus-ci-build/src/test/perl/PostgreSQL/Test/Cluster.pm line 2350. [01:01:08.444](0.000s) # '2024-03-07 01:01:08.432 UTC [33211][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58546 # 2024-03-07 01:01:08.440 UTC [33211][client backend] [[unknown]][0/1:0] FATAL: password authentication failed for user "ssltestuser" # 2024-03-07 01:01:08.440 UTC [33211][client backend] [[unknown]][0/1:0] DETAIL: Role "ssltestuser" does not exist. # Connection matched file "/tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata/pg_hba.conf" line 3: "hostssl trustdb all 127.0.0.1/32 scram-sha-256" # ' # doesn't match '(?^:connection authenticated: identity="ssltestuser" method=scram-sha-256)' [01:01:08.444](0.000s) 1..22 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/data/t_002_scram_primary_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" [01:01:08.549](0.104s) # Looks like you failed 16 tests of 22.