=== Test case: mod_global_distrib_SUITE:test_error_on_wrong_hosts/1 (click for source code)

=== Config value:

    [{watchdog,<0.66007.0>},
     {add_advertised_endpoints,[]},
     {extra_config,#{}},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c83312fba1db.2024-02-20_09.44.15/big_tests.tests.mod_global_distrib_SUITE.logs/run.2024-02-20_09.54.17/mod_global_distrib_suite.test_error_on_wrong_hosts.html"},
     {tc_group_properties,[{name,start_checks}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_global_distrib_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@c83312fba1db.2024-02-20_09.44.15/big_tests.tests.mod_global_distrib_SUITE.logs/run.2024-02-20_09.54.17/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => mnesia},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c83312fba1db.2024-02-20_09.44.15"

=== Started at 2024-02-20 09:54:46


*** CT 2024-02-20 09:54:46.580 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2555.html

*** System report during mod_global_distrib_SUITE:test_error_on_wrong_hosts/1 in start_checks 2024-02-20 09:54:46.588 ***🔗
=CRITICAL REPORT==== 20-Feb-2024::09:54:46.583319 ===
    module: mod_global_distrib_utils
    reason: #{domain => <<"no_such_host">>,
              msg => <<"Domain is not hosted by the server">>,
              what => check_host_failed}
    opts: #{cache =>
                #{cache_missed => true,domain_lifetime_seconds => 600,
                  jid_lifetime_seconds => 5,max_jids => 10000},
            redis =>
                #{pool => global_distrib,refresh_after => 60,
                  expire_after => 120},
            global_host => <<"localhost">>,local_host => <<"no_such_host">>,
            bounce =>
                #{enabled => true,max_retries => 4,resend_after_ms => 200},
            connections =>
                #{tls =>
                      #{cacertfile => "priv/ssl/ca/cacert.pem",
                        verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3",
                        protocol_options =>
                            ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                        certfile => "priv/ssl/fake_server.pem"},
                  connections_per_endpoint => 1,
                  endpoint_refresh_interval => 60,
                  endpoint_refresh_interval_when_empty => 3,
                  disabled_gc_interval => 60},
            message_ttl => 4,hosts_refresh_interval => 200}
    stacktrace: [{mod_global_distrib_utils,check_host,1,
                     [{file,
                          "/home/circleci/project/src/global_distrib/mod_global_distrib_utils.erl"},
                      {line,209}]},
                 {mod_global_distrib_utils,start,2,
                     [{file,
                          "/home/circleci/project/src/global_distrib/mod_global_distrib_utils.erl"},
                      {line,70}]},
                 {gen_mod,start_module_for_host_type,3,
                     [{file,"/home/circleci/project/src/gen_mod.erl"},
                      {line,104}]},
                 {mongoose_modules,start_module,4,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,90}]},
                 {mongoose_modules,ensure_started,3,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,74}]},
                 {mongoose_modules,'-replace_modules/3-lc$^1/1-1-',2,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,50}]},
                 {mongoose_modules,replace_modules,3,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,51}]},
                 {erpc,execute_call,4,[{file,"erpc.erl"},{line,589}]}]
    host_type: <<"localhost">>
    what: module_start_failed
    class: error


*** User 2024-02-20 09:54:46.591 ***🔗
Sender supervisor not found in europe_node1

*** User 2024-02-20 09:54:46.592 ***🔗
Sender supervisor not found in europe_node2

*** User 2024-02-20 09:54:46.593 ***🔗
Sender supervisor not found in asia_node
*** CT 2024-02-20 09:54:46.597 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2555.html



=== Ended at 2024-02-20 09:54:46
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result