=== Test case: inbox_extensions_SUITE:archive_active_unread_entry_gets_archived_and_still_unread/1 (click for source code)
=== Config value:
[{watchdog,<0.22966.0>},
{inbox_opts,#{aff_changes => true,
async_writer => #{pool_size => 8},
backend => rdbms,
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,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.30/inbox_extensions_suite.archive_active_unread_entry_gets_archived_and_still_unread.30083.html"},
{tc_group_properties,[{name,one_to_one},parallel]},
{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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.30/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 => [],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,<<"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@a072b68d2bee.2022-03-18_10.50.04"
=== Started at 2022-03-18 10:53:31
*** User 2022-03-18 10:53:31.274 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.275 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58231fa91496dfff' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:53:31.275 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.275 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYWN0aXZlX3VucmVhZF9lbnRyeV9nZXRzX2FyY2hpdmVkX2FuZF9zdGlsbF91bnJlYWRfOTU2AG1hdHlncnlzYQ==</auth>
*** User 2022-03-18 10:53:31.279 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:53:31.279 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.279 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ae316e047cd27db' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:53:31.280 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.280 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='8cd5d212805b6dcfef476b13d33fe6ef'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:53:31.282 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq id='8cd5d212805b6dcfef476b13d33fe6ef' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:53:31.282 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='b1161b5cdb4e9942c28776d447969974'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:53:31.287 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq type='result' id='b1161b5cdb4e9942c28776d447969974'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:53:31.288 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:53:31.294 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<presence from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' to='alice_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:53:31.295 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.297 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='518864bbbc495503' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:53:31.297 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.297 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FjdGl2ZV91bnJlYWRfZW50cnlfZ2V0c19hcmNoaXZlZF9hbmRfc3RpbGxfdW5yZWFkXzk1NgBtYWtyb2xpa2E=</auth>
*** User 2022-03-18 10:53:31.300 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:53:31.300 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.301 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4409ad8a00cd2778' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:53:31.301 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@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-03-18 10:53:31.302 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='4efb4d7ce80bbb3327fbdbbd900f1166'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:53:31.302 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq id='4efb4d7ce80bbb3327fbdbbd900f1166' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:53:31.302 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='0ee7ed4919a551f1710abc94a82a9d0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:53:31.303 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq type='result' id='0ee7ed4919a551f1710abc94a82a9d0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:53:31.303 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:53:31.352 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<presence from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' to='bob_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:53:31.353 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<message to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' type='chat' id='1ccc73ac91b4cb9fa0dddb961cf22ca4'>
<body>Hi Bob</body>
</message>
*** User 2022-03-18 10:53:31.364 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' xml:lang='en' type='chat' id='1ccc73ac91b4cb9fa0dddb961cf22ca4'>
<body>Hi Bob</body>
</message>
*** User 2022-03-18 10:53:31.364 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='4484bae708da7f83d964597a8e306e2c'>
<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:53:31.370 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='a5115102-d36e-4e2a-9795-b2a88ef32cbc'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='4484bae708da7f83d964597a8e306e2c'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:31.358208Z'/>
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' type='chat' id='1ccc73ac91b4cb9fa0dddb961cf22ca4'>
<body>Hi Bob</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-03-18 10:53:31.370 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='4484bae708da7f83d964597a8e306e2c' 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:53:31.370 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='cc51c65dd8a692f9a0937d1c937df1a5'>
<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com'>
<archive>true</archive>
</query>
</iq>
*** User 2022-03-18 10:53:31.374 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' id='cc51c65dd8a692f9a0937d1c937df1a5'>
<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' queryid='cc51c65dd8a692f9a0937d1c937df1a5'>
<archive>true</archive>
<read>false</read>
<mute>0</mute>
</x>
</message>
*** User 2022-03-18 10:53:31.374 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='cc51c65dd8a692f9a0937d1c937df1a5' type='result'/>
*** User 2022-03-18 10:53:31.374 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='adccbe1dd983c577e3b9bb0c86a680ab'>
<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:53:31.378 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='adccbe1dd983c577e3b9bb0c86a680ab' 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:53:31.378 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
<iq type='set' id='36b50038ecc0edb8777493c1c88948d4'>
<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:53:31.383 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='f7914696-c77e-4832-bd54-eb0c537c56dc'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='36b50038ecc0edb8777493c1c88948d4'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:31.358208Z'/>
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' type='chat' id='1ccc73ac91b4cb9fa0dddb961cf22ca4'>
<body>Hi Bob</body>
</message>
</forwarded>
<archive>true</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-03-18 10:53:31.383 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1' id='36b50038ecc0edb8777493c1c88948d4' 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:53:31.383 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:53:31.707 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
</stream:stream>
*** User 2022-03-18 10:53:31.707 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:53:31.707 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_956@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:53:31
=== successfully completed test case
=== === Returned value: ok