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

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

=== Config value:

    [{watchdog,<0.21759.2>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-23_06.46.06/lib.mongooseim.logs/run.2024-04-23_06.46.07/mongoose_instrument_metrics_suite.end_per_group.55939.html"},
     {tc_group_properties,[{name,exometer},parallel]},
     {tc_group_path,[[{suite,mongoose_instrument_metrics_SUITE}]]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/mongoose_instrument_metrics_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-23_06.46.06/lib.mongooseim.logs/run.2024-04-23_06.46.07/log_private/"},
     {async_helper,[{{mongoose_instrument,start_link,[]},<0.21760.2>}]},
     {prefix,<<"localhost">>}]

=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-23_06.46.06"

=== Started at 2024-04-23 06:49:46


*** System report during mongoose_instrument_metrics_SUITE:end_per_group/2 for exometer 2024-04-23 06:49:46.617 ***🔗
=ERROR REPORT==== 23-Apr-2024::06:49:46.617623 ===
** Generic server mongoose_instrument terminating 
** Last message in was {'EXIT',<0.21760.2>,stop}
** When Server state == #{events =>
                              #{exometer_gauge_is_created_and_updated_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => gauge}}}},
                                exometer_gauge_is_updated_separately_for_different_labels_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => gauge}}},
                                      #{host_type => <<"test type">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => gauge}}}},
                                exometer_histogram_is_created_and_updated_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics =>
                                                 #{time => histogram}}}},
                                exometer_histogram_is_updated_separately_for_different_labels_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{time => histogram}}},
                                      #{host_type => <<"test type">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics =>
                                                 #{time => histogram}}}},
                                exometer_spiral_is_created_and_updated_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => spiral}}}},
                                exometer_spiral_is_updated_separately_for_different_labels_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => spiral}}},
                                      #{host_type => <<"test type">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics => #{count => spiral}}}},
                                multiple_exometer_metrics_are_updated_event =>
                                    #{#{host_type => <<"localhost">>} =>
                                          {[fun mongoose_instrument_exometer:handle_event/4],
                                           #{metrics =>
                                                 #{count => spiral,
                                                   time => histogram}}}}},
                          probe_timers => #{}}
** 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,377}]},
        {mongoose_instrument,terminate,2,
            [{file,
                 "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
             {line,227}]},
        {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_instrument_metrics_SUITE:end_per_group/2 for exometer 2024-04-23 06:49:46.618 ***🔗
=CRASH REPORT==== 23-Apr-2024::06:49:46.618066 ===
  crasher:
    initial call: mongoose_instrument:init/1
    pid: <0.21761.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 377)
      in call from mongoose_instrument:terminate/2 (/home/circleci/project/src/instrument/mongoose_instrument.erl, line 227)
      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: [<0.21760.2>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 28
    reductions: 3241
  neighbours:





=== Ended at 2024-04-23 06:49:46
=== successfully completed test case
=== === Returned value: true
=== 
=== Total execution time of group: 0.071s



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