=== 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.27590.0>},
{basic_group,mam_all},
{configuration,rdbms_async_pool},
{wait_for_parallel_writer,[pm]},
{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.querying_for_all_messages_with_jid.29828.html"},
{tc_group_properties,[{name,mam06},parallel]},
{tc_group_path,[[{name,rdbms_async_pool_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@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 => [{archive_groupchats,false}],
mod_mam_rdbms_arch => [{no_writer,true}],
mod_mam_rdbms_arch_async => [{pm,[{flush_interval,1}]}],
mod_mam_rdbms_prefs => [{pm,true}],
mod_mam_rdbms_user => [{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:18
*** User 2022-01-25 16:26:19.362 ***
alicE_unnamed_1052@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:19.363 ***
alicE_unnamed_1052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe045ac956037621' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:19.363 ***
alicE_unnamed_1052@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:19.363 ***
alicE_unnamed_1052@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTA1MgBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:26:19.364 ***
alicE_unnamed_1052@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:26:19.364 ***
alicE_unnamed_1052@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:19.365 ***
alicE_unnamed_1052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2da01c4ad74c6043' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:19.365 ***
alicE_unnamed_1052@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:19.365 ***
alicE_unnamed_1052@localhost/res1 out
<iq type='set' id='279c3f5c9cd29b633b5bb283bdeccef4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:26:19.365 ***
alicE_unnamed_1052@localhost/res1 in
<iq id='279c3f5c9cd29b633b5bb283bdeccef4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1052@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:26:19.366 ***
alicE_unnamed_1052@localhost/res1 out
<iq type='set' id='6eb9b420d2cf5da4c83e9947508d6a23'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:19.366 ***
alicE_unnamed_1052@localhost/res1 in
<iq type='result' id='6eb9b420d2cf5da4c83e9947508d6a23'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:19.366 ***
alicE_unnamed_1052@localhost/res1 out
<presence/>
*** User 2022-01-25 16:26:19.368 ***
alicE_unnamed_1052@localhost/res1 in
<presence from='alicE_unnamed_1052@localhost/res1' to='alice_unnamed_1052@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:26:19.369 ***
alicE_unnamed_1052@localhost/res1 out
<iq type='set' id='b34b836c0ac9c2ee1eba58b7a36c1a56'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1052@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-25 16:26:19.372 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='a7eae5e6-1e85-4074-9961-12d323f021ef'>
<result xmlns='urn:xmpp:mam:2' id='BL9DH45GKG0F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-09T22:13:53Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>d44d7b83</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='d039c93d-3936-42a7-b55a-77f750b2909e'>
<result xmlns='urn:xmpp:mam:2' id='BLA28760400E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-10T22:57:12Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>a3c15023</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='41d69149-1a0d-49fa-bcd6-e466920f208d'>
<result xmlns='urn:xmpp:mam:2' id='BLAHQ3G9CG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T17:30:57Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>a49be642</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='328259a9-f8f3-4d2a-bed9-217cefc94379'>
<result xmlns='urn:xmpp:mam:2' id='BLB3SGDECG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T15:04:49Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>4dcfdeae</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='f5ba87e6-158a-45ca-b84b-abc488d0be81'>
<result xmlns='urn:xmpp:mam:2' id='BLBSRK054006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T20:52:24Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>79a96b4a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='19f355cf-8bcb-46d6-a9c8-d37ac11a39df'>
<result xmlns='urn:xmpp:mam:2' id='BLC0V4PRIG0K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T01:46:37Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>457fa7c3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='ba75e384-0638-413c-8383-db6cd643801c'>
<result xmlns='urn:xmpp:mam:2' id='BLCQKOSJ900E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T08:24:34Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>3818a181</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='b2464158-c5c2-438b-b9b8-3c634aeb1d2f'>
<result xmlns='urn:xmpp:mam:2' id='BLD7TNANV00G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T00:15:10Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>98311002</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='b323970f-4ce5-4457-a27d-13d81904c08f'>
<result xmlns='urn:xmpp:mam:2' id='BLE1FD1T4G0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T06:44:17Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>51b6cb87</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='89dd10c8-2745-4cdd-bbe2-6a7b312ac830'>
<result xmlns='urn:xmpp:mam:2' id='BLEPRG6D0008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T11:49:20Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>5a463595</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='a0d35bec-116d-42c5-b90e-da35de17ff68'>
<result xmlns='urn:xmpp:mam:2' id='BLFCCLDCIG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T09:56:13Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>5eba8758</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='9ff89f5a-52ac-4054-b7f4-cff940d2f7bf'>
<result xmlns='urn:xmpp:mam:2' id='BLFQJO8E300E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T02:54:14Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>c3fd0ac6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.373 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='7661fdaf-124e-47c8-85d1-41370fc624b2'>
<result xmlns='urn:xmpp:mam:2' id='BLGK6ED6CG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T09:25:37Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>a58cc029</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='2e6009e0-0bdb-4422-b2f0-cd5e363c3c8c'>
<result xmlns='urn:xmpp:mam:2' id='BLH1DIE4K00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T01:12:08Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>6d761947</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='33a9c6ab-fb9a-4744-84c3-37900f20dfba'>
<result xmlns='urn:xmpp:mam:2' id='BLHQTV51JG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T07:38:23Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>5f77a10d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='346d766b-f88b-42f2-9ce4-7472df0465ad'>
<result xmlns='urn:xmpp:mam:2' id='BLILEDHJI00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T15:16:20Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>a4322c49</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
<message from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='6152fff7-a37c-4487-af49-2087b3fb8c2d'>
<result xmlns='urn:xmpp:mam:2' id='BLIVNVO7V006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T03:33:34Z' from='alice_unnamed_1052@localhost'/>
<message from='alice_unnamed_1052@localhost' xmlns='jabber:client' to='bOb_unnamed_1052@localhost' type='chat'>
<body>46b59523</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
<iq from='alicE_unnamed_1052@localhost' to='alicE_unnamed_1052@localhost/res1' id='b34b836c0ac9c2ee1eba58b7a36c1a56' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BL9DH45GKG0F</first>
<last>BLIVNVO7V006</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:26:19.374 ***
alicE_unnamed_1052@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:26:19
=== successfully completed test case
=== === Returned value: ok