=== Test case: inbox_SUITE:unread_count_is_reset_after_sending_reset_stanza/1 (click for source code)

=== Config value:

    [{watchdog,<0.25889.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 1},
                   backend => rdbms_async,bin_clean_after => 3600000,
                   bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   groupchat => [muc],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.inbox_SUITE.logs/run.2022-05-18_10.02.37/inbox_suite.unread_count_is_reset_after_sending_reset_stanza.41346.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.inbox_SUITE.logs/run.2022-05-18_10.02.37/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_last => #{backend => mnesia,iqdisc => one_queue},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@3b05d744781a.2022-05-18_09.59.20"

=== Started at 2022-05-18 10:02:54


*** CT 2022-05-18 10:02:54.232 *** View log from node mongooseim@localhost when started mongooseim@localhost_1661.html
*** CT 2022-05-18 10:02:54.233 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_401.html

*** User 2022-05-18 10:02:54.241 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.242 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eea9b226d86da82f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.242 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.242 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc19yZXNldF9hZnRlcl9zZW5kaW5nX3Jlc2V0X3N0YW56YV8xMDAwAG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:02:54.242 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:02:54.242 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.243 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b75e4fad3c4a435' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.243 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.243 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='cbe75771fa39494996d20e75949e6db9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.243 ***
alicE_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq id='cbe75771fa39494996d20e75949e6db9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.243 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='331d486e02f0538a6f72424bc4de069d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.243 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq type='result' id='331d486e02f0538a6f72424bc4de069d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.244 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence/>



*** User 2022-05-18 10:02:54.245 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:02:54.245 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.245 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e31dbd42f421ca8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.246 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.246 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfcmVzZXRfYWZ0ZXJfc2VuZGluZ19yZXNldF9zdGFuemFfMTAwMABtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:02:54.246 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:02:54.246 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.247 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11fd1d054ae4b309' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.247 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.247 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='4a54e0c1d3cddf60097a142b2a36a28b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.247 ***
bOb_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq id='4a54e0c1d3cddf60097a142b2a36a28b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.247 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='d2a6fd2027d491734b3fc3bb50e53c46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.247 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq type='result' id='d2a6fd2027d491734b3fc3bb50e53c46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.248 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence/>



*** User 2022-05-18 10:02:54.249 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:02:54.249 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.250 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f32fe32c2ed2cf7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.250 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.250 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3Jlc2V0X2FmdGVyX3NlbmRpbmdfcmVzZXRfc3RhbnphXzEwMDAAbWFrcm93ZTtw</auth>



*** User 2022-05-18 10:02:54.250 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15c447b0e6653f7d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@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-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='caaf06391a0c116ec521381605dadd37'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq id='caaf06391a0c116ec521381605dadd37' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='dfb919279cbe1f4b28527c38e02336a9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq type='result' id='dfb919279cbe1f4b28527c38e02336a9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:02:54.252 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence/>



*** User 2022-05-18 10:02:54.253 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:02:54.254 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence to='room-da7ef1500e@muc.localhost/alice_unread_count_is_reset_after_sending_reset_stanza_1000'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:02:54.254 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence to='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:02:54.254 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<presence to='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:02:54.257 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.257 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/alice_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.258 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:02:54.260 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:02:54.260 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/alice_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/alice_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.260 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.261 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:02:54.261 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='35ba499f0732e0e05ecc7fe7024cf314' to='room-da7ef1500e@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-18 10:02:54.262 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='room-da7ef1500e@muc.localhost' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='35ba499f0732e0e05ecc7fe7024cf314' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-18 10:02:54.262 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/kate_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<presence from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:02:54.262 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<message to='room-da7ef1500e@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-18 10:02:54.270 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-18 10:02:54.271 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-18 10:02:54.271 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-18 10:02:54.271 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='f4a41d53431233089004d9381743dd92'>
	<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 2022-05-18 10:02:54.272 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='f4a41d53431233089004d9381743dd92' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-18 10:02:54.373 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='f4a41d53431233089004d9381743dd92'>
	<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 2022-05-18 10:02:54.374 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='1652-868174-374036'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='f4a41d53431233089004d9381743dd92'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.270545Z'/>
			<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-18 10:02:54.374 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='f4a41d53431233089004d9381743dd92' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-18 10:02:54.374 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='4d11b6bfe17363abc809291729976577'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='room-da7ef1500e@muc.localhost'/>
</iq>



*** User 2022-05-18 10:02:54.375 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='4d11b6bfe17363abc809291729976577' type='result'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation'/>
</iq>



*** User 2022-05-18 10:02:54.375 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='155ee89b62e6a838bfc731b65f4f7e82'>
	<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 2022-05-18 10:02:54.377 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='1652-868174-376599'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='155ee89b62e6a838bfc731b65f4f7e82'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.270522Z'/>
			<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-18 10:02:54.377 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='155ee89b62e6a838bfc731b65f4f7e82' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-18 10:02:54.377 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='60fb2daae03ec97a82ff84b61bc08a5f'>
	<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 2022-05-18 10:02:54.378 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='1652-868174-378155'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='60fb2daae03ec97a82ff84b61bc08a5f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.270494Z'/>
			<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-18 10:02:54.378 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='60fb2daae03ec97a82ff84b61bc08a5f' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-05-18 10:02:54.378 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
<iq type='set' id='50d73388059c352f15473c8bef10af89'>
	<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 2022-05-18 10:02:54.380 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<message from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='1652-868174-380094'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='50d73388059c352f15473c8bef10af89'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.270545Z'/>
			<message from='room-da7ef1500e@muc.localhost/bob_unread_count_is_reset_after_sending_reset_stanza_1000' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' xml:lang='en' type='groupchat' id='MyID'>
				<body>Hi Room!</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-18 10:02:54.380 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
<iq from='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost' to='kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1' id='50d73388059c352f15473c8bef10af89' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-05-18 10:02:54.380 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:02:54.547 ***
kate_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:02:54.547 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:02:54.548 ***
bob_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:02:54.548 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:02:54.548 ***
alice_unread_count_is_reset_after_sending_reset_stanza_1000@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:02:54.550 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_401.html
*** CT 2022-05-18 10:02:54.550 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1661.html



=== Ended at 2022-05-18 10:02:54
=== successfully completed test case
=== === Returned value: ok