# Running: createuser --help [06:08:25.689](0.016s) ok 1 - createuser --help exit code 0 [06:08:25.689](0.000s) ok 2 - createuser --help goes to stdout [06:08:25.690](0.000s) ok 3 - createuser --help nothing to stderr [06:08:25.690](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [06:08:25.695](0.006s) ok 5 - createuser --version exit code 0 [06:08:25.695](0.000s) ok 6 - createuser --version goes to stdout [06:08:25.696](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [06:08:25.701](0.005s) ok 8 - createuser with invalid option nonzero exit code [06:08:25.701](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 60510 # Found port 60510 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=60510 host=/tmp/4c7l7Y1qmk Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [06:08:25.704](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 28770 # 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); [06:08:26.343](0.638s) not ok 10 - createuser regress_user1 exit code 0 [06:08:26.343](0.000s) # Failed test 'createuser regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [06:08:26.343](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [06:08:26.344](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. [06:08:26.344](0.000s) # '2024-03-11 06:08:26.034 UTC [28795][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.035 UTC [28795][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-11 06:08:26.036 UTC [28795][client backend] [[unknown]][0/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:26.036 UTC [28795][client backend] [[unknown]][0/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:26.037 UTC [28797][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.037 UTC [28797][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-11 06:08:26.038 UTC [28797][client backend] [[unknown]][1/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:26.038 UTC [28797][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 126, which is not a valid value for type '_Bool' # ==28797==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 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); [06:08:26.979](0.636s) not ok 12 - createuser -L regress_role1 exit code 0 [06:08:26.980](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. [06:08:26.980](0.000s) not ok 13 - create a non-login role: SQL found in server log [06:08:26.980](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. [06:08:26.980](0.000s) # '2024-03-11 06:08:26.351 UTC [28817][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.352 UTC [28817][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-11 06:08:26.352 UTC [28817][client backend] [[unknown]][2/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:26.352 UTC [28817][client backend] [[unknown]][2/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:26.353 UTC [28818][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.353 UTC [28818][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-11 06:08:26.353 UTC [28818][client backend] [[unknown]][3/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:26.354 UTC [28818][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 126, which is not a valid value for type '_Bool' # ==28818==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 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); [06:08:27.616](0.636s) not ok 14 - createuser -r regress user2 exit code 0 [06:08:27.616](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. [06:08:27.617](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [06:08:27.617](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. [06:08:27.617](0.000s) # '2024-03-11 06:08:26.987 UTC [28860][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.988 UTC [28860][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-11 06:08:26.988 UTC [28860][client backend] [[unknown]][4/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:26.988 UTC [28860][client backend] [[unknown]][4/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:26.989 UTC [28861][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:26.990 UTC [28861][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-11 06:08:26.990 UTC [28861][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:26.991 UTC [28861][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 126, which is not a valid value for type '_Bool' # ==28861==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 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); [06:08:28.754](1.137s) not ok 16 - createuser -s regress_user3 exit code 0 [06:08:28.754](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. [06:08:28.754](0.000s) not ok 17 - create a superuser: SQL found in server log [06:08:28.755](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. [06:08:28.755](0.000s) # '2024-03-11 06:08:27.623 UTC [28931][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:27.624 UTC [28931][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-11 06:08:27.624 UTC [28931][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:27.624 UTC [28931][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:27.625 UTC [28932][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:27.625 UTC [28932][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-11 06:08:27.625 UTC [28932][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:27.626 UTC [28932][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 126, which is not a valid value for type '_Bool' # ==28932==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 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); [06:08:29.892](1.137s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [06:08:29.892](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. [06:08:29.893](0.000s) not ok 19 - add a role as a member with admin option of the newly created role: SQL found in server log [06:08:29.893](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. [06:08:29.893](0.000s) # '2024-03-11 06:08:28.761 UTC [29055][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:28.761 UTC [29055][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-11 06:08:28.761 UTC [29055][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:28.761 UTC [29055][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:28.763 UTC [29058][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:28.763 UTC [29058][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-11 06:08:28.763 UTC [29058][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:28.764 UTC [29058][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 126, which is not a valid value for type '_Bool' # ==29058==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 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); [06:08:31.531](1.638s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [06:08:31.531](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. [06:08:31.531](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [06:08:31.531](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. [06:08:31.532](0.000s) # '2024-03-11 06:08:29.899 UTC [29159][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:29.900 UTC [29159][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-11 06:08:29.900 UTC [29159][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-03-11 06:08:29.900 UTC [29159][client backend] [[unknown]][10/1:0] FATAL: database "postgres" does not exist # 2024-03-11 06:08:29.901 UTC [29160][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:29.902 UTC [29160][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-11 06:08:29.902 UTC [29160][client backend] [[unknown]][11/1:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-03-11 06:08:29.903 UTC [29160][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 126, which is not a valid value for type '_Bool' # ==29160==Using libbacktrace symbolizer. # #0 0x55ee886857cc in standard_planner ../src/backend/optimizer/plan/planner.c:569 # #1 0x55ee88685858 in planner ../src/backend/optimizer/plan/planner.c:276 # #2 0x55ee888f3d70 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x55ee888f40dd in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x55ee888f44b7 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x55ee888f73b7 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x55ee8879a7f1 in BackendRun ../src/backend/postmaster/postmaster.c:4475 # #7 0x55ee887a00d9 in BackendStartup ../src/backend/postmaster/postmaster.c:4151 # #8 0x55ee887a0456 in ServerLoop ../src/backend/postmaster/postmaster.c:1769 # #9 0x55ee887a1ee8 in PostmasterMain ../src/backend/postmaster/postmaster.c:1468 # #10 0x55ee885cbad8 in main ../src/backend/main/main.c:197 # #11 0x7f0f2f93dd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x55ee8813b219 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b5219) # # 2024-03-11 06:08:30.693 UTC [28770][postmaster] LOG: server process (PID 28818) was terminated by signal 6: Aborted # 2024-03-11 06:08:30.693 UTC [28770][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-03-11 06:08:30.693 UTC [28770][postmaster] LOG: terminating any other active server processes # ' # 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: connection to server on socket "/tmp/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.544](0.013s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [06:08:31.544](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. [06:08:31.545](0.000s) not ok 23 - create a role with a password expiration date: SQL found in server log [06:08:31.545](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. [06:08:31.545](0.000s) # '2024-03-11 06:08:31.538 UTC [29241][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.538 UTC [29241][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.539 UTC [29242][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.539 UTC [29242][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # ' # 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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.557](0.013s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [06:08:31.558](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. [06:08:31.558](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [06:08:31.558](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. [06:08:31.558](0.000s) # '2024-03-11 06:08:31.551 UTC [29244][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.551 UTC [29244][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.552 UTC [29245][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.552 UTC [29245][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.571](0.012s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [06:08:31.571](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. [06:08:31.571](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [06:08:31.571](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. [06:08:31.572](0.000s) # '2024-03-11 06:08:31.565 UTC [29247][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.565 UTC [29247][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.565 UTC [29248][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.565 UTC [29248][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.584](0.012s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [06:08:31.584](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. [06:08:31.585](0.000s) not ok 29 - --with-admin: SQL found in server log [06:08:31.585](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. [06:08:31.585](0.000s) # '2024-03-11 06:08:31.578 UTC [29251][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.578 UTC [29251][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.579 UTC [29252][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.579 UTC [29252][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.597](0.013s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [06:08:31.598](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. [06:08:31.598](0.000s) not ok 31 - --with-member: SQL found in server log [06:08:31.598](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. [06:08:31.598](0.000s) # '2024-03-11 06:08:31.591 UTC [29256][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.591 UTC [29256][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.591 UTC [29258][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.591 UTC [29258][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.611](0.013s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [06:08:31.612](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. [06:08:31.612](0.000s) not ok 33 - --role: SQL found in server log [06:08:31.612](0.000s) # Failed test '--role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [06:08:31.612](0.000s) # '2024-03-11 06:08:31.604 UTC [29262][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.604 UTC [29262][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.605 UTC [29263][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.605 UTC [29263][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.625](0.012s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [06:08:31.625](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. [06:08:31.625](0.000s) not ok 35 - --member-of: SQL found in server log [06:08:31.625](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. [06:08:31.625](0.000s) # '2024-03-11 06:08:31.618 UTC [29265][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.618 UTC [29265][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-03-11 06:08:31.619 UTC [29266][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-03-11 06:08:31.619 UTC [29266][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/4c7l7Y1qmk/.s.PGSQL.60510" failed: FATAL: the database system is in recovery mode [06:08:31.638](0.012s) 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. [06:08:31.650](0.013s) ok 37 - fails for too many non-options [06:08:31.651](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" [06:08:35.860](4.209s) # Looks like you failed 26 tests of 37.