# Running: createuser --help [18:47:56.292](0.015s) ok 1 - createuser --help exit code 0 [18:47:56.292](0.000s) ok 2 - createuser --help goes to stdout [18:47:56.292](0.000s) ok 3 - createuser --help nothing to stderr [18:47:56.293](0.000s) ok 4 - createuser --help maximum line length # Running: createuser --version [18:47:56.300](0.007s) ok 5 - createuser --version exit code 0 [18:47:56.300](0.000s) ok 6 - createuser --version goes to stdout [18:47:56.300](0.000s) ok 7 - createuser --version nothing to stderr # Running: createuser --not-a-valid-option [18:47:56.306](0.006s) ok 8 - createuser with invalid option nonzero exit code [18:47:56.306](0.000s) ok 9 - createuser with invalid option prints error message # Checking port 64339 # Found port 64339 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=64339 host=/tmp/WLGmchev7k Log file: /tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/log/040_createuser_main.log [18:47:56.309](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 27355 # 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:47:57.587](1.278s) not ok 10 - createuser regress_user1 exit code 0 [18:47:57.588](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:47:57.588](0.000s) not ok 11 - SQL CREATE USER run: SQL found in server log [18:47:57.588](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:47:57.588](0.000s) # '2024-02-27 18:47:56.457 UTC [27374][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:56.457 UTC [27374][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-27 18:47:56.457 UTC [27374][client backend] [[unknown]][3/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:47:56.457 UTC [27374][client backend] [[unknown]][3/3:0] FATAL: database "postgres" does not exist # 2024-02-27 18:47:56.458 UTC [27375][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:56.459 UTC [27375][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-27 18:47:56.459 UTC [27375][client backend] [[unknown]][3/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:47:56.460 UTC [27375][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 17, which is not a valid value for type '_Bool' # ==27375==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user1 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -L regress_role1 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:47:58.224](0.636s) not ok 12 - createuser -L regress_role1 exit code 0 [18:47:58.224](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:47:58.225](0.000s) not ok 13 - create a non-login role: SQL found in server log [18:47:58.225](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:47:58.225](0.000s) # '2024-02-27 18:47:57.595 UTC [27428][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:57.595 UTC [27428][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-27 18:47:57.595 UTC [27428][client backend] [[unknown]][4/3:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:47:57.595 UTC [27428][client backend] [[unknown]][4/3:0] FATAL: database "postgres" does not exist # 2024-02-27 18:47:57.596 UTC [27430][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:57.597 UTC [27430][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-27 18:47:57.597 UTC [27430][client backend] [[unknown]][4/4:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:47:57.598 UTC [27430][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 17, which is not a valid value for type '_Bool' # ==27430==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_role1 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT NOLOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -r regress user2 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:47:58.861](0.636s) not ok 14 - createuser -r regress user2 exit code 0 [18:47:58.861](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:47:58.861](0.000s) not ok 15 - create a CREATEROLE user: SQL found in server log [18:47:58.861](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:47:58.861](0.000s) # '2024-02-27 18:47:58.232 UTC [27479][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:58.232 UTC [27479][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-27 18:47:58.232 UTC [27479][client backend] [[unknown]][5/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:47:58.233 UTC [27479][client backend] [[unknown]][5/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:47:58.233 UTC [27480][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:58.234 UTC [27480][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-27 18:47:58.234 UTC [27480][client backend] [[unknown]][5/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:47:58.235 UTC [27480][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 17, which is not a valid value for type '_Bool' # ==27480==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "regress user2" NOSUPERUSER NOCREATEDB CREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -s regress_user3 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:47:59.998](1.136s) not ok 16 - createuser -s regress_user3 exit code 0 [18:47:59.998](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:47:59.998](0.000s) not ok 17 - create a superuser: SQL found in server log [18:47:59.999](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:47:59.999](0.000s) # '2024-02-27 18:47:58.868 UTC [27520][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:58.869 UTC [27520][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-27 18:47:58.869 UTC [27520][client backend] [[unknown]][6/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:47:58.869 UTC [27520][client backend] [[unknown]][6/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:47:58.870 UTC [27521][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:47:58.870 UTC [27521][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-27 18:47:58.870 UTC [27521][client backend] [[unknown]][6/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:47:58.871 UTC [27521][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 17, which is not a valid value for type '_Bool' # ==27521==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user3 SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS;)' # Running: createuser -a regress_user1 -a regress user2 regress user #4 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:48:00.634](0.636s) not ok 18 - createuser -a regress_user1 -a regress user2 regress user \#4 exit code 0 [18:48:00.635](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:48:00.635](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:48:00.635](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:48:00.635](0.000s) # '2024-02-27 18:48:00.005 UTC [27647][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:00.006 UTC [27647][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-27 18:48:00.006 UTC [27647][client backend] [[unknown]][7/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:48:00.006 UTC [27647][client backend] [[unknown]][7/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:48:00.007 UTC [27649][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:00.007 UTC [27649][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-27 18:48:00.007 UTC [27649][client backend] [[unknown]][7/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:48:00.008 UTC [27649][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 17, which is not a valid value for type '_Bool' # ==27649==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "regress user #4" NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ADMIN regress_user1,"regress user2";)' # Running: createuser REGRESS_USER5 -m regress_user3 -m regress user #4 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:48:01.271](0.635s) not ok 20 - createuser REGRESS_USER5 -m regress_user3 -m regress user \#4 exit code 0 [18:48:01.271](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:48:01.271](0.000s) not ok 21 - add a role as a member of the newly created role: SQL found in server log [18:48:01.271](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:48:01.272](0.000s) # '2024-02-27 18:48:00.642 UTC [27706][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:00.642 UTC [27706][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-27 18:48:00.643 UTC [27706][client backend] [[unknown]][8/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:48:00.643 UTC [27706][client backend] [[unknown]][8/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:48:00.644 UTC [27708][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:00.645 UTC [27708][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-27 18:48:00.645 UTC [27708][client backend] [[unknown]][8/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:48:00.646 UTC [27708][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 17, which is not a valid value for type '_Bool' # ==27708==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE "REGRESS_USER5" NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS ROLE regress_user3,"regress user #4";)' # Running: createuser -v 2029 12 31 regress_user6 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:48:02.909](1.637s) not ok 22 - createuser -v 2029 12 31 regress_user6 exit code 0 [18:48:02.909](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:48:02.910](0.000s) not ok 23 - create a role with a password expiration date: SQL found in server log [18:48:02.910](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:48:02.910](0.000s) # '2024-02-27 18:48:01.278 UTC [27772][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:01.279 UTC [27772][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-27 18:48:01.279 UTC [27772][client backend] [[unknown]][9/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:48:01.279 UTC [27772][client backend] [[unknown]][9/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:48:01.280 UTC [27773][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:01.280 UTC [27773][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-27 18:48:01.280 UTC [27773][client backend] [[unknown]][9/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:48:01.281 UTC [27773][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 17, which is not a valid value for type '_Bool' # ==27773==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # ' # doesn't match '(?^:statement: CREATE ROLE regress_user6 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION NOBYPASSRLS VALID UNTIL \'2029 12 31\';)' # Running: createuser --bypassrls regress_user7 createuser: error: query failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. createuser: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); [18:48:03.545](0.636s) not ok 24 - createuser --bypassrls regress_user7 exit code 0 [18:48:03.546](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:48:03.546](0.000s) not ok 25 - create a BYPASSRLS role: SQL found in server log [18:48:03.546](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:48:03.546](0.000s) # '2024-02-27 18:48:02.916 UTC [27856][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:02.917 UTC [27856][client backend] [[unknown]][10/1:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-27 18:48:02.917 UTC [27856][client backend] [[unknown]][10/1:0] LOG: connection authorized: user=postgres database=postgres application_name=040_createuser.pl # 2024-02-27 18:48:02.917 UTC [27856][client backend] [[unknown]][10/1:0] FATAL: database "postgres" does not exist # 2024-02-27 18:48:02.918 UTC [27857][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:02.919 UTC [27857][client backend] [[unknown]][10/2:0] LOG: connection authenticated: user="postgres" method=trust (/tmp/cirrus-ci-build/build/testrun/scripts/040_createuser/data/t_040_createuser_main_data/pgdata/pg_hba.conf:117) # 2024-02-27 18:48:02.919 UTC [27857][client backend] [[unknown]][10/2:0] LOG: connection authorized: user=postgres database=template1 application_name=040_createuser.pl # 2024-02-27 18:48:02.920 UTC [27857][client backend] [040_createuser.pl][10/3:0] LOG: statement: SELECT pg_catalog.set_config('search_path', '', false); # ../src/backend/optimizer/plan/planner.c:576:28: runtime error: load of value 17, which is not a valid value for type '_Bool' # ==27857==Using libbacktrace symbolizer. # #0 0x5558e6528519 in standard_planner ../src/backend/optimizer/plan/planner.c:576 # #1 0x5558e65285a5 in planner ../src/backend/optimizer/plan/planner.c:283 # #2 0x5558e67946c8 in pg_plan_query ../src/backend/tcop/postgres.c:903 # #3 0x5558e6794a35 in pg_plan_queries ../src/backend/tcop/postgres.c:995 # #4 0x5558e6794e0f in exec_simple_query ../src/backend/tcop/postgres.c:1192 # #5 0x5558e6797d0f in PostgresMain ../src/backend/tcop/postgres.c:4675 # #6 0x5558e663db07 in BackendRun ../src/backend/postmaster/postmaster.c:4477 # #7 0x5558e66433eb in BackendStartup ../src/backend/postmaster/postmaster.c:4153 # #8 0x5558e6643768 in ServerLoop ../src/backend/postmaster/postmaster.c:1771 # #9 0x5558e66451fa in PostmasterMain ../src/backend/postmaster/postmaster.c:1470 # #10 0x5558e646e7b5 in main ../src/backend/main/main.c:198 # #11 0x7fc8b912ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #12 0x5558e5fdf229 in _start (/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres+0x8b1229) # # 2024-02-27 18:48:03.346 UTC [27355][postmaster] LOG: server process (PID 27430) was terminated by signal 6: Aborted # 2024-02-27 18:48:03.346 UTC [27355][postmaster] DETAIL: Failed process was running: SELECT pg_catalog.set_config('search_path', '', false); # 2024-02-27 18:48:03.346 UTC [27355][postmaster] LOG: terminating any other active server processes # ' # doesn't match '(?^:statement: CREATE ROLE regress_user7 NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN NOREPLICATION BYPASSRLS;)' # Running: createuser --no-bypassrls regress_user8 createuser: error: connection to server on socket "/tmp/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.558](0.012s) not ok 26 - createuser --no-bypassrls regress_user8 exit code 0 [18:48:03.558](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:48:03.559](0.000s) not ok 27 - create a role without BYPASSRLS: SQL found in server log [18:48:03.559](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:48:03.559](0.000s) # '2024-02-27 18:48:03.551 UTC [27895][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.552 UTC [27895][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-27 18:48:03.552 UTC [27896][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.552 UTC [27896][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/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.571](0.012s) not ok 28 - createuser --with-admin regress_user1 regress_user9 exit code 0 [18:48:03.571](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:48:03.571](0.000s) not ok 29 - --with-admin: SQL found in server log [18:48:03.571](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:48:03.571](0.000s) # '2024-02-27 18:48:03.564 UTC [27898][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.564 UTC [27898][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-27 18:48:03.564 UTC [27899][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.564 UTC [27899][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/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.583](0.012s) not ok 30 - createuser --with-member regress_user1 regress_user10 exit code 0 [18:48:03.583](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:48:03.584](0.000s) not ok 31 - --with-member: SQL found in server log [18:48:03.584](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:48:03.584](0.000s) # '2024-02-27 18:48:03.576 UTC [27901][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.576 UTC [27901][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-27 18:48:03.577 UTC [27902][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.577 UTC [27902][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/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.596](0.012s) not ok 32 - createuser --role regress_user1 regress_user11 exit code 0 [18:48:03.596](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:48:03.596](0.000s) not ok 33 - --role: SQL found in server log [18:48:03.596](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:48:03.596](0.000s) # '2024-02-27 18:48:03.589 UTC [27904][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.589 UTC [27904][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-27 18:48:03.589 UTC [27905][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.589 UTC [27905][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/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.609](0.013s) not ok 34 - createuser regress_user12 --member-of regress_user1 exit code 0 [18:48:03.609](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:48:03.610](0.000s) not ok 35 - --member-of: SQL found in server log [18:48:03.610](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:48:03.610](0.000s) # '2024-02-27 18:48:03.603 UTC [27907][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.603 UTC [27907][client backend] [[unknown]][:0] FATAL: the database system is in recovery mode # 2024-02-27 18:48:03.604 UTC [27908][not initialized] [[unknown]][:0] LOG: connection received: host=[local] # 2024-02-27 18:48:03.604 UTC [27908][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/WLGmchev7k/.s.PGSQL.64339" failed: FATAL: the database system is in recovery mode [18:48:03.623](0.013s) ok 36 - fails if role already exists # Running: createuser regress_user1 -m regress_user2 regress_user3 createuser: error: too many command-line arguments (first is "regress_user3") createuser: hint: Try "createuser --help" for more information. [18:48:03.636](0.013s) ok 37 - fails for too many non-options [18:48:03.636](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" [18:48:08.147](4.511s) # Looks like you failed 26 tests of 37.