[02:07:56.095](0.016s) # setting up data directory # Checking port 55971 # Found port 55971 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=55971 host=/tmp/kHOhFdgyZw Log file: /tmp/cirrus-ci-build/build/testrun/ssl/002_scram/log/002_scram_primary.log [02:07:56.099](0.003s) # 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 33285 psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" failed: FATAL: database "postgres" does not exist psql: error: connection to server on socket "/tmp/kHOhFdgyZw/.s.PGSQL.55971" 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 33451 ### 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 33503 [02:07:57.280](1.182s) not ok 1 - Basic SCRAM authentication with SSL [02:07:57.281](0.000s) # Failed test 'Basic SCRAM authentication with SSL' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 82. [02:07:57.281](0.000s) # got: '2' # expected: '0' [02:07:57.281](0.000s) not ok 2 - Basic SCRAM authentication with SSL: no stderr [02:07:57.281](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. [02:07:57.281](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [02:07:57.288](0.007s) ok 3 - SCRAM with SSL and channel_binding=invalid_value [02:07:57.288](0.000s) ok 4 - SCRAM with SSL and channel_binding=invalid_value: matches [02:07:57.311](0.023s) not ok 5 - SCRAM with SSL and channel_binding=disable [02:07:57.311](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. [02:07:57.311](0.000s) # got: '2' # expected: '0' [02:07:57.312](0.000s) not ok 6 - SCRAM with SSL and channel_binding=disable: no stderr [02:07:57.312](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. [02:07:57.312](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [02:07:57.326](0.014s) not ok 7 - SCRAM with SSL and channel_binding=require [02:07:57.327](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. [02:07:57.327](0.000s) # got: '2' # expected: '0' [02:07:57.327](0.000s) not ok 8 - SCRAM with SSL and channel_binding=require: no stderr [02:07:57.327](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. [02:07:57.327](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [02:07:57.327](0.000s) ok 9 # skip MD5 not supported [02:07:57.342](0.015s) ok 10 - Cert authentication and channel_binding=require [02:07:57.342](0.000s) ok 11 - Cert authentication and channel_binding=require: matches [02:07:57.360](0.017s) not ok 12 - SCRAM with clientcert=verify-full [02:07:57.360](0.000s) # Failed test 'SCRAM with clientcert=verify-full' # at /tmp/cirrus-ci-build/src/test/ssl/t/002_scram.pl line 128. [02:07:57.360](0.000s) # got: '2' # expected: '0' [02:07:57.360](0.000s) not ok 13 - SCRAM with clientcert=verify-full: no stderr [02:07:57.360](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. [02:07:57.360](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser" # connection to server at "127.0.0.1", port 55971 failed: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ssltestuser", database "verifydb", no encryption' # expected: '' [02:07:57.360](0.000s) not ok 14 - SCRAM with clientcert=verify-full: log matches [02:07:57.361](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. [02:07:57.361](0.000s) # '2024-02-22 02:07:57.349 UTC [33558][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58716 # 2024-02-22 02:07:57.357 UTC [33558][client backend] [[unknown]][3/5:0] FATAL: password authentication failed for user "ssltestuser" # 2024-02-22 02:07:57.357 UTC [33558][client backend] [[unknown]][3/5: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-02-22 02:07:57.358 UTC [33564][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58730 # 2024-02-22 02:07:57.358 UTC [33564][client backend] [[unknown]][3/6:0] FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ssltestuser", database "verifydb", no encryption # 2024-02-22 02:07:57.358 UTC [33564][client backend] [[unknown]][3/6:0] DETAIL: Client IP address resolved to "localhost", forward lookup not checked. # ' # doesn't match '(?^:connection authenticated: identity="ssltestuser" method=scram-sha-256)' [02:07:57.375](0.014s) not ok 15 - SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256 [02:07:57.375](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. [02:07:57.375](0.000s) # got: '2' # expected: '0' [02:07:57.375](0.000s) not ok 16 - SCRAM with SSL, channel_binding=disable, and require_auth=scram-sha-256: no stderr [02:07:57.376](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. [02:07:57.376](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [02:07:57.376](0.000s) ok 17 # skip MD5 not supported [02:07:57.390](0.014s) not ok 18 - SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256 [02:07:57.390](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. [02:07:57.390](0.000s) # got: '2' # expected: '0' [02:07:57.390](0.000s) not ok 19 - SCRAM with SSL, channel_binding=require, and require_auth=scram-sha-256: no stderr [02:07:57.390](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. [02:07:57.391](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 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 33585 [02:07:57.612](0.221s) not ok 20 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss' [02:07:57.612](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. [02:07:57.612](0.000s) # got: '2' # expected: '0' [02:07:57.612](0.000s) not ok 21 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': no stderr [02:07:57.613](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. [02:07:57.613](0.000s) # got: 'psql: error: connection to server at "127.0.0.1", port 55971 failed: FATAL: password authentication failed for user "ssltestuser"' # expected: '' [02:07:57.613](0.000s) not ok 22 - SCRAM with SSL and channel_binding=require, server certificate uses 'rsassaPss': log matches [02:07:57.613](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. [02:07:57.613](0.000s) # '2024-02-22 02:07:57.603 UTC [33599][not initialized] [[unknown]][:0] LOG: connection received: host=localhost port=58736 # 2024-02-22 02:07:57.610 UTC [33599][client backend] [[unknown]][3/1:0] FATAL: password authentication failed for user "ssltestuser" # 2024-02-22 02:07:57.610 UTC [33599][client backend] [[unknown]][3/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)' [02:07:57.613](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" [02:07:57.717](0.104s) # Looks like you failed 16 tests of 22.