=== 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.26412.0>},
{basic_group,mam_all},
{configuration,elasticsearch},
{archive_wait,2500},
{mam_meta_opts,#{archive_chat_markers => false,
async_writer =>
#{batch_size => 30,enabled => true,
flush_interval => 2000,pool_size => 16},
backend => elasticsearch,
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 => mnesia}},
{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.33411.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,elasticsearch_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:21:07
*** User 2022-06-22 09:21:08.519 ***🔗
alicE_unnamed_944@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:21:08.519 ***🔗
alicE_unnamed_944@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97306f0a2c2a83a3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:21:08.519 ***🔗
alicE_unnamed_944@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:21:08.520 ***🔗
alicE_unnamed_944@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfOTQ0AG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 09:21:08.520 ***🔗
alicE_unnamed_944@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 09:21:08.520 ***🔗
alicE_unnamed_944@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:21:08.520 ***🔗
alicE_unnamed_944@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05ccd09d9f4cc64e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:21:08.520 ***🔗
alicE_unnamed_944@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:21:08.521 ***🔗
alicE_unnamed_944@localhost/res1 out
<iq type='set' id='66e7b9839e7f5d65889715778cef6314'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 09:21:08.521 ***🔗
alicE_unnamed_944@localhost/res1 in
<iq id='66e7b9839e7f5d65889715778cef6314' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_944@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 09:21:08.521 ***🔗
alice_unnamed_944@localhost/res1 out
<iq type='set' id='4c3e07d3d06f9f7cc672813bf864c462'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:21:08.521 ***🔗
alice_unnamed_944@localhost/res1 in
<iq type='result' id='4c3e07d3d06f9f7cc672813bf864c462'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:21:08.521 ***🔗
alice_unnamed_944@localhost/res1 out
<presence/>
*** User 2022-06-22 09:21:08.522 ***🔗
alice_unnamed_944@localhost/res1 in
<presence from='alice_unnamed_944@localhost/res1' to='alice_unnamed_944@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 09:21:08.522 ***🔗
alice_unnamed_944@localhost/res1 out
<iq type='set' id='af761c4670b29c94cd94cf323425f13a'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_944@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-06-22 09:21:08.527 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='becc873e-0f89-47d3-bdaf-2e3b6f59c984'>
<result xmlns='urn:xmpp:mam:1' id='BO60PN92VG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-06T05:32:55.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>ecc86c1c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.527 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='248815b9-cb7b-4a44-a925-ec91c87c20cb'>
<result xmlns='urn:xmpp:mam:1' id='BO6PKNG07G0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-07T11:11:19.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>80a015ae</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='b3c171a8-65d8-43e2-a28b-59288d24abf6'>
<result xmlns='urn:xmpp:mam:1' id='BO7HQ3QDCG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-08T16:01:21.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>5f9cf60e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='a43eb4d4-d579-4834-a56d-776ff0d03388'>
<result xmlns='urn:xmpp:mam:1' id='BO7VDE4LQG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-09T08:15:09.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>5baa4608</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='b78aa7a7-3738-469a-9114-dcb536f1431c'>
<result xmlns='urn:xmpp:mam:1' id='BO8SDKI91002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-10T18:51:30.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>5564d2ff</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='2c8c4802-b8b5-4282-90cf-48e9cb72ac4e'>
<result xmlns='urn:xmpp:mam:1' id='BO9HC0OA1G0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-11T19:51:07.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>fbd5d9c6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='e54eaba4-1248-445e-a658-e4f7a18edd7b'>
<result xmlns='urn:xmpp:mam:1' id='BO9PAEO4CG04'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-12T05:20:17.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>fed03197</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='8bab6196-8375-4b13-be70-ccbd6142772e'>
<result xmlns='urn:xmpp:mam:1' id='BOAP827EJG0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-13T19:25:35.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>9aa8bd7a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='89d47ff4-a3e1-4684-b5ba-923b62652aba'>
<result xmlns='urn:xmpp:mam:1' id='BOBCQCD7V009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-14T18:46:38.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>9803d515</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.528 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='507b7dfb-9bc5-417e-a0ae-59328e3ab0cc'>
<result xmlns='urn:xmpp:mam:1' id='BOBKS4G4SG0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-15T04:23:13.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>767951a1</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='4e12be81-214a-46e6-bbf4-d15911e6e0f1'>
<result xmlns='urn:xmpp:mam:1' id='BOCNJDQFQ003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-16T21:49:08.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>5fd61ff5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='41d19003-6e82-47de-8632-2572e69322a7'>
<result xmlns='urn:xmpp:mam:1' id='BOD97RET000F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-17T18:51:44.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>f4f449d1</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='7708a5bc-8be3-4d73-a3d7-5a4cb7a923ae'>
<result xmlns='urn:xmpp:mam:1' id='BODLFN2T5G0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-18T09:28:19.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>050e7402</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='5bb59290-0a1b-4863-9d2b-4eaee9741df5'>
<result xmlns='urn:xmpp:mam:1' id='BOEBR2JJ4G0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-19T12:08:33.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>5867afb9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='14bc0d2d-bdca-4155-b40c-17a990707f3a'>
<result xmlns='urn:xmpp:mam:1' id='BOES6LUHR00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-20T07:39:50.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>3fcffb60</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='88ba90eb-9128-4a6f-b329-400240ca8c6b'>
<result xmlns='urn:xmpp:mam:1' id='BOFJRFHTV009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-21T11:52:46.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>77708f66</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<message from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='6ae23feb-731b-480b-bd51-8eaea40de147'>
<result xmlns='urn:xmpp:mam:1' id='BOFVUIQO900I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T02:18:42.000000Z' from='alice_unnamed_944@localhost'/>
<message from='alice_unnamed_944@localhost' xmlns='jabber:client' to='bOb_unnamed_944@localhost' type='chat'>
<body>399cc10d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 in
<iq from='alice_unnamed_944@localhost' to='alice_unnamed_944@localhost/res1' id='af761c4670b29c94cd94cf323425f13a' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BO60PN92VG0B</first>
<last>BOFVUIQO900I</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-06-22 09:21:08.529 ***🔗
alice_unnamed_944@localhost/res1 out
</stream:stream>
*** User 2022-06-22 09:21:08.530 ***🔗
alice_unnamed_944@localhost/res1 in
</stream:stream>
=== Ended at 2022-06-22 09:21:08
=== successfully completed test case
=== === Returned value: ok