=== Test case: mam_SUITE:querying_for_all_messages_with_jid/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:1">>}]},
{watchdog,<0.23815.0>},
{basic_group,mam_all},
{configuration,cassandra},
{archive_wait,1500},
{mam_meta_opts,#{archive_chat_markers => false,
async_writer =>
#{batch_size => 30,enabled => true,
flush_interval => 2000,pool_size => 16},
backend => cassandra,
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},
send_message => mod_mam_utils,
user_prefs_store => cassandra}},
{mod_offline_loaded,false},
{escalus_user_db,{module,escalus_ejabberd}},
{mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
{preset,"elasticsearch_and_cassandra_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.mam_SUITE.logs/run.2022-06-22_09.20.29/mam_suite.querying_for_all_messages_with_jid.25731.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,cassandra_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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.mam_SUITE.logs/run.2022-06-22_09.20.29/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 => #{iqdisc => no_queue},
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"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,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 => mnesia,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,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@47358c7e636c.2022-06-22_09.17.07"
=== Started at 2022-06-22 09:20:31
*** User 2022-06-22 09:20:31.788 ***🔗
alicE_unnamed_874@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-06-22 09:20:31.789 ***🔗
alicE_unnamed_874@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7e9478f1a488c92' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:20:31.789 ***🔗
alicE_unnamed_874@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-06-22 09:20:31.789 ***🔗
alicE_unnamed_874@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfODc0AG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 09:20:31.789 ***🔗
alicE_unnamed_874@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 09:20:31.789 ***🔗
alicE_unnamed_874@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-06-22 09:20:31.790 ***🔗
alicE_unnamed_874@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e96604dea7f661b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:20:31.790 ***🔗
alicE_unnamed_874@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-06-22 09:20:31.790 ***🔗
alicE_unnamed_874@localhost/res1 out
<iq type='set' id='ccf390f7e8e008e0b90a7599c04f70a4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 09:20:31.790 ***🔗
alicE_unnamed_874@localhost/res1 in
<iq id='ccf390f7e8e008e0b90a7599c04f70a4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_874@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 09:20:31.790 ***🔗
alice_unnamed_874@localhost/res1 out
<iq type='set' id='e197b2355a8a664609fd3ee449747060'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:20:31.791 ***🔗
alice_unnamed_874@localhost/res1 in
<iq type='result' id='e197b2355a8a664609fd3ee449747060'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:20:31.791 ***🔗
alice_unnamed_874@localhost/res1 out
<presence/>
*** User 2022-06-22 09:20:31.792 ***🔗
alice_unnamed_874@localhost/res1 in
<presence from='alice_unnamed_874@localhost/res1' to='alice_unnamed_874@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 09:20:31.792 ***🔗
alice_unnamed_874@localhost/res1 out
<iq type='set' id='149fc4c89749f39a713d240f58e039e5'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_874@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-06-22 09:20:31.797 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='0fcad771-218f-41e5-b6af-184029ddccd8'>
<result xmlns='urn:xmpp:mam:1' id='BO686N4G4007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-06T14:23:04.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>12011563</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.797 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='705a4075-7697-45ed-baec-525f84a08a34'>
<result xmlns='urn:xmpp:mam:1' id='BO73BOOAT004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-07T22:47:06.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>1f3b87f3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='4cba631f-1a61-4021-bc21-a47918d6c8e4'>
<result xmlns='urn:xmpp:mam:1' id='BO7ICV0P5G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-08T16:43:31.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>9646fd8f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='80443170-ffdf-416b-b9da-d834aae95491'>
<result xmlns='urn:xmpp:mam:1' id='BO7R59OCAG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-09T03:10:37.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>23feb9a6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='80ef0161-7bc9-48eb-89ad-b116ea36db97'>
<result xmlns='urn:xmpp:mam:1' id='BO8T320PAG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-10T19:39:25.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>1fc2ac7c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='d8b17726-2490-4916-bf25-1b0ad212f744'>
<result xmlns='urn:xmpp:mam:1' id='BO9A118QS00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-11T11:05:28.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>5baa7db6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='5027e280-eeb5-4d74-acb6-49e94ffe7177'>
<result xmlns='urn:xmpp:mam:1' id='BO9TEG7SM00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-12T10:15:40.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>8a0cf8a3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='97ec5dce-4fc1-4d84-951b-b7eb62dc9fdc'>
<result xmlns='urn:xmpp:mam:1' id='BOAON7S92G0A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-13T18:47:57.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>1b7623f3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='693dae22-5220-4dff-a93a-a6c714fb6a42'>
<result xmlns='urn:xmpp:mam:1' id='BOBBE4LSU005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-14T17:07:40.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>3bf95ed7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='a8518368-15d1-48d3-a8f6-2b6cb92ada95'>
<result xmlns='urn:xmpp:mam:1' id='BOBPMG1UBG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-15T10:08:31.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>ffe33e34</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.798 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='b4d1deab-6fd2-4bb5-ad3b-3304e0ac1574'>
<result xmlns='urn:xmpp:mam:1' id='BOC9TTKQ5G01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-16T05:30:27.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>546c57d8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.799 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='872bd0aa-2c44-4d4c-b452-a75bf2206080'>
<result xmlns='urn:xmpp:mam:1' id='BODBMIQMVG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-17T21:47:51.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>4b12a860</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='136f064f-d809-45e4-bb69-3a235a87679a'>
<result xmlns='urn:xmpp:mam:1' id='BODM6A6RM00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-18T10:18:52.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>bea1e7c7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='14fbae2e-0be1-47ed-a1b7-c0ba5ef2215d'>
<result xmlns='urn:xmpp:mam:1' id='BOE1O9JAR00I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-19T00:06:30.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>a1a1172a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='86bfdbf0-e108-4853-a0f3-60e566119b0f'>
<result xmlns='urn:xmpp:mam:1' id='BOF1VGKIF00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-20T14:33:18.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>fe3b4176</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='76728d54-7dad-4d3b-ba61-4a942f1e98cd'>
<result xmlns='urn:xmpp:mam:1' id='BOFLHEL8L007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-21T13:53:30.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>35e60f65</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<message from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='c1f4a997-16f6-4338-a8b4-616241c0975c'>
<result xmlns='urn:xmpp:mam:1' id='BOGDU8TQ5005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T19:00:10.000000Z' from='alice_unnamed_874@localhost'/>
<message from='alice_unnamed_874@localhost' xmlns='jabber:client' to='bOb_unnamed_874@localhost' type='chat'>
<body>f4219e65</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 in
<iq from='alice_unnamed_874@localhost' to='alice_unnamed_874@localhost/res1' id='149fc4c89749f39a713d240f58e039e5' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BO686N4G4007</first>
<last>BOGDU8TQ5005</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-06-22 09:20:31.863 ***🔗
alice_unnamed_874@localhost/res1 out
</stream:stream>
*** User 2022-06-22 09:20:31.864 ***🔗
alice_unnamed_874@localhost/res1 in
</stream:stream>
=== Ended at 2022-06-22 09:20:31
=== successfully completed test case
=== === Returned value: ok