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

=== Config value:

    [{watchdog,<0.4759.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.32.07/privacy_suite.block_jid_presence_in.22660.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.32.07/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:32:07


*** CT 2022-01-27 15:32:07.576 *** View log from node mongooseim@localhost when started mongooseim@localhost_4514.html
*** CT 2022-01-27 15:32:07.577 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:32:07.596 ***
alicE_block_jid_presence_in_869@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-01-27 15:32:07.596 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f68e5c3ac72f1a6c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:07.596 ***
alicE_block_jid_presence_in_869@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-01-27 15:32:07.596 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9wcmVzZW5jZV9pbl84NjkAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:32:07.598 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:07.598 ***
alicE_block_jid_presence_in_869@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-01-27 15:32:07.598 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3a88b6a91cc919c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:07.598 ***
alicE_block_jid_presence_in_869@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-01-27 15:32:07.598 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='9566e7affcfc611378b413ef6e17bf85'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:07.599 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq id='9566e7affcfc611378b413ef6e17bf85' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_presence_in_869@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:07.599 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='8fa0cdddf935f575427f6298a10cdd31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:07.599 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq type='result' id='8fa0cdddf935f575427f6298a10cdd31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:07.599 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:07.600 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<presence from='alicE_block_jid_presence_in_869@localhost/res1' to='alice_block_jid_presence_in_869@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:07.601 ***
bOb_block_jid_presence_in_869@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-01-27 15:32:07.601 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22c393fd27acf13f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:07.602 ***
bOb_block_jid_presence_in_869@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-01-27 15:32:07.602 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfcHJlc2VuY2VfaW5fODY5AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:32:07.604 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:07.604 ***
bOb_block_jid_presence_in_869@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-01-27 15:32:07.604 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58930141d6e4279f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:07.604 ***
bOb_block_jid_presence_in_869@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-01-27 15:32:07.605 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='d22ca32cfd62cc77517a067ba44c34f9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:07.605 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<iq id='d22ca32cfd62cc77517a067ba44c34f9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_presence_in_869@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:07.605 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='2755bc6ab505e57bf2d86320f69371fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:07.605 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<iq type='result' id='2755bc6ab505e57bf2d86320f69371fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:07.606 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:07.606 ***
bOb_block_jid_presence_in_869@localhost/res1 in
<presence from='bOb_block_jid_presence_in_869@localhost/res1' to='bob_block_jid_presence_in_869@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:07.606 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<presence to='alicE_block_jid_presence_in_869@localhost'/>



*** User 2022-01-27 15:32:07.607 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<presence from='bOb_block_jid_presence_in_869@localhost/res1' to='alicE_block_jid_presence_in_869@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:07.607 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='cded97a104a499d3b04aa797e68aaeed'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item order='1' type='jid' value='bOb_block_jid_presence_in_869@localhost' action='deny'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:32:07.608 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq from='alicE_block_jid_presence_in_869@localhost' to='alicE_block_jid_presence_in_869@localhost/res1' id='push1c07111b599e1d8b' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:32:07.608 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq from='alicE_block_jid_presence_in_869@localhost' to='alicE_block_jid_presence_in_869@localhost/res1' id='cded97a104a499d3b04aa797e68aaeed' type='result'/>



*** User 2022-01-27 15:32:07.608 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<iq type='get' id='79c20228350121152544e94ee132b4ba'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:32:07.609 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq from='alicE_block_jid_presence_in_869@localhost' to='alicE_block_jid_presence_in_869@localhost/res1' id='79c20228350121152544e94ee132b4ba' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item type='jid' value='bob_block_jid_presence_in_869@localhost' action='deny' order='1'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:32:07.609 ***
alicE_block_jid_presence_in_869@localhost/res1 out
<iq type='set' id='1690e639acd5dc8a777ebf78a3f3a3ca'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:32:07.610 ***
alicE_block_jid_presence_in_869@localhost/res1 in
<iq from='alicE_block_jid_presence_in_869@localhost' to='alicE_block_jid_presence_in_869@localhost/res1' id='1690e639acd5dc8a777ebf78a3f3a3ca' type='result'/>



*** User 2022-01-27 15:32:07.610 ***
bOb_block_jid_presence_in_869@localhost/res1 out
<presence to='alicE_block_jid_presence_in_869@localhost'/>



*** User 2022-01-27 15:32:07.660 ***
bOb_block_jid_presence_in_869@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:07.669 ***
bOb_block_jid_presence_in_869@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:07.669 ***
alicE_block_jid_presence_in_869@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:07.669 ***
alicE_block_jid_presence_in_869@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:07.675 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:32:07.675 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4514.html



=== Ended at 2022-01-27 15:32:07
=== successfully completed test case
=== === Returned value: ok