=== Test case: inbox_SUITE:reset_unread_counter_with_reset_stanza/1 (click for source code)
=== Config value:
[{watchdog,<0.34622.0>},
{inbox_opts,#{backend => rdbms,max_result_limit => infinity,
iqdisc => no_queue,
groupchat => [muclight],
boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
delete_domain_limit => infinity,bin_ttl => 30,
bin_clean_after => 3600000,
async_writer => #{pool_size => 8},
reset_markers => [<<"displayed">>],
aff_changes => true,remove_on_kicked => true}},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.16.40/inbox_suite.reset_unread_counter_with_reset_stanza.87298.html"},
{tc_group_properties,[{name,one_to_one},parallel]},
{tc_group_path,[[{name,regular}]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.16.40/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15"
=== Started at 2023-11-17 15:16:40
*** User 2023-11-17 15:16:40.623 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:16:40.623 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdb39af0068aed96' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:16:40.623 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:16:40.623 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9zdGFuemFfMTQxNQBtYWtyb3dlO3A=</auth>
*** User 2023-11-17 15:16:40.625 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:16:40.625 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:16:40.625 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccfd7f325826f566' from='localhost' version='1.0' xml:lang='en' to='kate_reset_unread_counter_with_reset_stanza_1415@localhost'>
*** User 2023-11-17 15:16:40.626 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:16:40.626 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='39eefb980a179b5bf1fca2b2213df8f2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:16:40.626 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq id='39eefb980a179b5bf1fca2b2213df8f2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:16:40.626 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='771de804d6fe47758891c9752412b02d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:16:40.627 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq from='localhost' to='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='771de804d6fe47758891c9752412b02d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:16:40.627 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<presence/>
*** User 2023-11-17 15:16:40.636 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<presence from='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1' to='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1'/>
*** User 2023-11-17 15:16:40.637 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:16:40.637 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='213e03405fb9705c' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:16:40.637 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:16:40.637 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9zdGFuemFfMTQxNQBuaWNuaWVtYQ==</auth>
*** User 2023-11-17 15:16:40.638 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:16:40.638 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:16:40.639 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='37e9214c42d2219e' from='localhost' version='1.0' xml:lang='en' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost'>
*** User 2023-11-17 15:16:40.639 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:16:40.639 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='07e6122c3ac28673272a969c9ea5b239'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:16:40.639 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq id='07e6122c3ac28673272a969c9ea5b239' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:16:40.639 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='a338a3bf7e7be1afdf235be91d26a56d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:16:40.640 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq from='localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='a338a3bf7e7be1afdf235be91d26a56d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:16:40.640 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<presence/>
*** User 2023-11-17 15:16:40.707 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<presence from='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1'/>
*** User 2023-11-17 15:16:40.707 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<message type='chat' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='8b923f0de2e896f606d1891d2a71a7fd'>
<body>Hi mike</body>
</message>
*** User 2023-11-17 15:16:40.710 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<message from='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' type='chat' id='8b923f0de2e896f606d1891d2a71a7fd'>
<body>Hi mike</body>
</message>
*** User 2023-11-17 15:16:40.710 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='25123a301dea7d583e75b09ff2fef2ec'>
<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>erlang-solutions.com:xmpp:inbox:0</value>
</field>
<field type='text-single' var='hidden_read'>
<value>false</value>
</field>
</x>
</inbox>
</iq>
*** User 2023-11-17 15:16:40.711 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_1415@localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='1700-234200-711215'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='25123a301dea7d583e75b09ff2fef2ec'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:16:40.708021Z'/>
<message from='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1' type='chat' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='8b923f0de2e896f606d1891d2a71a7fd'>
<body>Hi mike</body>
</message>
</forwarded>
<read>false</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2023-11-17 15:16:40.711 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_1415@localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='25123a301dea7d583e75b09ff2fef2ec' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1700234200708021/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl93aXRoX3Jlc2V0X3N0YW56YV8xNDE1QGxvY2FsaG9zdA==</first>
<last>1700234200708021/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl93aXRoX3Jlc2V0X3N0YW56YV8xNDE1QGxvY2FsaG9zdA==</last>
</set>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>1</unread-messages>
</fin>
</iq>
*** User 2023-11-17 15:16:40.711 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2023-11-17 15:16:40.711 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='b2722aceefd5373ba1243eae5c045364'>
<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='kate_reset_unread_counter_with_reset_stanza_1415@localhost'/>
</iq>
*** User 2023-11-17 15:16:40.713 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_1415@localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='b2722aceefd5373ba1243eae5c045364' type='result'>
<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation'/>
</iq>
*** User 2023-11-17 15:16:40.713 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
<iq type='set' id='a8bf4a900c06c13dd88f491710a428ba'>
<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>erlang-solutions.com:xmpp:inbox:0</value>
</field>
<field type='text-single' var='hidden_read'>
<value>false</value>
</field>
</x>
</inbox>
</iq>
*** User 2023-11-17 15:16:40.714 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_1415@localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='1700-234200-714144'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='a8bf4a900c06c13dd88f491710a428ba'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:16:40.708021Z'/>
<message from='kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1' type='chat' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='8b923f0de2e896f606d1891d2a71a7fd'>
<body>Hi mike</body>
</message>
</forwarded>
<read>true</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2023-11-17 15:16:40.714 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_1415@localhost' to='mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1' id='a8bf4a900c06c13dd88f491710a428ba' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1700234200708021/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl93aXRoX3Jlc2V0X3N0YW56YV8xNDE1QGxvY2FsaG9zdA==</first>
<last>1700234200708021/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl93aXRoX3Jlc2V0X3N0YW56YV8xNDE1QGxvY2FsaG9zdA==</last>
</set>
<active-conversations>0</active-conversations>
<count>1</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2023-11-17 15:16:40.714 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2023-11-17 15:16:40.715 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
</stream:stream>
*** User 2023-11-17 15:16:40.715 ***🔗
mike_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
</stream:stream>
*** User 2023-11-17 15:16:40.715 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 out
</stream:stream>
*** User 2023-11-17 15:16:40.715 ***🔗
kate_reset_unread_counter_with_reset_stanza_1415@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:16:40
=== successfully completed test case
=== === Returned value: ok