# Running: createuser --help [19:34:19.548](0.015s) ok 1 - createuser --help exit code 0 [19:34:19.548](0.000s) ok 2 - createuser --help goes to stdout [19:34:19.548](0.000s) ok 3 - createuser --help nothing to stderr [19:34:19.548](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [19:34:19.555](0.007s) ok 5 - createuser --version exit code 0 [19:34:19.555](0.000s) ok 6 - createuser --version goes to stdout [19:34:19.555](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [19:34:19.561](0.006s) ok 8 - createuser with invalid option nonzero exit code [19:34:19.562](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 52738 # Found port 52738 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=52738 host=/tmp/AUV_LXiyc1 Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [19:34:19.565](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 29266 # 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); [19:34:20.024](0.458s) not ok 10 - createuser regress_user1 exit code 0 [19:34:20.024](0.000s) # Failed test 'createuser regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [19:34:20.024](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [19:34:20.024](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. [19:34:20.024](0.000s) # '2024-03-02 19:34:19.716 UTC [29285][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:19.717 UTC [29285][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-03-02 19:34:19.717 UTC [29285][client backend] [[unknown]][3/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:19.717 UTC [29285][client backend] [[unknown]][3/3:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:19.718 UTC [29286][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:19.718 UTC [29286][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-03-02 19:34:19.718 UTC [29286][client backend] [[unknown]][3/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:19.719 UTC [29286][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 49, which is not a valid value for type '_Bool' # ==29286==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:20.660](0.635s) not ok 12 - createuser -L regress_role1 exit code 0 [19:34:20.660](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. [19:34:20.660](0.000s) not ok 13 - create a non-login role: SQL found in server log [19:34:20.660](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. [19:34:20.660](0.000s) # '2024-03-02 19:34:20.031 UTC [29309][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:20.031 UTC [29309][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-03-02 19:34:20.031 UTC [29309][client backend] [[unknown]][4/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:20.031 UTC [29309][client backend] [[unknown]][4/3:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:20.032 UTC [29310][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:20.033 UTC [29310][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-03-02 19:34:20.033 UTC [29310][client backend] [[unknown]][4/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:20.034 UTC [29310][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 49, which is not a valid value for type '_Bool' # ==29310==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:21.296](0.635s) not ok 14 - createuser -r regress user2 exit code 0 [19:34:21.296](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. [19:34:21.296](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [19:34:21.296](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. [19:34:21.296](0.000s) # '2024-03-02 19:34:20.665 UTC [29343][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:20.666 UTC [29343][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-03-02 19:34:20.666 UTC [29343][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:20.666 UTC [29343][client backend] [[unknown]][5/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:20.666 UTC [29344][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:20.667 UTC [29344][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-03-02 19:34:20.667 UTC [29344][client backend] [[unknown]][5/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:20.668 UTC [29344][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 49, which is not a valid value for type '_Bool' # ==29344==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:22.432](1.136s) not ok 16 - createuser -s regress_user3 exit code 0 [19:34:22.433](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. [19:34:22.433](0.000s) not ok 17 - create a superuser: SQL found in server log [19:34:22.433](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. [19:34:22.433](0.000s) # '2024-03-02 19:34:21.302 UTC [29383][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:21.303 UTC [29383][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-03-02 19:34:21.303 UTC [29383][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:21.303 UTC [29383][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:21.303 UTC [29384][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:21.304 UTC [29384][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-03-02 19:34:21.304 UTC [29384][client backend] [[unknown]][6/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:21.304 UTC [29384][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 49, which is not a valid value for type '_Bool' # ==29384==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:23.569](1.136s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [19:34:23.570](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. [19:34:23.570](0.000s) not ok 19 - add a role as a member with admin option of the newly created role: SQL found in server log [19:34:23.570](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. [19:34:23.570](0.000s) # '2024-03-02 19:34:22.440 UTC [29462][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:22.441 UTC [29462][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-03-02 19:34:22.441 UTC [29462][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:22.441 UTC [29462][client backend] [[unknown]][7/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:22.441 UTC [29465][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:22.442 UTC [29465][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-03-02 19:34:22.442 UTC [29465][client backend] [[unknown]][7/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:22.443 UTC [29465][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 49, which is not a valid value for type '_Bool' # ==29465==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:24.706](1.136s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [19:34:24.707](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. [19:34:24.707](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [19:34:24.707](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. [19:34:24.707](0.000s) # '2024-03-02 19:34:23.576 UTC [29557][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:23.577 UTC [29557][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-03-02 19:34:23.577 UTC [29557][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:23.577 UTC [29557][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:23.578 UTC [29558][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:23.579 UTC [29558][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-03-02 19:34:23.579 UTC [29558][client backend] [[unknown]][8/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:23.580 UTC [29558][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 49, which is not a valid value for type '_Bool' # ==29558==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:25.843](1.136s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [19:34:25.844](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. [19:34:25.844](0.000s) not ok 23 - create a role with a password expiration date: SQL found in server log [19:34:25.844](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. [19:34:25.844](0.000s) # '2024-03-02 19:34:24.713 UTC [29664][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:24.714 UTC [29664][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-03-02 19:34:24.714 UTC [29664][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:24.714 UTC [29664][client backend] [[unknown]][9/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:24.715 UTC [29665][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:24.715 UTC [29665][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-03-02 19:34:24.715 UTC [29665][client backend] [[unknown]][9/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:24.716 UTC [29665][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 49, which is not a valid value for type '_Bool' # ==29665==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # ' # 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); [19:34:26.480](0.635s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [19:34:26.480](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. [19:34:26.480](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [19:34:26.480](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. [19:34:26.480](0.000s) # '2024-03-02 19:34:25.851 UTC [29749][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:25.853 UTC [29749][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-03-02 19:34:25.853 UTC [29749][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-02 19:34:25.853 UTC [29749][client backend] [[unknown]][10/1:0] FATAL: database "postgres" does not exist # 2024-03-02 19:34:25.854 UTC [29755][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:25.855 UTC [29755][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-03-02 19:34:25.855 UTC [29755][client backend] [[unknown]][10/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-02 19:34:25.856 UTC [29755][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 49, which is not a valid value for type '_Bool' # ==29755==Using libbacktrace symbolizer. # #0 0x563e95136684 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x563e95136710 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x563e953a3af4 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x563e953a3e61 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x563e953a423b in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x563e953a713b in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x563e9524ba65 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x563e95251349 in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x563e952516c6 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x563e95253158 in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x563e9507c920 in main ../src/backend/main/main.c:198 # #11 0x7f438f87ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x563e94bec229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # 2024-03-02 19:34:26.031 UTC [29266][postmaster] LOG: server process (PID 29344) was terminated by signal 6: Aborted # 2024-03-02 19:34:26.031 UTC [29266][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-03-02 19:34:26.031 UTC [29266][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.493](0.012s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [19:34:26.493](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. [19:34:26.493](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [19:34:26.494](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. [19:34:26.494](0.000s) # '2024-03-02 19:34:26.487 UTC [29799][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.487 UTC [29799][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-02 19:34:26.487 UTC [29800][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.487 UTC [29800][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.506](0.012s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [19:34:26.506](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. [19:34:26.507](0.000s) not ok 29 - --with-admin: SQL found in server log [19:34:26.507](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. [19:34:26.507](0.000s) # '2024-03-02 19:34:26.500 UTC [29802][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.500 UTC [29802][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-02 19:34:26.500 UTC [29803][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.500 UTC [29803][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.519](0.012s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [19:34:26.519](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. [19:34:26.520](0.000s) not ok 31 - --with-member: SQL found in server log [19:34:26.520](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. [19:34:26.520](0.000s) # '2024-03-02 19:34:26.512 UTC [29811][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.512 UTC [29811][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-02 19:34:26.513 UTC [29812][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.513 UTC [29812][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.532](0.012s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [19:34:26.533](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. [19:34:26.533](0.000s) not ok 33 - --role: SQL found in server log [19:34:26.533](0.000s) # Failed test '--role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [19:34:26.533](0.000s) # '2024-03-02 19:34:26.526 UTC [29814][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.526 UTC [29814][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-02 19:34:26.527 UTC [29815][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.527 UTC [29815][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.546](0.013s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [19:34:26.546](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. [19:34:26.547](0.001s) not ok 35 - --member-of: SQL found in server log [19:34:26.547](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. [19:34:26.797](0.250s) # '2024-03-02 19:34:26.540 UTC [29817][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.540 UTC [29817][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-02 19:34:26.540 UTC [29818][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-02 19:34:26.540 UTC [29818][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/AUV_LXiyc1/.s.PGSQL.52738" failed: FATAL: the database system is in recovery mode [19:34:26.951](0.154s) 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. [19:34:26.964](0.012s) ok 37 - fails for too many non-options [19:34:26.964](0.000s) 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" [19:34:31.274](4.310s) # Looks like you failed 26 tests of 37.