=== Test case: mongoose_instrument_SUITE:add_and_remove_handler/1 (click for source code)
=== Config value:
[{watchdog,<0.87498.0>},
{tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-15_07.21.36/lib.mongooseim.logs/run.2024-04-15_07.21.36/mongoose_instrument_suite.add_and_remove_handler.51716.html"},
{tc_group_properties,[{name,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-15_07.21.36/lib.mongooseim.logs/run.2024-04-15_07.21.36/log_private/"},
{async_helper,[{{mongoose_instrument,start_link,[]},<0.87499.0>}]}]
=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-15_07.21.36"
=== Started at 2024-04-15 07:25:56
*** System report during persistent in mongoose_instrument_SUITE 2024-04-15 07:25:56.107 ***🔗
=ERROR REPORT==== 15-Apr-2024::07:25:56.106862 ===
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 persistent in mongoose_instrument_SUITE 2024-04-15 07:25:56.107 ***🔗
=ERROR REPORT==== 15-Apr-2024::07:25:56.107202 ===
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-15 07:25:56
=== successfully completed test case
=== === Returned value: ok