=== Test case: mam_SUITE:muc_querying_for_all_messages_with_jid/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
{with_rsm,true},
{watchdog,<0.2863.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mam_SUITE.logs/run.2022-01-25_16.25.52/mam_suite.muc_querying_for_all_messages_with_jid.45956.html"},
{tc_group_properties,[{name,muc06},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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mam_SUITE.logs/run.2022-01-25_16.25.52/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@ebe8a8f9fc53.2022-01-25_16.21.59"
=== Started at 2022-01-25 16:26:47
Could not find element archive_wait in Config.
*** User 2022-01-25 16:26:48.233 ***
alicE_unnamed_1283@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-25 16:26:48.233 ***
alicE_unnamed_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='465ede53ef89a536' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:48.233 ***
alicE_unnamed_1283@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-25 16:26:48.233 ***
alicE_unnamed_1283@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTI4MwBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:26:48.234 ***
alicE_unnamed_1283@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:26:48.235 ***
alicE_unnamed_1283@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-25 16:26:48.235 ***
alicE_unnamed_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38213632546cd66c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:48.235 ***
alicE_unnamed_1283@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-25 16:26:48.235 ***
alicE_unnamed_1283@localhost/res1 out
<iq type='set' id='165feb86ffed75038ef36523e3f364d6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:26:48.235 ***
alicE_unnamed_1283@localhost/res1 in
<iq id='165feb86ffed75038ef36523e3f364d6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1283@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:26:48.235 ***
alicE_unnamed_1283@localhost/res1 out
<iq type='set' id='bb69570145072a1f585b2b6072f482e0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:48.236 ***
alicE_unnamed_1283@localhost/res1 in
<iq type='result' id='bb69570145072a1f585b2b6072f482e0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:48.237 ***
alicE_unnamed_1283@localhost/res1 out
<presence/>
*** User 2022-01-25 16:26:48.238 ***
alicE_unnamed_1283@localhost/res1 in
<presence from='alicE_unnamed_1283@localhost/res1' to='alice_unnamed_1283@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:26:48.238 ***
alicE_unnamed_1283@localhost/res1 out
<iq type='set' id='f361f150df41ae748fc4bcc3905d3178' to='alicE_unnamed_1283room0-2951-1@muc.localhost'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>alicE_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='eeb96405-54c4-4852-adec-175aca0293ee'>
<result xmlns='urn:xmpp:mam:2' id='BL9BMG1Q200D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-09T20:02:44Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>dcbeb205</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='5dd4a906-2bf5-4cc8-93c9-5bd15ae83e5c'>
<result xmlns='urn:xmpp:mam:2' id='BLA2APTCTG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-10T23:02:59Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>e9e0fd04</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='201b075a-22c8-4a2d-a0ed-3a44b6acbfe0'>
<result xmlns='urn:xmpp:mam:2' id='BLA7K641SG08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T05:21:53Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>f8ef9e48</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='809e5c0a-ccb4-451f-98af-bd770af2ee6d'>
<result xmlns='urn:xmpp:mam:2' id='BLAVVP9CAG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T10:25:49Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>ba58efff</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='d41f681d-f18c-4397-b617-6442e3c3125f'>
<result xmlns='urn:xmpp:mam:2' id='BLBFGD2LM00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T04:56:44Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>c512c838</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='ec427852-f579-41c5-87bb-ff544075efab'>
<result xmlns='urn:xmpp:mam:2' id='BLC44JQIO009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T05:33:36Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>49f7c6ce</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='bfbd5998-0ca7-4f41-957e-264f14381395'>
<result xmlns='urn:xmpp:mam:2' id='BLCQJN8REG0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T08:22:13Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>96e42064</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='2e7b4b94-f091-45e8-aee0-68f953d303a2'>
<result xmlns='urn:xmpp:mam:2' id='BLDFUP0FLG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T09:50:11Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>7d3cfa9e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='0a9d588c-0f0c-465f-a1c7-5894f02947cc'>
<result xmlns='urn:xmpp:mam:2' id='BLE0RIK2U00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T05:59:56Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>c0e33d1e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='7726b14e-66f0-4fa8-a053-938b1c93e589'>
<result xmlns='urn:xmpp:mam:2' id='BLEGEMOFM003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T00:36:28Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>6ec283ef</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.258 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='69395a9d-870f-47df-915c-40e3cf9938a5'>
<result xmlns='urn:xmpp:mam:2' id='BLF9QLRH4G06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T06:52:49Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>73682e7c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='8613a0ec-2f0d-467e-80e7-45f1ddfd66bc'>
<result xmlns='urn:xmpp:mam:2' id='BLGAR792O00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T22:16:16Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>2efe62e5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='3915fe8a-d471-4968-aa65-9fa4d950be80'>
<result xmlns='urn:xmpp:mam:2' id='BLGGRO88KG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T05:26:57Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>5ba712cc</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='d95e8d85-0172-4f47-8b72-3ce6854e968c'>
<result xmlns='urn:xmpp:mam:2' id='BLHBL9OA9G0F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T13:25:15Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>e30742d6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='1477a084-260f-45d5-ac62-b3583dba262e'>
<result xmlns='urn:xmpp:mam:2' id='BLHSLQQ80G0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T09:43:21Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>0e314333</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='d271f1aa-9a27-4e62-9aec-d716f4a82684'>
<result xmlns='urn:xmpp:mam:2' id='BLIE9T82J00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T06:45:10Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>b6f7ba4f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<message from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='13b2f329-3b8f-46bd-978d-df4e82e463f7'>
<result xmlns='urn:xmpp:mam:2' id='BLJ3LM3OEG05'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T08:14:45Z' from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname'/>
<message from='alice_unnamed_1283room0-2951-1@muc.localhost/unique_bOb_nickname' xmlns='jabber:client' type='chat'>
<body>1b47752e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
<iq from='alice_unnamed_1283room0-2951-1@muc.localhost' to='alicE_unnamed_1283@localhost/res1' id='f361f150df41ae748fc4bcc3905d3178' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BL9BMG1Q200D</first>
<last>BLJ3LM3OEG05</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:26:48.259 ***
alicE_unnamed_1283@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:26:48
=== successfully completed test case
=== === Returned value: ok