=== Test case: mam_SUITE:limit_archive_request/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
{watchdog,<0.8382.1>},
{basic_group,mam_all},
{configuration,rdbms_mnesia_cache},
{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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.mam_SUITE.logs/run.2022-02-03_16.32.18/mam_suite.limit_archive_request.109058.html"},
{tc_group_properties,[{name,mam06},parallel]},
{tc_group_path,[[{name,rdbms_mnesia_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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.mam_SUITE.logs/run.2022-02-03_16.32.18/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_cache_user => [{pm,true}],
mod_mam_mnesia_prefs => [{pm,true}],
mod_mam_rdbms_arch => [],
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@c0783a4ae5cf.2022-02-03_16.28.29"
=== Started at 2022-02-03 16:33:13
*** User 2022-02-03 16:33:13.731 ***
alicE_unnamed_1436@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-02-03 16:33:13.732 ***
alicE_unnamed_1436@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71be2be6e431aa83' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:33:13.732 ***
alicE_unnamed_1436@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-02-03 16:33:13.732 ***
alicE_unnamed_1436@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTQzNgBtYXR5Z3J5c2E=</auth>
*** User 2022-02-03 16:33:13.733 ***
alicE_unnamed_1436@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-03 16:33:13.733 ***
alicE_unnamed_1436@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-02-03 16:33:13.733 ***
alicE_unnamed_1436@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f420289303a452ff' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:33:13.734 ***
alicE_unnamed_1436@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-02-03 16:33:13.734 ***
alicE_unnamed_1436@localhost/res1 out
<iq type='set' id='1318707756d4618346ba01ec49bb6066'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-03 16:33:13.734 ***
alicE_unnamed_1436@localhost/res1 in
<iq id='1318707756d4618346ba01ec49bb6066' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1436@localhost/res1</jid>
</bind>
</iq>
*** User 2022-02-03 16:33:13.735 ***
alicE_unnamed_1436@localhost/res1 out
<iq type='set' id='be6f4b92564ff71bafe1a64a29b2019d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:33:13.735 ***
alicE_unnamed_1436@localhost/res1 in
<iq type='result' id='be6f4b92564ff71bafe1a64a29b2019d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:33:13.735 ***
alicE_unnamed_1436@localhost/res1 out
<presence/>
*** User 2022-02-03 16:33:13.737 ***
alicE_unnamed_1436@localhost/res1 in
<presence from='alicE_unnamed_1436@localhost/res1' to='alice_unnamed_1436@localhost/res1' xml:lang='en'/>
*** User 2022-02-03 16:33:13.737 ***
alicE_unnamed_1436@localhost/res1 out
<iq type='set' id='a7970bba7879f9541592d82d09566a15'>
<query xmlns='urn:xmpp:mam:2'>
<x xmlns='jabber:x:data'>
<field var='start'>
<value>2010-08-07T00:00:00Z</value>
</field>
</x>
<set>
<max>10</max>
</set>
</query>
</iq>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='cfc106cd-aabe-46cc-98d2-d5a6525eafa3'>
<result xmlns='urn:xmpp:mam:2' id='BLEJBP2SC00F'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T04:04:40Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='carol_unnamed_1436@localhost' type='chat'>
<body>d935af04</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='36715859-1881-47ff-af36-4efb5a427d7f'>
<result xmlns='urn:xmpp:mam:2' id='BLEM7Q15C009'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-18T07:30:32Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='bOb_unnamed_1436@localhost' type='chat'>
<body>dda16828</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='cca29532-cc78-48b6-b2d4-5bde09368c39'>
<result xmlns='urn:xmpp:mam:2' id='BLF9H21VJ00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T06:31:18Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='bOb_unnamed_1436@localhost' type='chat'>
<body>4c3c1226</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='bb0558ab-ea5e-4753-8976-7b94dd90874d'>
<result xmlns='urn:xmpp:mam:2' id='BLFF0LQE8G09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-19T13:04:09Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='carol_unnamed_1436@localhost' type='chat'>
<body>570145df</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='228608ce-be25-4bbf-9534-3877bc6f0fb2'>
<result xmlns='urn:xmpp:mam:2' id='BLG2I9J2D008'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T12:23:38Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='bOb_unnamed_1436@localhost' type='chat'>
<body>003c233c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='02cb6c54-f15e-4554-94c3-fde397b757ea'>
<result xmlns='urn:xmpp:mam:2' id='BLG3O2RBL00A'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-20T13:48:10Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='carol_unnamed_1436@localhost' type='chat'>
<body>59d32bee</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='3ed1046b-aee6-4ac9-8ba2-b3ecaf66a701'>
<result xmlns='urn:xmpp:mam:2' id='BLGI1FJGOG0C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T06:51:21Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='carol_unnamed_1436@localhost' type='chat'>
<body>7780341b</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='f23fc468-3ffd-4bf7-92ef-be2e55c157fb'>
<result xmlns='urn:xmpp:mam:2' id='BLGV2227CG0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-21T22:23:13Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='bOb_unnamed_1436@localhost' type='chat'>
<body>8602869c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='a1e38d2a-0349-4354-a465-df931c643593'>
<result xmlns='urn:xmpp:mam:2' id='BLH76Q04R00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T08:06:30Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='carol_unnamed_1436@localhost' type='chat'>
<body>b75652b2</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<message from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='bb3ea76c-f1a0-4ed3-a4e0-434043e64572'>
<result xmlns='urn:xmpp:mam:2' id='BLHH3J2NU00E'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-22T19:55:08Z' from='alice_unnamed_1436@localhost'/>
<message from='alice_unnamed_1436@localhost' xmlns='jabber:client' to='bOb_unnamed_1436@localhost' type='chat'>
<body>bab5c014</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
<iq from='alicE_unnamed_1436@localhost' to='alicE_unnamed_1436@localhost/res1' id='a7970bba7879f9541592d82d09566a15' type='result'>
<fin xmlns='urn:xmpp:mam:2'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BLEJBP2SC00F</first>
<last>BLHH3J2NU00E</last>
<count>34</count>
</set>
</fin>
</iq>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 out
</stream:stream>
*** User 2022-02-03 16:33:13.740 ***
alicE_unnamed_1436@localhost/res1 in
</stream:stream>
=== Ended at 2022-02-03 16:33:13
=== successfully completed test case
=== === Returned value: ok