=== Test case: mongoose_config_SUITE:cluster_load_from_file/1 (click for source code)

=== Config value:

    [{slave_node,mim_slave@716c9477c7de},
     {watchdog,<0.84582.0>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-19_08.28.59/lib.mongooseim.logs/run.2024-04-19_08.28.59/mongoose_config_suite.cluster_load_from_file.html"},
     {tc_group_properties,[{name,cluster}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/mongoose_config_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-19_08.28.59/lib.mongooseim.logs/run.2024-04-19_08.28.59/log_private/"}]

=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-19_08.28.59"

=== Started at 2024-04-19 08:32:36


*** System report during mongoose_config_SUITE:cluster_load_from_file/1 in cluster 2024-04-19 08:32:42.225 ***🔗
=INFO REPORT==== 19-Apr-2024::08:32:42.225622 ===
    application: mnesia
    exited: stopped
    type: temporary



*** System report during mongoose_config_SUITE:cluster_load_from_file/1 in cluster 2024-04-19 08:32:42.448 ***🔗
=WARNING REPORT==== 19-Apr-2024::08:32:42.448503 ===
    text: <<"We're sorry to hear you don't want to share the system's metrics with us. These metrics would enable us to improve MongooseIM and know where to focus our efforts. To stop being notified, you can add this to the services section of your config file: \n  [services.service_mongoose_system_metrics]\n    report = false\nFor more info on how to customise, read, enable, and disable the metrics visit: \n- MongooseIM docs - \n     https://esl.github.io/MongooseDocs/latest/operation-and-maintenance/System-Metrics-Privacy-Policy/ \n- MongooseIM GitHub page - https://github.com/esl/MongooseIM">>
    what: system_metrics_disabled


*** System report during mongoose_config_SUITE:cluster_load_from_file/1 in cluster 2024-04-19 08:32:45.193 ***🔗
=WARNING REPORT==== 19-Apr-2024::08:32:45.193757 ===
    reason: shutdown
    what: node_id_node_down
    remote_node: mim_slave@716c9477c7de
    monitor_ref: #Ref<0.479070286.2194931713.140062>
    remote_pid: <65209.440.0>


*** CT Error Notification 2024-04-19 08:32:45.399 ***🔗
mongoose_config_SUITE:check_loaded_config failed on line 163
Reason: {assertEqual,[{module,...},{...}|...]}

Full error description and stacktrace



=== Ended at 2024-04-19 08:32:45
=== Location: [{mongoose_config_SUITE,check_loaded_config,163},
              {mongoose_config_SUITE,cluster_load_from_file,151},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: {assertEqual,
                     [{module,mongoose_config_SUITE},
                      {line,163},
                      {expression,"Opts"},
                      {expected,
                          #{listen => [],
                            hosts => [<<"localhost">>],
                            services => #{},language => <<"en">>,
                            host_types => [],
                            default_server_domain => <<"localhost">>,
                            outgoing_pools => [],
                            internal_databases => #{mnesia => #{}},
                            loglevel => warning,sm_backend => mnesia,
                            component_backend => mnesia,
                            instrumentation => #{},hide_service_name => false,
                            routing_modules =>
                                [{router_handler,
                                     fun mongoose_router_global:filter/4,
                                     fun mongoose_router_global:route/4},
                                 {router_handler,
                                     fun mongoose_router_localdomain:filter/4,
                                     fun mongoose_router_localdomain:route/4},
                                 {router_handler,
                                     fun mongoose_router_external_localnode:filter/4,
                                     fun mongoose_router_external_localnode:route/4},
                                 {router_handler,
                                     fun mongoose_router_external:filter/4,
                                     fun mongoose_router_external:route/4},
                                 {router_handler,
                                     fun mongoose_router_dynamic_domains:filter/4,
                                     fun mongoose_router_dynamic_domains:route/4},
                                 {router_handler,fun ejabberd_s2s:filter/4,
                                     fun ejabberd_s2s:route/4}],
                            s2s_backend => mnesia,
                            all_metrics_are_global => false,
                            registration_timeout => 600,
                            rdbms_server_type => generic,
                            {auth,<<"localhost">>} =>
                                #{methods => [],
                                  password =>
                                      #{format => scram,
                                        scram_iterations => 10000},
                                  max_users_per_domain => infinity,
                                  sasl_mechanisms =>
                                      [cyrsasl_scram_sha512_plus,
                                       cyrsasl_scram_sha512,
                                       cyrsasl_scram_sha384_plus,
                                       cyrsasl_scram_sha384,
                                       cyrsasl_scram_sha256_plus,
                                       cyrsasl_scram_sha256,
                                       cyrsasl_scram_sha224_plus,
                                       cyrsasl_scram_sha224,
                                       cyrsasl_scram_sha1_plus,
                                       cyrsasl_scram_sha1,cyrsasl_plain,
                                       cyrsasl_anonymous,cyrsasl_oauth],
                                  sasl_external => [standard]},
                            {modules,<<"localhost">>} => #{},
                            {replaced_wait_timeout,<<"localhost">>} => 2000,
                            {s2s,<<"localhost">>} =>
                                #{outgoing =>
                                      #{port => 5269,
                                        connection_timeout => 10000,
                                        ip_versions => [4,6]},
                                  dns => #{timeout => 10,retries => 2},
                                  ciphers => "TLSv1.2:TLSv1.3",
                                  use_starttls => false,
                                  max_retry_delay => 300,
                                  default_policy => allow}}},
                      {value,
                          #{listen => [],
                            hosts => [<<"localhost">>],
                            services => #{},language => <<"en">>,
                            host_types => [],
                            default_server_domain => <<"localhost">>,
                            outgoing_pools => [],
                            internal_databases => #{mnesia => #{}},
                            loglevel => warning,sm_backend => mnesia,
                            component_backend => mnesia,
                            instrumentation => #{probe_interval => 15},
                            hide_service_name => false,
                            routing_modules =>
                                [{router_handler,
                                     fun mongoose_router_global:filter/4,
                                     fun mongoose_router_global:route/4},
                                 {router_handler,
                                     fun mongoose_router_localdomain:filter/4,
                                     fun mongoose_router_localdomain:route/4},
                                 {router_handler,
                                     fun mongoose_router_external_localnode:filter/4,
                                     fun mongoose_router_external_localnode:route/4},
                                 {router_handler,
                                     fun mongoose_router_external:filter/4,
                                     fun mongoose_router_external:route/4},
                                 {router_handler,
                                     fun mongoose_router_dynamic_domains:filter/4,
                                     fun mongoose_router_dynamic_domains:route/4},
                                 {router_handler,fun ejabberd_s2s:filter/4,
                                     fun ejabberd_s2s:route/4}],
                            s2s_backend => mnesia,
                            all_metrics_are_global => false,
                            registration_timeout => 600,
                            rdbms_server_type => generic,
                            {auth,<<"localhost">>} =>
                                #{methods => [],
                                  password =>
                                      #{format => scram,
                                        scram_iterations => 10000},
                                  max_users_per_domain => infinity,
                                  sasl_mechanisms =>
                                      [cyrsasl_scram_sha512_plus,
                                       cyrsasl_scram_sha512,
                                       cyrsasl_scram_sha384_plus,
                                       cyrsasl_scram_sha384,
                                       cyrsasl_scram_sha256_plus,
                                       cyrsasl_scram_sha256,
                                       cyrsasl_scram_sha224_plus,
                                       cyrsasl_scram_sha224,
                                       cyrsasl_scram_sha1_plus,
                                       cyrsasl_scram_sha1,cyrsasl_plain,
                                       cyrsasl_anonymous,cyrsasl_oauth],
                                  sasl_external => [standard]},
                            {modules,<<"localhost">>} => #{},
                            {replaced_wait_timeout,<<"localhost">>} => 2000,
                            {s2s,<<"localhost">>} =>
                                #{outgoing =>
                                      #{port => 5269,
                                        connection_timeout => 10000,
                                        ip_versions => [4,6]},
                                  dns => #{timeout => 10,retries => 2},
                                  ciphers => "TLSv1.2:TLSv1.3",
                                  use_starttls => false,
                                  max_retry_delay => 300,
                                  default_policy => allow}}}]}
  in function  mongoose_config_SUITE:check_loaded_config/1 (/home/circleci/project/test/mongoose_config_SUITE.erl, line 163)
  in call from mongoose_config_SUITE:cluster_load_from_file/1 (/home/circleci/project/test/mongoose_config_SUITE.erl, line 151)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)


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