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

=== Config value:

    [{watchdog,<0.23430.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 8},
                   backend => rdbms,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,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.inbox_SUITE.logs/run.2022-05-11_08.59.40/inbox_suite.unread_count_is_the_same_after_going_online_again.28803.html"},
     {tc_group_properties,[{name,muc},parallel]},
     {tc_group_path,[[{name,regular}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.inbox_SUITE.logs/run.2022-05-11_08.59.40/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@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 08:59:44


*** CT 2022-05-11 08:59:44.971 *** View log from node mongooseim@localhost when started mongooseim@localhost_1610.html
*** CT 2022-05-11 08:59:44.971 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_111.html

*** User 2022-05-11 08:59:44.993 ***
alicE_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:44.994 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='291947e87fa5672f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:44.994 ***
alicE_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:44.994 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VucmVhZF9jb3VudF9pc190aGVfc2FtZV9hZnRlcl9nb2luZ19vbmxpbmVfYWdhaW5fOTE2AG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 08:59:44.995 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:44.995 ***
alicE_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:44.995 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fd0a23c9d9a44f8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:44.995 ***
alicE_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:44.995 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='dfa88fe391dac61933b87140e9f93017'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:44.996 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq id='dfa88fe391dac61933b87140e9f93017' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:44.996 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='2335ed66019b40865f32a0bbd87c4d73'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:44.996 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq type='result' id='2335ed66019b40865f32a0bbd87c4d73'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:44.996 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence/>



*** User 2022-05-11 08:59:44.999 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' to='alice_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:45.000 ***
bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.000 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a379763d66db3fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:45.001 ***
bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.001 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnJlYWRfY291bnRfaXNfdGhlX3NhbWVfYWZ0ZXJfZ29pbmdfb25saW5lX2FnYWluXzkxNgBtYWtyb2xpa2E=</auth>



*** User 2022-05-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d00ca94f108c2fe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='98513eea3191795de02bb94bc9179814'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq id='98513eea3191795de02bb94bc9179814' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:45.002 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='1cf03d67418255f17c82a6f29910ff2b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:45.003 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq type='result' id='1cf03d67418255f17c82a6f29910ff2b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:45.003 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence/>



*** User 2022-05-11 08:59:45.006 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' to='bob_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:45.006 ***
kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.006 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3358b71504c2e66' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:45.007 ***
kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.007 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5yZWFkX2NvdW50X2lzX3RoZV9zYW1lX2FmdGVyX2dvaW5nX29ubGluZV9hZ2Fpbl85MTYAbWFrcm93ZTtw</auth>



*** User 2022-05-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f95d7e9d09d5f43e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='7491a7f2a7f3a92ed70edd830ca7eabe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 08:59:45.008 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq id='7491a7f2a7f3a92ed70edd830ca7eabe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 08:59:45.009 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='94c00ae25488434f0c5b48882cdce387'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:45.009 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq type='result' id='94c00ae25488434f0c5b48882cdce387'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:59:45.009 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence/>



*** User 2022-05-11 08:59:45.013 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 08:59:45.014 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence to='room-cd8d171709@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_916'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:45.014 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence to='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:45.014 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence to='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:45.016 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.017 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:45.019 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.023 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:45.023 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.023 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.024 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:45.024 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='6a5200dd9cd93d428da7f016460710f4' to='room-cd8d171709@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bOb_unread_count_is_the_same_after_going_online_again_916@localhost' affiliation='member'/>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_916@localhost' affiliation='member'/>
	</query>
</iq>



*** User 2022-05-11 08:59:45.025 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.025 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.025 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq from='room-cd8d171709@muc.localhost' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='6a5200dd9cd93d428da7f016460710f4' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-11 08:59:45.026 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.026 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.026 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.026 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.026 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence type='unavailable' to='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916'/>



*** User 2022-05-11 08:59:45.026 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/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_916@localhost/res1' affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.026 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='none'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.027 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/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-11 08:59:45.027 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<message to='room-cd8d171709@muc.localhost' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:45.033 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:45.033 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
</message>



*** User 2022-05-11 08:59:45.033 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<presence to='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-11 08:59:45.036 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.036 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.036 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/alicE_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.036 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' role='participant'/>
	</x>
</presence>



*** User 2022-05-11 08:59:45.036 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<presence from='room-cd8d171709@muc.localhost/kate_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.037 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' xml:lang='en' type='groupchat' id='MyID'>
	<body>Hi Room!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:45Z' from='room-cd8d171709@muc.localhost'/>
</message>



*** User 2022-05-11 08:59:45.037 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='room-cd8d171709@muc.localhost' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-11 08:59:45.037 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='598885060a0ea3a2759b75aab2262647'>
	<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-11 08:59:45.039 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='bOb_unread_count_is_the_same_after_going_online_again_916@localhost' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='1652-259585-38557'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='598885060a0ea3a2759b75aab2262647'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:45.028891Z'/>
			<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='bob_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.039 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq from='bOb_unread_count_is_the_same_after_going_online_again_916@localhost' to='bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='598885060a0ea3a2759b75aab2262647' 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-11 08:59:45.039 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='8e4bf016f1e7ad2eb3c3ded68b3f3977'>
	<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-11 08:59:45.098 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='alicE_unread_count_is_the_same_after_going_online_again_916@localhost' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='1652-259585-97287'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='8e4bf016f1e7ad2eb3c3ded68b3f3977'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:45.027517Z'/>
			<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='alice_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.098 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq from='alicE_unread_count_is_the_same_after_going_online_again_916@localhost' to='alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='8e4bf016f1e7ad2eb3c3ded68b3f3977' 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-11 08:59:45.098 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
<iq type='set' id='5650a809b6038290f5a65c256c7f13b8'>
	<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-11 08:59:45.099 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<message from='kate_unread_count_is_the_same_after_going_online_again_916@localhost' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='1652-259585-99041'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='5650a809b6038290f5a65c256c7f13b8'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T08:59:45.030714Z'/>
			<message from='room-cd8d171709@muc.localhost/bOb_unread_count_is_the_same_after_going_online_again_916' to='kate_unread_count_is_the_same_after_going_online_again_916@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-11 08:59:45.099 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
<iq from='kate_unread_count_is_the_same_after_going_online_again_916@localhost' to='kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1' id='5650a809b6038290f5a65c256c7f13b8' 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-11 08:59:45.099 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
</stream:stream>

*** User 2022-05-11 08:59:45.099 ***
kate_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
</stream:stream>

*** User 2022-05-11 08:59:45.100 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
</stream:stream>

*** User 2022-05-11 08:59:45.100 ***
bOb_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
</stream:stream>

*** User 2022-05-11 08:59:45.100 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 out
</stream:stream>

*** User 2022-05-11 08:59:45.100 ***
alicE_unread_count_is_the_same_after_going_online_again_916@localhost/res1 in
</stream:stream>
*** CT 2022-05-11 08:59:45.108 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_111.html
*** CT 2022-05-11 08:59:45.108 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1610.html



=== Ended at 2022-05-11 08:59:45
=== successfully completed test case
=== === Returned value: ok