=== Test case: inbox_SUITE:try_to_reset_unread_counter_with_bad_marker/1 (click for source code)

=== Config value:

    [{watchdog,<0.20249.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[]},
                  {reset_markers,[<<"displayed">>]}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/inbox_suite.try_to_reset_unread_counter_with_bad_marker.11909.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_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:19:26


*** CT 2022-03-04 11:19:26.551 *** View log from node mongooseim@localhost when started mongooseim@localhost_938.html
*** CT 2022-03-04 11:19:26.553 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-03-04 11:19:26.600 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:26.601 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51607617ab6d20a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:26.601 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/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-04 11:19:26.601 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdHJ5X3RvX3Jlc2V0X3VucmVhZF9jb3VudGVyX3dpdGhfYmFkX21hcmtlcl83NTcAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:19:26.604 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:26.604 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:26.605 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9a85eee7857d297' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:26.605 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/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-04 11:19:26.605 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='1c411220136c8a5478f785039c319bcb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:26.607 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq id='1c411220136c8a5478f785039c319bcb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:26.607 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='167948baafe322468728e541079c509d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:26.608 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq type='result' id='167948baafe322468728e541079c509d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:26.608 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:26.652 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<presence from='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' to='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:26.653 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:26.654 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a2eed4420bb65be' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:26.655 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/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-04 11:19:26.655 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfdHJ5X3RvX3Jlc2V0X3VucmVhZF9jb3VudGVyX3dpdGhfYmFkX21hcmtlcl83NTcAbmljbmllbWE=</auth>



*** User 2022-03-04 11:19:26.656 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:26.657 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:26.658 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2619392c7a3c5f7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:26.658 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/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-04 11:19:26.658 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='34e60c549daec882ce29a297e1b939bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:26.659 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq id='34e60c549daec882ce29a297e1b939bc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:26.659 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='11f8a6cc3eb0c93cfc37ef4a3267c64d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:26.660 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq type='result' id='11f8a6cc3eb0c93cfc37ef4a3267c64d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:26.660 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:26.669 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<presence from='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:26.669 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<message to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' type='chat' id='111'>
	<body>okey dockey</body>
</message>



*** User 2022-03-04 11:19:26.681 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<message from='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' xml:lang='en' type='chat' id='111'>
	<body>okey dockey</body>
</message>



*** User 2022-03-04 11:19:26.681 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='a6d7239012a340c262b9aaf2f20512b1'>
	<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-04 11:19:26.693 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<message from='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' id='c706399a-ac3d-4130-8224-0fb9275cb05b'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='a6d7239012a340c262b9aaf2f20512b1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:26.670644Z'/>
			<message from='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' xml:lang='en' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' type='chat' id='111'>
				<body>okey dockey</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:26.693 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq from='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' id='a6d7239012a340c262b9aaf2f20512b1' 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-04 11:19:26.700 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<message to='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='badId'/>
</message>



*** User 2022-03-04 11:19:26.701 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
<iq type='set' id='14c3d7e50b661597d0a88d4d8315ba4a'>
	<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-04 11:19:26.706 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<message from='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' id='ab539e65-9717-4d54-b121-ce1a05d39e6c'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='14c3d7e50b661597d0a88d4d8315ba4a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:26.670644Z'/>
			<message from='kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' xml:lang='en' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' type='chat' id='111'>
				<body>okey dockey</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:26.706 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
<iq from='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost' to='mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1' id='14c3d7e50b661597d0a88d4d8315ba4a' 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-04 11:19:26.706 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:26.707 ***
mike_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:26.707 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:26.708 ***
kate_try_to_reset_unread_counter_with_bad_marker_757@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:26.756 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-03-04 11:19:26.757 *** View log from node mongooseim@localhost when finished mongooseim@localhost_938.html



=== Ended at 2022-03-04 11:19:26
=== successfully completed test case
=== === Returned value: ok