=== Test case: inbox_extensions_SUITE:read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two/1 (click for source code)

=== Config value:

    [{watchdog,<0.19360.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[muclight]},
                  {reset_markers,[<<"displayed">>]}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_extensions_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-01-25_16.25.20/inbox_extensions_suite.read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_extensions_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-01-25_16.25.20/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:25:21


*** CT 2022-01-25 16:25:21.431 *** View log from node mongooseim@localhost when started mongooseim@localhost_941.html
*** CT 2022-01-25 16:25:21.432 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_503.html

*** User 2022-01-25 16:25:21.444 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.445 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60e4b7d73f00e782' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:21.445 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.445 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlYWRfdW5yZWFkX2VudHJ5X3dpdGhfdHdvX21lc3NhZ2VzX3doZW5fc2V0X3VucmVhZF90aGVuX3VucmVhZF9jb3VudF9zdGF5c19pbl90d29fODA4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:25:21.446 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:25:21.446 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.447 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee6e0a24d968df45' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:21.447 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.447 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='68cdb4a0602b79375f2f595a7ec94902'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:25:21.447 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq id='68cdb4a0602b79375f2f595a7ec94902' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:25:21.447 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='bd40449329e3968b83724b7d0d110745'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:21.448 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq type='result' id='bd40449329e3968b83724b7d0d110745'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:21.448 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<presence/>



*** User 2022-01-25 16:25:21.450 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<presence from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' to='alice_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:25:21.451 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.451 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b0aa7a34788994c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:21.451 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.451 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZWFkX3VucmVhZF9lbnRyeV93aXRoX3R3b19tZXNzYWdlc193aGVuX3NldF91bnJlYWRfdGhlbl91bnJlYWRfY291bnRfc3RheXNfaW5fdHdvXzgwOABtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:25:21.452 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:25:21.453 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.453 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c57e699268fa724b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:25:21.453 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@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-01-25 16:25:21.453 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='de8789032c228f1e5a9869cbe7c0771e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:25:21.453 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq id='de8789032c228f1e5a9869cbe7c0771e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:25:21.454 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='8949e6e57a5f0250851b59c2035155f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:21.454 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq type='result' id='8949e6e57a5f0250851b59c2035155f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:25:21.454 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<presence/>



*** User 2022-01-25 16:25:21.456 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<presence from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' to='bob_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:25:21.456 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<message to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' type='chat' id='5a512b16b9b70bde934bf1ca28916640'>
	<body>Hi Bob</body>
</message>



*** User 2022-01-25 16:25:21.461 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en' type='chat' id='5a512b16b9b70bde934bf1ca28916640'>
	<body>Hi Bob</body>
</message>



*** User 2022-01-25 16:25:21.461 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<message to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' type='chat' id='c20ae1ecab9a45c7a94328c0cf171dfa'>
	<body>Hi again Bob</body>
</message>



*** User 2022-01-25 16:25:21.464 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en' type='chat' id='c20ae1ecab9a45c7a94328c0cf171dfa'>
	<body>Hi again Bob</body>
</message>



*** User 2022-01-25 16:25:21.464 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='2c56c737033a1dde2f91bd3c0ed9e57d'>
	<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-01-25 16:25:21.465 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' id='4aa5181a-5dca-4a83-9b33-2878a94aaa7f'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='2c56c737033a1dde2f91bd3c0ed9e57d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:25:21.461602Z'/>
			<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' type='chat' id='c20ae1ecab9a45c7a94328c0cf171dfa'>
				<body>Hi again Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-25 16:25:21.466 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' id='2c56c737033a1dde2f91bd3c0ed9e57d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>2</unread-messages>
	</fin>
</iq>



*** User 2022-01-25 16:25:21.466 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='3fd8c4e97c679bbe609eeaf14b1aed8a'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost'>
		<read>false</read>
	</query>
</iq>



*** User 2022-01-25 16:25:21.469 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' id='3fd8c4e97c679bbe609eeaf14b1aed8a'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' queryid='3fd8c4e97c679bbe609eeaf14b1aed8a'>
		<archive>false</archive>
		<read>false</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-01-25 16:25:21.469 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' id='3fd8c4e97c679bbe609eeaf14b1aed8a' type='result'/>



*** User 2022-01-25 16:25:21.469 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
<iq type='set' id='591b69e111d92e2f4f345728b899fd27'>
	<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-01-25 16:25:21.470 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' id='afe8895d-bbc7-4a0a-a8ce-426a38b5d02a'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='591b69e111d92e2f4f345728b899fd27'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:25:21.461602Z'/>
			<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' xml:lang='en' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' type='chat' id='c20ae1ecab9a45c7a94328c0cf171dfa'>
				<body>Hi again Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-25 16:25:21.470 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1' id='591b69e111d92e2f4f345728b899fd27' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>2</unread-messages>
	</fin>
</iq>



*** User 2022-01-25 16:25:21.470 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:25:21.471 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:25:21.471 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:25:21.471 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_808@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:25:21.473 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_503.html
*** CT 2022-01-25 16:25:21.473 *** View log from node mongooseim@localhost when finished mongooseim@localhost_941.html



=== Ended at 2022-01-25 16:25:21
=== successfully completed test case
=== === Returned value: ok


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