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

=== Config value:

    [{watchdog,<0.26215.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 8},
                   backend => rdbms,bin_clean_after => 3600000,bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-05-25_09.07.32/inbox_extensions_suite.archive_active_entry_gets_archived.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[[{name,regular}]]},
     {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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-05-25_09.07.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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 => #{iqdisc => no_queue},
        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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        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,<<"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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:07:44


*** CT 2022-05-25 09:07:44.084 *** View log from node mongooseim@localhost when started mongooseim@localhost_1678.html
*** CT 2022-05-25 09:07:44.084 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_424.html

*** User 2022-05-25 09:07:44.163 ***
alicE_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.163 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f95d834bdce8dab' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:44.163 ***
alicE_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.163 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYWN0aXZlX2VudHJ5X2dldHNfYXJjaGl2ZWRfMTAzOABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 09:07:44.164 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:44.164 ***
alicE_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.165 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4d5a6883855f8ac' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:44.165 ***
alicE_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.165 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='b47912b35c9bbbd83561b565b1926361'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:44.165 ***
alicE_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq id='b47912b35c9bbbd83561b565b1926361' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_archive_active_entry_gets_archived_1038@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:44.165 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='5e69a8f0630d2cbdc3220761022d3d02'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:44.165 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq type='result' id='5e69a8f0630d2cbdc3220761022d3d02'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:44.165 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:44.167 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<presence from='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1' to='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:44.167 ***
bOb_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.167 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2518e61e353722d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:44.167 ***
bOb_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.168 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzEwMzgAbWFrcm9saWth</auth>



*** User 2022-05-25 09:07:44.168 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:44.168 ***
bOb_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.169 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3024ddbc6c3141fa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:44.169 ***
bOb_archive_active_entry_gets_archived_1038@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-05-25 09:07:44.169 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='bafee030e9b4fd43efe66c5f33d2cf3a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:44.169 ***
bOb_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq id='bafee030e9b4fd43efe66c5f33d2cf3a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_archive_active_entry_gets_archived_1038@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:44.169 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='9eda8cfc427b6decdf9e28d7379d7ad3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:44.169 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq type='result' id='9eda8cfc427b6decdf9e28d7379d7ad3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:44.169 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:44.171 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<presence from='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:44.171 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<message to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' type='chat' id='53b8adbf280ad42c8b508dda2f4493e4'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:44.177 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<message from='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' xml:lang='en' type='chat' id='53b8adbf280ad42c8b508dda2f4493e4'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:44.177 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<message to='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='53b8adbf280ad42c8b508dda2f4493e4'/>
</message>



*** User 2022-05-25 09:07:44.177 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='0d8e36922a645b6900436ab3c07c3017'>
	<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-05-25 09:07:44.201 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<message from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='1653-469664-201263'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='0d8e36922a645b6900436ab3c07c3017'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:44.171268Z'/>
			<message from='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1' xml:lang='en' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' type='chat' id='53b8adbf280ad42c8b508dda2f4493e4'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 09:07:44.201 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='0d8e36922a645b6900436ab3c07c3017' 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-05-25 09:07:44.202 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='fae3c50c62ea9f5029df0b3534a8cc19'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_entry_gets_archived_1038@domain.example.com'>
		<archive>true</archive>
	</query>
</iq>



*** User 2022-05-25 09:07:44.204 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<message from='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' to='bob_archive_active_entry_gets_archived_1038@domain.example.com' id='fae3c50c62ea9f5029df0b3534a8cc19'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_entry_gets_archived_1038@domain.example.com' queryid='fae3c50c62ea9f5029df0b3534a8cc19'>
		<read>true</read>
		<box>archive</box>
		<archive>true</archive>
		<mute>0</mute>
	</x>
</message>



*** User 2022-05-25 09:07:44.204 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='fae3c50c62ea9f5029df0b3534a8cc19' type='result'/>



*** User 2022-05-25 09:07:44.204 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='ffa8efdb6f8fd764caca89ea7af85410'>
	<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-05-25 09:07:44.205 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='ffa8efdb6f8fd764caca89ea7af85410' 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-05-25 09:07:44.206 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
<iq type='set' id='c7e30c70ac37efc598130f38b2344333'>
	<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-05-25 09:07:44.291 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<message from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='1653-469664-290585'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='c7e30c70ac37efc598130f38b2344333'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:44.171268Z'/>
			<message from='alice_archive_active_entry_gets_archived_1038@domain.example.com/res1' xml:lang='en' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' type='chat' id='53b8adbf280ad42c8b508dda2f4493e4'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<box>archive</box>
		<archive>true</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 09:07:44.291 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
<iq from='bob_archive_active_entry_gets_archived_1038@domain.example.com' to='bob_archive_active_entry_gets_archived_1038@domain.example.com/res1' id='c7e30c70ac37efc598130f38b2344333' 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-05-25 09:07:44.291 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:44.675 ***
bob_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:44.675 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:44.676 ***
alice_archive_active_entry_gets_archived_1038@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:07:44.678 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_424.html
*** CT 2022-05-25 09:07:44.678 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1678.html



=== Ended at 2022-05-25 09:07:44
=== successfully completed test case
=== === Returned value: ok


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