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

=== Config value:

    [{watchdog,<0.21550.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-04_11.19.33/inbox_extensions_suite.archive_active_unread_entry_gets_archived_and_still_unread.17028.html"},
     {tc_group_properties,[{name,one_to_one},parallel]},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-04_11.19.33/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:19:33


*** CT 2022-03-04 11:19:33.893 *** View log from node mongooseim@localhost when started mongooseim@localhost_941.html
*** CT 2022-03-04 11:19:33.894 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-03-04 11:19:34.027 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.030 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf131069de672743' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:34.031 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.035 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYWN0aXZlX3VucmVhZF9lbnRyeV9nZXRzX2FyY2hpdmVkX2FuZF9zdGlsbF91bnJlYWRfODA0AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:19:34.038 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:34.038 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.041 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80e1441c3306080e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:34.041 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.041 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='cc6d4369bbd038778eb82fbc9918ced8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:34.051 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq id='cc6d4369bbd038778eb82fbc9918ced8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:34.054 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='0eda9ef4df3c704b148c9c3485be3535'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:34.062 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq type='result' id='0eda9ef4df3c704b148c9c3485be3535'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:34.063 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:34.084 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<presence from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' to='alice_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:34.088 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.092 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3d65af45f4968a3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:34.092 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.092 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FjdGl2ZV91bnJlYWRfZW50cnlfZ2V0c19hcmNoaXZlZF9hbmRfc3RpbGxfdW5yZWFkXzgwNABtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:19:34.111 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:34.111 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.114 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='848a2386281ddc2c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:34.115 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@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-03-04 11:19:34.115 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='1f92a382e147c1feadd1365750b3b7ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:34.120 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq id='1f92a382e147c1feadd1365750b3b7ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:34.120 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='92edff85c6513d451d3c615225153c2c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:34.126 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq type='result' id='92edff85c6513d451d3c615225153c2c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:34.126 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:34.153 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<presence from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' to='bob_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:34.153 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<message to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' type='chat' id='b89e3fabd0401b0e5e429131b2cd88bb'>
	<body>Hi Bob</body>
</message>



*** User 2022-03-04 11:19:34.204 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' xml:lang='en' type='chat' id='b89e3fabd0401b0e5e429131b2cd88bb'>
	<body>Hi Bob</body>
</message>



*** User 2022-03-04 11:19:34.204 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='533429c4d5a32ea8515b3aaebb857e8d'>
	<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-03-04 11:19:34.217 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='90e88172-990e-4770-86f2-c9418255a78e'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='533429c4d5a32ea8515b3aaebb857e8d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:34.160688Z'/>
			<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' type='chat' id='b89e3fabd0401b0e5e429131b2cd88bb'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:34.217 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='533429c4d5a32ea8515b3aaebb857e8d' 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-03-04 11:19:34.217 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='9f4ffd76b2b636c07fe427cfc06aa1ea'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost'>
		<archive>true</archive>
	</query>
</iq>



*** User 2022-03-04 11:19:34.246 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' id='9f4ffd76b2b636c07fe427cfc06aa1ea'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' queryid='9f4ffd76b2b636c07fe427cfc06aa1ea'>
		<archive>true</archive>
		<read>false</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-03-04 11:19:34.246 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='9f4ffd76b2b636c07fe427cfc06aa1ea' type='result'/>



*** User 2022-03-04 11:19:34.246 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='938f6930c9724216941926154c77b8bd'>
	<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='boolean' var='archive'>
				<value>false</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:19:34.260 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='938f6930c9724216941926154c77b8bd' 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-03-04 11:19:34.260 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
<iq type='set' id='e98536f6561d47a9b228980ea1058ced'>
	<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='boolean' var='archive'>
				<value>true</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:19:34.268 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='74d73a62-3b80-4dd4-acd2-5b8fb393143c'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='e98536f6561d47a9b228980ea1058ced'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:34.160688Z'/>
			<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' type='chat' id='b89e3fabd0401b0e5e429131b2cd88bb'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>true</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:34.268 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1' id='e98536f6561d47a9b228980ea1058ced' 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-03-04 11:19:34.268 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:34.541 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:34.541 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:34.542 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_804@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:34.543 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-03-04 11:19:34.544 *** View log from node mongooseim@localhost when finished mongooseim@localhost_941.html



=== Ended at 2022-03-04 11:19:34
=== successfully completed test case
=== === Returned value: ok