=== Test case: mongoose_instrument_SUITE:add_and_remove_handler/1 (click for source code)
=== Config value:
[{watchdog,<0.87605.0>},
{tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-03-28_15.04.31/lib.mongooseim.logs/run.2024-03-28_15.04.31/mongoose_instrument_suite.add_and_remove_handler.71683.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-03-28_15.04.31/lib.mongooseim.logs/run.2024-03-28_15.04.31/log_private/"},
{async_helper,[{{mongoose_instrument,start_link,[]},<0.87606.0>}]}]
=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-03-28_15.04.31"
=== Started at 2024-03-28 15:09:01
*** System report during not_persistent in mongoose_instrument_SUITE 2024-03-28 15:09:01.868 ***🔗
=ERROR REPORT==== 28-Mar-2024::15:09:01.867994 ===
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-03-28 15:09:01.870 ***🔗
=ERROR REPORT==== 28-Mar-2024::15:09:01.869097 ===
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-03-28 15:09:01
=== successfully completed test case
=== === Returned value: ok