=== Test case: inbox_SUITE:reset_unread_counter_with_reset_chat_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.reset_unread_counter_with_reset_chat_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.783 *** View log from node mongooseim@localhost when started mongooseim@localhost_916.html
*** CT 2022-03-04 11:19:59.784 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

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

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



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



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

*** User 2022-03-04 11:19:59.820 ***
kate_reset_unread_counter_with_reset_chat_marker_791@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:19:59.820 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<iq type='set' id='38e929938b14ec558badbc8cebd3e3ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.821 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<iq id='38e929938b14ec558badbc8cebd3e3ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-03-04 11:19:59.821 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<presence/>



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



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

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



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



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

*** User 2022-03-04 11:19:59.827 ***
mike_reset_unread_counter_with_reset_chat_marker_791@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:19:59.827 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<iq type='set' id='36f4c9beeaf9d96204bf074048cf123a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.827 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<iq id='36f4c9beeaf9d96204bf074048cf123a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-03-04 11:19:59.828 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<presence/>



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



*** User 2022-03-04 11:19:59.830 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<message to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' type='chat' id='cd1f159e1a45a1cad11b8fdbc01fd3b1'>
	<body>Hi mike</body>
</message>



*** User 2022-03-04 11:19:59.849 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<message from='kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' xml:lang='en' type='chat' id='cd1f159e1a45a1cad11b8fdbc01fd3b1'>
	<body>Hi mike</body>
</message>



*** User 2022-03-04 11:19:59.849 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<iq type='set' id='962e75235c12660f3d4ae561b67b617a'>
	<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:59.851 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<message from='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' id='ce1ddc41-7447-4b7e-b4c0-b16ad3e8ff6b'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='962e75235c12660f3d4ae561b67b617a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:59.830890Z'/>
			<message from='kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' type='chat' id='cd1f159e1a45a1cad11b8fdbc01fd3b1'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:59.851 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' id='962e75235c12660f3d4ae561b67b617a' 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:59.851 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<message to='kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='cd1f159e1a45a1cad11b8fdbc01fd3b1'/>
</message>



*** User 2022-03-04 11:19:59.851 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
<iq type='set' id='6f8e62ebc3d98f06f5d64425a5241f07'>
	<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:59.861 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<message from='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' id='e0b015b5-b6fb-45b5-bfc1-2b4806b19eb1'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='6f8e62ebc3d98f06f5d64425a5241f07'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:59.830890Z'/>
			<message from='kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' type='chat' id='cd1f159e1a45a1cad11b8fdbc01fd3b1'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:59.861 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com' to='mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1' id='6f8e62ebc3d98f06f5d64425a5241f07' 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-03-04 11:19:59.862 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:19:59.862 ***
mike_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:19:59.862 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:19:59.862 ***
kate_reset_unread_counter_with_reset_chat_marker_791@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:59.864 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:19:59.865 *** View log from node mongooseim@localhost when finished mongooseim@localhost_916.html



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


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