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

=== Config value:

    [{watchdog,<0.23559.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 4},
                   backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,remove_on_kicked => true,
                   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@f35493351768.2022-03-18_10.50.10/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.55/inbox_extensions_suite.archive_active_unread_entry_gets_archived_and_still_unread.27011.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[[{name,async_pools}]]},
     {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@f35493351768.2022-03-18_10.50.10/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.55/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 => [],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"}]},
             {welcome_message,{[],[]}}],
        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}}},
     {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@f35493351768.2022-03-18_10.50.10"

=== Started at 2022-03-18 10:54:13


*** CT 2022-03-18 10:54:13.509 *** View log from node mongooseim@localhost when started mongooseim@localhost_865.html
*** CT 2022-03-18 10:54:13.510 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_399.html

*** User 2022-03-18 10:54:13.643 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.643 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b54159f64acc4162' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:13.644 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.644 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYWN0aXZlX3VucmVhZF9lbnRyeV9nZXRzX2FyY2hpdmVkX2FuZF9zdGlsbF91bnJlYWRfOTg3AG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:54:13.645 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:54:13.645 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.646 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d9a20eae919bbdc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:13.646 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.646 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='8a9fb6588a52bc49494ea0ef55136aea'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:54:13.646 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq id='8a9fb6588a52bc49494ea0ef55136aea' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:54:13.646 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='c0d6c7dadd417ded0b1286e853e7ebdf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:13.647 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq type='result' id='c0d6c7dadd417ded0b1286e853e7ebdf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:13.647 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<presence/>



*** User 2022-03-18 10:54:13.650 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<presence from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' to='alice_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:54:13.651 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.651 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b6e1584e2ddd91a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:13.651 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.651 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FjdGl2ZV91bnJlYWRfZW50cnlfZ2V0c19hcmNoaXZlZF9hbmRfc3RpbGxfdW5yZWFkXzk4NwBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1d82555acfafbd9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@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-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='9517d1040410381f18af6abb34eabb7a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:54:13.653 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq id='9517d1040410381f18af6abb34eabb7a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:54:13.654 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='995b56b959575dee1b58b9ee90372478'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:13.654 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq type='result' id='995b56b959575dee1b58b9ee90372478'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:13.654 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<presence/>



*** User 2022-03-18 10:54:13.655 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<presence from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' to='bob_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:54:13.655 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<message to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' type='chat' id='ca2f531072e64a0ec624d689df554536'>
	<body>Hi Bob</body>
</message>



*** User 2022-03-18 10:54:13.662 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' xml:lang='en' type='chat' id='ca2f531072e64a0ec624d689df554536'>
	<body>Hi Bob</body>
</message>



*** User 2022-03-18 10:54:13.662 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='1ce08e4492111f607c7cea41f06f76d3'>
	<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-18 10:54:13.665 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='6b57e821-03fd-4453-9010-b77be6c46620'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1ce08e4492111f607c7cea41f06f76d3'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:54:13.656030Z'/>
			<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' type='chat' id='ca2f531072e64a0ec624d689df554536'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:54:13.665 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='1ce08e4492111f607c7cea41f06f76d3' 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-18 10:54:13.665 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='deed251451d35c6aa63d9e70f212559b'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost'>
		<archive>true</archive>
	</query>
</iq>



*** User 2022-03-18 10:54:13.668 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' id='deed251451d35c6aa63d9e70f212559b'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' queryid='deed251451d35c6aa63d9e70f212559b'>
		<archive>true</archive>
		<read>false</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-03-18 10:54:13.668 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='deed251451d35c6aa63d9e70f212559b' type='result'/>



*** User 2022-03-18 10:54:13.668 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='c1fc67c1430a59d36d86c75141d6103d'>
	<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-18 10:54:13.669 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='c1fc67c1430a59d36d86c75141d6103d' 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-18 10:54:13.669 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
<iq type='set' id='51cfdde26c57cab93f38079efc49a9fc'>
	<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-18 10:54:13.670 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='de6a578f-654b-4d1b-888e-c603f39d86d5'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='51cfdde26c57cab93f38079efc49a9fc'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:54:13.656030Z'/>
			<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' type='chat' id='ca2f531072e64a0ec624d689df554536'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>true</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:54:13.670 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1' id='51cfdde26c57cab93f38079efc49a9fc' 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-18 10:54:13.671 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:54:13.998 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:54:13.999 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:54:13.999 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_987@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:54:14.000 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_399.html
*** CT 2022-03-18 10:54:14.001 *** View log from node mongooseim@localhost when finished mongooseim@localhost_865.html



=== Ended at 2022-03-18 10:54:14
=== successfully completed test case
=== === Returned value: ok


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