=== Test case: service_domain_db_SUITE:db_cannot_check_password_for_unknown_domain/1 (click for source code)

=== Config value:

    [{watchdog,<0.4504.2>},
     {service,true},
     {service_setup,per_group},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/service_domain_db_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe59561f732d.2024-02-26_12.46.22/big_tests.tests.service_domain_db_SUITE.logs/run.2024-02-26_13.00.45/service_domain_db_suite.db_cannot_check_password_for_unknown_domain.98436.html"},
     {tc_group_properties,[{name,plain_db},parallel]},
     {tc_group_path,[[{name,db}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/service_domain_db_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe59561f732d.2024-02-26_12.46.22/big_tests.tests.service_domain_db_SUITE.logs/run.2024-02-26_13.00.45/log_private/"},
     {{saved_services,mongooseim@localhost},
      #{service_domain_db =>
            #{db_pool => #{name => default,scope => <<"localhost">>},
              event_cleaning_interval => 1800,event_max_age => 7200},
        service_mongoose_system_metrics =>
            #{initial_report => 300000,periodic_report => 10800000}}},
     {{saved_services,mongooseim2@localhost},
      #{service_domain_db =>
            #{db_pool => #{name => default,scope => <<"localhost">>},
              event_cleaning_interval => 1800,event_max_age => 7200},
        service_mongoose_system_metrics =>
            #{initial_report => 300000,periodic_report => 10800000}}},
     {{saved_services,mongooseim3@localhost},
      #{service_domain_db =>
            #{db_pool => #{name => default,scope => <<"localhost">>},
              event_cleaning_interval => 1800,event_max_age => 7200},
        service_mongoose_system_metrics =>
            #{initial_report => 300000,periodic_report => 10800000}}},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},
      #{mod_presence => #{}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fe59561f732d.2024-02-26_12.46.22"

=== Started at 2024-02-26 13:00:45


*** CT 2024-02-26 13:00:45.604 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2508.html

*** CT Error Notification 2024-02-26 13:00:45.635 ***🔗
distributed_helper:rpc failed on line 140
Reason: {badrpc,{'EXIT',{...}}}

Full error description and stacktrace
*** CT 2024-02-26 13:00:45.755 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2561.html



=== Ended at 2024-02-26 13:00:45
=== Location: [{distributed_helper,rpc,140},
              {service_domain_db_SUITE,db_cannot_check_password_for_unknown_domain,537},
              {test_server,ts_tc,1782},
              {test_server,run_test_case_eval1,1291},
              {test_server,run_test_case_eval,1223}]
=== === Reason: {badrpc,
                     {'EXIT',
                         {badarg,
                             [{ets,lookup,
                                  [prepared_statements,domain_select_admin],
                                  [{error_info,
                                       #{cause => id,
                                         module => erl_stdlib_errors}}]},
                              {mongoose_rdbms,query_name_to_string,1,
                                  [{file,
                                       "/home/circleci/project/src/rdbms/mongoose_rdbms.erl"},
                                   {line,316}]},
                              {mongoose_rdbms,execute_successfully,4,
                                  [{file,
                                       "/home/circleci/project/src/rdbms/mongoose_rdbms.erl"},
                                   {line,308}]},
                              {mongoose_domain_sql,select_domain_admin,1,
                                  [{file,
                                       "/home/circleci/project/src/domain/mongoose_domain_sql.erl"},
                                   {line,171}]},
                              {mongoose_domain_api,check_domain_password,2,
                                  [{file,
                                       "/home/circleci/project/src/domain/mongoose_domain_api.erl"},
                                   {line,235}]}]}}}
  in function  distributed_helper:rpc/4
     called as distributed_helper:rpc(#{node => mongooseim@localhost},
                                      mongoose_domain_api,
                                      check_domain_password,
                                      [<<"unknown_domain">>,<<>>])
  in call from service_domain_db_SUITE:db_cannot_check_password_for_unknown_domain/1 (/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl, line 537)
  in call from test_server:ts_tc/3 (test_server.erl, line 1782)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1291)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1223)