=== Config function: mongoose_instrument_log_SUITE:end_per_group/2 (click for source code)

=== Group properties: [{name,default_level},parallel]

=== Config value:

    [{loglevel,debug},
     {watchdog,<0.87058.0>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-16_12.18.26/lib.mongooseim.logs/run.2024-04-16_12.18.27/mongoose_instrument_log_suite.end_per_group.html"},
     {tc_group_properties,[{name,default_level},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/mongoose_instrument_log_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-16_12.18.26/lib.mongooseim.logs/run.2024-04-16_12.18.27/log_private/"},
     {async_helper,[{{mongoose_instrument,start_link,[]},<0.87059.0>}]}]

=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-16_12.18.26"

=== Started at 2024-04-16 12:22:27


*** System report during mongoose_instrument_log_SUITE:end_per_group/2 for default_level 2024-04-16 12:22:27.886 ***🔗
=ERROR REPORT==== 16-Apr-2024::12:22:27.885918 ===
** Generic server mongoose_instrument terminating 
** Last message in was {'EXIT',<0.87059.0>,stop}
** When Server state == #{log_with_default_level_event =>
                              #{#{host_type => <<"host1">>} =>
                                    {[fun mongoose_instrument_log:handle_event/4],
                                     #{}}},
                          log_level_in_measurement_event =>
                              #{#{host_type => <<"host1">>} =>
                                    {[fun mongoose_instrument_log:handle_event/4],
                                     #{}}},
                          log_level_in_event_config_event =>
                              #{#{host_type => <<"host1">>} =>
                                    {[fun mongoose_instrument_log:handle_event/4],
                                     #{loglevel => error}}},
                          log_level_in_measurement_overrides_event_config_event =>
                              #{#{host_type => <<"host1">>} =>
                                    {[fun mongoose_instrument_log:handle_event/4],
                                     #{loglevel => error}}}}
** 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,1143}]},
        {gen_server,terminate,10,[{file,"gen_server.erl"},{line,1339}]},
        {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}



*** System report during mongoose_instrument_log_SUITE:end_per_group/2 for default_level 2024-04-16 12:22:27.887 ***🔗
=CRASH REPORT==== 16-Apr-2024::12:22:27.886350 ===
  crasher:
    initial call: mongoose_instrument:init/1
    pid: <0.87060.0>
    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 1143)
      in call from gen_server:terminate/10 (gen_server.erl, line 1339)
    ancestors: [<0.87059.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 28
    reductions: 1175
  neighbours:





=== Ended at 2024-04-16 12:22:27
=== successfully completed test case
=== === Returned value: true
=== 
=== Total execution time of group: 0.064s



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