=== 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.9887.1>},
{basic_group,mam_all},
{configuration,rdbms_async_cache},
{wait_for_parallel_writer,[pm]},
{mam_meta_opts,#{archive_chat_markers => false,
async_writer =>
#{batch_size => 30,enabled => true,
flush_interval => 1,pool_size => 16},
backend => rdbms,
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 => 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.92418.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,rdbms_async_cache_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:42:05
*** User 2022-05-25 10:42:05.570 ***
alicE_unnamed_1501@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:42:05.570 ***
alicE_unnamed_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb5efc2765c1743c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:42:05.570 ***
alicE_unnamed_1501@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:42:05.570 ***
alicE_unnamed_1501@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTUwMQBtYXR5Z3J5c2E=</auth>
*** User 2022-05-25 10:42:05.571 ***
alicE_unnamed_1501@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:42:05.571 ***
alicE_unnamed_1501@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:42:05.571 ***
alicE_unnamed_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a55376320430637d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:42:05.571 ***
alicE_unnamed_1501@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:42:05.571 ***
alicE_unnamed_1501@localhost/res1 out
<iq type='set' id='bf25875d4e34e0ec370d94cf7bc6f7d2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:42:05.571 ***
alicE_unnamed_1501@localhost/res1 in
<iq id='bf25875d4e34e0ec370d94cf7bc6f7d2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_1501@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:42:05.572 ***
alice_unnamed_1501@localhost/res1 out
<iq type='set' id='ddf4e134f577d6e20d58a2dec515923c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:42:05.572 ***
alice_unnamed_1501@localhost/res1 in
<iq type='result' id='ddf4e134f577d6e20d58a2dec515923c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:42:05.572 ***
alice_unnamed_1501@localhost/res1 out
<presence/>
*** User 2022-05-25 10:42:05.573 ***
alice_unnamed_1501@localhost/res1 in
<presence from='alice_unnamed_1501@localhost/res1' to='alice_unnamed_1501@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:42:05.573 ***
alice_unnamed_1501@localhost/res1 out
<iq type='set' id='cd74cd363a297c2d21b4a4e9af2eb3b8'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1501@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='e88ff59f-0f59-4a90-a1e6-224cf550795c'>
<result xmlns='urn:xmpp:mam:1' id='BNKF6FJB600A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-09T07:31:56.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>16baf308</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='065236f2-e332-40a7-9a3b-fc621755ba87'>
<result xmlns='urn:xmpp:mam:1' id='BNL37SQ9EG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-10T07:26:45.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>e9a6ba45</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='a24b92c1-90da-4140-a441-6da2ee96d589'>
<result xmlns='urn:xmpp:mam:1' id='BNLVUM3V1G01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T17:42:03.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>0a189e50</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='8e21fbda-9977-4944-a9df-037702d0c7ac'>
<result xmlns='urn:xmpp:mam:1' id='BNM5CRKAE005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-12T00:11:40.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>3a62e242</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='8d0e6824-fe2d-40ea-8e42-48cfd0f62a3f'>
<result xmlns='urn:xmpp:mam:1' id='BNMUEGGL4003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-13T06:04:56.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>537b659c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='51a0e82f-7d13-4a16-9671-5067743fe0c3'>
<result xmlns='urn:xmpp:mam:1' id='BNNIOUMDQG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-14T06:19:57.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>67277c29</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='ba93c62c-7796-46fb-ad8f-ed1b629c8cf3'>
<result xmlns='urn:xmpp:mam:1' id='BNO932D0A004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-15T08:57:24.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>e2b2ae77</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='27c057e9-f692-45a0-b1fe-1a01d182b375'>
<result xmlns='urn:xmpp:mam:1' id='BNONDAQ5NG0F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-16T02:02:31.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>a2555a31</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='84c4a35e-38ee-40c0-86ea-c7c62e4e9ecf'>
<result xmlns='urn:xmpp:mam:1' id='BNPQK0MR6009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-17T20:02:52.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>8085d8c3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='f14c8a74-6e8e-499e-8116-e752f5a5ffe1'>
<result xmlns='urn:xmpp:mam:1' id='BNQ06NSOG002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T02:42:40.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>155c44ab</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='c9fa8e1c-96a7-4e27-9d01-83664fe99a84'>
<result xmlns='urn:xmpp:mam:1' id='BNR50PTNMG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-19T22:37:57.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>1c2a5ee7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='c18714d7-3d72-4125-90fb-6ad0a10e2939'>
<result xmlns='urn:xmpp:mam:1' id='BNRN8NVH6009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-20T20:24:12.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>734f0fd4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='0db5cb24-9935-4f50-81da-c21cd9fbdf09'>
<result xmlns='urn:xmpp:mam:1' id='BNSDBSOK600B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-21T22:46:04.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>68365a14</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='30f99b49-395f-49b4-88c9-7b4b6598760a'>
<result xmlns='urn:xmpp:mam:1' id='BNSJQVJKRG0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-22T06:29:19.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>e1832ae9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='4d1a518f-cbfc-4366-be15-a6729aa91518'>
<result xmlns='urn:xmpp:mam:1' id='BNT5S6RBKG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-23T04:00:33.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>e0d3f39e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.575 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='7f72017d-124a-4a43-926d-9ac3ee70fea1'>
<result xmlns='urn:xmpp:mam:1' id='BNU1LAH54007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-24T13:09:28.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>c2062078</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.576 ***
alice_unnamed_1501@localhost/res1 in
<message from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='122258ba-6668-4f5a-8fd6-b0066fa60736'>
<result xmlns='urn:xmpp:mam:1' id='BNUCF7QM2008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T02:03:16.000000Z' from='alice_unnamed_1501@localhost'/>
<message from='alice_unnamed_1501@localhost' xmlns='jabber:client' to='bOb_unnamed_1501@localhost' type='chat'>
<body>2f04d0ec</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-25 10:42:05.576 ***
alice_unnamed_1501@localhost/res1 in
<iq from='alice_unnamed_1501@localhost' to='alice_unnamed_1501@localhost/res1' id='cd74cd363a297c2d21b4a4e9af2eb3b8' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BNKF6FJB600A</first>
<last>BNUCF7QM2008</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-05-25 10:42:05.576 ***
alice_unnamed_1501@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:42:05.577 ***
alice_unnamed_1501@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-25 10:42:05
=== successfully completed test case
=== === Returned value: ok