=== Test case: mam_SUITE:archive_is_instrumented/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:1">>}]},
{watchdog,<0.46858.0>},
{basic_group,mam_all},
{configuration,rdbms_async_pool},
{wait_for_parallel_writer,[pm]},
{mam_meta_opts,#{cache =>
#{module => internal,strategy => fifo,
number_of_segments => 3,time_to_live => 480},
send_message => mod_mam_utils,backend => rdbms,
max_result_limit => 50,default_result_limit => 50,
archive_chat_markers => false,
enforce_simple_queries => false,
full_text_search => true,
is_archivable_message => mod_mam_utils,
no_stanzaid_element => false,
async_writer =>
#{enabled => true,batch_size => 30,
flush_interval => 1,pool_size => 16},
pm =>
#{archive_groupchats => false,
same_mam_id_for_peers => false},
message_retraction => true,user_prefs_store => rdbms,
cache_users => false}},
{mod_offline_loaded,false},
{escalus_user_db,{module,escalus_ejabberd}},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.mam_SUITE.logs/run.2024-04-18_11.02.57/mam_suite.archive_is_instrumented.129794.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,rdbms_async_pool_mam_all},parallel]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mam_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.mam_SUITE.logs/run.2024-04-18_11.02.57/log_private/"},
{config_backup,#{[shaper,fast] => {ok,#{max_rate => 50000}},
[shaper,mam_shaper] => {ok,#{max_rate => 1}},
[shaper,normal] => {ok,#{max_rate => 1000}},
[{access,<<"localhost">>},max_user_sessions] =>
{ok,[#{value => 10,acl => all}]}}},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_muc =>
#{access => muc,
host => {prefix,<<"muc.">>},
max_users => 200,room_shaper => none,http_auth_pool => none,
hibernate_timeout => 2000,history_size => 20,
hibernated_room_check_interval => 1000,
hibernated_room_timeout => 2000,access_create => muc_create,
access_admin => none,access_persistent => all,
default_room =>
#{public => true,description => <<>>,title => <<>>,
persistent => false,password => <<>>,
allow_change_subj => true,allow_query_users => true,
allow_private_messages => true,
allow_visitor_status => true,
allow_visitor_nickchange => true,public_list => true,
moderated => true,members_by_default => true,
members_only => false,allow_user_invites => false,
allow_multiple_sessions => false,
password_protected => false,anonymous => true,
max_users => 200,maygetmemberlist => [],logging => false,
affiliations => [],subject => <<>>,subject_author => <<>>},
load_permanent_rooms_at_startup => false,backend => rdbms,
max_room_id => infinity,online_backend => cets,
min_presence_interval => 0,max_users_admin_threshold => 5,
user_message_shaper => none,user_presence_shaper => none,
min_message_interval => 0,max_user_conferences => 10,
max_room_name => infinity,max_room_desc => infinity},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
mod_muc_log =>
#{dirname => room_jid,outdir => "/tmp/muclogs",
file_format => html,css_file => false,timezone => local,
spam_prevention => true,
top_link => {"/","Home"},
access_log => muc,dirtype => subdirs},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]},
{carol,[{username,<<"carol">>},
{server,<<"localhost">>},
{password,<<"jinglebells">>},
{transport,escalus_bosh},
{path,<<"/http-bind">>},
{port,5280}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18"
=== Started at 2024-04-18 11:03:19
*** User 2024-04-18 11:03:19.258 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:03:19.258 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8d1e16a352e788d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:03:19.258 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:03:19.259 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfaXNfaW5zdHJ1bWVudGVkXzE5NTAAbWF0eWdyeXNh</auth>
*** User 2024-04-18 11:03:19.261 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:03:19.261 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:03:19.262 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ac03cdbd6da2e25' from='localhost' version='1.0' xml:lang='en' to='alice_archive_is_instrumented_1950@localhost'>
*** User 2024-04-18 11:03:19.262 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:03:19.262 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 out
<iq type='set' id='32bdad6b5480a2c399e4aa04daabcaf9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:03:19.263 ***🔗
alicE_archive_is_instrumented_1950@localhost/res1 in
<iq id='32bdad6b5480a2c399e4aa04daabcaf9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_archive_is_instrumented_1950@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:03:19.263 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 out
<iq type='set' id='7e1269c642b81adfa7ce08c2fd5eaa82'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:03:19.265 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 in
<iq from='localhost' to='alice_archive_is_instrumented_1950@localhost/res1' id='7e1269c642b81adfa7ce08c2fd5eaa82' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:03:19.266 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 out
<presence/>
*** User 2024-04-18 11:03:19.271 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 in
<presence from='alice_archive_is_instrumented_1950@localhost/res1' to='alice_archive_is_instrumented_1950@localhost/res1'/>
*** User 2024-04-18 11:03:19.272 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:03:19.272 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d378c5af4c47dc2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:03:19.273 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:03:19.273 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2lzX2luc3RydW1lbnRlZF8xOTUwAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-18 11:03:19.274 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:03:19.274 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:03:19.275 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12fa6f8467142391' from='localhost' version='1.0' xml:lang='en' to='bob_archive_is_instrumented_1950@localhost'>
*** User 2024-04-18 11:03:19.275 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:03:19.275 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 out
<iq type='set' id='bfb8df4b8e5cbafa2f2f2dbf0e325e2e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:03:19.275 ***🔗
bOb_archive_is_instrumented_1950@localhost/res1 in
<iq id='bfb8df4b8e5cbafa2f2f2dbf0e325e2e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_archive_is_instrumented_1950@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:03:19.275 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 out
<iq type='set' id='ef140d2acc4c7d811e0fc10d4a2f193a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:03:19.276 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 in
<iq from='localhost' to='bob_archive_is_instrumented_1950@localhost/res1' id='ef140d2acc4c7d811e0fc10d4a2f193a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:03:19.276 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 out
<presence/>
*** User 2024-04-18 11:03:19.281 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 in
<presence from='bob_archive_is_instrumented_1950@localhost/res1' to='bob_archive_is_instrumented_1950@localhost/res1'/>
*** User 2024-04-18 11:03:19.282 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 out
<message type='chat' to='bob_archive_is_instrumented_1950@localhost/res1'>
<body>OH, HAI!</body>
</message>
*** User 2024-04-18 11:03:19.353 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 in
<message from='alice_archive_is_instrumented_1950@localhost/res1' to='bob_archive_is_instrumented_1950@localhost/res1' type='chat'>
<body>OH, HAI!</body>
<stanza-id by='bob_archive_is_instrumented_1950@localhost' id='C5ISTCR7NM81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-18 11:03:19.376 ***🔗
Matching events: [{{mod_mam_pm_archive_message,
#{host_type => <<"localhost">>}},
#{count => 1,time => 9,
params =>
#{packet =>
{xmlel,<<"message">>,
[{<<"type">>,<<"chat">>},
{<<"to">>,
<<"bob_archive_is_instrumented_1950@localhost/res1">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
direction => outgoing,archive_id => 787,
message_id => 438640179016318977,
remote_jid =>
{jid,<<"bob_archive_is_instrumented_1950">>,
<<"localhost">>,<<"res1">>},
local_jid =>
{jid,<<"alice_archive_is_instrumented_1950">>,
<<"localhost">>,<<"res1">>},
source_jid =>
{jid,<<"alice_archive_is_instrumented_1950">>,
<<"localhost">>,<<"res1">>},
is_groupchat => false,origin_id => none}}}]
*** User 2024-04-18 11:03:19.378 ***🔗
waiting for archive_size is done in 0 miliseconds
*** User 2024-04-18 11:03:19.379 ***🔗
Matching events: [{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 740,time_per_message => 740}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1032,time_per_message => 1032}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 1311,time_per_message => 437}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 577,time_per_message => 577}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 994,time_per_message => 497}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 451,time_per_message => 451}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 1786,time_per_message => 447}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 480,time_per_message => 480}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 544,time_per_message => 544}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 5,time => 2877,time_per_message => 575}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1003,time_per_message => 1003}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1193,time_per_message => 1193}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 34201,time_per_message => 34201}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 787,time_per_message => 787}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 564,time_per_message => 564}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 376,time_per_message => 376}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 2548,time_per_message => 637}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 593,time_per_message => 593}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 772,time_per_message => 772}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 1344,time_per_message => 448}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 586,time_per_message => 586}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 475,time_per_message => 475}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 798,time_per_message => 798}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1216,time_per_message => 1216}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 1592,time_per_message => 796}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 692,time_per_message => 692}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 883,time_per_message => 883}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 595,time_per_message => 595}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1423,time_per_message => 1423}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1093,time_per_message => 1093}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 1545,time_per_message => 773}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1259,time_per_message => 1259}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 523,time_per_message => 523}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 1839,time_per_message => 613}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1312,time_per_message => 1312}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1726,time_per_message => 1726}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1247,time_per_message => 1247}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 2655,time_per_message => 1328}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1480,time_per_message => 1480}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 3453,time_per_message => 3453}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1723,time_per_message => 1723}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 2201,time_per_message => 1101}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 6009,time_per_message => 3005}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1599,time_per_message => 1599}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 6149,time_per_message => 3075}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 3293,time_per_message => 3293}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2992,time_per_message => 2992}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 6162,time_per_message => 3081}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2797,time_per_message => 2797}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3706,time_per_message => 1853}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2433,time_per_message => 2433}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2382,time_per_message => 2382}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 9285,time_per_message => 2321}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3719,time_per_message => 1860}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1893,time_per_message => 1893}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 6520,time_per_message => 3260}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 6,time => 11313,time_per_message => 1886}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 3011,time_per_message => 3011}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 8410,time_per_message => 2103}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2889,time_per_message => 2889}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 3480,time_per_message => 3480}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2174,time_per_message => 2174}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 63649,time_per_message => 21216}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 64551,time_per_message => 16138}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2403,time_per_message => 2403}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 3392,time_per_message => 3392}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 4,time => 7050,time_per_message => 1763}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 9860,time_per_message => 4930}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 4582,time_per_message => 2291}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 7,time => 72451,time_per_message => 10350}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 5,time => 71667,time_per_message => 14333}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 4405,time_per_message => 2203}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 11317,time_per_message => 3772}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 2303,time_per_message => 1152}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1681,time_per_message => 1681}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1501,time_per_message => 1501}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 4796,time_per_message => 1599}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 790,time_per_message => 790}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 2270,time_per_message => 1135}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3077,time_per_message => 1539}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3243,time_per_message => 1622}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 2254,time_per_message => 2254}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 6,time => 8530,time_per_message => 1422}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 5,time => 6516,time_per_message => 1303}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 3,time => 4463,time_per_message => 1488}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3016,time_per_message => 1508}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 2,time => 3106,time_per_message => 1553}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 1,time => 1638,time_per_message => 1638}},
{{mod_mam_pm_flushed,#{host_type => <<"localhost">>}},
#{count => 8,time => 13362,time_per_message => 1670}}]
*** User 2024-04-18 11:03:19.383 ***🔗
Matching events: [{{mod_mam_pm_remove_archive,#{host_type => <<"localhost">>}},
#{count => 1,
jid =>
{jid,<<"alice_archive_is_instrumented_1950">>,
<<"localhost">>,<<>>}}}]
*** User 2024-04-18 11:03:19.383 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:03:19.384 ***🔗
bob_archive_is_instrumented_1950@localhost/res1 in
</stream:stream>
*** User 2024-04-18 11:03:19.384 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:03:19.384 ***🔗
alice_archive_is_instrumented_1950@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-18 11:03:19
=== successfully completed test case
=== === Returned value: ok