# Running: createuser --help [02:07:24.756](0.015s) ok 1 - createuser --help exit code 0 [02:07:24.756](0.000s) ok 2 - createuser --help goes to stdout [02:07:24.756](0.000s) ok 3 - createuser --help nothing to stderr [02:07:24.757](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [02:07:24.761](0.005s) ok 5 - createuser --version exit code 0 [02:07:24.762](0.000s) ok 6 - createuser --version goes to stdout [02:07:24.762](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [02:07:24.766](0.005s) ok 8 - createuser with invalid option nonzero exit code [02:07:24.767](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 54564 # Found port 54564 Name: main Data directory: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/archives Connection string: port=54564 host=/tmp/2YZ1ufSsWA Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [02:07:24.770](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/scripts/040_createuser/data/t_040_createuser_main_data/pgdata # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log -o --cluster-name=main 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 "main" is 29094 # Running: createuser regress_user1 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:25.548](0.778s) not ok 10 - createuser regress_user1 exit code 0 [02:07:25.548](0.000s) # Failed test 'createuser regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [02:07:25.549](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [02:07:25.549](0.000s) # Failed test 'SQL CREATE USER run: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [02:07:25.549](0.000s) # '2024-02-22 02:07:24.919 UTC [29112][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:24.920 UTC [29112][client backend] [[unknown]][3/3:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:24.920 UTC [29112][client backend] [[unknown]][3/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:24.920 UTC [29112][client backend] [[unknown]][3/3:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:24.921 UTC [29113][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:24.921 UTC [29113][client backend] [[unknown]][3/4:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:24.921 UTC [29113][client backend] [[unknown]][3/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:24.922 UTC [29113][client backend] [040_createuser.pl][3/5:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29113==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user1 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -L regress_role1 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:26.185](0.636s) not ok 12 - createuser -L regress_role1 exit code 0 [02:07:26.186](0.000s) # Failed test 'createuser -L regress_role1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 23. [02:07:26.186](0.000s) not ok 13 - create a non-login role: SQL found in server log [02:07:26.186](0.000s) # Failed test 'create a non-login role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 23. [02:07:26.186](0.000s) # '2024-02-22 02:07:25.556 UTC [29150][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:25.556 UTC [29150][client backend] [[unknown]][4/3:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:25.556 UTC [29150][client backend] [[unknown]][4/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:25.556 UTC [29150][client backend] [[unknown]][4/3:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:25.557 UTC [29151][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:25.558 UTC [29151][client backend] [[unknown]][4/4:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:25.558 UTC [29151][client backend] [[unknown]][4/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:25.559 UTC [29151][client backend] [040_createuser.pl][4/5:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29151==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_role1 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT NOLOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -r regress user2 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:26.822](0.635s) not ok 14 - createuser -r regress user2 exit code 0 [02:07:26.822](0.000s) # Failed test 'createuser -r regress user2 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 27. [02:07:26.822](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [02:07:26.823](0.000s) # Failed test 'create a CREATEROLE user: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 27. [02:07:26.823](0.000s) # '2024-02-22 02:07:26.192 UTC [29192][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:26.193 UTC [29192][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:26.193 UTC [29192][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:26.193 UTC [29192][client backend] [[unknown]][5/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:26.194 UTC [29193][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:26.194 UTC [29193][client backend] [[unknown]][5/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:26.194 UTC [29193][client backend] [[unknown]][5/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:26.195 UTC [29193][client backend] [040_createuser.pl][5/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29193==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "regress user2" NOSUPERUSER NOCREATEDB CREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -s regress_user3 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:27.961](1.139s) not ok 16 - createuser -s regress_user3 exit code 0 [02:07:27.962](0.000s) # Failed test 'createuser -s regress_user3 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 31. [02:07:27.962](0.000s) not ok 17 - create a superuser: SQL found in server log [02:07:27.962](0.000s) # Failed test 'create a superuser: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 31. [02:07:27.962](0.000s) # '2024-02-22 02:07:26.828 UTC [29242][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:26.829 UTC [29242][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:26.829 UTC [29242][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:26.829 UTC [29242][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:26.830 UTC [29244][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:26.831 UTC [29244][client backend] [[unknown]][6/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:26.831 UTC [29244][client backend] [[unknown]][6/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:26.832 UTC [29244][client backend] [040_createuser.pl][6/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29244==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user3 SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -a regress_user1 -a regress user2 regress user #4 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:29.099](1.137s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [02:07:29.099](0.000s) # Failed test 'createuser -a regress_user1 -a regress user2 regress user #4 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 35. [02:07:29.099](0.000s) not ok 19 - add a role as a member with admin option of the newly created role: SQL found in server log [02:07:29.099](0.000s) # Failed test 'add a role as a member with admin option of the newly created role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 35. [02:07:29.100](0.000s) # '2024-02-22 02:07:27.969 UTC [29306][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:27.969 UTC [29306][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:27.969 UTC [29306][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:27.970 UTC [29306][client backend] [[unknown]][7/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:27.970 UTC [29307][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:27.971 UTC [29307][client backend] [[unknown]][7/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:27.971 UTC [29307][client backend] [[unknown]][7/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:27.972 UTC [29307][client backend] [040_createuser.pl][7/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29307==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "regress user #4" NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ADMIN regress_user1,"regress user2";)' # Running: createuser REGRESS_USER5 -m regress_user3 -m regress user #4 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:29.736](0.637s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [02:07:29.736](0.000s) # Failed test 'createuser REGRESS_USER5 -m regress_user3 -m regress user #4 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 43. [02:07:29.737](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [02:07:29.737](0.000s) # Failed test 'add a role as a member of the newly created role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 43. [02:07:29.737](0.000s) # '2024-02-22 02:07:29.107 UTC [29369][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:29.108 UTC [29369][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:29.108 UTC [29369][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:29.108 UTC [29369][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:29.109 UTC [29370][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:29.110 UTC [29370][client backend] [[unknown]][8/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:29.110 UTC [29370][client backend] [[unknown]][8/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:29.111 UTC [29370][client backend] [040_createuser.pl][8/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29370==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "REGRESS_USER5" NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ROLE regress_user3,"regress user #4";)' # Running: createuser -v 2029 12 31 regress_user6 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:30.373](0.636s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [02:07:30.373](0.000s) # Failed test 'createuser -v 2029 12 31 regress_user6 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 50. [02:07:30.374](0.000s) not ok 23 - create a role with a password expiration date: SQL found in server log [02:07:30.374](0.000s) # Failed test 'create a role with a password expiration date: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 50. [02:07:30.374](0.000s) # '2024-02-22 02:07:29.745 UTC [29408][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:29.745 UTC [29408][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:29.745 UTC [29408][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:29.745 UTC [29408][client backend] [[unknown]][9/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:29.746 UTC [29409][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:29.747 UTC [29409][client backend] [[unknown]][9/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:29.747 UTC [29409][client backend] [[unknown]][9/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:29.748 UTC [29409][client backend] [040_createuser.pl][9/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29409==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user6 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS VALID UNTIL \'2029 12 31\';)' # Running: createuser --bypassrls regress_user7 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [02:07:31.010](0.636s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [02:07:31.010](0.000s) # Failed test 'createuser --bypassrls regress_user7 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 54. [02:07:31.010](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [02:07:31.011](0.000s) # Failed test 'create a BYPASSRLS role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 54. [02:07:31.011](0.000s) # '2024-02-22 02:07:30.382 UTC [29435][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:30.382 UTC [29435][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:30.382 UTC [29435][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-22 02:07:30.382 UTC [29435][client backend] [[unknown]][10/1:0] FATAL: database "postgres" does not exist # 2024-02-22 02:07:30.383 UTC [29436][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:30.384 UTC [29436][client backend] [[unknown]][10/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-22 02:07:30.384 UTC [29436][client backend] [[unknown]][10/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-22 02:07:30.385 UTC [29436][client backend] [040_createuser.pl][10/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 5, which is not a valid value for type '_Bool' # ==29436==Using libbacktrace symbolizer. # #0 0x55cd13be0b27 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x55cd13be0bb3 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x55cd13e4a94d in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55cd13e4acba in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55cd13e4b094 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55cd13e4df94 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55cd13cf5f42 in BackendRun ../src/backend/postmaster/postmaster.c:4440 # #7 0x55cd13cfb6b9 in BackendStartup ../src/backend/postmaster/postmaster.c:4116 # #8 0x55cd13cfba36 in ServerLoop ../src/backend/postmaster/postmaster.c:1768 # #9 0x55cd13cfd4c3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1467 # #10 0x55cd13b26b9e in main ../src/backend/main/main.c:198 # #11 0x7f762f1cfd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55cd13696229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # 2024-02-22 02:07:30.717 UTC [29094][postmaster] LOG: server process (PID 29151) was terminated by signal 6: Aborted # 2024-02-22 02:07:30.717 UTC [29094][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-02-22 02:07:30.717 UTC [29094][postmaster] LOG: terminating any other active server processes # ' # doesn't match '(?^:statement: CREATE ROLE regress_user7 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION BYPASSRLS;)' # Running: createuser --no-bypassrls regress_user8 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.024](0.013s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [02:07:31.024](0.000s) # Failed test 'createuser --no-bypassrls regress_user8 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 58. [02:07:31.024](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [02:07:31.024](0.000s) # Failed test 'create a role without BYPASSRLS: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 58. [02:07:31.025](0.000s) # '2024-02-22 02:07:31.018 UTC [29474][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.018 UTC [29474][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-22 02:07:31.019 UTC [29475][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.019 UTC [29475][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # doesn't match '(?^:statement: CREATE ROLE regress_user8 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser --with-admin regress_user1 regress_user9 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.037](0.013s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [02:07:31.038](0.000s) # Failed test 'createuser --with-admin regress_user1 regress_user9 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 62. [02:07:31.038](0.000s) not ok 29 - --with-admin: SQL found in server log [02:07:31.038](0.000s) # Failed test '--with-admin: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 62. [02:07:31.038](0.000s) # '2024-02-22 02:07:31.031 UTC [29477][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.031 UTC [29477][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-22 02:07:31.032 UTC [29478][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.032 UTC [29478][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # doesn't match '(?^:statement: CREATE ROLE regress_user9 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ADMIN regress_user1;)' # Running: createuser --with-member regress_user1 regress_user10 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.051](0.013s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [02:07:31.051](0.000s) # Failed test 'createuser --with-member regress_user1 regress_user10 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 66. [02:07:31.052](0.000s) not ok 31 - --with-member: SQL found in server log [02:07:31.052](0.000s) # Failed test '--with-member: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 66. [02:07:31.052](0.000s) # '2024-02-22 02:07:31.045 UTC [29480][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.045 UTC [29480][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-22 02:07:31.045 UTC [29481][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.046 UTC [29481][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # doesn't match '(?^:statement: CREATE ROLE regress_user10 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ROLE regress_user1;)' # Running: createuser --role regress_user1 regress_user11 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.065](0.013s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [02:07:31.065](0.000s) # Failed test 'createuser --role regress_user1 regress_user11 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [02:07:31.065](0.000s) not ok 33 - --role: SQL found in server log [02:07:31.066](0.000s) # Failed test '--role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [02:07:31.066](0.000s) # '2024-02-22 02:07:31.058 UTC [29483][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.058 UTC [29483][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-22 02:07:31.059 UTC [29484][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.059 UTC [29484][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # doesn't match '(?^:statement: CREATE ROLE regress_user11 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS IN ROLE regress_user1;)' # Running: createuser regress_user12 --member-of regress_user1 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.079](0.013s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [02:07:31.079](0.000s) # Failed test 'createuser regress_user12 --member-of regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 74. [02:07:31.079](0.000s) not ok 35 - --member-of: SQL found in server log [02:07:31.079](0.000s) # Failed test '--member-of: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 74. [02:07:31.080](0.000s) # '2024-02-22 02:07:31.073 UTC [29486][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.073 UTC [29486][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-22 02:07:31.074 UTC [29487][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-22 02:07:31.074 UTC [29487][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # doesn't match '(?^:statement: CREATE ROLE regress_user12 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS IN ROLE regress_user1;)' # Running: createuser regress_user1 createuser: error: connection to server on socket "/tmp/2YZ1ufSsWA/.s.PGSQL.54564" failed: FATAL: the database system is in recovery mode [02:07:31.092](0.013s) ok 36 - fails if role already exists # Running: createuser regress_user1 -m regress_user2 regress_user3 createuser: error: too many command-line arguments (first is "regress_user3") createuser: hint: Try "createuser --help" for more information. [02:07:31.105](0.013s) ok 37 - fails for too many non-options [02:07:31.106](0.001s) 1..37 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata -m immediate stop waiting for server to shut down........ done server stopped # No postmaster PID for node "main" [02:07:36.116](5.010s) # Looks like you failed 26 tests of 37.