# Running: createuser --help [18:44:12.161](0.015s) ok 1 - createuser --help exit code 0 [18:44:12.161](0.000s) ok 2 - createuser --help goes to stdout [18:44:12.161](0.000s) ok 3 - createuser --help nothing to stderr [18:44:12.161](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [18:44:12.167](0.006s) ok 5 - createuser --version exit code 0 [18:44:12.167](0.000s) ok 6 - createuser --version goes to stdout [18:44:12.167](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [18:44:12.172](0.005s) ok 8 - createuser with invalid option nonzero exit code [18:44:12.173](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 64773 # Found port 64773 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=64773 host=/tmp/DDogjoFSFZ Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [18:44:12.180](0.008s) # 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 29162 # 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); [18:44:12.646](0.466s) not ok 10 - createuser regress_user1 exit code 0 [18:44:12.646](0.000s) # Failed test 'createuser regress_user1 exit code 0' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 19. [18:44:12.646](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [18:44:12.647](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. [18:44:12.647](0.000s) # '2024-02-29 18:44:12.338 UTC [29178][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.338 UTC [29178][client backend] [[unknown]][3/3:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.338 UTC [29178][client backend] [[unknown]][3/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:12.338 UTC [29178][client backend] [[unknown]][3/3:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:12.339 UTC [29179][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.340 UTC [29179][client backend] [[unknown]][3/4:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.340 UTC [29179][client backend] [[unknown]][3/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:12.341 UTC [29179][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 252, which is not a valid value for type '_Bool' # ==29179==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:12.962](0.315s) not ok 12 - createuser -L regress_role1 exit code 0 [18:44:12.962](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. [18:44:12.963](0.000s) not ok 13 - create a non-login role: SQL found in server log [18:44:12.963](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. [18:44:12.963](0.000s) # '2024-02-29 18:44:12.653 UTC [29202][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.654 UTC [29202][client backend] [[unknown]][4/3:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.654 UTC [29202][client backend] [[unknown]][4/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:12.654 UTC [29202][client backend] [[unknown]][4/3:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:12.655 UTC [29203][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.655 UTC [29203][client backend] [[unknown]][4/4:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.655 UTC [29203][client backend] [[unknown]][4/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:12.656 UTC [29203][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 252, which is not a valid value for type '_Bool' # ==29203==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:13.599](0.636s) not ok 14 - createuser -r regress user2 exit code 0 [18:44:13.599](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. [18:44:13.599](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [18:44:13.600](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. [18:44:13.600](0.000s) # '2024-02-29 18:44:12.969 UTC [29226][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.970 UTC [29226][client backend] [[unknown]][5/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.970 UTC [29226][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:12.970 UTC [29226][client backend] [[unknown]][5/1:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:12.971 UTC [29227][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:12.971 UTC [29227][client backend] [[unknown]][5/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:12.971 UTC [29227][client backend] [[unknown]][5/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:12.972 UTC [29227][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 252, which is not a valid value for type '_Bool' # ==29227==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:14.236](0.636s) not ok 16 - createuser -s regress_user3 exit code 0 [18:44:14.236](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. [18:44:14.236](0.000s) not ok 17 - create a superuser: SQL found in server log [18:44:14.237](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. [18:44:14.237](0.000s) # '2024-02-29 18:44:13.606 UTC [29262][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:13.606 UTC [29262][client backend] [[unknown]][6/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:13.606 UTC [29262][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:13.606 UTC [29262][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:13.608 UTC [29263][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:13.608 UTC [29263][client backend] [[unknown]][6/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:13.608 UTC [29263][client backend] [[unknown]][6/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:13.609 UTC [29263][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 252, which is not a valid value for type '_Bool' # ==29263==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:15.374](1.137s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [18:44:15.374](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. [18:44:15.375](0.000s) not ok 19 - add a role as a member with admin option of the newly created role: SQL found in server log [18:44:15.375](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. [18:44:15.375](0.000s) # '2024-02-29 18:44:14.244 UTC [29328][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:14.244 UTC [29328][client backend] [[unknown]][7/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:14.245 UTC [29328][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:14.245 UTC [29328][client backend] [[unknown]][7/1:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:14.245 UTC [29329][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:14.246 UTC [29329][client backend] [[unknown]][7/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:14.246 UTC [29329][client backend] [[unknown]][7/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:14.247 UTC [29329][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 252, which is not a valid value for type '_Bool' # ==29329==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:16.512](1.137s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [18:44:16.512](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. [18:44:16.513](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [18:44:16.513](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. [18:44:16.513](0.000s) # '2024-02-29 18:44:15.381 UTC [29464][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:15.381 UTC [29464][client backend] [[unknown]][8/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:15.381 UTC [29464][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:15.381 UTC [29464][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:15.382 UTC [29465][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:15.383 UTC [29465][client backend] [[unknown]][8/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:15.383 UTC [29465][client backend] [[unknown]][8/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:15.384 UTC [29465][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 252, which is not a valid value for type '_Bool' # ==29465==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 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); [18:44:18.150](1.637s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [18:44:18.150](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. [18:44:18.151](0.000s) not ok 23 - create a role with a password expiration date: SQL found in server log [18:44:18.151](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. [18:44:18.151](0.000s) # '2024-02-29 18:44:16.520 UTC [29555][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:16.520 UTC [29555][client backend] [[unknown]][9/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:16.520 UTC [29555][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-29 18:44:16.520 UTC [29555][client backend] [[unknown]][9/1:0] FATAL: database "postgres" does not exist # 2024-02-29 18:44:16.521 UTC [29556][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:16.522 UTC [29556][client backend] [[unknown]][9/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-29 18:44:16.522 UTC [29556][client backend] [[unknown]][9/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-29 18:44:16.522 UTC [29556][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 252, which is not a valid value for type '_Bool' # ==29556==Using libbacktrace symbolizer. # #0 0x564fac4ee7da in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x564fac4ee866 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x564fac75bc4a in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x564fac75bfb7 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x564fac75c391 in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x564fac75f291 in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x564fac603bbb in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x564fac60949f in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x564fac60981c in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x564fac60b2ae in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x564fac434a76 in main ../src/backend/main/main.c:198 # #11 0x7f4fea83cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x564fabfa4229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b3229) # # 2024-02-29 18:44:18.085 UTC [29162][postmaster] LOG: server process (PID 29203) was terminated by signal 6: Aborted # 2024-02-29 18:44:18.085 UTC [29162][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-02-29 18:44:18.085 UTC [29162][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.164](0.013s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [18:44:18.164](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. [18:44:18.165](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [18:44:18.165](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. [18:44:18.165](0.000s) # '2024-02-29 18:44:18.158 UTC [29651][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.158 UTC [29651][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.158 UTC [29652][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.158 UTC [29652][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.177](0.012s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [18:44:18.177](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. [18:44:18.178](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [18:44:18.178](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. [18:44:18.178](0.000s) # '2024-02-29 18:44:18.170 UTC [29654][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.170 UTC [29654][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.171 UTC [29655][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.171 UTC [29655][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.190](0.012s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [18:44:18.191](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. [18:44:18.191](0.000s) not ok 29 - --with-admin: SQL found in server log [18:44:18.191](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. [18:44:18.191](0.000s) # '2024-02-29 18:44:18.184 UTC [29663][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.184 UTC [29663][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.185 UTC [29664][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.185 UTC [29664][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.203](0.012s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [18:44:18.203](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. [18:44:18.204](0.000s) not ok 31 - --with-member: SQL found in server log [18:44:18.204](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. [18:44:18.204](0.000s) # '2024-02-29 18:44:18.196 UTC [29666][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.196 UTC [29666][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.197 UTC [29667][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.197 UTC [29667][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.216](0.012s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [18:44:18.216](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. [18:44:18.216](0.000s) not ok 33 - --role: SQL found in server log [18:44:18.216](0.000s) # Failed test '--role: SQL found in server log' # at /tmp/cirrus-ci-build/src/bin/scripts/t/040_createuser.pl line 70. [18:44:18.216](0.000s) # '2024-02-29 18:44:18.208 UTC [29669][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.208 UTC [29669][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.209 UTC [29670][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.209 UTC [29670][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.228](0.012s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [18:44:18.229](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. [18:44:18.229](0.000s) not ok 35 - --member-of: SQL found in server log [18:44:18.229](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. [18:44:18.229](0.000s) # '2024-02-29 18:44:18.221 UTC [29672][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.221 UTC [29672][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-29 18:44:18.222 UTC [29673][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-29 18:44:18.222 UTC [29673][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/DDogjoFSFZ/.s.PGSQL.64773" failed: FATAL: the database system is in recovery mode [18:44:18.241](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. [18:44:18.555](0.314s) ok 37 - fails for too many non-options [18:44:18.617](0.062s) 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" [18:44:23.227](4.610s) # Looks like you failed 26 tests of 37.