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

=== Config value:

    [{watchdog,<0.84509.0>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-19_08.29.12/lib.mongooseim.logs/run.2024-04-19_08.29.13/mongoose_config_suite.load_from_file.html"},
     {tc_group_properties,[{name,opts}]},
     {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.29.12/lib.mongooseim.logs/run.2024-04-19_08.29.13/log_private/"}]

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

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


*** CT Error Notification 2024-04-19 08:32:55.602 ***🔗
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:55
=== Location: [{mongoose_config_SUITE,check_loaded_config,163},
              {mongoose_config_SUITE,load_from_file,135},
              {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,
                            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,instrumentation => #{},
                            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,
                            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,
                            instrumentation => #{probe_interval => 15},
                            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:load_from_file/1 (/home/circleci/project/test/mongoose_config_SUITE.erl, line 135)
  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