=== 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.12345.1>},
{basic_group,mam_all},
{configuration,rdbms_cache},
{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 => 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.84099.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,rdbms_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:57
*** User 2022-05-18 10:03:57.385 ***
alicE_unnamed_1582@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:57.386 ***
alicE_unnamed_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c507ca74b9ecf4e8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:03:57.386 ***
alicE_unnamed_1582@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:57.386 ***
alicE_unnamed_1582@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTU4MgBtYXR5Z3J5c2E=</auth>
*** User 2022-05-18 10:03:57.388 ***
alicE_unnamed_1582@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:03:57.388 ***
alicE_unnamed_1582@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:57.389 ***
alicE_unnamed_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65d4779cc5d925ae' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:03:57.389 ***
alicE_unnamed_1582@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:57.389 ***
alicE_unnamed_1582@localhost/res1 out
<iq type='set' id='ba6ce8607b1ee9cc67e723e543711778'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:03:57.389 ***
alicE_unnamed_1582@localhost/res1 in
<iq id='ba6ce8607b1ee9cc67e723e543711778' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_1582@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:03:57.389 ***
alice_unnamed_1582@localhost/res1 out
<iq type='set' id='dc7bcda4387c5e7cbab71c7c403cffeb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:03:57.389 ***
alice_unnamed_1582@localhost/res1 in
<iq type='result' id='dc7bcda4387c5e7cbab71c7c403cffeb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:03:57.390 ***
alice_unnamed_1582@localhost/res1 out
<presence/>
*** User 2022-05-18 10:03:57.391 ***
alice_unnamed_1582@localhost/res1 in
<presence from='alice_unnamed_1582@localhost/res1' to='alice_unnamed_1582@localhost/res1' xml:lang='en'/>
*** User 2022-05-18 10:03:57.392 ***
alice_unnamed_1582@localhost/res1 out
<iq type='set' id='58b0c0c008f1d47bdc48a6b1699383b3'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1582@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-05-18 10:03:57.394 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='1ca718a5-c50d-4536-8fad-3949055b37c5'>
<result xmlns='urn:xmpp:mam:1' id='BNG4B9NCT002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-02T09:52:42.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>a57ca692</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.394 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='11e7fd94-1b7f-451a-8e1b-f618dc83ffa7'>
<result xmlns='urn:xmpp:mam:1' id='BNGGUEHU400K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-03T00:54:32.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>05c72e81</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.394 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='9b322341-3f12-4a8f-9677-32e7eded6e54'>
<result xmlns='urn:xmpp:mam:1' id='BNH6IFQJU006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-04T02:42:36.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>dac442d2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.394 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='4121b94b-afab-4572-ac1a-15ef6fc3ca05'>
<result xmlns='urn:xmpp:mam:1' id='BNI2F5F8KG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-05T11:59:29.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>8fe84341</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='f6514d3f-2c24-494a-a546-68378135e0b9'>
<result xmlns='urn:xmpp:mam:1' id='BNIPS7BML001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-06T15:55:06.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>13b55479</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='c4319804-614d-4c96-9763-6ae369d30c37'>
<result xmlns='urn:xmpp:mam:1' id='BNJA7DBDFG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-07T11:25:27.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>f2813440</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='63c369a7-f6d0-4b9a-9461-49d0d53a2bc4'>
<result xmlns='urn:xmpp:mam:1' id='BNK01R63UG05'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-08T13:27:49.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>fc8e2ea8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='9fe26a69-fa8b-4fe0-b87e-ab0205c552c8'>
<result xmlns='urn:xmpp:mam:1' id='BNKEB1VHHG0A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-09T06:30:35.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>6ddea985</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='f6846f60-7ede-4823-9a33-9bb05df89882'>
<result xmlns='urn:xmpp:mam:1' id='BNL15RFAUG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-10T04:59:01.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>b93406a8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='df6acbad-2d22-46c9-a48c-3cae069043e7'>
<result xmlns='urn:xmpp:mam:1' id='BNLPJEHB2G0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T10:07:25.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>4ccb14d8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='2bab33cb-75c4-458d-890f-a1ad95a63f44'>
<result xmlns='urn:xmpp:mam:1' id='BNM6L24H800D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-12T01:41:36.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>919b0166</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='bb1d9158-f02d-4a7b-9388-f4dded06f530'>
<result xmlns='urn:xmpp:mam:1' id='BNN0GE95GG05'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-13T08:32:25.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>b5055515</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='ac0565e0-c37e-4ba6-9004-4c5959b77d41'>
<result xmlns='urn:xmpp:mam:1' id='BNNJVPAQOG0E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-14T07:46:49.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>8efe75c0</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='8ac10f5b-e06c-47c2-989c-572b1dc5efff'>
<result xmlns='urn:xmpp:mam:1' id='BNO2MIH0IG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-15T01:19:57.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>740cd846</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='a1b9ce2a-ba01-4cd6-8763-57cdfcf91cc0'>
<result xmlns='urn:xmpp:mam:1' id='BNOSFF1DS009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-16T08:05:12.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>1903a460</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='3d8ddad0-ca28-4b3d-9451-ea4d562e6c12'>
<result xmlns='urn:xmpp:mam:1' id='BNPKIUIB5G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-17T12:50:59.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>83b6e136</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<message from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='a64eb753-ce3e-4212-8cfd-23e1063d6213'>
<result xmlns='urn:xmpp:mam:1' id='BNPU95JEC00K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T00:24:56.000000Z' from='alice_unnamed_1582@localhost'/>
<message from='alice_unnamed_1582@localhost' xmlns='jabber:client' to='bOb_unnamed_1582@localhost' type='chat'>
<body>e969ed20</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 in
<iq from='alice_unnamed_1582@localhost' to='alice_unnamed_1582@localhost/res1' id='58b0c0c008f1d47bdc48a6b1699383b3' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BNG4B9NCT002</first>
<last>BNPU95JEC00K</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-05-18 10:03:57.395 ***
alice_unnamed_1582@localhost/res1 out
</stream:stream>
*** User 2022-05-18 10:03:57.396 ***
alice_unnamed_1582@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-18 10:03:57
=== successfully completed test case
=== === Returned value: ok