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

=== Config value:

    [{watchdog,<0.25626.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_09.06.49/inbox_suite.unread_count_is_the_same_after_going_online_again.42370.html"},
     {tc_group_properties,[{name,muc}]},
     {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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_SUITE.logs/run.2022-05-25_09.06.49/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:07:29


*** CT 2022-05-25 09:07:29.365 *** View log from node mongooseim@localhost when started mongooseim@localhost_1667.html
*** CT 2022-05-25 09:07:29.366 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_424.html

*** User 2022-05-25 09:07:29.373 ***
alicE_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.373 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa3bd981e65a1eb1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.374 ***
alicE_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.374 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fOTk3AG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3ab4040ab8dc1d7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='9ea1e6b3e2d0fae7e40c561b2e718152'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.375 ***
alicE_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq id='9ea1e6b3e2d0fae7e40c561b2e718152' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.375 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='33ef63bdaaea66751d17a33d4240827b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.375 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq type='result' id='33ef63bdaaea66751d17a33d4240827b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.375 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:29.377 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:29.378 ***
bOb_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.378 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f83c5ec084ef699' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.378 ***
bOb_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.378 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzk5NwBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:07:29.379 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:29.379 ***
bOb_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.379 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b51e75ad606edb32' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.379 ***
bOb_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.379 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='64f445e28746c584af469acc6015689c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.380 ***
bOb_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq id='64f445e28746c584af469acc6015689c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.380 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='21e6089a6a06be013f834488bf81403f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.380 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq type='result' id='21e6089a6a06be013f834488bf81403f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.380 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:29.382 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:29.382 ***
kate_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.382 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f509ceb07a586a7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.383 ***
kate_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.383 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl85OTcAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d505ac90f5d71216' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_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-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='3f981ab1a55ce4064a0318d6cd4eb120'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq id='3f981ab1a55ce4064a0318d6cd4eb120' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='9f8fa1deb99874c3932fcbc2e3dfd8fa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.384 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq type='result' id='9f8fa1deb99874c3932fcbc2e3dfd8fa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:29.385 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:29.386 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:29.387 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence to='room-5b12195b87@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_997'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:29.387 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence to='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:29.387 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence to='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:29.388 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.389 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:29.389 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/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-25 09:07:29.391 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:29.391 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.391 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/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-25 09:07:29.391 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:29.391 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='4249dd976bc7d3df47da641581cafac3' to='room-5b12195b87@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-25 09:07:29.392 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.392 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.392 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq from='room-5b12195b87@groupchats.domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='4249dd976bc7d3df47da641581cafac3' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-25 09:07:29.392 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.392 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/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-25 09:07:29.392 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/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-25 09:07:29.392 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.392 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence type='unavailable' to='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997'/>



*** User 2022-05-25 09:07:29.393 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.393 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.393 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.393 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<message to='room-5b12195b87@groupchats.domain.example.com' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:29.394 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:29.394 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-25 09:07:29.394 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<presence to='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:07:29.395 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.395 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.395 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/alice_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.395 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:07:29.395 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<presence from='room-5b12195b87@groupchats.domain.example.com/kate_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/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-25 09:07:29.395 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:29Z' from='room-5b12195b87@groupchats.domain.example.com'/>
</message>



*** User 2022-05-25 09:07:29.396 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='room-5b12195b87@groupchats.domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:07:29.396 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='d0dffa73678ebb4320a281dcc88e8884'>
	<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-25 09:07:29.397 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='d0dffa73678ebb4320a281dcc88e8884' 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-25 09:07:29.498 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='d0dffa73678ebb4320a281dcc88e8884'>
	<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-25 09:07:29.500 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='1653-469649-499766'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='d0dffa73678ebb4320a281dcc88e8884'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:29.394050Z'/>
			<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com' 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-25 09:07:29.500 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq from='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='d0dffa73678ebb4320a281dcc88e8884' 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-25 09:07:29.500 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='9024e0fe55b121a0cc41b08a573adfb4'>
	<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-25 09:07:29.502 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='1653-469649-501732'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='9024e0fe55b121a0cc41b08a573adfb4'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:29.394012Z'/>
			<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com' 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-25 09:07:29.502 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq from='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='9024e0fe55b121a0cc41b08a573adfb4' 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-25 09:07:29.502 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
<iq type='set' id='1e6a0fa0c93ee92c4bfc565b756d620c'>
	<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-25 09:07:29.503 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='1653-469649-503478'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1e6a0fa0c93ee92c4bfc565b756d620c'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:29.394078Z'/>
			<message from='room-5b12195b87@groupchats.domain.example.com/bob_unread_count_is_the_same_after_going_online_again_997' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com' 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-25 09:07:29.503 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com' to='kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1' id='1e6a0fa0c93ee92c4bfc565b756d620c' 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-25 09:07:29.504 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:29.504 ***
kate_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:29.504 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:29.504 ***
bob_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:29.504 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:29.504 ***
alice_unread_count_is_the_same_after_going_online_again_997@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:07:29.506 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_424.html
*** CT 2022-05-25 09:07:29.506 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1667.html



=== Ended at 2022-05-25 09:07:29
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result