=== 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.3109.1>},
{basic_group,muc_all},
{configuration,rdbms_async_cache},
{wait_for_parallel_writer,[muc]},
{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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mam_SUITE.logs/run.2022-01-27_15.29.00/mam_suite.muc_querying_for_all_messages_with_jid.79234.html"},
{tc_group_properties,[{name,muc04},parallel]},
{tc_group_path,[[{name,rdbms_async_cache_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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mam_SUITE.logs/run.2022-01-27_15.29.00/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_cache_user => [{muc,true}],
mod_mam_muc => [{host,{prefix,<<"muc.">>}},{archive_groupchats,false}],
mod_mam_muc_rdbms_arch => [{no_writer,true}],
mod_mam_rdbms_arch_async => [{muc,[{flush_interval,1}]}],
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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:29:44
Could not find element archive_wait in Config.
*** User 2022-01-27 15:29:44.452 ***
alicE_unnamed_1265@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-01-27 15:29:44.452 ***
alicE_unnamed_1265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edce0656bd7f6868' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:29:44.452 ***
alicE_unnamed_1265@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-01-27 15:29:44.452 ***
alicE_unnamed_1265@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTI2NQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:29:44.453 ***
alicE_unnamed_1265@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:29:44.454 ***
alicE_unnamed_1265@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-01-27 15:29:44.454 ***
alicE_unnamed_1265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5fb7d03fc14c003' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:29:44.454 ***
alicE_unnamed_1265@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-01-27 15:29:44.454 ***
alicE_unnamed_1265@localhost/res1 out
<iq type='set' id='f4d45d7c29609c199a568264d72e3a1b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:29:44.454 ***
alicE_unnamed_1265@localhost/res1 in
<iq id='f4d45d7c29609c199a568264d72e3a1b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1265@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:29:44.454 ***
alicE_unnamed_1265@localhost/res1 out
<iq type='set' id='f20f8cd02b8b11fb9b85c539a61bfa61'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:29:44.455 ***
alicE_unnamed_1265@localhost/res1 in
<iq type='result' id='f20f8cd02b8b11fb9b85c539a61bfa61'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:29:44.455 ***
alicE_unnamed_1265@localhost/res1 out
<presence/>
*** User 2022-01-27 15:29:44.456 ***
alicE_unnamed_1265@localhost/res1 in
<presence from='alicE_unnamed_1265@localhost/res1' to='alice_unnamed_1265@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:29:44.456 ***
alicE_unnamed_1265@localhost/res1 out
<iq type='set' id='b79a78e386f34b2b2e9a2e5c0874b85c' to='alicE_unnamed_1265room0-3163-1@muc.localhost'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>alicE_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='02ea4f4d-b8e0-4623-a306-49cb8b3cc95c'>
<result xmlns='urn:xmpp:mam:1' id='BLA935QKQ002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T07:07:00Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>aaeb444f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='29aeb519-d597-4651-8db4-5ab4eb0a41c8'>
<result xmlns='urn:xmpp:mam:1' id='BLASDFF6RG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T06:10:07Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>935a7e11</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='874337ad-50f7-453f-bb96-e593e17edd03'>
<result xmlns='urn:xmpp:mam:1' id='BLBEDIMSD008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T03:38:50Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>6536f113</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='8adb2dfa-3bb4-4a2a-aa35-df978466adea'>
<result xmlns='urn:xmpp:mam:1' id='BLC2CSMB0G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T03:28:57Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>84f76378</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='d53e3b72-40b8-4efb-913b-16d38cfc5772'>
<result xmlns='urn:xmpp:mam:1' id='BLCRA884MG07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T09:12:37Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>d0df921a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='8af33ed8-7e47-4fbf-9dca-3ea1dce1be2d'>
<result xmlns='urn:xmpp:mam:1' id='BLDNNBJJFG0E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T19:06:15Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>cbe7d631</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='02984399-d787-40a9-9539-ec4d3175c4e1'>
<result xmlns='urn:xmpp:mam:1' id='BLEEOISI600C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T22:35:24Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>e0dbc865</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='dcadfd94-7aff-4b12-b8d9-2cc1fad8f853'>
<result xmlns='urn:xmpp:mam:1' id='BLEPH4A9800F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T11:26:08Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>fbd63f85</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='82104d0a-5685-4cf4-a4d3-c70c8f61d129'>
<result xmlns='urn:xmpp:mam:1' id='BLFN9JO2O001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T22:56:48Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>0a7fc39f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='c8e2e734-48a0-4675-8fe8-f33c3caf8fc2'>
<result xmlns='urn:xmpp:mam:1' id='BLG2TPF7CG09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T12:49:21Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>a53b46e6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='d57b6b15-cb20-46e9-b9ed-4f93607a8360'>
<result xmlns='urn:xmpp:mam:1' id='BLGMCUI54005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T12:03:20Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>15237ea4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='e022d6b4-ecf2-4dd1-9498-0642cb21ff79'>
<result xmlns='urn:xmpp:mam:1' id='BLHJA2963G0K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T22:32:47Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>c66fee8a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.464 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='3d72142a-ff5e-4f98-9ffa-3b5ffb7a4972'>
<result xmlns='urn:xmpp:mam:1' id='BLI2U5DD4G0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T17:11:29Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>171c91b5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='08dcff63-1047-46f1-ba63-a8b4643eceff'>
<result xmlns='urn:xmpp:mam:1' id='BLIQ0QMQVG0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T20:43:51Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>58f2c301</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='1c0af004-ad86-4054-9294-f70650d64a73'>
<result xmlns='urn:xmpp:mam:1' id='BLJ4TF8NCG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T09:43:45Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>5ddac5e9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='404c359a-e11c-43a7-95de-f939d98c2f75'>
<result xmlns='urn:xmpp:mam:1' id='BLJNJQDOR00D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-26T08:02:14Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>98acb9e4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
<message from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='cc22a483-7847-4653-833f-9579c9a426e2'>
<result xmlns='urn:xmpp:mam:1' id='BLKFFLQ64G0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:30:57Z' from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1265room0-3163-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>7033b39e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
<iq from='alice_unnamed_1265room0-3163-1@muc.localhost' to='alicE_unnamed_1265@localhost/res1' id='b79a78e386f34b2b2e9a2e5c0874b85c' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BLA935QKQ002</first>
<last>BLKFFLQ64G0I</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:29:44.465 ***
alicE_unnamed_1265@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:29:44
=== successfully completed test case
=== === Returned value: ok