=== Test case: mam_SUITE:muc_querying_for_all_messages_with_jid/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:1">>}]},
{with_rsm,true},
{watchdog,<0.25199.0>},
{basic_group,muc_all},
{configuration,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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.19.57/mam_suite.muc_querying_for_all_messages_with_jid.47746.html"},
{tc_group_properties,[{name,muc04},parallel]},
{tc_group_path,[[{name,rdbms_muc_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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.19.57/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 => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_mam_muc => [{host,{prefix,<<"muc.">>}},{archive_groupchats,false}],
mod_mam_muc_rdbms_arch => [],
mod_mam_rdbms_prefs => [{muc,true}],
mod_mam_rdbms_user => [{muc,true},{pm,true}],
mod_muc =>
[{host,{prefix,<<"muc.">>}},
{backend,rdbms},
{hibernate_timeout,2000},
{hibernated_room_check_interval,1000},
{hibernated_room_timeout,2000},
{access,muc},
{access_create,muc_create}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_muc_log => [{outdir,"/tmp/muclogs"},{access_log,muc}],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
{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@43f5552376e6.2022-03-04_11.16.18"
=== Started at 2022-03-04 11:20:03
Could not find element wait_for_parallel_writer in Config.
Could not find element archive_wait in Config.
*** User 2022-03-04 11:20:03.687 ***
alicE_unnamed_903@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-03-04 11:20:03.689 ***
alicE_unnamed_903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d101ab996816e80e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:03.689 ***
alicE_unnamed_903@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-03-04 11:20:03.689 ***
alicE_unnamed_903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfOTAzAG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:20:03.691 ***
alicE_unnamed_903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:20:03.691 ***
alicE_unnamed_903@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-03-04 11:20:03.691 ***
alicE_unnamed_903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec78e9fb5be81ebd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:03.691 ***
alicE_unnamed_903@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-03-04 11:20:03.691 ***
alicE_unnamed_903@localhost/res1 out
<iq type='set' id='531b013722149cd0776478df4b3beed7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:20:03.692 ***
alicE_unnamed_903@localhost/res1 in
<iq id='531b013722149cd0776478df4b3beed7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_903@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:20:03.692 ***
alicE_unnamed_903@localhost/res1 out
<iq type='set' id='0c3718e9f417f2bf76b95aa9f543133a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:03.692 ***
alicE_unnamed_903@localhost/res1 in
<iq type='result' id='0c3718e9f417f2bf76b95aa9f543133a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:03.693 ***
alicE_unnamed_903@localhost/res1 out
<presence/>
*** User 2022-03-04 11:20:03.694 ***
alicE_unnamed_903@localhost/res1 in
<presence from='alicE_unnamed_903@localhost/res1' to='alice_unnamed_903@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:20:03.695 ***
alicE_unnamed_903@localhost/res1 out
<iq type='set' id='0560a538ebbb05bcb4312cd040e53910' to='alicE_unnamed_903room0-25249-0@muc.localhost'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>alicE_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname</value>
</field>
</x>
</query>
</iq>
*** User 2022-03-04 11:20:03.698 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='8d91f6c1-c60a-44a0-9202-8a7c96a1a614'>
<result xmlns='urn:xmpp:mam:1' id='BM0VVCSQP007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-16T10:19:14Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>1c00e71f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='91f1286e-457a-4614-ac9a-d8a7a6ea1c05'>
<result xmlns='urn:xmpp:mam:1' id='BM1EITDMRG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-17T03:45:03Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>3bcd0848</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='c5ec02ac-1964-4a46-90d1-25ad97038d16'>
<result xmlns='urn:xmpp:mam:1' id='BM28T9NUB008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-18T11:09:26Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>0acca1ef</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='f3cb165c-2b9f-45e1-a52e-7bce6a1fc5d4'>
<result xmlns='urn:xmpp:mam:1' id='BM2LKB8L3G0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-19T02:19:59Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>dd7c69bb</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='d18fb2fc-2792-4541-99cc-fb80b5e92c7a'>
<result xmlns='urn:xmpp:mam:1' id='BM38VK4LIG04'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-20T01:25:17Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>d07d23d8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='d0186474-28d6-4d1f-8a09-c5473170a94a'>
<result xmlns='urn:xmpp:mam:1' id='BM433O66U00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-21T08:35:40Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>44d8c98c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='0c48d732-c380-4465-afcc-69772d38c679'>
<result xmlns='urn:xmpp:mam:1' id='BM4S6LR5LG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-22T14:31:47Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>ab67a293</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.699 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='4c87b041-b851-4ec7-970c-18e19b019dd3'>
<result xmlns='urn:xmpp:mam:1' id='BM5G6Q1RO006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-23T14:23:44Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>611eb1cc</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='7684a3aa-cbd9-42e0-9290-7c9b940146f1'>
<result xmlns='urn:xmpp:mam:1' id='BM677G5GAG0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-24T17:51:41Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>620f12d0</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='73a913e3-28c5-489c-9a49-a788aa44db4a'>
<result xmlns='urn:xmpp:mam:1' id='BM6H8UG3EG0K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-25T05:50:45Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>46e6afad</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='2599d789-1ca2-4505-91e8-77aa43356b88'>
<result xmlns='urn:xmpp:mam:1' id='BM7KBM8QGG0K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-26T23:42:17Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>4fc1cd7e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='5577b86b-4242-4caf-8f21-772d788384c0'>
<result xmlns='urn:xmpp:mam:1' id='BM88FR7CH00B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-27T23:43:14Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>686c2fa6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='8d14ea84-0774-4044-a383-4b3a758cfd0a'>
<result xmlns='urn:xmpp:mam:1' id='BM8R9GUOR002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-28T22:09:10Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>92a09403</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='2207552d-7b48-4075-8115-f28450bddbd3'>
<result xmlns='urn:xmpp:mam:1' id='BM9E8CRR5G0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-01T20:46:43Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>06fed911</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='9dd89021-f9df-46d1-b2d4-b8fc6d0c1944'>
<result xmlns='urn:xmpp:mam:1' id='BM9TQOEDE00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-02T15:21:32Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>18773980</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='4c72ca54-c6fd-427d-812a-6de32e474f10'>
<result xmlns='urn:xmpp:mam:1' id='BMAN0TQ5B00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T21:24:54Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>cc4ad142</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<message from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='1881b9ba-2684-49f8-81ac-f5477c3932b9'>
<result xmlns='urn:xmpp:mam:1' id='BMB38MQ7V006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T12:01:18Z' from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_903room0-25249-0@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>74cbbe01</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 in
<iq from='alice_unnamed_903room0-25249-0@muc.localhost' to='alicE_unnamed_903@localhost/res1' id='0560a538ebbb05bcb4312cd040e53910' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BM0VVCSQP007</first>
<last>BMB38MQ7V006</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-03-04 11:20:03.700 ***
alicE_unnamed_903@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:20:03.701 ***
alicE_unnamed_903@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:20:03
=== successfully completed test case
=== === Returned value: ok