=== Test case: mongoose_instrument_SUITE:add_and_remove_handler/1 (click for source code)

=== Config value:

    [{watchdog,<0.87583.0>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-30_06.47.59/lib.mongooseim.logs/run.2024-04-30_06.48.00/mongoose_instrument_suite.add_and_remove_handler.43909.html"},
     {tc_group_properties,[{name,not_persistent},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/mongoose_instrument_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-30_06.47.59/lib.mongooseim.logs/run.2024-04-30_06.48.00/log_private/"},
     {async_helper,[{{mongoose_instrument,start_link,[]},<0.87584.0>}]}]

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

=== Started at 2024-04-30 06:52:04


*** System report during not_persistent in mongoose_instrument_SUITE 2024-04-30 06:52:04.110 ***🔗
=ERROR REPORT==== 30-Apr-2024::06:52:04.110544 ===
    reason: failed
    config: #{metrics => #{time => histogram}}
    stacktrace: [{mongoose_instrument_SUITE,'-mocked_handlers/0-fun-3-',0,
                     [{file,
                          "/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
                      {line,77}]},
                 {mongoose_instrument,call_handler,5,
                     [{file,
                          "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
                      {line,376}]},
                 {lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},
                 {mongoose_instrument_SUITE,add_and_remove_handler,1,
                     [{file,
                          "/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
                      {line,234}]},
                 {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
                 {test_server,run_test_case_eval1,6,
                     [{file,"test_server.erl"},{line,1302}]},
                 {test_server,run_test_case_eval,9,
                     [{file,"test_server.erl"},{line,1234}]},
                 {mongoose_instrument_failing_handler,handle_event,
                     [add_and_remove_handler_event,
                      #{key => value1},
                      #{metrics => #{time => histogram}},
                      #{count => 1}],
                     []}]
    class: error
    labels: #{key => value1}
    what: event_handler_failed
    event_name: add_and_remove_handler_event
    measurements: #{count => 1}
    handler_fun: fun mongoose_instrument_failing_handler:handle_event/4


*** System report during not_persistent in mongoose_instrument_SUITE 2024-04-30 06:52:04.111 ***🔗
=ERROR REPORT==== 30-Apr-2024::06:52:04.110876 ===
    reason: failed
    config: #{metrics => #{time => histogram}}
    stacktrace: [{mongoose_instrument_SUITE,'-mocked_handlers/0-fun-3-',0,
                     [{file,
                          "/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
                      {line,77}]},
                 {mongoose_instrument,call_handler,5,
                     [{file,
                          "/home/circleci/project/src/instrument/mongoose_instrument.erl"},
                      {line,376}]},
                 {lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},
                 {mongoose_instrument_SUITE,add_and_remove_handler,1,
                     [{file,
                          "/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
                      {line,235}]},
                 {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
                 {test_server,run_test_case_eval1,6,
                     [{file,"test_server.erl"},{line,1302}]},
                 {test_server,run_test_case_eval,9,
                     [{file,"test_server.erl"},{line,1234}]},
                 {mongoose_instrument_failing_handler,handle_event,
                     [add_and_remove_handler_event,
                      #{key => value2},
                      #{metrics => #{time => histogram}},
                      #{count => 1}],
                     []}]
    class: error
    labels: #{key => value2}
    what: event_handler_failed
    event_name: add_and_remove_handler_event
    measurements: #{count => 1}
    handler_fun: fun mongoose_instrument_failing_handler:handle_event/4




=== Ended at 2024-04-30 06:52:04
=== successfully completed test case
=== === Returned value: ok