=== Test case: service_domain_db_SUITE:db_gaps_are_getting_filled_automatically/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_gaps_are_getting_filled_automatically.98948.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.605 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2508.html

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

Full error description and stacktrace
*** CT 2024-02-26 13:00:45.760 *** 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_gaps_are_getting_filled_automatically,561},
              {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,
                                  [mongoose_domain_core,
                                   <<"197250.example.db">>],
                                  [{error_info,
                                       #{cause => id,
                                         module => erl_stdlib_errors}}]},
                              {mongoose_domain_core,is_static,1,
                                  [{file,
                                       "/home/circleci/project/src/domain/mongoose_domain_core.erl"},
                                   {line,56}]},
                              {mongoose_domain_api,check_domain,1,
                                  [{file,
                                       "/home/circleci/project/src/domain/mongoose_domain_api.erl"},
                                   {line,107}]},
                              {mongoose_domain_api,fold,2,
                                  [{file,
                                       "/home/circleci/project/src/domain/mongoose_domain_api.erl"},
                                   {line,306}]},
                              {mongoose_domain_api,insert_domain,2,[]}]}}}
  in function  distributed_helper:rpc/4
     called as distributed_helper:rpc(#{node => mongooseim@localhost},
                                      mongoose_domain_api,insert_domain,
                                      [<<"197250.example.db">>,<<"type1">>])
  in call from service_domain_db_SUITE:db_gaps_are_getting_filled_automatically/1 (/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl, line 561)
  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)