=== Test case: mam_SUITE:querying_for_all_messages_with_jid/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:1">>}]},
{watchdog,<0.32211.0>},
{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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/mam_suite.querying_for_all_messages_with_jid.59011.html"},
{tc_group_properties,[{name,mam04},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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/log_private/"},
{config_backup,#{[shaper,fast] => {ok,#{max_rate => 50000}},
[shaper,mam_shaper] => {ok,#{max_rate => 1}},
[shaper,normal] => {ok,#{max_rate => 1000}},
[{access,<<"test type">>},max_user_sessions] =>
{ok,[#{acl => all,value => 10}]}}},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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,<<"groupchats.">>}},
{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,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]},
{carol,[{username,<<"carol">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"jinglebells">>},
{transport,escalus_bosh},
{path,<<"/http-bind">>},
{port,5280}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:32:13
*** User 2022-01-27 12:32:13.777 ***
alicE_unnamed_1157@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:32:13.778 ***
alicE_unnamed_1157@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29301fc074fa1502' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:32:13.778 ***
alicE_unnamed_1157@domain.example.com/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 12:32:13.778 ***
alicE_unnamed_1157@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTE1NwBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 12:32:13.779 ***
alicE_unnamed_1157@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:32:13.779 ***
alicE_unnamed_1157@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:32:13.779 ***
alicE_unnamed_1157@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cdaf0e2cd561b34c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:32:13.779 ***
alicE_unnamed_1157@domain.example.com/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 12:32:13.779 ***
alicE_unnamed_1157@domain.example.com/res1 out
<iq type='set' id='7b73cb35996f2e0fb9190071ca764c06'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:32:13.780 ***
alicE_unnamed_1157@domain.example.com/res1 in
<iq id='7b73cb35996f2e0fb9190071ca764c06' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1157@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:32:13.780 ***
alicE_unnamed_1157@domain.example.com/res1 out
<iq type='set' id='42ca9a3f4d222b207400aa7b32944986'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:32:13.780 ***
alicE_unnamed_1157@domain.example.com/res1 in
<iq type='result' id='42ca9a3f4d222b207400aa7b32944986'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:32:13.780 ***
alicE_unnamed_1157@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:32:13.782 ***
alicE_unnamed_1157@domain.example.com/res1 in
<presence from='alicE_unnamed_1157@domain.example.com/res1' to='alice_unnamed_1157@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:32:13.782 ***
alicE_unnamed_1157@domain.example.com/res1 out
<iq type='set' id='382931811be8b8b1ccb6adebe0fe9488'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1157@domain.example.com</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='2d088800-b701-4e37-bb86-98421cf91257'>
<result xmlns='urn:xmpp:mam:1' id='BLA8CFR4JG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T06:16:15Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>f6c963e4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='71750bcc-ad62-4f7e-8cce-9a2a779c7bb1'>
<result xmlns='urn:xmpp:mam:1' id='BLANN5C5O002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T00:33:52Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>c21690f0</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='ba9aa50e-e3ef-4150-b948-3ff159fc5490'>
<result xmlns='urn:xmpp:mam:1' id='BLBS16PUJG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T19:53:19Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>11c30f7a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='97b34695-b13f-4c13-a254-3a7817478f33'>
<result xmlns='urn:xmpp:mam:1' id='BLC0702VQ009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T00:52:36Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>c6eeebbc</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='841c9261-e5f1-430f-87ef-85ff4d3f1ea9'>
<result xmlns='urn:xmpp:mam:1' id='BLCUBS0F5G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T12:50:59Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>84e6911f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='bbd8eb34-edc3-4bdd-a3b6-60a59488912a'>
<result xmlns='urn:xmpp:mam:1' id='BLDOJHHJF006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T20:09:18Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>f2ef779f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='f0cf7162-7831-4491-91ad-36ab3a212cb5'>
<result xmlns='urn:xmpp:mam:1' id='BLDSK78S6G01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T00:57:09Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>593639a4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='6dfacfbe-0c7c-47b0-a5e6-d7bc2d23560e'>
<result xmlns='urn:xmpp:mam:1' id='BLEQFH9R4G01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T12:34:09Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>4ce623da</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='b74acf1c-cfcb-497c-95a2-d4896d60300f'>
<result xmlns='urn:xmpp:mam:1' id='BLFNTAJER006'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T23:40:54Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>984aeaec</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='a74a8dac-f4cd-4555-8c7e-e5254a2ff93b'>
<result xmlns='urn:xmpp:mam:1' id='BLG8AO3VRG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T19:16:15Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>de1241d2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='ee497d91-055e-49c9-bbf5-97f6dd04d0b7'>
<result xmlns='urn:xmpp:mam:1' id='BLGQS9NMO00B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T17:24:00Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>55efbf37</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.784 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='2cd82fa8-3d28-4e41-b0a1-b6fac4cb6df3'>
<result xmlns='urn:xmpp:mam:1' id='BLHDR9MFF00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T16:01:50Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>a17cf0d0</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='a4054bb1-a182-4faa-b0b4-2578b0b407b2'>
<result xmlns='urn:xmpp:mam:1' id='BLHR44I61G03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T07:52:11Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>014be478</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='68f17f18-21e8-42a3-a534-324e2f610dfb'>
<result xmlns='urn:xmpp:mam:1' id='BLIK5LKEFG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T13:45:11Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>93159630</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='33e8fc0b-1d0b-4ced-a7a6-00db7aac2a24'>
<result xmlns='urn:xmpp:mam:1' id='BLJ4VVC6KG03'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T09:49:21Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>75883b55</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='b0050c4d-fd3a-4e5f-a26f-bf913c4ef909'>
<result xmlns='urn:xmpp:mam:1' id='BLJLS0LJI005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-26T05:57:24Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>841b2e6c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<message from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='fee08b51-5b8c-4663-bc91-e3d768bcdc63'>
<result xmlns='urn:xmpp:mam:1' id='BLK80RP6M008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T03:36:44Z' from='alice_unnamed_1157@domain.example.com'/>
<message from='alice_unnamed_1157@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1157@domain.example.com' type='chat'>
<body>170de44b</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
<iq from='alicE_unnamed_1157@domain.example.com' to='alicE_unnamed_1157@domain.example.com/res1' id='382931811be8b8b1ccb6adebe0fe9488' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BLA8CFR4JG0J</first>
<last>BLK80RP6M008</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:32:13.785 ***
alicE_unnamed_1157@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:32:13
=== successfully completed test case
=== === Returned value: ok