=== 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.28020.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.20.29/mam_suite.querying_for_all_messages_with_jid.53122.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.20.29/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_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@88d84ff17c71.2022-03-04_11.16.52"
=== Started at 2022-03-04 11:20:48
*** User 2022-03-04 11:20:48.468 ***
alicE_unnamed_1057@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-03-04 11:20:48.468 ***
alicE_unnamed_1057@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e584ad6d61fb4e5f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:48.469 ***
alicE_unnamed_1057@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-03-04 11:20:48.469 ***
alicE_unnamed_1057@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTA1NwBtYXR5Z3J5c2E=</auth>
*** User 2022-03-04 11:20:48.470 ***
alicE_unnamed_1057@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:20:48.470 ***
alicE_unnamed_1057@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-03-04 11:20:48.470 ***
alicE_unnamed_1057@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d63bf5331d172b45' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:48.470 ***
alicE_unnamed_1057@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-03-04 11:20:48.470 ***
alicE_unnamed_1057@domain.example.com/res1 out
<iq type='set' id='1e4417865f2fe3fe35a09940dead8a92'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:20:48.471 ***
alicE_unnamed_1057@domain.example.com/res1 in
<iq id='1e4417865f2fe3fe35a09940dead8a92' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1057@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:20:48.472 ***
alicE_unnamed_1057@domain.example.com/res1 out
<iq type='set' id='e7ded11c2fafc273887e4cde530ff242'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:48.472 ***
alicE_unnamed_1057@domain.example.com/res1 in
<iq type='result' id='e7ded11c2fafc273887e4cde530ff242'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:48.473 ***
alicE_unnamed_1057@domain.example.com/res1 out
<presence/>
*** User 2022-03-04 11:20:48.477 ***
alicE_unnamed_1057@domain.example.com/res1 in
<presence from='alicE_unnamed_1057@domain.example.com/res1' to='alice_unnamed_1057@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:20:48.477 ***
alicE_unnamed_1057@domain.example.com/res1 out
<iq type='set' id='2185b3d90359eae25ce4a20bd9812036'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1057@domain.example.com</value>
</field>
</x>
</query>
</iq>
*** User 2022-03-04 11:20:48.483 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='a41cb414-7a63-47e6-acee-bde9b7580545'>
<result xmlns='urn:xmpp:mam:2' id='BM0TTLAM1G0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-16T07:52:11Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>70206aeb</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.483 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='cd6e611a-8e4e-4f5f-8601-f13bb9bc18b8'>
<result xmlns='urn:xmpp:mam:2' id='BM1HIB2VVG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-17T07:18:31Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>bd10a07c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.483 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='5c689031-b666-4bb6-9651-768edd117262'>
<result xmlns='urn:xmpp:mam:2' id='BM2H6LNN400D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-18T21:03:04Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>0e8f25ab</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='b1d75c0f-cc73-4067-971d-a73f91adfc7c'>
<result xmlns='urn:xmpp:mam:2' id='BM2OHTI77004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-19T05:49:18Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>175e6e27</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='40e72940-9f09-4727-be49-e5aa2b1952c7'>
<result xmlns='urn:xmpp:mam:2' id='BM3HNNFOC00D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-20T11:51:52Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>a782b8a4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='da5c7af4-1537-47b6-a5a5-8c4de243521e'>
<result xmlns='urn:xmpp:mam:2' id='BM4EARNCTG0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-21T21:58:59Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>5d103836</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='3270d009-afd2-4694-8700-b286f764c174'>
<result xmlns='urn:xmpp:mam:2' id='BM4UQCFDJ00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-22T17:39:02Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>3fe5da87</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='02d7944e-015d-41a1-a1b1-4e5d2fda467b'>
<result xmlns='urn:xmpp:mam:2' id='BM5H6JRO2G08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-23T15:34:53Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>a01ae0b6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='6fd46bef-ed2d-4384-ba7f-1cfda5b53556'>
<result xmlns='urn:xmpp:mam:2' id='BM60VVAACG0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-24T10:25:21Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>06f7eeb9</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='2ad8c774-7dfb-4228-90d9-a72efab4fc02'>
<result xmlns='urn:xmpp:mam:2' id='BM6LNK70DG08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-25T11:09:55Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>b1d52c12</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='7ed456fd-59f5-4948-9172-7ffbfd485bf8'>
<result xmlns='urn:xmpp:mam:2' id='BM70RAPI4G09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-26T00:25:37Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>2b5a8d08</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='33a9edb2-b404-4da7-bbbf-cad4701c9015'>
<result xmlns='urn:xmpp:mam:2' id='BM7PJ3HABG02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-27T05:56:47Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>e1ca73b8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='84e6c549-a655-475c-a099-31cf85f84da1'>
<result xmlns='urn:xmpp:mam:2' id='BM8ODT43IG0E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-28T18:44:13Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>25767280</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='4064a3e5-8053-4cdc-a60a-d9a0dc0e22a0'>
<result xmlns='urn:xmpp:mam:2' id='BM9C0RQ11008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-01T18:06:42Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>87ac6f74</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='e357c0db-1f3e-438c-955c-c81397f6c50c'>
<result xmlns='urn:xmpp:mam:2' id='BM9O9GF3V00B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-02T08:45:02Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>38c69e70</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.484 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='1b177ba2-19e0-45f9-8878-58b54a6ea80a'>
<result xmlns='urn:xmpp:mam:2' id='BMA56GFN300E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T00:08:54Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>0ab6ec59</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.485 ***
alicE_unnamed_1057@domain.example.com/res1 in
<message from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='fb85dfb3-4f22-41ea-9926-446275ed07a7'>
<result xmlns='urn:xmpp:mam:2' id='BMB42HSJPG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T12:59:07Z' from='alice_unnamed_1057@domain.example.com'/>
<message from='alice_unnamed_1057@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1057@domain.example.com' type='chat'>
<body>f1c03739</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:48.485 ***
alicE_unnamed_1057@domain.example.com/res1 in
<iq from='alicE_unnamed_1057@domain.example.com' to='alicE_unnamed_1057@domain.example.com/res1' id='2185b3d90359eae25ce4a20bd9812036' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BM0TTLAM1G0G</first>
<last>BMB42HSJPG0C</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-03-04 11:20:48.485 ***
alicE_unnamed_1057@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-04 11:20:48.486 ***
alicE_unnamed_1057@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:20:48
=== successfully completed test case
=== === Returned value: ok