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

=== Config value:

    [{watchdog,<0.35129.0>},
     {add_advertised_endpoints,[]},
     {extra_config,#{}},
     {preset,"internal_mnesia"},
     {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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.mod_global_distrib_SUITE.logs/run.2024-03-11_11.39.01/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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.mod_global_distrib_SUITE.logs/run.2024-03-11_11.39.01/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => mnesia,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58"

=== Started at 2024-03-11 11:39:30


*** CT 2024-03-11 11:39:30.072 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2369.html

*** System report during mod_global_distrib_SUITE:test_error_on_wrong_hosts/1 in start_checks 2024-03-11 11:39:30.075 ***🔗
=CRITICAL REPORT==== 11-Mar-2024::11:39:30.074265 ===
    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},
            connections =>
                #{tls =>
                      #{cacertfile => "priv/ssl/ca/cacert.pem",
                        certfile => "priv/ssl/fake_server.pem",
                        ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer,
                        protocol_options =>
                            ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
                  endpoint_refresh_interval => 60,
                  endpoint_refresh_interval_when_empty => 3,
                  disabled_gc_interval => 60,connections_per_endpoint => 1},
            global_host => <<"localhost">>,local_host => <<"no_such_host">>,
            hosts_refresh_interval => 200,
            bounce =>
                #{enabled => true,max_retries => 4,resend_after_ms => 200},
            message_ttl => 4}
    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">>
    class: error
    what: module_start_failed


*** User 2024-03-11 11:39:30.079 ***🔗
Sender supervisor not found in europe_node1

*** User 2024-03-11 11:39:30.079 ***🔗
Sender supervisor not found in europe_node2

*** User 2024-03-11 11:39:30.080 ***🔗
Sender supervisor not found in asia_node
*** CT 2024-03-11 11:39:30.081 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2369.html



=== Ended at 2024-03-11 11:39:30
=== successfully completed test case
=== === Returned value: ok


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