# Running: createuser --help [11:14:01.127](0.017s) ok 1 - createuser --help exit code 0 [11:14:01.127](0.000s) ok 2 - createuser --help goes to stdout [11:14:01.127](0.000s) ok 3 - createuser --help nothing to stderr [11:14:01.127](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [11:14:01.134](0.007s) ok 5 - createuser --version exit code 0 [11:14:01.134](0.000s) ok 6 - createuser --version goes to stdout [11:14:01.135](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [11:14:01.141](0.007s) ok 8 - createuser with invalid option nonzero exit code [11:14:01.142](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 57217 # Found port 57217 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=57217 host=/tmp/eCJOD9Vs1O Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [11:14:01.146](0.004s) # 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 28109 # 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); [11:14:01.707](0.561s) not ok 10 - createuser regress_user1 exit code 0 [11:14:01.708](0.000s) # Failed test 'createuser regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [11:14:01.708](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [11:14:01.708](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. [11:14:01.708](0.000s) # '2024-03-13 11:14:01.399 UTC [28129][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:01.400 UTC [28129][client backend] [[unknown]][0/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-13 11:14:01.400 UTC [28129][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:01.400 UTC [28129][client backend] [[unknown]][0/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:01.401 UTC [28130][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:01.402 UTC [28130][client backend] [[unknown]][1/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-13 11:14:01.402 UTC [28130][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:01.402 UTC [28130][client backend] [040_createuser.pl][1/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28130==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:02.345](0.636s) not ok 12 - createuser -L regress_role1 exit code 0 [11:14:02.345](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. [11:14:02.345](0.000s) not ok 13 - create a non-login role: SQL found in server log [11:14:02.346](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. [11:14:02.346](0.000s) # '2024-03-13 11:14:01.716 UTC [28153][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:01.716 UTC [28153][client backend] [[unknown]][2/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-13 11:14:01.717 UTC [28153][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:01.717 UTC [28153][client backend] [[unknown]][2/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:01.717 UTC [28154][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:01.718 UTC [28154][client backend] [[unknown]][3/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-13 11:14:01.718 UTC [28154][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:01.719 UTC [28154][client backend] [040_createuser.pl][3/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28154==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:02.981](0.636s) not ok 14 - createuser -r regress user2 exit code 0 [11:14:02.982](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. [11:14:02.982](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [11:14:02.982](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. [11:14:02.982](0.000s) # '2024-03-13 11:14:02.353 UTC [28189][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:02.353 UTC [28189][client backend] [[unknown]][4/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-13 11:14:02.353 UTC [28189][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:02.354 UTC [28189][client backend] [[unknown]][4/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:02.354 UTC [28190][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:02.355 UTC [28190][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-13 11:14:02.355 UTC [28190][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:02.356 UTC [28190][client backend] [040_createuser.pl][5/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28190==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:04.119](1.137s) not ok 16 - createuser -s regress_user3 exit code 0 [11:14:04.119](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. [11:14:04.120](0.000s) not ok 17 - create a superuser: SQL found in server log [11:14:04.120](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. [11:14:04.120](0.000s) # '2024-03-13 11:14:02.990 UTC [28231][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:02.991 UTC [28231][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-13 11:14:02.991 UTC [28231][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:02.991 UTC [28231][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:02.992 UTC [28232][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:02.992 UTC [28232][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-13 11:14:02.992 UTC [28232][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:02.993 UTC [28232][client backend] [040_createuser.pl][7/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28232==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:05.257](1.137s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [11:14:05.258](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. [11:14:05.258](0.000s) not ok 19 - add a role as a member with admin option of the newly created role: SQL found in server log [11:14:05.258](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. [11:14:05.258](0.000s) # '2024-03-13 11:14:04.128 UTC [28306][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:04.128 UTC [28306][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-13 11:14:04.128 UTC [28306][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:04.128 UTC [28306][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:04.129 UTC [28307][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:04.130 UTC [28307][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-13 11:14:04.130 UTC [28307][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:04.131 UTC [28307][client backend] [040_createuser.pl][9/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28307==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:06.396](1.137s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [11:14:06.396](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. [11:14:06.396](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [11:14:06.397](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. [11:14:06.397](0.000s) # '2024-03-13 11:14:05.266 UTC [28369][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:05.267 UTC [28369][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-13 11:14:05.267 UTC [28369][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:05.267 UTC [28369][client backend] [[unknown]][10/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:05.268 UTC [28370][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:05.268 UTC [28370][client backend] [[unknown]][11/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-13 11:14:05.268 UTC [28370][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:05.269 UTC [28370][client backend] [040_createuser.pl][11/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28370==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # ' # 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); [11:14:07.033](0.636s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [11:14:07.291](0.259s) # 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. [11:14:07.292](0.001s) not ok 23 - create a role with a password expiration date: SQL found in server log [11:14:07.292](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. [11:14:07.292](0.000s) # '2024-03-13 11:14:06.404 UTC [28438][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:06.405 UTC [28438][client backend] [[unknown]][12/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-13 11:14:06.405 UTC [28438][client backend] [[unknown]][12/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-13 11:14:06.405 UTC [28438][client backend] [[unknown]][12/1:0] FATAL: database "postgres" does not exist # 2024-03-13 11:14:06.406 UTC [28439][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:06.407 UTC [28439][client backend] [[unknown]][13/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-13 11:14:06.407 UTC [28439][client backend] [[unknown]][13/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-13 11:14:06.407 UTC [28439][client backend] [040_createuser.pl][13/2:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:569:28: runtime error: load of value 172, which is not a valid value for type '_Bool' # ==28439==Using libbacktrace symbolizer. # #0 0x562745e9ca22 in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x562745e9caae in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x56274610af1f in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x56274610b28c in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x56274610b666 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x56274610e566 in PostgresMain ../src/backend/tcop/postgres.c:4672 # #6 0x562745fb1a7b in BackendRun ../src/backend/postmaster/postmaster.c:4452 # #7 0x562745fb72c0 in BackendStartup ../src/backend/postmaster/postmaster.c:4117 # #8 0x562745fb76d9 in ServerLoop ../src/backend/postmaster/postmaster.c:1780 # #9 0x562745fb90f3 in PostmasterMain ../src/backend/postmaster/postmaster.c:1478 # #10 0x562745de2d2e in main ../src/backend/main/main.c:197 # #11 0x7f539355dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x562745952219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # 2024-03-13 11:14:07.195 UTC [28109][postmaster] LOG: server process (PID 28154) was terminated by signal 6: Aborted # 2024-03-13 11:14:07.195 UTC [28109][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-03-13 11:14:07.289 UTC [28109][postmaster] LOG: terminating any other active server processes # ' # 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: connection to server on socket "/tmp/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.307](0.015s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [11:14:07.308](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. [11:14:07.308](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [11:14:07.308](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. [11:14:07.308](0.000s) # '2024-03-13 11:14:07.301 UTC [28500][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.301 UTC [28500][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.302 UTC [28501][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.302 UTC [28501][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # 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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.322](0.013s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [11:14:07.322](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. [11:14:07.322](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [11:14:07.323](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. [11:14:07.323](0.000s) # '2024-03-13 11:14:07.316 UTC [28503][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.316 UTC [28503][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.317 UTC [28504][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.317 UTC [28504][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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.336](0.013s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [11:14:07.336](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. [11:14:07.337](0.000s) not ok 29 - --with-admin: SQL found in server log [11:14:07.337](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. [11:14:07.337](0.000s) # '2024-03-13 11:14:07.330 UTC [28506][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.330 UTC [28506][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.331 UTC [28507][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.331 UTC [28507][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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.350](0.013s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [11:14:07.351](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. [11:14:07.351](0.000s) not ok 31 - --with-member: SQL found in server log [11:14:07.351](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. [11:14:07.351](0.000s) # '2024-03-13 11:14:07.345 UTC [28509][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.345 UTC [28509][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.346 UTC [28510][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.346 UTC [28510][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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.365](0.013s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [11:14:07.365](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. [11:14:07.365](0.000s) not ok 33 - --role: SQL found in server log [11:14:07.365](0.000s) # Failed test '--role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [11:14:07.366](0.000s) # '2024-03-13 11:14:07.358 UTC [28512][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.359 UTC [28512][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.359 UTC [28513][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.360 UTC [28513][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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.379](0.013s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [11:14:07.379](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. [11:14:07.380](0.000s) not ok 35 - --member-of: SQL found in server log [11:14:07.380](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. [11:14:07.380](0.000s) # '2024-03-13 11:14:07.373 UTC [28515][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.374 UTC [28515][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-13 11:14:07.374 UTC [28516][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-13 11:14:07.374 UTC [28516][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/eCJOD9Vs1O/.s.PGSQL.57217" failed: FATAL: the database system is in recovery mode [11:14:07.394](0.014s) 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. [11:14:07.407](0.013s) ok 37 - fails for too many non-options [11:14:07.407](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" [11:14:12.342](4.934s) # Looks like you failed 26 tests of 37.