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

=== Config value:

    [{watchdog,<0.19382.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.57/inbox_suite.try_to_reset_unread_counter_with_bad_marker.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.57/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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@88d84ff17c71.2022-03-04_11.16.52"

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


*** CT 2022-03-04 11:19:59.986 *** View log from node mongooseim@localhost when started mongooseim@localhost_916.html
*** CT 2022-03-04 11:19:59.986 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:20:00.013 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.014 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c2acd5918889124' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:00.014 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.014 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdHJ5X3RvX3Jlc2V0X3VucmVhZF9jb3VudGVyX3dpdGhfYmFkX21hcmtlcl83OTMAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:20:00.016 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:20:00.016 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.016 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='018e758669918ae4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:00.016 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.016 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='55736ed1fceb9525df465f4b36a4a44f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:20:00.017 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq id='55736ed1fceb9525df465f4b36a4a44f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:20:00.017 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='fe9c662b2a0f57276fcd9d67caae7d12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:00.017 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq type='result' id='fe9c662b2a0f57276fcd9d67caae7d12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:00.017 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:20:00.020 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<presence from='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' to='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:20:00.020 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.021 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ec1dd98691d4505' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:00.021 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.021 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfdHJ5X3RvX3Jlc2V0X3VucmVhZF9jb3VudGVyX3dpdGhfYmFkX21hcmtlcl83OTMAbmljbmllbWE=</auth>



*** User 2022-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='181676220b59a227' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@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-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='96641c10a2bf985804bedbb2f2fcab82'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq id='96641c10a2bf985804bedbb2f2fcab82' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:20:00.023 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='564c7643d25e8f625008b0cc1ffd3f8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:00.024 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq type='result' id='564c7643d25e8f625008b0cc1ffd3f8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:00.024 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:20:00.026 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<presence from='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:20:00.026 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<message to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' type='chat' id='111'>
	<body>okey dockey</body>
</message>



*** User 2022-03-04 11:20:00.050 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<message from='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' xml:lang='en' type='chat' id='111'>
	<body>okey dockey</body>
</message>



*** User 2022-03-04 11:20:00.050 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='750db59a0c6920cc467323332af908b1'>
	<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:20:00.052 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<message from='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' id='bd47f834-ead6-4036-897c-a50edfcf5446'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='750db59a0c6920cc467323332af908b1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:20:00.026638Z'/>
			<message from='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' xml:lang='en' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' type='chat' id='111'>
				<body>okey dockey</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:20:00.052 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq from='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' id='750db59a0c6920cc467323332af908b1' 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:20:00.052 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<message to='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='badId'/>
</message>



*** User 2022-03-04 11:20:00.053 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
<iq type='set' id='7ca376e90a060823b8819bea32927520'>
	<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:20:00.055 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<message from='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' id='f08d2974-abf8-4ec1-8076-48143f041ee7'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='7ca376e90a060823b8819bea32927520'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:20:00.026638Z'/>
			<message from='kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' xml:lang='en' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' type='chat' id='111'>
				<body>okey dockey</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:20:00.055 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
<iq from='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com' to='mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1' id='7ca376e90a060823b8819bea32927520' 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:20:00.055 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:20:00.056 ***
mike_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:20:00.056 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:20:00.056 ***
kate_try_to_reset_unread_counter_with_bad_marker_793@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:20:00.057 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:20:00.058 *** View log from node mongooseim@localhost when finished mongooseim@localhost_916.html



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


Test run history | Top level test index | Latest test result