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

=== Config value:

    [{watchdog,<0.29163.0>},
     {add_advertised_endpoints,[]},
     {extra_config,#{}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-04-05_07.50.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.mod_global_distrib_SUITE.logs/run.2022-04-05_07.50.17/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => [],
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => riak,iqdisc => one_queue,
              riak =>
                  #{bucket_type => <<"rosters">>,
                    version_bucket_type => <<"roster_versions">>},
              store_current_id => false,versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => riak,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,
              riak =>
                  #{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
              search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:50:42


*** CT 2022-04-05 07:50:42.864 *** View log from node mongooseim@localhost when started mongooseim@localhost_1720.html
*** CT 2022-04-05 07:50:42.865 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_681.html

*** System report during mod_global_distrib_SUITE:test_error_on_wrong_hosts/1 in start_checks 2022-04-05 07:50:42.867 ***
=CRITICAL REPORT==== 5-Apr-2022::07:50:42.867095 ===
    class: error
    host_type: <<"localhost">>
    module: mod_global_distrib_utils
    opts: #{bounce =>
                #{enabled => true,max_retries => 4,resend_after_ms => 200},
            cache =>
                #{cache_missed => true,domain_lifetime_seconds => 600,
                  jid_lifetime_seconds => 5,max_jids => 10000},
            connections =>
                #{connections_per_endpoint => 1,disabled_gc_interval => 60,
                  endpoint_refresh_interval => 60,
                  endpoint_refresh_interval_when_empty => 3,
                  tls =>
                      #{cafile => "priv/ssl/ca/cacert.pem",
                        certfile => "priv/ssl/fake_server.pem",
                        ciphers => "TLSv1.2:TLSv1.3"}},
            global_host => <<"localhost">>,hosts_refresh_interval => 200,
            local_host => <<"no_such_host">>,message_ttl => 4,
            redis =>
                #{expire_after => 120,pool => global_distrib,
                  refresh_after => 60}}
    reason: #{domain => <<"no_such_host">>,
              msg => <<"Domain is not hosted by the server">>,
              what => check_host_failed}
    stacktrace: [{mod_global_distrib_utils,check_host,1,
                     [{file,
                          "/home/circleci/project/src/global_distrib/mod_global_distrib_utils.erl"},
                      {line,216}]},
                 {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,110}]},
                 {mongoose_modules,start_module,4,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,95}]},
                 {mongoose_modules,ensure_started,3,
                     [{file,"/home/circleci/project/src/mongoose_modules.erl"},
                      {line,75}]},
                 {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,392}]}]
    what: module_start_failed


*** User 2022-04-05 07:50:42.871 ***
Sender supervisor not found in europe_node1

*** User 2022-04-05 07:50:42.871 ***
Sender supervisor not found in europe_node2

*** User 2022-04-05 07:50:42.872 ***
Sender supervisor not found in asia_node
*** CT 2022-04-05 07:50:42.872 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_681.html
*** CT 2022-04-05 07:50:42.873 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1720.html



=== Ended at 2022-04-05 07:50:42
=== successfully completed test case
=== === Returned value: ok


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