=== 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.29556.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,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.19.57/mam_suite.querying_for_all_messages_with_jid.44163.html"},
{tc_group_properties,[{name,mam04},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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.19.57/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 => [{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@43f5552376e6.2022-03-04_11.16.18"
=== Started at 2022-03-04 11:20:16
*** User 2022-03-04 11:20:16.593 ***
alicE_unnamed_1013@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-03-04 11:20:16.594 ***
alicE_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ec2ec7a4c92a8bc' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:16.594 ***
alicE_unnamed_1013@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-03-04 11:20:16.594 ***
alicE_unnamed_1013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTAxMwBtYXR5Z3J5c2E=</auth>
*** User 2022-03-04 11:20:16.596 ***
alicE_unnamed_1013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:20:16.596 ***
alicE_unnamed_1013@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-03-04 11:20:16.598 ***
alicE_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b98ccfd71528dca1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:20:16.598 ***
alicE_unnamed_1013@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-03-04 11:20:16.598 ***
alicE_unnamed_1013@localhost/res1 out
<iq type='set' id='25e93155fe377350578a4ee05daff3bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:20:16.599 ***
alicE_unnamed_1013@localhost/res1 in
<iq id='25e93155fe377350578a4ee05daff3bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1013@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:20:16.599 ***
alicE_unnamed_1013@localhost/res1 out
<iq type='set' id='bef324398d64a449625d41b5318368c4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:16.600 ***
alicE_unnamed_1013@localhost/res1 in
<iq type='result' id='bef324398d64a449625d41b5318368c4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:20:16.600 ***
alicE_unnamed_1013@localhost/res1 out
<presence/>
*** User 2022-03-04 11:20:16.603 ***
alicE_unnamed_1013@localhost/res1 in
<presence from='alicE_unnamed_1013@localhost/res1' to='alice_unnamed_1013@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:20:16.604 ***
alicE_unnamed_1013@localhost/res1 out
<iq type='set' id='cf24e0d126ba022bebef2414780e3f8d'>
<query xmlns='urn:xmpp:mam:1'>
<x xmlns='jabber:x:data'>
<field var='with'>
<value>bob_unnamed_1013@localhost</value>
</field>
</x>
</query>
</iq>
*** User 2022-03-04 11:20:16.618 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='ae99d96f-0b54-45d2-a9a1-3ecb87f40cdd'>
<result xmlns='urn:xmpp:mam:1' id='BM0OUV0ING0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-16T01:57:11Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>8dffe651</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.618 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='caddb94e-08f9-4e21-ad30-47df498c2d6a'>
<result xmlns='urn:xmpp:mam:1' id='BM1JLSBEO004'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-17T09:49:36Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>6534a429</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='8ebf3c79-cce8-485b-affc-3fc237588569'>
<result xmlns='urn:xmpp:mam:1' id='BM20O2PC1003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-18T01:25:06Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>b7f5fd52</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='d895557a-3f49-4b1f-9519-eb8cf560ad33'>
<result xmlns='urn:xmpp:mam:1' id='BM364EJOO00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-19T22:01:20Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>81ce1eec</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='6a24b68e-63ae-406e-b2d5-cda2fdd0e6c9'>
<result xmlns='urn:xmpp:mam:1' id='BM39NORHB00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-20T02:19:18Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>a72d7cd6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='0a9fe1f4-7a51-4d6e-ab69-286dc57f3763'>
<result xmlns='urn:xmpp:mam:1' id='BM4052R4500E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-21T05:03:54Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>49d247d7</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='7aefd292-33f8-46c4-bd67-ed9ff28ac471'>
<result xmlns='urn:xmpp:mam:1' id='BM4M09F98003'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-22T07:08:00Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>92ce3be8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='055114b1-9574-4815-ae54-3283f1b75430'>
<result xmlns='urn:xmpp:mam:1' id='BM5LF78ME007'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-23T20:40:28Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>01f5a8a6</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='ee2915af-081f-4378-9700-dceadc10e207'>
<result xmlns='urn:xmpp:mam:1' id='BM5ORVMJ900H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-24T00:43:46Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>9c58c1c1</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.619 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='d81e7718-cb4b-45c8-a96a-dae660e9a51b'>
<result xmlns='urn:xmpp:mam:1' id='BM6LU3CUK005'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-25T11:24:24Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>a4839e82</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='329b5131-e955-4880-9487-4dfa63f636df'>
<result xmlns='urn:xmpp:mam:1' id='BM7G170SRG08'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-26T18:32:31Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>7904a7f3</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='6f4f0a60-e70a-4430-a76f-43d045651e60'>
<result xmlns='urn:xmpp:mam:1' id='BM860MNUQ00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-27T20:46:12Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>3a2e5399</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='632b77df-5e91-4041-9c64-de399676acf3'>
<result xmlns='urn:xmpp:mam:1' id='BM8IECQ4UG0D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-28T11:35:49Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>b88c8263</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='5fe0ca61-b9fd-4504-a313-e2b4576bd4b3'>
<result xmlns='urn:xmpp:mam:1' id='BM9BHF7MG00D'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-01T17:32:16Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>125a8251</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='6c425715-edb0-43fc-ae47-343aeb691066'>
<result xmlns='urn:xmpp:mam:1' id='BM9LSCJ8BG06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-02T05:52:31Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>081f0c3a</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.620 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='f0f5dd15-e832-4505-97d7-92f00ac3ef6d'>
<result xmlns='urn:xmpp:mam:1' id='BMA5SG222G06'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T00:58:05Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>c9b4114f</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.621 ***
alicE_unnamed_1013@localhost/res1 in
<message from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='9735f58b-458d-4f6d-a2ce-e9856a91f6e3'>
<result xmlns='urn:xmpp:mam:1' id='BMBBP9J8S00K'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T22:11:04Z' from='alice_unnamed_1013@localhost'/>
<message from='alice_unnamed_1013@localhost' xmlns='jabber:client' to='bOb_unnamed_1013@localhost' type='chat'>
<body>35212854</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-03-04 11:20:16.621 ***
alicE_unnamed_1013@localhost/res1 in
<iq from='alicE_unnamed_1013@localhost' to='alicE_unnamed_1013@localhost/res1' id='cf24e0d126ba022bebef2414780e3f8d' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BM0OUV0ING0B</first>
<last>BMBBP9J8S00K</last>
<count>17</count>
</set>
</fin>
</iq>
*** User 2022-03-04 11:20:16.621 ***
alicE_unnamed_1013@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:20:16.621 ***
alicE_unnamed_1013@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:20:16
=== successfully completed test case
=== === Returned value: ok