=== 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.30420.0>},
{basic_group,mam_all},
{configuration,rdbms},
{mam_meta_opts,#{archive_chat_markers => false,
async_writer =>
#{batch_size => 30,enabled => false,
flush_interval => 2000,pool_size => 16},
backend => rdbms,
cache =>
#{module => internal,number_of_segments => 3,
strategy => fifo,time_to_live => 480},
cache_users => false,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 => rdbms}},
{mod_offline_loaded,false},
{escalus_user_db,{module,escalus_ejabberd}},
{mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.mam_SUITE.logs/run.2022-05-25_10.41.39/mam_suite.querying_for_all_messages_with_jid.54402.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,rdbms_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@6949c6250523.2022-05-25_10.37.44/big_tests.tests.mam_SUITE.logs/run.2022-05-25_10.41.39/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 => rdbms,
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 => rdbms,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 => rdbms,
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@6949c6250523.2022-05-25_10.37.44"
=== Started at 2022-05-25 10:41:39
*** User 2022-05-25 10:41:40.054 ***
alicE_unnamed_1155@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-05-25 10:41:40.054 ***
alicE_unnamed_1155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdd28d23a3d6d6bb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:41:40.055 ***
alicE_unnamed_1155@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-05-25 10:41:40.055 ***
alicE_unnamed_1155@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTE1NQBtYXR5Z3J5c2E=</auth>
*** User 2022-05-25 10:41:40.055 ***
alicE_unnamed_1155@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:41:40.055 ***
alicE_unnamed_1155@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-05-25 10:41:40.055 ***
alicE_unnamed_1155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c249ca4ab7f5e357' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:41:40.055 ***
alicE_unnamed_1155@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-05-25 10:41:40.055 ***
alicE_unnamed_1155@localhost/res1 out
<iq type='set' id='69541520420de154b9752abd46cc4acf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:41:40.056 ***
alicE_unnamed_1155@localhost/res1 in
<iq id='69541520420de154b9752abd46cc4acf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_1155@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:41:40.056 ***
alice_unnamed_1155@localhost/res1 out
<iq type='set' id='c0f52968f32135994d7fcc271a6ddcb3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:41:40.056 ***
alice_unnamed_1155@localhost/res1 in
<iq type='result' id='c0f52968f32135994d7fcc271a6ddcb3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:41:40.056 ***
alice_unnamed_1155@localhost/res1 out
<presence/>
*** User 2022-05-25 10:41:40.057 ***
alice_unnamed_1155@localhost/res1 in
<presence from='alice_unnamed_1155@localhost/res1' to='alice_unnamed_1155@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:41:40.058 ***
alice_unnamed_1155@localhost/res1 out
<iq type='set' id='2a61339cfcda253b33160ac483a3eb03'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1155@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-05-25 10:41:40.059 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='da995f60-f003-40d0-ba58-7f4a3bec1be4'>
<result xmlns='urn:xmpp:mam:1' id='BNKCJ5BQIG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-09T04:25:33.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>35304756</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.059 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='6d342e7f-fa49-4f45-9a78-77b022a73b98'>
<result xmlns='urn:xmpp:mam:1' id='BNL4J7U3JG0F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-10T09:03:43.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>cdf3850e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.059 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='539e0007-d11e-4f1b-9dd4-3ddb6c5af982'>
<result xmlns='urn:xmpp:mam:1' id='BNM0FGUCRG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T18:19:43.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>4ef34291</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='2bc0ce17-874b-47a2-a92e-787d72578f52'>
<result xmlns='urn:xmpp:mam:1' id='BNM9FHFT0004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-12T05:04:00.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>9213fb08</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='0c0c79bf-c26a-4e3c-b204-776edc9df3d5'>
<result xmlns='urn:xmpp:mam:1' id='BNN8537J700C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-13T17:39:42.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>681998fe</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='927ebacc-233f-4766-a063-fb416faf3ebb'>
<result xmlns='urn:xmpp:mam:1' id='BNO0OS602004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-14T23:01:56.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>e459ff76</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='c39f17b6-1e73-4a95-bac8-e4d95f35da5a'>
<result xmlns='urn:xmpp:mam:1' id='BNO3N54BH001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-15T02:32:50.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>50903c96</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='8d9b63b1-d8c7-46a0-9c72-c5f9310444ee'>
<result xmlns='urn:xmpp:mam:1' id='BNOUVMAO400D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-16T11:04:40.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>20f44e91</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='da307ce8-89e3-4c08-b125-832226ce7ffc'>
<result xmlns='urn:xmpp:mam:1' id='BNP9T7VDM00J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-17T00:06:36.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>49f3b05e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='e7a54676-13a8-4bc9-8624-6fac154f6d4e'>
<result xmlns='urn:xmpp:mam:1' id='BNQEJ0TG1001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T19:52:18.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>1533c2b5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='92241420-57c7-4a40-8bfd-133453106e18'>
<result xmlns='urn:xmpp:mam:1' id='BNQU7DQGQG05'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-19T14:31:41.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>a4b0a200</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='fb7caa56-de88-403e-9cb9-f53dc7a900a3'>
<result xmlns='urn:xmpp:mam:1' id='BNRDHR0H1G07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-20T08:48:43.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>7cf221f5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='0098bd68-d881-4978-aad0-a4a59857af3e'>
<result xmlns='urn:xmpp:mam:1' id='BNSAFKDQQG09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-21T19:19:41.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>0f01199f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='e932329e-2b52-486c-885a-c4d69165c5f6'>
<result xmlns='urn:xmpp:mam:1' id='BNSQKCDO5009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-22T14:35:38.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>df50dc9c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.060 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='7e4ccaf4-181f-4e57-b7e3-0f2c03642f85'>
<result xmlns='urn:xmpp:mam:1' id='BNT58P9H100B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-23T03:17:06.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>a0cd84a4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.061 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='fdf3f02d-0494-4236-8173-f211e85972cd'>
<result xmlns='urn:xmpp:mam:1' id='BNTO5RVHJG09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-24T01:50:39.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>011f0e0d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.061 ***
alice_unnamed_1155@localhost/res1 in
<message from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='a5c59969-dfab-4908-af56-936a52905564'>
<result xmlns='urn:xmpp:mam:1' id='BNUU1BHVL00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T23:00:42.000000Z' from='alice_unnamed_1155@localhost'/>
<message from='alice_unnamed_1155@localhost' xmlns='jabber:client' to='bOb_unnamed_1155@localhost' type='chat'>
<body>dd30b733</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:41:40.061 ***
alice_unnamed_1155@localhost/res1 in
<iq from='alice_unnamed_1155@localhost' to='alice_unnamed_1155@localhost/res1' id='2a61339cfcda253b33160ac483a3eb03' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BNKCJ5BQIG0D</first>
<last>BNUU1BHVL00H</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-05-25 10:41:40.061 ***
alice_unnamed_1155@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:41:40.061 ***
alice_unnamed_1155@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-25 10:41:40
=== successfully completed test case
=== === Returned value: ok