=== Test case: inbox_extensions_SUITE:read_unread_entry_set_to_read_iq_id_as_fallback/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_iq_id_as_fallback.30082.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.349 *** View log from node mongooseim@localhost when started mongooseim@localhost_893.html
*** CT 2022-02-02 15:10:38.351 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-02-02 15:10:38.386 ***
alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 out
<message to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' type='chat' id='389b611bd311d67c06c5154d92650261'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.389 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<message from='alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' xml:lang='en' type='chat' id='389b611bd311d67c06c5154d92650261'>
	<body>Hi Bob</body>
</message>



*** User 2022-02-02 15:10:38.389 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 out
<iq type='set' id='bd83631e6c0339c7237feaecc5a4983f'>
	<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.390 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' id='1cafe98a-5cea-4cb5-8261-59f8ba8c0125'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='bd83631e6c0339c7237feaecc5a4983f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.387073Z'/>
			<message from='alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' type='chat' id='389b611bd311d67c06c5154d92650261'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.391 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' id='bd83631e6c0339c7237feaecc5a4983f' 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.391 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 out
<iq type='set' id='a348a1da1a771d575d22228c04c7a9e1'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com'>
		<read>true</read>
	</query>
</iq>



*** User 2022-02-02 15:10:38.393 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' id='a348a1da1a771d575d22228c04c7a9e1'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' queryid='a348a1da1a771d575d22228c04c7a9e1'>
		<archive>false</archive>
		<read>true</read>
		<mute>0</mute>
	</x>
</message>



*** User 2022-02-02 15:10:38.393 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' id='a348a1da1a771d575d22228c04c7a9e1' type='result'/>



*** User 2022-02-02 15:10:38.393 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 out
<iq type='set' id='fdbe5ee22f4490d24306e8cbc8b4fc38'>
	<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.395 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<message from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' id='dfaff78d-5128-4179-81e6-e58a59379d2b'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='fdbe5ee22f4490d24306e8cbc8b4fc38'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:10:38.387073Z'/>
			<message from='alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' xml:lang='en' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' type='chat' id='389b611bd311d67c06c5154d92650261'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-02 15:10:38.395 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
<iq from='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com' to='bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1' id='fdbe5ee22f4490d24306e8cbc8b4fc38' 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.395 ***
bOb_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 out
</stream:stream>

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

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

*** User 2022-02-02 15:10:38.397 ***
alicE_read_unread_entry_set_to_read_iq_id_as_fallback_724@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:10:38.403 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:10:38.404 *** 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