=== Test case: inbox_SUITE:unread_count_is_reset_after_sending_chatmarker/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_chatmarker.41090.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.229 *** View log from node mongooseim@localhost when started mongooseim@localhost_1661.html
*** CT 2022-05-18 10:02:54.230 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_401.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



*** User 2022-05-18 10:02:54.246 ***
bOb_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq id='16c9dd789e5195461b979a67bcacda80' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:02:54.246 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='351ae8419dfda5dddb0c3fabf798197a'>
	<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_chatmarker_998@localhost/res1 in
<iq type='result' id='351ae8419dfda5dddb0c3fabf798197a'>
	<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_chatmarker_998@localhost/res1 out
<presence/>



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



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

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



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



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

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



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



*** User 2022-05-18 10:02:54.251 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='cbf2d7a63133bf5aa224f964ea78c646'>
	<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_chatmarker_998@localhost/res1 in
<iq type='result' id='cbf2d7a63133bf5aa224f964ea78c646'>
	<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_chatmarker_998@localhost/res1 out
<presence/>



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



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



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



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



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



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



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



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



*** User 2022-05-18 10:02:54.258 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/alice_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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.258 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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.258 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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.259 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='room-5727d5a5d2@muc.localhost' to='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:02:54.259 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/alice_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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.259 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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.259 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='room-5727d5a5d2@muc.localhost' to='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:02:54.259 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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.259 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='cef519a11a341e9c8ad586e6102aab4b' to='room-5727d5a5d2@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost' affiliation='member'/>
	</query>
</iq>



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



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



*** User 2022-05-18 10:02:54.261 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq from='room-5727d5a5d2@muc.localhost' to='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='cef519a11a341e9c8ad586e6102aab4b' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-18 10:02:54.261 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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.261 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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.261 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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.261 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<presence from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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.261 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<message to='room-5727d5a5d2@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



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



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



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



*** User 2022-05-18 10:02:54.268 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<message to='room-5727d5a5d2@muc.localhost' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='MyID'/>
</message>



*** User 2022-05-18 10:02:54.270 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' xml:lang='en' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='MyID'/>
</message>



*** User 2022-05-18 10:02:54.270 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' xml:lang='en' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='MyID'/>
</message>



*** User 2022-05-18 10:02:54.270 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='room-5727d5a5d2@muc.localhost/kate_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' xml:lang='en' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='MyID'/>
</message>



*** User 2022-05-18 10:02:54.270 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='13bf6429f73e6ab21161693b81c3bf01'>
	<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.271 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq from='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='13bf6429f73e6ab21161693b81c3bf01' 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 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='13bf6429f73e6ab21161693b81c3bf01'>
	<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 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='1652-868174-374175'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='13bf6429f73e6ab21161693b81c3bf01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.262648Z'/>
			<message from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='bob_unread_count_is_reset_after_sending_chatmarker_998@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 ***
bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq from='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='bob_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='13bf6429f73e6ab21161693b81c3bf01' 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.374 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='9c0266cf99edfdf3de97022644cdc970'>
	<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.376 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='1652-868174-375676'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='9c0266cf99edfdf3de97022644cdc970'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.262603Z'/>
			<message from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='alice_unread_count_is_reset_after_sending_chatmarker_998@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.376 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq from='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='9c0266cf99edfdf3de97022644cdc970' 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.376 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
<iq type='set' id='15b841712fb3778d36d171f20995ab0f'>
	<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 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<message from='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='1652-868174-377224'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='15b841712fb3778d36d171f20995ab0f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:02:54.262687Z'/>
			<message from='room-5727d5a5d2@muc.localhost/bob_unread_count_is_reset_after_sending_chatmarker_998' to='kate_unread_count_is_reset_after_sending_chatmarker_998@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 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
<iq from='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost' to='kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1' id='15b841712fb3778d36d171f20995ab0f' 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 ***
kate_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 out
</stream:stream>

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

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

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

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

*** User 2022-05-18 10:02:54.379 ***
alice_unread_count_is_reset_after_sending_chatmarker_998@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:02:54.383 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_401.html
*** CT 2022-05-18 10:02:54.384 *** 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