=== 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.1102.1>},
{basic_group,mam_all},
{configuration,rdbms_async_cache},
{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.20101.html"},
{tc_group_properties,[{name,mam06},parallel]},
{tc_group_path,[[{name,rdbms_async_cache_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_cache_user => [{pm,true}],
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:41
*** User 2022-01-25 16:26:41.795 ***
alicE_unnamed_1229@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:41.796 ***
alicE_unnamed_1229@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2cc78fc72c03ca7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:41.796 ***
alicE_unnamed_1229@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:41.796 ***
alicE_unnamed_1229@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTIyOQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:26:41.797 ***
alicE_unnamed_1229@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:26:41.797 ***
alicE_unnamed_1229@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:41.797 ***
alicE_unnamed_1229@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='417866c6ece2bc88' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:41.798 ***
alicE_unnamed_1229@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:41.798 ***
alicE_unnamed_1229@localhost/res1 out
<iq type='set' id='e5010654f155730a046208d157f67ea8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:26:41.798 ***
alicE_unnamed_1229@localhost/res1 in
<iq id='e5010654f155730a046208d157f67ea8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1229@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:26:41.798 ***
alicE_unnamed_1229@localhost/res1 out
<iq type='set' id='4e760120caa1b614b34f0ad2d934cd39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:41.798 ***
alicE_unnamed_1229@localhost/res1 in
<iq type='result' id='4e760120caa1b614b34f0ad2d934cd39'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:41.798 ***
alicE_unnamed_1229@localhost/res1 out
<presence/>
*** User 2022-01-25 16:26:41.800 ***
alicE_unnamed_1229@localhost/res1 in
<presence from='alicE_unnamed_1229@localhost/res1' to='alice_unnamed_1229@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:26:41.801 ***
alicE_unnamed_1229@localhost/res1 out
<iq type='set' id='6a60a4c4041a7a99f2999959e15b1469'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1229@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-25 16:26:41.803 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='9fa0bfcc-a493-4f43-8c9f-f768dfebdb6d'>
<result xmlns='urn:xmpp:mam:2' id='BL9E33MS3G0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-09T22:54:07Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>03b60c68</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.803 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='5b9a0eb3-02fc-4251-9d65-26a4617b4211'>
<result xmlns='urn:xmpp:mam:2' id='BL9ON793G006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-10T11:34:56Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>c74b178c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.803 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='1439eaa5-917d-4285-8d2a-b0b9265d82db'>
<result xmlns='urn:xmpp:mam:2' id='BLACRT5BG008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T11:37:04Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>538447a2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='6858fa8c-12e8-4751-b010-77e8c17ef0da'>
<result xmlns='urn:xmpp:mam:2' id='BLB27C87J00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T13:05:58Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>7d489dd9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='80f45d43-1dd1-4f93-b573-6257d3419fb8'>
<result xmlns='urn:xmpp:mam:2' id='BLBU4AFHBG0E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T22:23:27Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>405c11b4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='c1fd4f1e-eb6a-487d-9352-4b15b73cc1e7'>
<result xmlns='urn:xmpp:mam:2' id='BLCGLATU4005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T20:30:00Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>5251572a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='b8e4c095-1156-4804-a4f5-e0db3a887cbb'>
<result xmlns='urn:xmpp:mam:2' id='BLCP1PRT8G08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T06:30:33Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>637619f3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='085a31ba-2273-4803-8a77-3858ed253be0'>
<result xmlns='urn:xmpp:mam:2' id='BLDPREGKL00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T21:38:34Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>9554dc4d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='63de150c-29e7-41e6-a0f9-f3f45a1b8e3e'>
<result xmlns='urn:xmpp:mam:2' id='BLDS7692800J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T00:28:00Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>516bbe31</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.804 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='1f904bb2-3187-47de-94b7-e1b93fff8167'>
<result xmlns='urn:xmpp:mam:2' id='BLEG897UF00K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T00:22:06Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>542d3292</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='0569a161-11c2-453c-8bcc-98669a1e43ef'>
<result xmlns='urn:xmpp:mam:2' id='BLF7RHNLK004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T04:31:36Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>0eb6afa2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='3f5c0a35-d6d1-42ec-87c7-0c40a83f0df6'>
<result xmlns='urn:xmpp:mam:2' id='BLG0V52T500E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T10:29:14Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>84b8a5ba</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='3f270266-07f4-4d6f-bb96-8a9ee4f8103a'>
<result xmlns='urn:xmpp:mam:2' id='BLGU2LR72G08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T21:13:01Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>bffddd42</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='52ad899e-d02b-4f89-8563-b738e30ffb2d'>
<result xmlns='urn:xmpp:mam:2' id='BLH4I44EG009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T04:57:04Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>265daac5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='c679634c-bd53-4c34-aab2-52a0678afae8'>
<result xmlns='urn:xmpp:mam:2' id='BLHV0F1SL009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T12:30:18Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>567f915f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='b2f5833b-aea4-44c7-87b6-cfaf948fb21e'>
<result xmlns='urn:xmpp:mam:2' id='BLIA3MJPGG0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T01:44:57Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>7ec221e7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<message from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='66e22f9b-c81a-4620-88d7-028c77743c08'>
<result xmlns='urn:xmpp:mam:2' id='BLJ8MMAVBG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T14:14:55Z' from='alice_unnamed_1229@localhost'/>
<message from='alice_unnamed_1229@localhost' xmlns='jabber:client' to='bOb_unnamed_1229@localhost' type='chat'>
<body>6ecf339e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:41.805 ***
alicE_unnamed_1229@localhost/res1 in
<iq from='alicE_unnamed_1229@localhost' to='alicE_unnamed_1229@localhost/res1' id='6a60a4c4041a7a99f2999959e15b1469' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BL9E33MS3G0H</first>
<last>BLJ8MMAVBG0J</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-25 16:26:41.806 ***
alicE_unnamed_1229@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:26:41.806 ***
alicE_unnamed_1229@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:26:41
=== successfully completed test case
=== === Returned value: ok