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

=== Config value:

    [{watchdog,<0.32180.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.privacy_SUITE.logs/run.2022-01-25_16.32.30/privacy_suite.block_jid_presence_in.66820.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.privacy_SUITE.logs/run.2022-01-25_16.32.30/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 => [{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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:31


*** CT 2022-01-25 16:32:31.025 *** View log from node mongooseim@localhost when started mongooseim@localhost_5463.html
*** CT 2022-01-25 16:32:31.025 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:31.052 ***
alicE_block_jid_presence_in_1938@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-25 16:32:31.053 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='794f71ed173fb153' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.053 ***
alicE_block_jid_presence_in_1938@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>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-01-25 16:32:31.053 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9wcmVzZW5jZV9pbl8xOTM4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:32:31.054 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:31.054 ***
alicE_block_jid_presence_in_1938@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-25 16:32:31.055 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9656d0f668ef43d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.055 ***
alicE_block_jid_presence_in_1938@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-25 16:32:31.055 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='30bfc8ec638cc1378cdd844e740549cb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.055 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq id='30bfc8ec638cc1378cdd844e740549cb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_presence_in_1938@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.055 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='95726437cc2c0a28b29b8d8194df2ef7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.056 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq type='result' id='95726437cc2c0a28b29b8d8194df2ef7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.056 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:31.060 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<presence from='alicE_block_jid_presence_in_1938@localhost/res1' to='alice_block_jid_presence_in_1938@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:31.062 ***
bOb_block_jid_presence_in_1938@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-25 16:32:31.062 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='899f2e32b67f5ce1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.062 ***
bOb_block_jid_presence_in_1938@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>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-01-25 16:32:31.063 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfcHJlc2VuY2VfaW5fMTkzOABtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:31.064 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:31.064 ***
bOb_block_jid_presence_in_1938@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-25 16:32:31.064 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cf5fdad8c119a2a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.064 ***
bOb_block_jid_presence_in_1938@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-25 16:32:31.064 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='f6978d2dfc150420080957fe2a84a936'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.065 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<iq id='f6978d2dfc150420080957fe2a84a936' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_presence_in_1938@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.065 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='4a7609bca1d4c2cff51f81ee83f78889'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.065 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<iq type='result' id='4a7609bca1d4c2cff51f81ee83f78889'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.065 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:31.069 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1938@localhost/res1' to='bob_block_jid_presence_in_1938@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:31.069 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1938@localhost'/>



*** User 2022-01-25 16:32:31.069 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1938@localhost/res1' to='alicE_block_jid_presence_in_1938@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:31.069 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='c46e61082a84e799afc313886232b729'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item order='1' type='jid' value='bOb_block_jid_presence_in_1938@localhost' action='deny'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-25 16:32:31.130 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1938@localhost' to='alicE_block_jid_presence_in_1938@localhost/res1' id='push2d97e0213e9fd680' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.130 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1938@localhost' to='alicE_block_jid_presence_in_1938@localhost/res1' id='c46e61082a84e799afc313886232b729' type='result'/>



*** User 2022-01-25 16:32:31.130 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<iq type='get' id='85c32f0946acfc3ca1fe60b50a7c2242'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.133 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1938@localhost' to='alicE_block_jid_presence_in_1938@localhost/res1' id='85c32f0946acfc3ca1fe60b50a7c2242' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item type='jid' value='bob_block_jid_presence_in_1938@localhost' action='deny' order='1'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-25 16:32:31.133 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
<iq type='set' id='ebdc9a73726328be5546a899f58fcdf4'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.135 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1938@localhost' to='alicE_block_jid_presence_in_1938@localhost/res1' id='ebdc9a73726328be5546a899f58fcdf4' type='result'/>



*** User 2022-01-25 16:32:31.135 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1938@localhost'/>



*** User 2022-01-25 16:32:31.186 ***
bOb_block_jid_presence_in_1938@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:31.187 ***
bOb_block_jid_presence_in_1938@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:31.187 ***
alicE_block_jid_presence_in_1938@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:31.187 ***
alicE_block_jid_presence_in_1938@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:31.193 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:31.230 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5463.html



=== Ended at 2022-01-25 16:32:31
=== successfully completed test case
=== === Returned value: ok