=== 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.21778.0>},
{basic_group,mam_all},
{configuration,rdbms},
{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.22531.html"},
{tc_group_properties,[{name,mam04},parallel]},
{tc_group_path,[[{name,rdbms_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 => [],
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:30
*** User 2022-03-04 11:20:30.742 ***
alicE_unnamed_878@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:30.742 ***
alicE_unnamed_878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe5c5482814dd9e9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:30.742 ***
alicE_unnamed_878@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:30.742 ***
alicE_unnamed_878@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfODc4AG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:20:30.743 ***
alicE_unnamed_878@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:20:30.743 ***
alicE_unnamed_878@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:30.743 ***
alicE_unnamed_878@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b3b117896345b46' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:30.744 ***
alicE_unnamed_878@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:30.744 ***
alicE_unnamed_878@domain.example.com/res1 out
<iq type='set' id='9d369511dc63161505cbb42c6ee3fceb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:20:30.744 ***
alicE_unnamed_878@domain.example.com/res1 in
<iq id='9d369511dc63161505cbb42c6ee3fceb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_878@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:20:30.744 ***
alicE_unnamed_878@domain.example.com/res1 out
<iq type='set' id='47048dedad72c20f07d3c1d3d249002f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:30.744 ***
alicE_unnamed_878@domain.example.com/res1 in
<iq type='result' id='47048dedad72c20f07d3c1d3d249002f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:30.744 ***
alicE_unnamed_878@domain.example.com/res1 out
<presence/>
*** User 2022-03-04 11:20:30.747 ***
alicE_unnamed_878@domain.example.com/res1 in
<presence from='alicE_unnamed_878@domain.example.com/res1' to='alice_unnamed_878@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:20:30.747 ***
alicE_unnamed_878@domain.example.com/res1 out
<iq type='set' id='09528a23cc337d568d05d6e2b793b6b8'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_878@domain.example.com</value>
</field>
</x>
</query>
</iq>
*** User 2022-03-04 11:20:30.754 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='ef70c16c-dcda-4bf0-8920-86d90f628451'>
<result xmlns='urn:xmpp:mam:1' id='BM0O2GV5V001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-16T00:53:34Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>4d62a206</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='4b37d979-99ff-4434-b338-51c94b2643b4'>
<result xmlns='urn:xmpp:mam:1' id='BM1CCDGC8G0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-17T01:07:21Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>37f28c8b</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='79b5d843-ea63-4850-af9b-71da790b9338'>
<result xmlns='urn:xmpp:mam:1' id='BM23S4O4K00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-18T05:08:56Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>ad48788c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='751fb078-e43d-4b11-88b2-796c508a205b'>
<result xmlns='urn:xmpp:mam:1' id='BM2KH3P8300K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-19T01:01:10Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>4dfcafa7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='9c9c3d81-6311-48cf-b2f2-f128f7fa0ccc'>
<result xmlns='urn:xmpp:mam:1' id='BM3PCFHBT002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-20T20:59:22Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>cd8178c4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='313bc5a2-58a7-4896-ab03-f452483ba259'>
<result xmlns='urn:xmpp:mam:1' id='BM47JEAN100B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-21T13:57:06Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>4202956b</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='8e4e6f2d-a728-426f-b430-d8f88c0d01e0'>
<result xmlns='urn:xmpp:mam:1' id='BM51H3T6JG07'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-22T20:53:03Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>ee86f7cc</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='8ace6a1b-acac-4392-a401-d967f48f1bfe'>
<result xmlns='urn:xmpp:mam:1' id='BM5IGTR2M00H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-23T17:09:32Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>b44af0ea</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='755a522d-843b-4bd8-8fd7-7b66a24a65d2'>
<result xmlns='urn:xmpp:mam:1' id='BM691MEMO00C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-24T20:01:52Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>1c65b117</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='300c4ffa-e1ba-4bf9-abf3-5dfd5ade7a90'>
<result xmlns='urn:xmpp:mam:1' id='BM6FGTQM300E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-25T03:45:26Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>f9f639b5</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='cfb83d65-122a-4d1e-8f6d-4eed1126f6ee'>
<result xmlns='urn:xmpp:mam:1' id='BM78UI32T00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-26T10:05:30Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>223c0f8a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.755 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='a8f73148-b930-4093-becb-83a07d0527b0'>
<result xmlns='urn:xmpp:mam:1' id='BM8690INJG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-27T21:04:47Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>c470bf21</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='3df0a965-a610-46eb-961d-ee8401116430'>
<result xmlns='urn:xmpp:mam:1' id='BM8KA8VJ500I'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-28T13:49:46Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>934fcf52</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='134df4fc-c2f3-4a72-989d-0b593006188a'>
<result xmlns='urn:xmpp:mam:1' id='BM8UDP3T300F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-01T01:53:26Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>1ba6f861</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='ecd2a357-eb9b-4dad-a91b-96feb5202bd3'>
<result xmlns='urn:xmpp:mam:1' id='BM9T7ADAHG04'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-02T14:38:03Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>43317ba2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='0d372dfb-16dc-4565-b619-e44ab8830226'>
<result xmlns='urn:xmpp:mam:1' id='BMA6TOJ9V00B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T02:12:30Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>11c265d4</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<message from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='9f8802f4-ebde-40d7-837e-1a2efc2a198f'>
<result xmlns='urn:xmpp:mam:1' id='BMAPSQF3Q003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T00:50:28Z' from='alice_unnamed_878@domain.example.com'/>
<message from='alice_unnamed_878@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_878@domain.example.com' type='chat'>
<body>d57a0d0e</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
<iq from='alicE_unnamed_878@domain.example.com' to='alicE_unnamed_878@domain.example.com/res1' id='09528a23cc337d568d05d6e2b793b6b8' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BM0O2GV5V001</first>
<last>BMAPSQF3Q003</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-04 11:20:30.756 ***
alicE_unnamed_878@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:20:30
=== successfully completed test case
=== === Returned value: ok