=== 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.24503.0>},
{basic_group,mam_all},
{configuration,rdbms_simple},
{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.37123.html"},
{tc_group_properties,[{name,mam06},parallel]},
{tc_group_path,[[{name,rdbms_simple_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 =>
[[{db_jid_format,mam_jid_rfc},
{db_message_format,mam_message_xml}]],
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:07
*** User 2022-01-25 16:26:08.004 ***
alicE_unnamed_964@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:08.005 ***
alicE_unnamed_964@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb835b1356dad01e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:08.005 ***
alicE_unnamed_964@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:08.006 ***
alicE_unnamed_964@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfOTY0AG1hdHlncnlzYQ==</auth>
*** User 2022-01-25 16:26:08.007 ***
alicE_unnamed_964@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:26:08.007 ***
alicE_unnamed_964@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:08.008 ***
alicE_unnamed_964@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c176a68e019fe092' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:26:08.008 ***
alicE_unnamed_964@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:08.008 ***
alicE_unnamed_964@localhost/res1 out
<iq type='set' id='48aca1cf75883b2c55a88afd24e41048'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:26:08.008 ***
alicE_unnamed_964@localhost/res1 in
<iq id='48aca1cf75883b2c55a88afd24e41048' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_964@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:26:08.009 ***
alicE_unnamed_964@localhost/res1 out
<iq type='set' id='e06588ebd94fbf8ad4c450d5fc454919'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:08.009 ***
alicE_unnamed_964@localhost/res1 in
<iq type='result' id='e06588ebd94fbf8ad4c450d5fc454919'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:26:08.009 ***
alicE_unnamed_964@localhost/res1 out
<presence/>
*** User 2022-01-25 16:26:08.012 ***
alicE_unnamed_964@localhost/res1 in
<presence from='alicE_unnamed_964@localhost/res1' to='alice_unnamed_964@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:26:08.012 ***
alicE_unnamed_964@localhost/res1 out
<iq type='set' id='d7fc04ec59ebf68bf9542a6100c76d8a'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_964@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-01-25 16:26:08.070 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='ed66f69f-d44c-4716-9c3c-88e7d31f7fc7'>
<result xmlns='urn:xmpp:mam:2' id='BL8UTEKDJG0F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-09T04:47:43Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>7cc3b86e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.070 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='22808e91-6c2f-4e78-a825-e6ae41e6596e'>
<result xmlns='urn:xmpp:mam:2' id='BLA0UDL37004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-10T21:23:42Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>e8bfb051</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.070 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='40e086aa-5804-4e50-a18c-0f38e3e92d8a'>
<result xmlns='urn:xmpp:mam:2' id='BLA5GEL7F00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T02:50:22Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>285cdef2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.070 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='bfb984f0-ce69-4b69-b52f-6398ca408a4f'>
<result xmlns='urn:xmpp:mam:2' id='BLB2V0GLL00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T13:58:50Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>b37b1827</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='e115510b-0f3e-43e1-aae2-c019f130bf85'>
<result xmlns='urn:xmpp:mam:2' id='BLBKC2QS1G02'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T10:44:59Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>77e6e01f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='634b2a5c-356e-4708-bdc7-2399ee77a089'>
<result xmlns='urn:xmpp:mam:2' id='BLCEAL8GKG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T17:42:57Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>4d9bdbd2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='c7bab6e2-259c-45dc-b5eb-f7df68203718'>
<result xmlns='urn:xmpp:mam:2' id='BLD4148C9G07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T19:36:27Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>b6b4d711</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='24a32f86-ff71-41fb-b3b0-2271677bb0c2'>
<result xmlns='urn:xmpp:mam:2' id='BLD856ML500A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-16T00:31:54Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>41524236</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='ab4579b1-ec80-4b4d-ba9e-015d4d425ad8'>
<result xmlns='urn:xmpp:mam:2' id='BLE08S69V00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-17T05:18:06Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>15b9409e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='9d73af36-bed3-413d-a4c9-4f3af6625939'>
<result xmlns='urn:xmpp:mam:2' id='BLF3N6MNMG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T23:35:33Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>5420d187</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='03bb32a0-eb13-48c2-be6d-e347c248ed4a'>
<result xmlns='urn:xmpp:mam:2' id='BLFNBSU9TG0I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T23:01:55Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>19d79b33</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='100e18d0-197d-416d-b2d3-10092c7c6b19'>
<result xmlns='urn:xmpp:mam:2' id='BLG1TPEVD008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T11:37:46Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>12872595</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='a193c3e5-960d-4e36-924b-5a98c9131904'>
<result xmlns='urn:xmpp:mam:2' id='BLGL5471FG0J'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T10:34:15Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>6bf51791</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='4dc4fad8-3a02-4ff6-8c61-6282a948d00e'>
<result xmlns='urn:xmpp:mam:2' id='BLH56BLSE002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T05:42:20Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>e97f7aab</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='ef52191a-cc07-4f28-b329-b283c2e6b87f'>
<result xmlns='urn:xmpp:mam:2' id='BLHTUSNR000C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-23T11:15:12Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>d1911279</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='76c8cebb-1b5a-4179-82ca-7c3e9372b713'>
<result xmlns='urn:xmpp:mam:2' id='BLIJ5ONCAG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-24T12:33:49Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>9c05b91c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<message from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='1e5570ea-c307-47d9-bb4e-d2c954fb5e25'>
<result xmlns='urn:xmpp:mam:2' id='BLJ30TS8LG09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T07:28:19Z' from='alice_unnamed_964@localhost'/>
<message from='alice_unnamed_964@localhost' xmlns='jabber:client' to='bOb_unnamed_964@localhost' type='chat'>
<body>2b9152ee</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-25 16:26:08.071 ***
alicE_unnamed_964@localhost/res1 in
<iq from='alicE_unnamed_964@localhost' to='alicE_unnamed_964@localhost/res1' id='d7fc04ec59ebf68bf9542a6100c76d8a' type='result'>
<fin xmlns='urn:xmpp:mam:2' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BL8UTEKDJG0F</first>
<last>BLJ30TS8LG09</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-01-25 16:26:08.072 ***
alicE_unnamed_964@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:26:08.072 ***
alicE_unnamed_964@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:26:08
=== successfully completed test case
=== === Returned value: ok