=== Test case: inbox_extensions_SUITE:mute_unmuted_entry_gets_muted/1 (click for source code)

=== Config value:

    [{watchdog,<0.26215.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 8},
                   backend => rdbms,bin_clean_after => 3600000,bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   groupchat => [muclight],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_extensions_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-05-25_09.07.32/inbox_extensions_suite.mute_unmuted_entry_gets_muted.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[[{name,regular}]]},
     {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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-05-25_09.07.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:07:50


*** CT 2022-05-25 09:07:50.716 *** View log from node mongooseim@localhost when started mongooseim@localhost_1678.html
*** CT 2022-05-25 09:07:50.716 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_424.html

*** User 2022-05-25 09:07:50.722 ***
alicE_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.722 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d2893b0601c6c65' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:50.722 ***
alicE_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.722 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211dGVfdW5tdXRlZF9lbnRyeV9nZXRzX211dGVkXzEwNDUAbWF0eWdyeXNh</auth>



*** User 2022-05-25 09:07:50.723 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:50.723 ***
alicE_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.724 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1eedb7cf43cb2862' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:50.724 ***
alicE_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.724 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='8fdf5e7c37810cc9e8915618375a6729'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:50.724 ***
alicE_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq id='8fdf5e7c37810cc9e8915618375a6729' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:50.724 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='3101011ce475aa62c27d09dd5f87e0c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:50.724 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq type='result' id='3101011ce475aa62c27d09dd5f87e0c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:50.724 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:50.726 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<presence from='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' to='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:50.726 ***
bOb_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.727 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eba348c6ba9491f3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:50.727 ***
bOb_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.727 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tdXRlX3VubXV0ZWRfZW50cnlfZ2V0c19tdXRlZF8xMDQ1AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 09:07:50.728 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:07:50.728 ***
bOb_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.728 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d333f1b892e3128c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:07:50.728 ***
bOb_mute_unmuted_entry_gets_muted_1045@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-05-25 09:07:50.728 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='6379e5795b322e42368ae9ffb0e7702b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:07:50.729 ***
bOb_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq id='6379e5795b322e42368ae9ffb0e7702b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:07:50.729 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='051d54ae3b67fac9d0feb8a3cc631788'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:50.729 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq type='result' id='051d54ae3b67fac9d0feb8a3cc631788'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:07:50.729 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:07:50.730 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<presence from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:07:50.730 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<message to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' type='chat' id='e97fbae7d1a7b3747251c2fafe399e89'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:50.734 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<message from='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en' type='chat' id='e97fbae7d1a7b3747251c2fafe399e89'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:50.734 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<message to='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='e97fbae7d1a7b3747251c2fafe399e89'/>
</message>



*** User 2022-05-25 09:07:50.734 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='fed9294831b1e552522d1e715489630b'>
	<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-05-25 09:07:50.737 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<message from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' id='1653-469670-736690'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='fed9294831b1e552522d1e715489630b'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:50.730867Z'/>
			<message from='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' type='chat' id='e97fbae7d1a7b3747251c2fafe399e89'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-05-25 09:07:50.737 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' id='fed9294831b1e552522d1e715489630b' 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-05-25 09:07:50.737 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='adaace2342cc8dc866e2fc2c6c6bd12d'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com'>
		<mute>86400</mute>
	</query>
</iq>



*** User 2022-05-25 09:07:50.740 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<message from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' id='adaace2342cc8dc866e2fc2c6c6bd12d'>
	<x xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com' queryid='adaace2342cc8dc866e2fc2c6c6bd12d'>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>2022-05-26T09:07:50.737446Z</mute>
	</x>
</message>



*** User 2022-05-25 09:07:50.740 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' id='adaace2342cc8dc866e2fc2c6c6bd12d' type='result'/>



*** User 2022-05-25 09:07:50.740 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<message to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' type='chat' id='e8395faf33ee17252b9e671b1d115b04'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:50.743 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<message from='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en' type='chat' id='e8395faf33ee17252b9e671b1d115b04'>
	<body>Hi Bob</body>
</message>



*** User 2022-05-25 09:07:50.743 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
<iq type='set' id='359805e573d691fbfddd9e6c6b3ff75a'>
	<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-05-25 09:07:50.744 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<message from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' id='1653-469670-744281'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='359805e573d691fbfddd9e6c6b3ff75a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T09:07:50.740563Z'/>
			<message from='alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' xml:lang='en' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' type='chat' id='e8395faf33ee17252b9e671b1d115b04'>
				<body>Hi Bob</body>
			</message>
		</forwarded>
		<box>inbox</box>
		<archive>false</archive>
		<mute>2022-05-26T09:07:50.737446Z</mute>
	</result>
</message>



*** User 2022-05-25 09:07:50.744 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
<iq from='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com' to='bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1' id='359805e573d691fbfddd9e6c6b3ff75a' 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-05-25 09:07:50.744 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:50.770 ***
bob_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:07:50.770 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:07:50.771 ***
alice_mute_unmuted_entry_gets_muted_1045@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:07:50.772 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_424.html
*** CT 2022-05-25 09:07:50.773 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1678.html



=== Ended at 2022-05-25 09:07:50
=== successfully completed test case
=== === Returned value: ok


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