=== Test case: inbox_extensions_SUITE:box_active_entry_gets_archived/1 (click for source code)
=== Config value:
[{watchdog,<0.5307.1>},
{inbox_opts,#{aff_changes => true,
async_writer => #{pool_size => 1},
backend => rdbms_async,bin_clean_after => 3600000,
bin_ttl => 30,
boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
delete_domain_limit => infinity,
groupchat => [muclight],
iqdisc => no_queue,max_result_limit => infinity,
remove_on_kicked => true,
reset_markers => [<<"displayed">>]}},
{preset,"pgsql_mnesia"},
{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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-04-09_11.42.16/inbox_extensions_suite.box_active_entry_gets_archived.47236.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@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-04-09_11.42.16/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 => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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,<<"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@a3455d6f2f61.2024-04-09_11.34.59"
=== Started at 2024-04-09 11:42:18
*** User 2024-04-09 11:42:18.662 ***🔗
alicE_box_active_entry_gets_archived_1605@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-04-09 11:42:18.663 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca7dca12c6faa5c0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:42:18.663 ***🔗
alicE_box_active_entry_gets_archived_1605@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-04-09 11:42:18.663 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JveF9hY3RpdmVfZW50cnlfZ2V0c19hcmNoaXZlZF8xNjA1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-09 11:42:18.665 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:42:18.665 ***🔗
alicE_box_active_entry_gets_archived_1605@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-04-09 11:42:18.665 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7aa0266babb08c4f' from='localhost' version='1.0' xml:lang='en' to='alice_box_active_entry_gets_archived_1605@localhost'>
*** User 2024-04-09 11:42:18.665 ***🔗
alicE_box_active_entry_gets_archived_1605@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-04-09 11:42:18.666 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='df023cb56ef7889b0a47a718064add71'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:42:18.666 ***🔗
alicE_box_active_entry_gets_archived_1605@localhost/res1 in
<iq id='df023cb56ef7889b0a47a718064add71' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_box_active_entry_gets_archived_1605@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:42:18.666 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='74b8f5766a839f4b6968bbb94a3326b9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:42:18.667 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='localhost' to='alice_box_active_entry_gets_archived_1605@localhost/res1' id='74b8f5766a839f4b6968bbb94a3326b9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:42:18.667 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 out
<presence/>
*** User 2024-04-09 11:42:18.668 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 in
<presence from='alice_box_active_entry_gets_archived_1605@localhost/res1' to='alice_box_active_entry_gets_archived_1605@localhost/res1'/>
*** User 2024-04-09 11:42:18.669 ***🔗
bOb_box_active_entry_gets_archived_1605@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-04-09 11:42:18.669 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faa893ebaccdaeb3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:42:18.670 ***🔗
bOb_box_active_entry_gets_archived_1605@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-04-09 11:42:18.670 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ib3hfYWN0aXZlX2VudHJ5X2dldHNfYXJjaGl2ZWRfMTYwNQBtYWtyb2xpa2E=</auth>
*** User 2024-04-09 11:42:18.670 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:42:18.670 ***🔗
bOb_box_active_entry_gets_archived_1605@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-04-09 11:42:18.671 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc4f8e81fd37ed68' from='localhost' version='1.0' xml:lang='en' to='bob_box_active_entry_gets_archived_1605@localhost'>
*** User 2024-04-09 11:42:18.671 ***🔗
bOb_box_active_entry_gets_archived_1605@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-04-09 11:42:18.671 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='ad56056ab0b05c59c0af36bbcd3baf04'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:42:18.672 ***🔗
bOb_box_active_entry_gets_archived_1605@localhost/res1 in
<iq id='ad56056ab0b05c59c0af36bbcd3baf04' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_box_active_entry_gets_archived_1605@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:42:18.672 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='84c569ffb2ad1693cd650b042d7c3c45'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:42:18.716 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='84c569ffb2ad1693cd650b042d7c3c45' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:42:18.717 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<presence/>
*** User 2024-04-09 11:42:18.718 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<presence from='bob_box_active_entry_gets_archived_1605@localhost/res1' to='bob_box_active_entry_gets_archived_1605@localhost/res1'/>
*** User 2024-04-09 11:42:18.718 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 out
<message to='bob_box_active_entry_gets_archived_1605@localhost/res1' type='chat' id='064f0ee686d98840ab541e585026506a'>
<body>Hi Bob</body>
</message>
*** User 2024-04-09 11:42:18.719 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<message from='alice_box_active_entry_gets_archived_1605@localhost/res1' to='bob_box_active_entry_gets_archived_1605@localhost/res1' type='chat' id='064f0ee686d98840ab541e585026506a'>
<body>Hi Bob</body>
</message>
*** User 2024-04-09 11:42:18.719 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<message to='alice_box_active_entry_gets_archived_1605@localhost/res1'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='064f0ee686d98840ab541e585026506a'/>
</message>
*** User 2024-04-09 11:42:18.719 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='66adfa07e9fb1708310f3af6451a7012'>
<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-04-09 11:42:18.722 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='66adfa07e9fb1708310f3af6451a7012' 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-04-09 11:42:18.822 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='66adfa07e9fb1708310f3af6451a7012'>
<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-04-09 11:42:18.831 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='1712-662938-830823'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='66adfa07e9fb1708310f3af6451a7012'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-09T11:42:18.718296Z'/>
<message from='alice_box_active_entry_gets_archived_1605@localhost/res1' to='bob_box_active_entry_gets_archived_1605@localhost/res1' type='chat' id='064f0ee686d98840ab541e585026506a'>
<body>Hi Bob</body>
</message>
</forwarded>
<read>true</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-09 11:42:18.832 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='66adfa07e9fb1708310f3af6451a7012' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1712662938718296/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE2MDVAbG9jYWxob3N0</first>
<last>1712662938718296/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE2MDVAbG9jYWxob3N0</last>
</set>
<active-conversations>0</active-conversations>
<count>1</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2024-04-09 11:42:18.832 ***🔗
waiting for inbox_size is done in 100 miliseconds
*** User 2024-04-09 11:42:18.833 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='7d0381e2b88dba8bd0bbb07ae9d95f2b'>
<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_box_active_entry_gets_archived_1605@localhost'>
<box>archive</box>
</query>
</iq>
*** User 2024-04-09 11:42:18.848 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1605@localhost/res1' to='bob_box_active_entry_gets_archived_1605@localhost' id='7d0381e2b88dba8bd0bbb07ae9d95f2b'>
<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_box_active_entry_gets_archived_1605@localhost' queryid='7d0381e2b88dba8bd0bbb07ae9d95f2b'>
<read>true</read>
<box>archive</box>
<archive>true</archive>
<mute>0</mute>
</x>
</message>
*** User 2024-04-09 11:42:18.849 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='7d0381e2b88dba8bd0bbb07ae9d95f2b' type='result'/>
*** User 2024-04-09 11:42:18.849 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='37f0e759ed7d0bd7f5d457fc2a246262'>
<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-04-09 11:42:18.859 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='37f0e759ed7d0bd7f5d457fc2a246262' 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-04-09 11:42:18.859 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-09 11:42:18.859 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
<iq type='set' id='5d72eed661867a0b49316989c3e39ca5'>
<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-04-09 11:42:18.921 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<message from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='1712-662938-920228'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='5d72eed661867a0b49316989c3e39ca5'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-09T11:42:18.718296Z'/>
<message from='alice_box_active_entry_gets_archived_1605@localhost/res1' to='bob_box_active_entry_gets_archived_1605@localhost/res1' type='chat' id='064f0ee686d98840ab541e585026506a'>
<body>Hi Bob</body>
</message>
</forwarded>
<read>true</read>
<box>archive</box>
<archive>true</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-09 11:42:18.921 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
<iq from='bob_box_active_entry_gets_archived_1605@localhost' to='bob_box_active_entry_gets_archived_1605@localhost/res1' id='5d72eed661867a0b49316989c3e39ca5' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1712662938718296/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE2MDVAbG9jYWxob3N0</first>
<last>1712662938718296/YWxpY2VfYm94X2FjdGl2ZV9lbnRyeV9nZXRzX2FyY2hpdmVkXzE2MDVAbG9jYWxob3N0</last>
</set>
<active-conversations>0</active-conversations>
<count>1</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2024-04-09 11:42:18.921 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-09 11:42:18.922 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 out
</stream:stream>
*** User 2024-04-09 11:42:18.923 ***🔗
bob_box_active_entry_gets_archived_1605@localhost/res1 in
</stream:stream>
*** User 2024-04-09 11:42:18.923 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 out
</stream:stream>
*** User 2024-04-09 11:42:18.924 ***🔗
alice_box_active_entry_gets_archived_1605@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-09 11:42:19
=== successfully completed test case
=== === Returned value: ok