=== Test case: inbox_extensions_SUITE:read_unread_entry_set_to_read_queryid/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_set_to_read_queryid.30210.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


*** CT 2022-02-02 15:10:38.354 *** View log from node mongooseim@localhost when started mongooseim@localhost_894.html
*** CT 2022-02-02 15:10:38.354 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

*** User 2022-02-02 15:10:38.391 ***
alicE_read_unread_entry_set_to_read_queryid_725@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.391 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6449f595d253ee5f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.391 ***
alicE_read_unread_entry_set_to_read_queryid_725@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.391 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlYWRfdW5yZWFkX2VudHJ5X3NldF90b19yZWFkX3F1ZXJ5aWRfNzI1AG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:10:38.392 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:10:38.392 ***
alicE_read_unread_entry_set_to_read_queryid_725@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.393 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d5a8e96b6c1e319' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.393 ***
alicE_read_unread_entry_set_to_read_queryid_725@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.393 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='3e4fbe90a9ad7cfcc2dbbe3530528b6d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.394 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq id='3e4fbe90a9ad7cfcc2dbbe3530528b6d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.394 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='f2b38ffe3b2d6c989bfb74e4e215b18e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.394 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq type='result' id='f2b38ffe3b2d6c989bfb74e4e215b18e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.394 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:10:38.396 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<presence from='alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' to='alice_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:10:38.398 ***
bOb_read_unread_entry_set_to_read_queryid_725@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.398 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='161706863445e8ae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.399 ***
bOb_read_unread_entry_set_to_read_queryid_725@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.399 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZWFkX3VucmVhZF9lbnRyeV9zZXRfdG9fcmVhZF9xdWVyeWlkXzcyNQBtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:10:38.401 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:10:38.402 ***
bOb_read_unread_entry_set_to_read_queryid_725@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.403 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='224df0d0da9583e2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.403 ***
bOb_read_unread_entry_set_to_read_queryid_725@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.403 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='cc565b087bc5bc46f138c8add2c83661'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.404 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq id='cc565b087bc5bc46f138c8add2c83661' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.404 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='5cb6fba07015b9296ff113cc49d0bd0a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.405 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq type='result' id='5cb6fba07015b9296ff113cc49d0bd0a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.405 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:10:38.408 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<presence from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' to='bob_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:10:38.408 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<message to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' type='chat' id='e37f6ffcc9ac2ed172718e6b2160daa1'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.465 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<message from='alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' xml:lang='en' type='chat' id='e37f6ffcc9ac2ed172718e6b2160daa1'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.465 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='88d842c984940d3527d0f807da07a101'>
	<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.468 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' id='e6155fae-c606-4738-9ad3-9964c68f6b06'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='88d842c984940d3527d0f807da07a101'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.408559Z'/>
			<message from='alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' type='chat' id='e37f6ffcc9ac2ed172718e6b2160daa1'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.469 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' id='88d842c984940d3527d0f807da07a101' 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.469 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='997031640c2c9596fd07505faa7c553c'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com' queryid='1530a9205e6c3294e4de2df987d94af6'>
		<read>true</read>
	</query>
</iq>



*** User 2022-02-02 15:10:38.475 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' id='997031640c2c9596fd07505faa7c553c'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_read_unread_entry_set_to_read_queryid_725@domain.example.com' queryid='1530a9205e6c3294e4de2df987d94af6'>
		<archive>false</archive>
		<read>true</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-02-02 15:10:38.475 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' id='997031640c2c9596fd07505faa7c553c' type='result'/>



*** User 2022-02-02 15:10:38.475 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
<iq type='set' id='4fad07d8a792db6fac27141a64dbe130'>
	<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.479 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' id='179ca127-f0e1-400f-8569-bd07d556d85c'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='4fad07d8a792db6fac27141a64dbe130'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.408559Z'/>
			<message from='alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' type='chat' id='e37f6ffcc9ac2ed172718e6b2160daa1'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.480 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com' to='bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1' id='4fad07d8a792db6fac27141a64dbe130' 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-02-02 15:10:38.480 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:10:38.480 ***
bOb_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:10:38.480 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:10:38.481 ***
alicE_read_unread_entry_set_to_read_queryid_725@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:10:38.482 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:10:38.483 *** View log from node mongooseim@localhost when finished mongooseim@localhost_894.html



=== Ended at 2022-02-02 15:10:38
=== successfully completed test case
=== === Returned value: ok