=== Test case: inbox_extensions_SUITE:archive_active_unread_entry_gets_archived_and_still_unread/1 (click for source code)
=== Config value:
[{watchdog,<0.19214.0>},
{inbox_opts,[{aff_changes,true},
{remove_on_kicked,true},
{groupchat,[muclight]},
{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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/inbox_extensions_suite.archive_active_unread_entry_gets_archived_and_still_unread.14213.html"},
{tc_group_properties,[{name,one_to_one},parallel]},
{tc_group_path,[]},
{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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/log_private/"},
{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@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:10:38
*** User 2022-02-02 15:10:38.399 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.400 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c391c3d772e81683' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.401 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.401 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FyY2hpdmVfYWN0aXZlX3VucmVhZF9lbnRyeV9nZXRzX2FyY2hpdmVkX2FuZF9zdGlsbF91bnJlYWRfNzMzAG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:10:38.403 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:10:38.403 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.404 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea34a49d84fd454d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.404 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.404 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='f92ff272dca1e938462fb931fc844284'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:10:38.405 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq id='f92ff272dca1e938462fb931fc844284' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:10:38.405 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='5d74a366613706c17806b40002acbd06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.406 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq type='result' id='5d74a366613706c17806b40002acbd06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.406 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:10:38.409 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<presence from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' to='alice_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:10:38.410 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.460 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6fa9781822331983' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.460 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.460 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hcmNoaXZlX2FjdGl2ZV91bnJlYWRfZW50cnlfZ2V0c19hcmNoaXZlZF9hbmRfc3RpbGxfdW5yZWFkXzczMwBtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:10:38.464 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:10:38.464 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.465 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3dd3ee396769fb95' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.465 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@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-02-02 15:10:38.465 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='dc7579f747919a6d232d567e36f7137e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:10:38.465 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq id='dc7579f747919a6d232d567e36f7137e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:10:38.465 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='5348b73c76c47cca2fc9338ec3f6e182'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.466 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq type='result' id='5348b73c76c47cca2fc9338ec3f6e182'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.467 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:10:38.472 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<presence from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' to='bob_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:10:38.472 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<message to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' type='chat' id='22857711f20875795e6efb5d9326a24a'>
<body>Hi Bob</body>
</message>
*** User 2022-02-02 15:10:38.480 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' xml:lang='en' type='chat' id='22857711f20875795e6efb5d9326a24a'>
<body>Hi Bob</body>
</message>
*** User 2022-02-02 15:10:38.480 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='c06b32f0a835715a0dcda0c494d68f27'>
<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-02-02 15:10:38.483 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='f283ecd3-e497-4e5c-83bf-4cd5dbcb4778'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='c06b32f0a835715a0dcda0c494d68f27'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.472874Z'/>
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' type='chat' id='22857711f20875795e6efb5d9326a24a'>
<body>Hi Bob</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-02-02 15:10:38.484 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='c06b32f0a835715a0dcda0c494d68f27' 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-02-02 15:10:38.484 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='4fa2b971cf369be0227d5da12dfa8d52'>
<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com'>
<archive>true</archive>
</query>
</iq>
*** User 2022-02-02 15:10:38.489 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' id='4fa2b971cf369be0227d5da12dfa8d52'>
<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' queryid='4fa2b971cf369be0227d5da12dfa8d52'>
<archive>true</archive>
<read>false</read>
<mute>0</mute>
</x>
</message>
*** User 2022-02-02 15:10:38.489 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='4fa2b971cf369be0227d5da12dfa8d52' type='result'/>
*** User 2022-02-02 15:10:38.489 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='23e7c0f05ab6c0a27f31c49f5b5adbb1'>
<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-02-02 15:10:38.494 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='23e7c0f05ab6c0a27f31c49f5b5adbb1' 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-02-02 15:10:38.494 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
<iq type='set' id='a6124078e30533f56a4928fb0fefb992'>
<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-02-02 15:10:38.497 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<message from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='5fbbf0c3-42a8-4201-ab45-4ba8caf6b340'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a6124078e30533f56a4928fb0fefb992'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.472874Z'/>
<message from='alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' xml:lang='en' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' type='chat' id='22857711f20875795e6efb5d9326a24a'>
<body>Hi Bob</body>
</message>
</forwarded>
<archive>true</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-02-02 15:10:38.497 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
<iq from='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com' to='bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1' id='a6124078e30533f56a4928fb0fefb992' 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-02-02 15:10:38.498 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:10:38.822 ***
bOb_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:10:38.822 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:10:38.823 ***
alicE_archive_active_unread_entry_gets_archived_and_still_unread_733@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:10:38
=== successfully completed test case
=== === Returned value: ok