=== 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.27297.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,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.mam_SUITE.logs/run.2022-04-04_15.07.14/mam_suite.querying_for_all_messages_with_jid.33539.html"},
{tc_group_properties,[{name,mam06},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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.mam_SUITE.logs/run.2022-04-04_15.07.14/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 => [],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"}]},
{welcome_message,{[],[]}}],
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@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:07:15
*** User 2022-04-04 15:07:15.964 ***
alicE_unnamed_1092@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-04-04 15:07:15.964 ***
alicE_unnamed_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='93cea48d5e9f14db' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:07:15.964 ***
alicE_unnamed_1092@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-04-04 15:07:15.965 ***
alicE_unnamed_1092@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTA5MgBtYXR5Z3J5c2E=</auth>
*** User 2022-04-04 15:07:15.966 ***
alicE_unnamed_1092@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:07:15.966 ***
alicE_unnamed_1092@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-04-04 15:07:15.967 ***
alicE_unnamed_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='396f822d33bf5b3e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:07:15.967 ***
alicE_unnamed_1092@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-04-04 15:07:15.967 ***
alicE_unnamed_1092@localhost/res1 out
<iq type='set' id='6e36e910f8c0f42328f88dba1ea246fe'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:07:15.967 ***
alicE_unnamed_1092@localhost/res1 in
<iq id='6e36e910f8c0f42328f88dba1ea246fe' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1092@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:07:15.968 ***
alicE_unnamed_1092@localhost/res1 out
<iq type='set' id='00470c11c44263c40bf538bd74f8537b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:07:15.968 ***
alicE_unnamed_1092@localhost/res1 in
<iq type='result' id='00470c11c44263c40bf538bd74f8537b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:07:15.968 ***
alicE_unnamed_1092@localhost/res1 out
<presence/>
*** User 2022-04-04 15:07:15.971 ***
alicE_unnamed_1092@localhost/res1 in
<presence from='alicE_unnamed_1092@localhost/res1' to='alice_unnamed_1092@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:07:15.971 ***
alicE_unnamed_1092@localhost/res1 out
<iq type='set' id='04ab7801248c836cfbb515328a329349'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1092@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-04-04 15:07:15.988 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='3b8b7bfd-fe1e-47dc-99dd-690403d1f2bc'>
<result xmlns='urn:xmpp:mam:2' id='BMK8VO4OU00K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-19T02:26:36.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>e2448f38</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='ae587406-df81-4e7b-a376-2845fe7f89fa'>
<result xmlns='urn:xmpp:mam:2' id='BMKRM4FV300I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-20T00:45:10.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>500f0687</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='e365659d-a701-4668-95f0-b333d8e1f464'>
<result xmlns='urn:xmpp:mam:2' id='BMLQP4QB9009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-21T13:50:58.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>b58daab1</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='cb8ddc53-6041-468c-9c78-f7116937e468'>
<result xmlns='urn:xmpp:mam:2' id='BMME1VFTK003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-22T12:50:48.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>994b28b9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='3cea304f-b354-4596-bda4-ba304c90a540'>
<result xmlns='urn:xmpp:mam:2' id='BMNAH71CK00J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-23T22:49:12.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>f8c518c0</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='f2ce7f94-f149-4cae-9afa-c07cec8c8570'>
<result xmlns='urn:xmpp:mam:2' id='BMNTAASICG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-24T21:13:53.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>0e17caae</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='4162a5e3-8099-4743-9960-13020e09ce3c'>
<result xmlns='urn:xmpp:mam:2' id='BMO242SOAG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-25T02:57:49.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>da9ea6de</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='927d4c4a-1064-465b-9d47-da73809be418'>
<result xmlns='urn:xmpp:mam:2' id='BMP655GC0G0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-26T21:57:13.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>2f4b1c39</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='158254db-011c-4c2a-8e2c-ed09c57d0559'>
<result xmlns='urn:xmpp:mam:2' id='BMPGBPP10G0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-27T10:07:53.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>10ab8035</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='63cf5b78-705c-470c-babd-ee637b6dabe8'>
<result xmlns='urn:xmpp:mam:2' id='BMQ0U8F13008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-28T05:54:30.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>dd0ca430</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='481e7a82-cbe7-4cd5-b5e6-e449e96be7c0'>
<result xmlns='urn:xmpp:mam:2' id='BMQVJUG1R00B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-29T18:30:30.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>2b7b205e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='b284887b-9ad7-4e2a-9192-04352898b827'>
<result xmlns='urn:xmpp:mam:2' id='BMRJTVI6Q00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-30T18:44:36.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>cb31ed95</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.989 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='1013a98e-9a81-441c-a7c4-f6a3b5a9126b'>
<result xmlns='urn:xmpp:mam:2' id='BMS0OAMNS00D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-31T10:02:32.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>4d63d7ae</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='2acaae0f-5ec3-4499-8e9a-9442dd309b57'>
<result xmlns='urn:xmpp:mam:2' id='BMSJ13U9CG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-01T07:50:41.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>a374180f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='1ab208dd-2b24-42a9-ba4d-9f74d2c9f7c5'>
<result xmlns='urn:xmpp:mam:2' id='BMTFH8ATD00K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-02T17:51:06.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>28ea3857</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='81445771-8169-4013-b8b8-de982056da8a'>
<result xmlns='urn:xmpp:mam:2' id='BMTNC5I17G0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-03T03:12:23.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>2b1a0626</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
<message from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='4987fc45-ee93-49fe-93ac-14ed80af488f'>
<result xmlns='urn:xmpp:mam:2' id='BMU9E7NRT009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T00:45:30.000000Z' from='alice_unnamed_1092@localhost'/>
<message from='alice_unnamed_1092@localhost' xmlns='jabber:client' to='bOb_unnamed_1092@localhost' type='chat'>
<body>99bc0301</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
<iq from='alicE_unnamed_1092@localhost' to='alicE_unnamed_1092@localhost/res1' id='04ab7801248c836cfbb515328a329349' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BMK8VO4OU00K</first>
<last>BMU9E7NRT009</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:07:15.990 ***
alicE_unnamed_1092@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:07:16
=== successfully completed test case
=== === Returned value: ok