=== Test case: mam_SUITE:limit_archive_request/1 (click for source code)
=== Config value:
[{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
{watchdog,<0.26173.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/mam_suite.limit_archive_request.27012.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/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@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:31:55
*** User 2022-01-27 12:31:55.552 ***
alicE_unnamed_997@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-01-27 12:31:55.552 ***
alicE_unnamed_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bff8b3a038b1f524' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:31:55.552 ***
alicE_unnamed_997@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-01-27 12:31:55.552 ***
alicE_unnamed_997@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfOTk3AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 12:31:55.553 ***
alicE_unnamed_997@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:31:55.553 ***
alicE_unnamed_997@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-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='993080f27b16690b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:31:55.554 ***
alicE_unnamed_997@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-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 out
<iq type='set' id='8d84bbf3c8fef49f825053fd4d3e3f9f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 in
<iq id='8d84bbf3c8fef49f825053fd4d3e3f9f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_997@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 out
<iq type='set' id='1b47877e096d537c373e38476bc0110f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 in
<iq type='result' id='1b47877e096d537c373e38476bc0110f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:31:55.554 ***
alicE_unnamed_997@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:31:55.557 ***
alicE_unnamed_997@domain.example.com/res1 in
<presence from='alicE_unnamed_997@domain.example.com/res1' to='alice_unnamed_997@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:31:55.557 ***
alicE_unnamed_997@domain.example.com/res1 out
<iq type='set' id='b891548d2d8f5db90f8d7cad73de296c'>
<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-01-27 12:31:55.560 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='48ebbafb-409c-4656-bfe4-4031861f6609'>
<result xmlns='urn:xmpp:mam:2' id='BLAEG569MG0B'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T13:33:57Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_997@domain.example.com' type='chat'>
<body>ea2f35ae</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='7b3aabff-ff74-4d3b-8b09-151fffdbb7d5'>
<result xmlns='urn:xmpp:mam:2' id='BLAJSUQR700C'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-11T20:00:30Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='carol_unnamed_997@domain.example.com' type='chat'>
<body>02930391</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='fde7a55f-95a3-47d1-9aae-36502e32f1e7'>
<result xmlns='urn:xmpp:mam:2' id='BLAR6FBAM001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T04:42:52Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_997@domain.example.com' type='chat'>
<body>c7a63ebb</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='a6847c0a-1aed-47d3-9583-f21cacab6fea'>
<result xmlns='urn:xmpp:mam:2' id='BLAVGLOV4G0H'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-12T09:52:01Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='carol_unnamed_997@domain.example.com' type='chat'>
<body>f4173703</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='e6a46ddf-ea0d-4f2c-99e3-abae52f1d9a3'>
<result xmlns='urn:xmpp:mam:2' id='BLBH5CUHUG01'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T06:55:17Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_997@domain.example.com' type='chat'>
<body>5a12c34c</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='a8f8d9a9-b798-4647-a924-fb26d1ea2954'>
<result xmlns='urn:xmpp:mam:2' id='BLBLMLKFRG04'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-13T12:20:15Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='carol_unnamed_997@domain.example.com' type='chat'>
<body>621d64ac</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='a647f698-049f-4bb7-a424-112027e1dd3b'>
<result xmlns='urn:xmpp:mam:2' id='BLC1HI5N6G0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T02:27:49Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='carol_unnamed_997@domain.example.com' type='chat'>
<body>259c244d</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='8680e18b-ffe8-46aa-adb5-492034beddb7'>
<result xmlns='urn:xmpp:mam:2' id='BLC4C2N7L001'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-14T05:50:18Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_997@domain.example.com' type='chat'>
<body>017fb900</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.561 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='dde46de1-0699-4350-bf05-9978792449d6'>
<result xmlns='urn:xmpp:mam:2' id='BLD4SRSJR002'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T20:38:30Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_997@domain.example.com' type='chat'>
<body>bff0d562</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.562 ***
alicE_unnamed_997@domain.example.com/res1 in
<message from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='6e093ae3-fff0-497d-967f-c50bc7f1fdce'>
<result xmlns='urn:xmpp:mam:2' id='BLD79QGKBG0G'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-15T23:30:39Z' from='alice_unnamed_997@domain.example.com'/>
<message from='alice_unnamed_997@domain.example.com' xmlns='jabber:client' to='carol_unnamed_997@domain.example.com' type='chat'>
<body>9f4e49e8</body>
</message>
</forwarded>
</result>
</message>
*** User 2022-01-27 12:31:55.562 ***
alicE_unnamed_997@domain.example.com/res1 in
<iq from='alicE_unnamed_997@domain.example.com' to='alicE_unnamed_997@domain.example.com/res1' id='b891548d2d8f5db90f8d7cad73de296c' type='result'>
<fin xmlns='urn:xmpp:mam:2'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>BLAEG569MG0B</first>
<last>BLD79QGKBG0G</last>
<count>34</count>
</set>
</fin>
</iq>
*** User 2022-01-27 12:31:55.562 ***
alicE_unnamed_997@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:31:55.562 ***
alicE_unnamed_997@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:31:55
=== successfully completed test case
=== === Returned value: ok