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

=== Config value:

    [{watchdog,<0.6243.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,mnesia},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/privacy_suite.block_jid_message.50050.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:31


*** CT 2022-03-03 10:36:31.767 *** View log from node mongooseim@localhost when started mongooseim@localhost_4524.html
*** CT 2022-03-03 10:36:31.767 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:36:31.789 ***
alicE_block_jid_message_1022@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-03 10:36:31.790 ***
alicE_block_jid_message_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c22bc3bde25dbd49' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.790 ***
alicE_block_jid_message_1022@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>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-03 10:36:31.790 ***
alicE_block_jid_message_1022@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlXzEwMjIAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:36:31.792 ***
alicE_block_jid_message_1022@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:31.792 ***
alicE_block_jid_message_1022@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-03 10:36:31.792 ***
alicE_block_jid_message_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82131e882f00b623' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.792 ***
alicE_block_jid_message_1022@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-03 10:36:31.792 ***
alicE_block_jid_message_1022@localhost/res1 out
<iq type='set' id='51963aeaa8658286cb02572f21a6a094'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq id='51963aeaa8658286cb02572f21a6a094' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_message_1022@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_1022@localhost/res1 out
<iq type='set' id='b3a725bdb8942ebb3e405728a50983a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq type='result' id='b3a725bdb8942ebb3e405728a50983a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_1022@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:31.794 ***
alicE_block_jid_message_1022@localhost/res1 in
<presence from='alicE_block_jid_message_1022@localhost/res1' to='alice_block_jid_message_1022@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:31.795 ***
bOb_block_jid_message_1022@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-03 10:36:31.796 ***
bOb_block_jid_message_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32b22b22fb9e7903' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.796 ***
bOb_block_jid_message_1022@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>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-03 10:36:31.796 ***
bOb_block_jid_message_1022@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV8xMDIyAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:31.798 ***
bOb_block_jid_message_1022@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:31.799 ***
bOb_block_jid_message_1022@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-03 10:36:31.799 ***
bOb_block_jid_message_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e31d9e39a66aaf10' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.799 ***
bOb_block_jid_message_1022@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-03 10:36:31.799 ***
bOb_block_jid_message_1022@localhost/res1 out
<iq type='set' id='a27a2966f879622cf44a1ff2673d575a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_jid_message_1022@localhost/res1 in
<iq id='a27a2966f879622cf44a1ff2673d575a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_message_1022@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_jid_message_1022@localhost/res1 out
<iq type='set' id='fb418ee727ae1ec9fa8afb15dff58324'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_jid_message_1022@localhost/res1 in
<iq type='result' id='fb418ee727ae1ec9fa8afb15dff58324'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_jid_message_1022@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:31.801 ***
bOb_block_jid_message_1022@localhost/res1 in
<presence from='bOb_block_jid_message_1022@localhost/res1' to='bob_block_jid_message_1022@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:31.801 ***
bOb_block_jid_message_1022@localhost/res1 out
<message to='alicE_block_jid_message_1022@localhost/res1' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-03-03 10:36:31.802 ***
alicE_block_jid_message_1022@localhost/res1 in
<message from='bOb_block_jid_message_1022@localhost/res1' to='alicE_block_jid_message_1022@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-03-03 10:36:31.802 ***
alicE_block_jid_message_1022@localhost/res1 out
<iq type='set' id='cb7f45b5adda96d72023e3acb80d1175'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item order='1' type='jid' value='bOb_block_jid_message_1022@localhost' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-03 10:36:31.803 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq from='alicE_block_jid_message_1022@localhost' to='alicE_block_jid_message_1022@localhost/res1' id='push5b7e046806be8bef' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.803 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq from='alicE_block_jid_message_1022@localhost' to='alicE_block_jid_message_1022@localhost/res1' id='cb7f45b5adda96d72023e3acb80d1175' type='result'/>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_jid_message_1022@localhost/res1 out
<iq type='get' id='fb77473a422ae21fc9f7b1c6b572707c'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq from='alicE_block_jid_message_1022@localhost' to='alicE_block_jid_message_1022@localhost/res1' id='fb77473a422ae21fc9f7b1c6b572707c' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item type='jid' value='bob_block_jid_message_1022@localhost' action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-03 10:36:31.805 ***
alicE_block_jid_message_1022@localhost/res1 out
<iq type='set' id='37518519095f1e5af7d29ec91be8d399'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.805 ***
alicE_block_jid_message_1022@localhost/res1 in
<iq from='alicE_block_jid_message_1022@localhost' to='alicE_block_jid_message_1022@localhost/res1' id='37518519095f1e5af7d29ec91be8d399' type='result'/>



*** User 2022-03-03 10:36:31.805 ***
bOb_block_jid_message_1022@localhost/res1 out
<message to='alicE_block_jid_message_1022@localhost/res1' type='chat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-03-03 10:36:31.806 ***
bOb_block_jid_message_1022@localhost/res1 in
<message from='alicE_block_jid_message_1022@localhost/res1' to='bOb_block_jid_message_1022@localhost/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-03 10:36:31.857 ***
alicE_block_jid_message_1022@localhost/res1 out
<message to='bOb_block_jid_message_1022@localhost/res1' type='chat'>
	<body>Hi, Bobbb!</body>
</message>



*** User 2022-03-03 10:36:31.858 ***
bOb_block_jid_message_1022@localhost/res1 in
<message from='alicE_block_jid_message_1022@localhost/res1' to='bOb_block_jid_message_1022@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi, Bobbb!</body>
</message>



*** User 2022-03-03 10:36:31.858 ***
bOb_block_jid_message_1022@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:31.858 ***
bOb_block_jid_message_1022@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:31.858 ***
alicE_block_jid_message_1022@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:31.858 ***
alicE_block_jid_message_1022@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:31.861 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:31.862 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:36:31
=== successfully completed test case
=== === Returned value: ok