=== 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.9540.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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.mam_SUITE.logs/run.2022-05-18_10.03.20/mam_suite.querying_for_all_messages_with_jid.92546.html"},
{tc_group_properties,[{name,mam06},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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.mam_SUITE.logs/run.2022-05-18_10.03.20/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@3b05d744781a.2022-05-18_09.59.20"
=== Started at 2022-05-18 10:03:50
*** User 2022-05-18 10:03:50.421 ***
alicE_unnamed_1506@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-18 10:03:50.421 ***
alicE_unnamed_1506@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b3865496d0680f9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:03:50.422 ***
alicE_unnamed_1506@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-18 10:03:50.422 ***
alicE_unnamed_1506@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTUwNgBtYXR5Z3J5c2E=</auth>
*** User 2022-05-18 10:03:50.423 ***
alicE_unnamed_1506@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:03:50.423 ***
alicE_unnamed_1506@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-18 10:03:50.424 ***
alicE_unnamed_1506@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5fd4d57a5c14650' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:03:50.424 ***
alicE_unnamed_1506@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-18 10:03:50.424 ***
alicE_unnamed_1506@localhost/res1 out
<iq type='set' id='24f9955800510316a3a77f8a2cf1f3c7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:03:50.424 ***
alicE_unnamed_1506@localhost/res1 in
<iq id='24f9955800510316a3a77f8a2cf1f3c7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_1506@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:03:50.425 ***
alice_unnamed_1506@localhost/res1 out
<iq type='set' id='b49afc8d8b7cb57f57c027104a39f6a0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:03:50.425 ***
alice_unnamed_1506@localhost/res1 in
<iq type='result' id='b49afc8d8b7cb57f57c027104a39f6a0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:03:50.426 ***
alice_unnamed_1506@localhost/res1 out
<presence/>
*** User 2022-05-18 10:03:50.427 ***
alice_unnamed_1506@localhost/res1 in
<presence from='alice_unnamed_1506@localhost/res1' to='alice_unnamed_1506@localhost/res1' xml:lang='en'/>
*** User 2022-05-18 10:03:50.427 ***
alice_unnamed_1506@localhost/res1 out
<iq type='set' id='8fb274e60007f8707e9d7d862eb58ab0'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1506@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='62f23f2e-a164-42f9-a3ce-bfff2aa25553'>
<result xmlns='urn:xmpp:mam:2' id='BNG6JR6Q5G05'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-02T12:34:59.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>2a45db09</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='652db50a-116b-4aad-9813-3ab949b45453'>
<result xmlns='urn:xmpp:mam:2' id='BNGKIK72SG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-03T05:14:25.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>1876d6f6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='22f40f2d-5984-438b-8c7f-c3d4a203e7dd'>
<result xmlns='urn:xmpp:mam:2' id='BNHDJB23RG0K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-04T11:05:35.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>bbe37930</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='989d72e7-165b-4ca4-b4ac-99a1760326bc'>
<result xmlns='urn:xmpp:mam:2' id='BNHPT8FQR002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-05T01:46:46.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>6853a9ed</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='fdd6caf6-db96-43fb-bbb5-18baad99577b'>
<result xmlns='urn:xmpp:mam:2' id='BNIRI6MLFG07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-06T17:55:51.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>69bba12a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='0d12c09a-b31b-40c6-adcb-9355a12b5c67'>
<result xmlns='urn:xmpp:mam:2' id='BNJ6F6UCP00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-07T06:56:34.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>b5c403de</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='d2150e82-de27-4425-a033-7c0e6df1e742'>
<result xmlns='urn:xmpp:mam:2' id='BNK7QLSKHG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-08T22:44:27.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>e5f5839e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='cb591e37-0afa-4252-ad76-a4a27333f0fe'>
<result xmlns='urn:xmpp:mam:2' id='BNK9OEJUF00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-09T01:02:38.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>df1d361d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='27b83ea5-022a-47b2-a03e-769b2dbe19b1'>
<result xmlns='urn:xmpp:mam:2' id='BNLH236FM002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-10T23:55:56.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>c2fdddf6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='c56b84b2-2a1a-4e95-86f0-85a944697b9e'>
<result xmlns='urn:xmpp:mam:2' id='BNM0H4EB7G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T18:23:19.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>88162205</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='9ebc3da2-c510-44e1-ace5-cb603ac3a08e'>
<result xmlns='urn:xmpp:mam:2' id='BNMCCAGO6G0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-12T08:31:33.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>3712be7d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='f2201dd0-e093-463d-87e5-f75c3b97f078'>
<result xmlns='urn:xmpp:mam:2' id='BNN6NQR0TG09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-13T15:58:27.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>b9643a81</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='2bfe4258-c4fa-4aee-a665-b1e7565c128e'>
<result xmlns='urn:xmpp:mam:2' id='BNNG1K69I00I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-14T03:04:36.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>e6decf1e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.429 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='f83bad99-ce21-4821-ba22-76b97432ee59'>
<result xmlns='urn:xmpp:mam:2' id='BNOA4SB6F008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-15T10:13:02.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>df12d86c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='febe5fea-ffcc-48b4-8d64-a72be1a59d38'>
<result xmlns='urn:xmpp:mam:2' id='BNOP9IT2V00J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-16T04:17:18.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>d7023e07</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='b9130623-5e78-4223-9a93-020fc1dcab1f'>
<result xmlns='urn:xmpp:mam:2' id='BNPIP1QAC00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-17T10:41:28.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>475308ee</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 in
<message from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='49e540cf-00e1-43a0-834f-338dbfc3d800'>
<result xmlns='urn:xmpp:mam:2' id='BNQHSIBG400D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T23:48:24.000000Z' from='alice_unnamed_1506@localhost'/>
<message from='alice_unnamed_1506@localhost' xmlns='jabber:client' to='bOb_unnamed_1506@localhost' type='chat'>
<body>f77c7889</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 in
<iq from='alice_unnamed_1506@localhost' to='alice_unnamed_1506@localhost/res1' id='8fb274e60007f8707e9d7d862eb58ab0' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BNG6JR6Q5G05</first>
<last>BNQHSIBG400D</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 out
</stream:stream>
*** User 2022-05-18 10:03:50.430 ***
alice_unnamed_1506@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-18 10:03:50
=== successfully completed test case
=== === Returned value: ok