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

=== Config value:

    [{watchdog,<0.37989.0>},
     {inbox_opts,#{backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,
                   async_writer => #{pool_size => 1},
                   delete_domain_limit => infinity,
                   max_result_limit => infinity,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true}},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_extensions_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-20_18.13.48/inbox_extensions_suite.box_active_entry_gets_archived.19333.html"},
     {tc_group_properties,[{name,one_to_one},parallel]},
     {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@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-20_18.13.48/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {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@161748d34ba8.2024-03-20_18.07.19"

=== Started at 2024-03-20 18:13:51


*** CT 2024-03-20 18:13:51.135 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2745.html

*** User 2024-03-20 18:13:51.174 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-20 18:13:51.174 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80d7c1f4c1f97261' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:13:51.174 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-20 18:13:51.175 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JveF9hY3RpdmVfZW50cnlfZ2V0c19hcmNoaXZlZF8xNTkxAG1hdHlncnlzYQ==</auth>



*** User 2024-03-20 18:13:51.175 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:13:51.176 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-20 18:13:51.176 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='292c0b02afe4d94d' from='localhost' version='1.0' xml:lang='en' to='alice_box_active_entry_gets_archived_1591@localhost'>

*** User 2024-03-20 18:13:51.176 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-20 18:13:51.176 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='5cc640ef25fb97ded0a05dc884c800fd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:13:51.176 ***🔗
alicE_box_active_entry_gets_archived_1591@localhost/res1 in
<iq id='5cc640ef25fb97ded0a05dc884c800fd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_box_active_entry_gets_archived_1591@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:13:51.177 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='a61f06142c6d496212aef92d280b71cf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:13:51.178 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='localhost' to='alice_box_active_entry_gets_archived_1591@localhost/res1' id='a61f06142c6d496212aef92d280b71cf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:13:51.178 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 out
<presence/>



*** User 2024-03-20 18:13:51.179 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 in
<presence from='alice_box_active_entry_gets_archived_1591@localhost/res1' to='alice_box_active_entry_gets_archived_1591@localhost/res1'/>



*** User 2024-03-20 18:13:51.180 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-20 18:13:51.180 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94d69e1c04d52d5d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:13:51.180 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-20 18:13:51.180 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ib3hfYWN0aXZlX2VudHJ5X2dldHNfYXJjaGl2ZWRfMTU5MQBtYWtyb2xpa2E=</auth>



*** User 2024-03-20 18:13:51.181 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:13:51.181 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-20 18:13:51.181 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b45482400d682a00' from='localhost' version='1.0' xml:lang='en' to='bob_box_active_entry_gets_archived_1591@localhost'>

*** User 2024-03-20 18:13:51.182 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-20 18:13:51.182 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='7d983ed44ac0e5d19bb75b9212a854d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:13:51.182 ***🔗
bOb_box_active_entry_gets_archived_1591@localhost/res1 in
<iq id='7d983ed44ac0e5d19bb75b9212a854d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_box_active_entry_gets_archived_1591@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:13:51.182 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='b49e583b3f4f4d4837df2b58d4ed9080'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:13:51.183 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='b49e583b3f4f4d4837df2b58d4ed9080' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:13:51.183 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<presence/>



*** User 2024-03-20 18:13:51.184 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<presence from='bob_box_active_entry_gets_archived_1591@localhost/res1' to='bob_box_active_entry_gets_archived_1591@localhost/res1'/>



*** User 2024-03-20 18:13:51.184 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 out
<message type='chat' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='b1e27e6aaef81a5819bd6e5700c3fb7b'>
	<body>Hi Bob</body>
</message>



*** User 2024-03-20 18:13:51.185 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<message from='alice_box_active_entry_gets_archived_1591@localhost/res1' to='bob_box_active_entry_gets_archived_1591@localhost/res1' type='chat' id='b1e27e6aaef81a5819bd6e5700c3fb7b'>
	<body>Hi Bob</body>
</message>



*** User 2024-03-20 18:13:51.185 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<message to='alice_box_active_entry_gets_archived_1591@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='b1e27e6aaef81a5819bd6e5700c3fb7b'/>
</message>



*** User 2024-03-20 18:13:51.185 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='f5c50bd4b775ff4da16aa8c55a838699'>
	<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 2024-03-20 18:13:51.187 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='1710-958431-186603'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='f5c50bd4b775ff4da16aa8c55a838699'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-20T18:13:51.184386Z'/>
			<message from='alice_box_active_entry_gets_archived_1591@localhost/res1' type='chat' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='b1e27e6aaef81a5819bd6e5700c3fb7b'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-03-20 18:13:51.187 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='f5c50bd4b775ff4da16aa8c55a838699' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710958431184386/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE1OTFAbG9jYWxob3N0</first>
			<last>1710958431184386/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE1OTFAbG9jYWxob3N0</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-20 18:13:51.187 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-20 18:13:51.187 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='a450e206fc66ea9d9ffa69b9ec16e4be'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_box_active_entry_gets_archived_1591@localhost'>
		<box>archive</box>
	</query>
</iq>



*** User 2024-03-20 18:13:51.192 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1591@localhost/res1' to='bob_box_active_entry_gets_archived_1591@localhost' id='a450e206fc66ea9d9ffa69b9ec16e4be'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_box_active_entry_gets_archived_1591@localhost' queryid='a450e206fc66ea9d9ffa69b9ec16e4be'>
		<read>true</read>
		<box>archive</box>
		<archive>true</archive>
		<mute>0</mute>
	</x>
</message>



*** User 2024-03-20 18:13:51.192 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='a450e206fc66ea9d9ffa69b9ec16e4be' type='result'/>



*** User 2024-03-20 18:13:51.192 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='d3110a9fa6d98095e1896136aef8e229'>
	<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='list-single' var='box'>
				<value>inbox</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-03-20 18:13:51.194 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='d3110a9fa6d98095e1896136aef8e229' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-20 18:13:51.194 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-20 18:13:51.194 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
<iq type='set' id='1c03d0ef9c1d699cbb063d911a79ef14'>
	<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='list-single' var='box'>
				<value>archive</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-03-20 18:13:51.196 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='1710-958431-195496'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='1c03d0ef9c1d699cbb063d911a79ef14'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-20T18:13:51.184386Z'/>
			<message from='alice_box_active_entry_gets_archived_1591@localhost/res1' type='chat' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='b1e27e6aaef81a5819bd6e5700c3fb7b'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>archive</box>
		<archive>true</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-03-20 18:13:51.196 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1591@localhost' to='bob_box_active_entry_gets_archived_1591@localhost/res1' id='1c03d0ef9c1d699cbb063d911a79ef14' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710958431184386/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE1OTFAbG9jYWxob3N0</first>
			<last>1710958431184386/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE1OTFAbG9jYWxob3N0</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-20 18:13:51.196 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-03-20 18:13:51.197 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:13:51.197 ***🔗
bob_box_active_entry_gets_archived_1591@localhost/res1 in
</stream:stream>

*** User 2024-03-20 18:13:51.198 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:13:51.199 ***🔗
alice_box_active_entry_gets_archived_1591@localhost/res1 in
</stream:stream>
*** CT 2024-03-20 18:13:51.278 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2745.html



=== Ended at 2024-03-20 18:13:51
=== successfully completed test case
=== === Returned value: ok