=== Test case: privacy_SUITE:block_jid_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.25523.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_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.privacy_SUITE.logs/run.2022-03-04_11.24.51/privacy_suite.block_jid_message.64516.html"},
     {tc_group_properties,[{name,blocking},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/privacy_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.24.51/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:24:51


*** CT 2022-03-04 11:24:51.858 *** View log from node mongooseim@localhost when started mongooseim@localhost_2402.html
*** CT 2022-03-04 11:24:51.859 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

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

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



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



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

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



*** User 2022-03-04 11:24:51.895 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq id='7c2bc7d42d6fc0d22a7950dabcf0f9d6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_message_1767@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:51.895 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<iq type='set' id='43c24333d3d5e7caa57890af42904836'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:51.896 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq type='result' id='43c24333d3d5e7caa57890af42904836'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:51.896 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:51.899 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<presence from='alicE_block_jid_message_1767@domain.example.com/res1' to='alice_block_jid_message_1767@domain.example.com/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-03-04 11:24:51.902 ***
bOb_block_jid_message_1767@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:24:51.902 ***
bOb_block_jid_message_1767@domain.example.com/res1 out
<iq type='set' id='96f97038cc98bae855ca8df34c395dd7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:51.903 ***
bOb_block_jid_message_1767@domain.example.com/res1 in
<iq id='96f97038cc98bae855ca8df34c395dd7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_message_1767@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-03-04 11:24:51.904 ***
bOb_block_jid_message_1767@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:51.906 ***
bOb_block_jid_message_1767@domain.example.com/res1 in
<presence from='bOb_block_jid_message_1767@domain.example.com/res1' to='bob_block_jid_message_1767@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:51.906 ***
bOb_block_jid_message_1767@domain.example.com/res1 out
<message to='alicE_block_jid_message_1767@domain.example.com/res1' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-03-04 11:24:51.907 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<message from='bOb_block_jid_message_1767@domain.example.com/res1' to='alicE_block_jid_message_1767@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-03-04 11:24:51.907 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<iq type='set' id='7c0383a682c810b53b6a0b5fe492a25d'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item order='1' type='jid' value='bOb_block_jid_message_1767@domain.example.com' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:51.940 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq from='alicE_block_jid_message_1767@domain.example.com' to='alicE_block_jid_message_1767@domain.example.com/res1' id='push52281946ac9d2109' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-04 11:24:51.940 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq from='alicE_block_jid_message_1767@domain.example.com' to='alicE_block_jid_message_1767@domain.example.com/res1' id='7c0383a682c810b53b6a0b5fe492a25d' type='result'/>



*** User 2022-03-04 11:24:51.940 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<iq type='get' id='1aee7faf6803812447b171df9be61e1b'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-04 11:24:51.942 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq from='alicE_block_jid_message_1767@domain.example.com' to='alicE_block_jid_message_1767@domain.example.com/res1' id='1aee7faf6803812447b171df9be61e1b' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item type='jid' value='bob_block_jid_message_1767@domain.example.com' action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:51.942 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<iq type='set' id='b9038962caf496618ab0189eb4fca342'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-04 11:24:51.945 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
<iq from='alicE_block_jid_message_1767@domain.example.com' to='alicE_block_jid_message_1767@domain.example.com/res1' id='b9038962caf496618ab0189eb4fca342' type='result'/>



*** User 2022-03-04 11:24:51.945 ***
bOb_block_jid_message_1767@domain.example.com/res1 out
<message to='alicE_block_jid_message_1767@domain.example.com/res1' type='chat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-03-04 11:24:51.946 ***
bOb_block_jid_message_1767@domain.example.com/res1 in
<message from='alicE_block_jid_message_1767@domain.example.com/res1' to='bOb_block_jid_message_1767@domain.example.com/res1' type='error' xml:lang='en'>
	<body>Hi, Alice!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-03-04 11:24:51.996 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
<message to='bOb_block_jid_message_1767@domain.example.com/res1' type='chat'>
	<body>Hi, Bobbb!</body>
</message>



*** User 2022-03-04 11:24:51.997 ***
bOb_block_jid_message_1767@domain.example.com/res1 in
<message from='alicE_block_jid_message_1767@domain.example.com/res1' to='bOb_block_jid_message_1767@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bobbb!</body>
</message>



*** User 2022-03-04 11:24:51.997 ***
bOb_block_jid_message_1767@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:51.998 ***
bOb_block_jid_message_1767@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:51.998 ***
alicE_block_jid_message_1767@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:51.998 ***
alicE_block_jid_message_1767@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:52.003 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:52.003 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2402.html



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