=== Test case: inbox_extensions_SUITE:read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two/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.read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two.30338.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.395 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.396 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='918a0b31a4ba3b4c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.396 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.396 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlYWRfdW5yZWFkX2VudHJ5X3dpdGhfdHdvX21lc3NhZ2VzX3doZW5fc2V0X3VucmVhZF90aGVuX3VucmVhZF9jb3VudF9zdGF5c19pbl90d29fNzI3AG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:10:38.398 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:10:38.398 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.399 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2601c7733814a462' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.399 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.399 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='7b258247ae3a84aba60f60c3da9e10f3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:10:38.399 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq id='7b258247ae3a84aba60f60c3da9e10f3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:10:38.400 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='559d494ab2936c74ed191d2d143fec6e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.400 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq type='result' id='559d494ab2936c74ed191d2d143fec6e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.400 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:10:38.402 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<presence from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' to='alice_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:10:38.404 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.405 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fb0a0d17f3bcd47' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.405 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.405 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZWFkX3VucmVhZF9lbnRyeV93aXRoX3R3b19tZXNzYWdlc193aGVuX3NldF91bnJlYWRfdGhlbl91bnJlYWRfY291bnRfc3RheXNfaW5fdHdvXzcyNwBtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:10:38.408 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:10:38.408 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.408 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d6c0959cddcf9da' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:10:38.408 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@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.408 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='4c87b4900bd7f49d8040caae72a3da62'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:10:38.409 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq id='4c87b4900bd7f49d8040caae72a3da62' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:10:38.409 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='37089cd42a890aabaa98b59d98eee688'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.410 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq type='result' id='37089cd42a890aabaa98b59d98eee688'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:10:38.410 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:10:38.464 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<presence from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' to='bob_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:10:38.464 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<message to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' type='chat' id='f3fa304c4f71fbd1b0129544c8d51cd5'>
<body>Hi Bob</body>
</message>
*** User 2022-02-02 15:10:38.476 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en' type='chat' id='f3fa304c4f71fbd1b0129544c8d51cd5'>
<body>Hi Bob</body>
</message>
*** User 2022-02-02 15:10:38.476 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<message to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' type='chat' id='c4ee431120162c738aa33290bfbd11b6'>
<body>Hi again Bob</body>
</message>
*** User 2022-02-02 15:10:38.481 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en' type='chat' id='c4ee431120162c738aa33290bfbd11b6'>
<body>Hi again Bob</body>
</message>
*** User 2022-02-02 15:10:38.481 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='bd929ec60228f0ae05751979eaa8d883'>
<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.485 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' id='8c2daea8-fa99-4b95-80c5-07680dba2c9a'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='bd929ec60228f0ae05751979eaa8d883'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.476888Z'/>
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' type='chat' id='c4ee431120162c738aa33290bfbd11b6'>
<body>Hi again Bob</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-02-02 15:10:38.485 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' id='bd929ec60228f0ae05751979eaa8d883' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>2</unread-messages>
</fin>
</iq>
*** User 2022-02-02 15:10:38.485 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='8be5c614d68a09c673de06100c1ad04f'>
<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com'>
<read>false</read>
</query>
</iq>
*** User 2022-02-02 15:10:38.493 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' id='8be5c614d68a09c673de06100c1ad04f'>
<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' queryid='8be5c614d68a09c673de06100c1ad04f'>
<archive>false</archive>
<read>false</read>
<mute>0</mute>
</x>
</message>
*** User 2022-02-02 15:10:38.493 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' id='8be5c614d68a09c673de06100c1ad04f' type='result'/>
*** User 2022-02-02 15:10:38.493 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
<iq type='set' id='255f177b3834b219be7fca528ab27be6'>
<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.500 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<message from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' id='c616e319-a8f4-417f-8912-90e0b33bfe23'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='255f177b3834b219be7fca528ab27be6'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.476888Z'/>
<message from='alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' type='chat' id='c4ee431120162c738aa33290bfbd11b6'>
<body>Hi again Bob</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-02-02 15:10:38.500 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com' to='bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1' id='255f177b3834b219be7fca528ab27be6' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>2</unread-messages>
</fin>
</iq>
*** User 2022-02-02 15:10:38.501 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:10:38.502 ***
bOb_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:10:38.502 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:10:38.560 ***
alicE_read_unread_entry_with_two_messages_when_set_unread_then_unread_count_stays_in_two_727@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:10:38
=== successfully completed test case
=== === Returned value: ok