=== Test case: mongoose_instrument_SUITE:set_up_and_execute/1 (click for source code)
=== Config value:
[{watchdog,<0.21514.2>},
{tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-22_14.48.12/lib.mongooseim.logs/run.2024-04-22_14.48.13/mongoose_instrument_suite.set_up_and_execute.33413.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-22_14.48.12/lib.mongooseim.logs/run.2024-04-22_14.48.13/log_private/"},
{async_helper,[{{mongoose_instrument,start_link,[]},<0.21515.2>}]}]
=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2024-04-22_14.48.12"
=== Started at 2024-04-22 14:51:44
*** System report during not_persistent in mongoose_instrument_SUITE 2024-04-22 14:51:44.105 ***🔗
=ERROR REPORT==== 22-Apr-2024::14:51:44.105524 ===
class: error
config: #{metrics => #{time => histogram}}
event_name: set_up_and_execute_event
handler_fun: fun mongoose_instrument_failing_handler:handle_event/4
labels: #{key => value}
measurements: #{count => 1}
reason: failed
stacktrace: [{mongoose_instrument_SUITE,'-mocked_handlers/0-fun-3-',0,
[{file,
"/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
{line,80}]},
{safely,apply_and_log,3,
[{file,"/home/circleci/project/src/safely.erl"},
{line,53}]},
{lists,foreach_1,2,[{file,"lists.erl"},{line,1442}]},
{mongoose_instrument_SUITE,set_up_and_execute,1,
[{file,
"/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
{line,110}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]},
{mongoose_instrument_failing_handler,handle_event,
[set_up_and_execute_event,
#{key => value},
#{metrics => #{time => histogram}},
#{count => 1}],
[]}]
what: event_handler_failed
*** User 2024-04-22 14:51:44.106 ***🔗
Received error log: #{class => error,
config => #{metrics => #{time => histogram}},
event_name => set_up_and_execute_event,
handler_fun =>
fun mongoose_instrument_failing_handler:handle_event/4,
labels => #{key => value},
measurements => #{count => 1},
reason => failed,
stacktrace =>
[{mongoose_instrument_SUITE,
'-mocked_handlers/0-fun-3-',0,
[{file,
"/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
{line,80}]},
{safely,apply_and_log,3,
[{file,"/home/circleci/project/src/safely.erl"},
{line,53}]},
{lists,foreach_1,2,
[{file,"lists.erl"},{line,1442}]},
{mongoose_instrument_SUITE,set_up_and_execute,1,
[{file,
"/home/circleci/project/test/mongoose_instrument_SUITE.erl"},
{line,110}]},
{test_server,ts_tc,3,
[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]},
{mongoose_instrument_failing_handler,handle_event,
[set_up_and_execute_event,
#{key => value},
#{metrics => #{time => histogram}},
#{count => 1}],
[]}],
what => event_handler_failed}
=== Ended at 2024-04-22 14:51:44
=== successfully completed test case
=== === Returned value: ok