=== Test case: mam_SUITE:querying_for_all_messages_with_jid/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
{watchdog,<0.21172.0>},
{basic_group,mam_all},
{configuration,riak_timed_yz_buckets},
{archive_wait,2500},
{mam_meta_opts,#{archive_chat_markers => false,
async_writer =>
#{batch_size => 30,enabled => true,
flush_interval => 2000,pool_size => 16},
backend => riak,
cache =>
#{module => internal,number_of_segments => 3,
strategy => fifo,time_to_live => 480},
cache_users => true,default_result_limit => 50,
full_text_search => true,
is_archivable_message => mod_mam_utils,
max_result_limit => 50,message_retraction => true,
no_stanzaid_element => false,
pm =>
#{archive_groupchats => false,
same_mam_id_for_peers => false},
riak =>
#{bucket_type => <<"mam_yz">>,
search_index => <<"mam">>},
send_message => mod_mam_utils,
user_prefs_store => mnesia}},
{mod_offline_loaded,false},
{escalus_user_db,{module,escalus_ejabberd}},
{mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.mam_SUITE.logs/run.2022-04-05_07.48.11/mam_suite.querying_for_all_messages_with_jid.21379.html"},
{tc_group_properties,[{name,mam06},parallel]},
{tc_group_path,[[{name,riak_timed_yz_buckets_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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.mam_SUITE.logs/run.2022-04-05_07.48.11/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,[#{acl => all,value => 10}]}}},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc =>
#{access => muc,access_admin => none,access_create => muc_create,
access_persistent => all,backend => mnesia,
default_room =>
#{affiliations => [],allow_change_subj => true,
allow_multiple_sessions => false,
allow_private_messages => true,allow_query_users => true,
allow_user_invites => false,
allow_visitor_nickchange => true,
allow_visitor_status => true,anonymous => true,
description => <<>>,logging => false,max_users => 200,
maygetmemberlist => [],members_by_default => true,
members_only => false,moderated => true,password => <<>>,
password_protected => false,persistent => false,
public => true,public_list => true,subject => <<>>,
subject_author => <<>>,title => <<>>},
hibernate_timeout => 2000,
hibernated_room_check_interval => 1000,
hibernated_room_timeout => 2000,history_size => 20,
host => {prefix,<<"muc.">>},
http_auth_pool => none,load_permanent_rooms_at_startup => false,
max_room_desc => infinity,max_room_id => infinity,
max_room_name => infinity,max_user_conferences => 10,
max_users => 200,max_users_admin_threshold => 5,
min_message_interval => 0,min_presence_interval => 0,
room_shaper => none,user_message_shaper => none,
user_presence_shaper => none},
mod_muc_commands => [],mod_muc_light_commands => [],
mod_muc_log =>
#{access_log => muc,css_file => false,dirname => room_jid,
dirtype => subdirs,file_format => html,outdir => "/tmp/muclogs",
spam_prevention => true,timezone => local,
top_link => {"/","Home"}},
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster =>
#{backend => riak,iqdisc => one_queue,
riak =>
#{bucket_type => <<"rosters">>,
version_bucket_type => <<"roster_versions">>},
store_current_id => false,versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => riak,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,
riak =>
#{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
search => true}}},
{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@22b4515d438b.2022-04-05_07.43.19"
=== Started at 2022-04-05 07:48:19
*** User 2022-04-05 07:48:21.934 ***
alicE_unnamed_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-05 07:48:21.934 ***
alicE_unnamed_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc94c9f4fba49f8c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:48:21.934 ***
alicE_unnamed_774@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-05 07:48:21.935 ***
alicE_unnamed_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfNzc0AG1hdHlncnlzYQ==</auth>
*** User 2022-04-05 07:48:21.936 ***
alicE_unnamed_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:48:21.936 ***
alicE_unnamed_774@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-05 07:48:21.937 ***
alicE_unnamed_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6b2d65a2955b4bd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:48:21.937 ***
alicE_unnamed_774@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-05 07:48:21.937 ***
alicE_unnamed_774@localhost/res1 out
<iq type='set' id='ebc3380c38c1651d2b87fbef83016eb3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:48:21.937 ***
alicE_unnamed_774@localhost/res1 in
<iq id='ebc3380c38c1651d2b87fbef83016eb3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_774@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:48:21.937 ***
alicE_unnamed_774@localhost/res1 out
<iq type='set' id='1acdfba4cb736211141d63318f99258b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:48:21.942 ***
alicE_unnamed_774@localhost/res1 in
<iq type='result' id='1acdfba4cb736211141d63318f99258b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:48:21.942 ***
alicE_unnamed_774@localhost/res1 out
<presence/>
*** User 2022-04-05 07:48:21.963 ***
alicE_unnamed_774@localhost/res1 in
<presence from='alicE_unnamed_774@localhost/res1' to='alice_unnamed_774@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:48:21.963 ***
alicE_unnamed_774@localhost/res1 out
<iq type='set' id='913fd93b6ef02d40975f999773e2c0ac'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_774@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-04-05 07:48:22.068 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='406afea6-b69f-4e40-a778-7ffbde5fd142'>
<result xmlns='urn:xmpp:mam:2' id='BML6KDVIN00D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-20T13:48:46.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>d0705db2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.068 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='cc6e7cb7-a9e8-41c1-9f01-bc990f9a42a6'>
<result xmlns='urn:xmpp:mam:2' id='BMLFAI4S8007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-21T00:10:56.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>bf2e14d1</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.068 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='86ec2e6d-23e4-4f66-a4f1-c64bc990e943'>
<result xmlns='urn:xmpp:mam:2' id='BMM8U54PI008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-22T06:44:20.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>577770be</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.068 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='5f93e8da-29f5-4d28-8947-ef846668d4dc'>
<result xmlns='urn:xmpp:mam:2' id='BMMUAHPN300G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-23T08:15:18.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>c0afacb2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.068 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='a78de657-a600-4694-9c60-164cdeb1723f'>
<result xmlns='urn:xmpp:mam:2' id='BMNGQ7Q2QG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-24T06:18:53.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>909f7848</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='acc67bac-59de-4515-8a48-c168cb04dc6a'>
<result xmlns='urn:xmpp:mam:2' id='BMO66UUMHG07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-25T07:50:35.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>a1d43794</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='a67c680a-026d-44e1-a459-5db2d54396f2'>
<result xmlns='urn:xmpp:mam:2' id='BMP3LEDRAG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-26T18:58:53.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>f8e6a5d9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='a00e22ec-8267-4e92-842b-cfac260add8a'>
<result xmlns='urn:xmpp:mam:2' id='BMPPL0OQQG0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-27T21:12:45.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>4bf46ef4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='eaef02e1-47d1-4fec-937a-553c542c6d49'>
<result xmlns='urn:xmpp:mam:2' id='BMQ6B23IJG0E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-28T12:21:03.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>976cd691</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='2350d52a-8f0c-4c72-978a-94f0111f2150'>
<result xmlns='urn:xmpp:mam:2' id='BMQTP0R5KG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-29T16:18:41.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>2c212340</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='47de7360-1e6c-453b-ad35-94ec6d7ed238'>
<result xmlns='urn:xmpp:mam:2' id='BMRE26EUG00I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-30T11:44:32.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>d70ea962</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='d366d21f-0ef6-4038-b654-1b903018f8dc'>
<result xmlns='urn:xmpp:mam:2' id='BMRQKI8CUG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-31T02:44:37.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>749f5b58</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='55b05db7-b16f-45df-ad02-077ecbc43057'>
<result xmlns='urn:xmpp:mam:2' id='BMSNVV0VGG0A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-01T13:46:01.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>0d40b8b9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='e9b4185a-bb3d-4c72-ada4-32ce09ed56da'>
<result xmlns='urn:xmpp:mam:2' id='BMTEJHGSJ001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-02T16:44:38.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>b197edea</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='902ae614-ceb8-48e7-a612-f30b65386d3f'>
<result xmlns='urn:xmpp:mam:2' id='BMU644L9D004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-03T20:48:10.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>6929617a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='11f66c90-78b1-43b3-8277-08bd1a227701'>
<result xmlns='urn:xmpp:mam:2' id='BMUIBL2MV00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T11:23:58.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>523820a9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<message from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='2d018fd7-e648-4be5-adee-b35af7c47238'>
<result xmlns='urn:xmpp:mam:2' id='BMVGPN6RRG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-05T23:42:55.000000Z' from='alice_unnamed_774@localhost'/>
<message from='alice_unnamed_774@localhost' xmlns='jabber:client' to='bOb_unnamed_774@localhost' type='chat'>
<body>08890970</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-05 07:48:22.069 ***
alicE_unnamed_774@localhost/res1 in
<iq from='alicE_unnamed_774@localhost' to='alicE_unnamed_774@localhost/res1' id='913fd93b6ef02d40975f999773e2c0ac' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BML6KDVIN00D</first>
<last>BMVGPN6RRG06</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-04-05 07:48:22.070 ***
alicE_unnamed_774@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:48:22.070 ***
alicE_unnamed_774@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-05 07:48:22
=== successfully completed test case
=== === Returned value: ok