=== Test case: mongoose_listener_SUITE:tcp_start_stop_reload/1 (click for source code)

=== Config value:

    [{watchdog,<0.23152.2>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-03-27_14.31.24/lib.mongooseim.logs/run.2024-03-27_14.31.25/mongoose_listener_suite.tcp_start_stop_reload.html"},
     {tc_group_properties,[]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/mongoose_listener_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-03-27_14.31.24/lib.mongooseim.logs/run.2024-03-27_14.31.25/log_private/"}]

=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-03-27_14.31.24"

=== Started at 2024-03-27 14:35:32


*** System report during mongoose_listener_SUITE:tcp_start_stop_reload/1 2024-03-27 14:35:32.901 ***🔗
=WARNING REPORT==== 27-Mar-2024::14:35:32.901217 ===
    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_listener_SUITE:tcp_start_stop_reload/1 2024-03-27 14:35:32.930 ***🔗
=WARNING REPORT==== 27-Mar-2024::14:35:32.930021 ===
    what: s2s_in_wait_for_stream_closed


*** System report during mongoose_listener_SUITE:tcp_start_stop_reload/1 2024-03-27 14:35:33.947 ***🔗
=ERROR REPORT==== 27-Mar-2024::14:35:33.947603 ===
** Generic server mongoose_instrument terminating 
** Last message in was {'EXIT',<0.23400.2>,shutdown}
** When Server state == #{}
** Reason for termination ==
** {badarg,
       [{persistent_term,get,
            [mongoose_config],
            [{error_info,#{module => erl_erts_errors}}]},
        {mongoose_config,get_opt,1,
            [{file,"/home/circleci/project/src/config/mongoose_config.erl"},
             {line,109}]},
        {mongoose_instrument,handler_modules,0,
            [{file,
                 "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
             {line,341}]},
        {mongoose_instrument,terminate,2,
            [{file,
                 "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
             {line,215}]},
        {gen_server,try_terminate,3,[{file,"gen_server.erl"},{line,1161}]},
        {gen_server,terminate,10,[{file,"gen_server.erl"},{line,1351}]},
        {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}



*** System report during mongoose_listener_SUITE:tcp_start_stop_reload/1 2024-03-27 14:35:33.948 ***🔗
=CRASH REPORT==== 27-Mar-2024::14:35:33.947925 ===
  crasher:
    initial call: mongoose_instrument:init/1
    pid: <0.23405.2>
    registered_name: mongoose_instrument
    exception error: bad argument
      in function  persistent_term:get/1
         called as persistent_term:get(mongoose_config)
         *** argument 1: no persistent term stored with this key
      in call from mongoose_config:get_opt/1 (/home/circleci/project/src/config/mongoose_config.erl, line 109)
      in call from mongoose_instrument:handler_modules/0 (/home/circleci/project/src/instrument/mongoose_instrument.erl, line 341)
      in call from mongoose_instrument:terminate/2 (/home/circleci/project/src/instrument/mongoose_instrument.erl, line 215)
      in call from gen_server:try_terminate/3 (gen_server.erl, line 1161)
      in call from gen_server:terminate/10 (gen_server.erl, line 1351)
    ancestors: [ejabberd_sup,<0.23270.2>]
    message_queue_len: 0
    messages: []
    links: [<0.23400.2>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 28
    reductions: 731
  neighbours:



*** System report during mongoose_listener_SUITE:tcp_start_stop_reload/1 2024-03-27 14:35:33.949 ***🔗
=SUPERVISOR REPORT==== 27-Mar-2024::14:35:33.949310 ===
    supervisor: {local,ejabberd_sup}
    errorContext: shutdown_error
    reason: {badarg,
                [{persistent_term,get,
                     [mongoose_config],
                     [{error_info,#{module => erl_erts_errors}}]},
                 {mongoose_config,get_opt,1,
                     [{file,
                          "/home/circleci/project/src/config/mongoose_config.erl"},
                      {line,109}]},
                 {mongoose_instrument,handler_modules,0,
                     [{file,
                          "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
                      {line,341}]},
                 {mongoose_instrument,terminate,2,
                     [{file,
                          "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
                      {line,215}]},
                 {gen_server,try_terminate,3,
                     [{file,"gen_server.erl"},{line,1161}]},
                 {gen_server,terminate,10,
                     [{file,"gen_server.erl"},{line,1351}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,240}]}]}
    offender: [{pid,<0.23405.2>},
               {id,mongoose_instrument},
               {mfargs,{mongoose_instrument,start_link,[]}},
               {restart_type,permanent},
               {significant,false},
               {shutdown,5000},
               {child_type,worker}]





=== Ended at 2024-03-27 14:35:34
=== successfully completed test case
=== === Returned value: ok


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