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

=== Config value:

    [{watchdog,<0.19214.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/inbox_extensions_suite.archive_archived_entry_gets_active_on_request.30722.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:10:38


*** CT 2022-02-02 15:10:38.358 *** View log from node mongooseim@localhost when started mongooseim@localhost_894.html
*** CT 2022-02-02 15:10:38.359 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

*** User 2022-02-02 15:10:38.397 ***
alicE_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.398 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b1fa0286919b21f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.398 ***
alicE_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.398 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYXJjaGl2ZWRfZW50cnlfZ2V0c19hY3RpdmVfb25fcmVxdWVzdF83MjgAbWF0eWdyeXNh</auth>



*** User 2022-02-02 15:10:38.399 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:10:38.399 ***
alicE_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.400 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d0e1eb418e906ea' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.400 ***
alicE_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.400 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='3ae3451c453880fd19d53f8ceef736ed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.401 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq id='3ae3451c453880fd19d53f8ceef736ed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.401 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='a5319d96a4fe18a75f55c863f13a0106'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.402 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq type='result' id='a5319d96a4fe18a75f55c863f13a0106'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.402 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:10:38.404 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<presence from='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' to='alice_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:10:38.405 ***
bOb_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.407 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ca7f0a85c848b4a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.407 ***
bOb_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.407 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FyY2hpdmVkX2VudHJ5X2dldHNfYWN0aXZlX29uX3JlcXVlc3RfNzI4AG1ha3JvbGlrYQ==</auth>



*** User 2022-02-02 15:10:38.411 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:10:38.411 ***
bOb_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.411 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a08792c5b7427142' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.411 ***
bOb_archive_archived_entry_gets_active_on_request_728@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-02-02 15:10:38.411 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='8cbeb8e32c61ac551a75ca8d18cc5ee8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.461 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq id='8cbeb8e32c61ac551a75ca8d18cc5ee8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.461 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='0d106dfff12141657d2e9fcf1a0c5019'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.461 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq type='result' id='0d106dfff12141657d2e9fcf1a0c5019'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.461 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:10:38.466 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<presence from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' to='bob_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:10:38.466 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<message to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' type='chat' id='577e8868fc3ecfec6f6c8c9ee09f0619'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.475 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<message from='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' xml:lang='en' type='chat' id='577e8868fc3ecfec6f6c8c9ee09f0619'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.475 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='df3f187f4b002d2cd676b4bce0308208'>
	<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-02-02 15:10:38.477 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<message from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='23c6dbb1-2ce7-4e1f-9a61-13fd0dc9c836'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='df3f187f4b002d2cd676b4bce0308208'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.466989Z'/>
			<message from='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' xml:lang='en' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' type='chat' id='577e8868fc3ecfec6f6c8c9ee09f0619'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.477 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='df3f187f4b002d2cd676b4bce0308208' 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-02-02 15:10:38.477 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='be5ba7f8b6f08e0c0f121488b3b5bec8'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com'>
		<archive>true</archive>
	</query>
</iq>



*** User 2022-02-02 15:10:38.485 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<message from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' id='be5ba7f8b6f08e0c0f121488b3b5bec8'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_archived_entry_gets_active_on_request_728@domain.example.com' queryid='be5ba7f8b6f08e0c0f121488b3b5bec8'>
		<archive>true</archive>
		<read>false</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-02-02 15:10:38.486 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='be5ba7f8b6f08e0c0f121488b3b5bec8' type='result'/>



*** User 2022-02-02 15:10:38.486 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='2a27fc447f2f961a8d04caf5f05f3808'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com'>
		<archive>false</archive>
	</query>
</iq>



*** User 2022-02-02 15:10:38.490 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<message from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' id='2a27fc447f2f961a8d04caf5f05f3808'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_archived_entry_gets_active_on_request_728@domain.example.com' queryid='2a27fc447f2f961a8d04caf5f05f3808'>
		<archive>false</archive>
		<read>false</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-02-02 15:10:38.490 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='2a27fc447f2f961a8d04caf5f05f3808' type='result'/>



*** User 2022-02-02 15:10:38.490 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='95bac32a50421da60319f4cdb09fdbe1'>
	<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-02-02 15:10:38.492 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<message from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='a8fb8ea0-3948-477f-b0ee-60eef81a4e5f'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='95bac32a50421da60319f4cdb09fdbe1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.466989Z'/>
			<message from='alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' xml:lang='en' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' type='chat' id='577e8868fc3ecfec6f6c8c9ee09f0619'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.492 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='95bac32a50421da60319f4cdb09fdbe1' 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-02-02 15:10:38.492 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
<iq type='set' id='f7662078050e9662df4332a563b67411'>
	<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-02-02 15:10:38.652 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
<iq from='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com' to='bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1' id='f7662078050e9662df4332a563b67411' 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-02-02 15:10:38.653 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:10:39.037 ***
bOb_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:10:39.038 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:10:39.038 ***
alicE_archive_archived_entry_gets_active_on_request_728@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:10:39.040 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:10:39.040 *** View log from node mongooseim@localhost when finished mongooseim@localhost_894.html



=== Ended at 2022-02-02 15:10:39
=== successfully completed test case
=== === Returned value: ok