=== Test case: inbox_extensions_SUITE:archive_active_entry_gets_archived/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_active_entry_gets_archived.30594.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.362 *** View log from node mongooseim@localhost when started mongooseim@localhost_894.html
*** CT 2022-02-02 15:10:38.362 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-02-02 15:10:38.474 ***
alicE_archive_active_entry_gets_archived_730@domain.example.com/res1 out
<message to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' type='chat' id='a3a5a5528acc2a816ce0a83e2e351474'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.487 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 in
<message from='alicE_archive_active_entry_gets_archived_730@domain.example.com/res1' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' xml:lang='en' type='chat' id='a3a5a5528acc2a816ce0a83e2e351474'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.487 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 out
<message to='alicE_archive_active_entry_gets_archived_730@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='a3a5a5528acc2a816ce0a83e2e351474'/>
</message>



*** User 2022-02-02 15:10:38.487 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 out
<iq type='set' id='ce18f173529f28e2223c095ed891c643'>
	<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.491 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 in
<message from='bOb_archive_active_entry_gets_archived_730@domain.example.com' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' id='9fcc2444-fca5-45d4-8ed5-a18d79b553dc'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='ce18f173529f28e2223c095ed891c643'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.475090Z'/>
			<message from='alicE_archive_active_entry_gets_archived_730@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' type='chat' id='a3a5a5528acc2a816ce0a83e2e351474'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



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



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



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



*** User 2022-02-02 15:10:38.495 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 out
<iq type='set' id='a7fbb47df3aaa6fac8dc8d9218e92d1c'>
	<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.496 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 in
<iq from='bOb_archive_active_entry_gets_archived_730@domain.example.com' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' id='a7fbb47df3aaa6fac8dc8d9218e92d1c' 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.496 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 out
<iq type='set' id='d877c524059196f51d70f24c5de56714'>
	<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.595 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 in
<message from='bOb_archive_active_entry_gets_archived_730@domain.example.com' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' id='7a3a3fb8-9f54-49ac-9bd9-46f5933d64a2'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='d877c524059196f51d70f24c5de56714'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.475090Z'/>
			<message from='alicE_archive_active_entry_gets_archived_730@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' type='chat' id='a3a5a5528acc2a816ce0a83e2e351474'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>true</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.596 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 in
<iq from='bOb_archive_active_entry_gets_archived_730@domain.example.com' to='bOb_archive_active_entry_gets_archived_730@domain.example.com/res1' id='d877c524059196f51d70f24c5de56714' 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-02-02 15:10:38.596 ***
bOb_archive_active_entry_gets_archived_730@domain.example.com/res1 out
</stream:stream>

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

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

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



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