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

=== Config value:

    [{watchdog,<0.2040.2>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.25.52/privacy_suite.block_jid_presence_in.143106.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.25.52/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:25:53


*** CT 2022-03-04 11:25:53.253 *** View log from node mongooseim@localhost when started mongooseim@localhost_5545.html
*** CT 2022-03-04 11:25:53.254 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:25:53.282 ***
alicE_block_jid_presence_in_1735@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-04 11:25:53.282 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a518b99068c4e0c3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.282 ***
alicE_block_jid_presence_in_1735@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-03-04 11:25:53.282 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9wcmVzZW5jZV9pbl8xNzM1AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:25:53.284 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:53.284 ***
alicE_block_jid_presence_in_1735@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-04 11:25:53.285 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d38e5d81373a712d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.285 ***
alicE_block_jid_presence_in_1735@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-04 11:25:53.285 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='c252df73acdc8bd598f0945a8af1a5df'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.286 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq id='c252df73acdc8bd598f0945a8af1a5df' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_presence_in_1735@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.286 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='6fffe75f8d1b75141e69ee92345cc461'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.287 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq type='result' id='6fffe75f8d1b75141e69ee92345cc461'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.287 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:53.289 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<presence from='alicE_block_jid_presence_in_1735@localhost/res1' to='alice_block_jid_presence_in_1735@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:53.290 ***
bOb_block_jid_presence_in_1735@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-04 11:25:53.290 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43fd9a42b1f9e305' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.291 ***
bOb_block_jid_presence_in_1735@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-03-04 11:25:53.291 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfcHJlc2VuY2VfaW5fMTczNQBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:25:53.292 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:53.292 ***
bOb_block_jid_presence_in_1735@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-04 11:25:53.293 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ce8034b1d888664' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.293 ***
bOb_block_jid_presence_in_1735@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-04 11:25:53.293 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='8f95909ff69e1c9a1cbb58264857eb67'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.293 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<iq id='8f95909ff69e1c9a1cbb58264857eb67' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_presence_in_1735@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.294 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='dc4eb6016381b93fb07968f664e2b182'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.294 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<iq type='result' id='dc4eb6016381b93fb07968f664e2b182'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.294 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:53.299 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1735@localhost/res1' to='bob_block_jid_presence_in_1735@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:53.299 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1735@localhost'/>



*** User 2022-03-04 11:25:53.300 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1735@localhost/res1' to='alicE_block_jid_presence_in_1735@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:53.300 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='8e82ff263f98ff59ede1a6c8ef5c9438'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item order='1' type='jid' value='bOb_block_jid_presence_in_1735@localhost' action='deny'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:25:53.346 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1735@localhost' to='alicE_block_jid_presence_in_1735@localhost/res1' id='pushb2f6f5985acdf2ff' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.346 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1735@localhost' to='alicE_block_jid_presence_in_1735@localhost/res1' id='8e82ff263f98ff59ede1a6c8ef5c9438' type='result'/>



*** User 2022-03-04 11:25:53.347 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<iq type='get' id='2a38e77b7886fb00cca69d65890f6d80'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.349 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1735@localhost' to='alicE_block_jid_presence_in_1735@localhost/res1' id='2a38e77b7886fb00cca69d65890f6d80' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item type='jid' value='bob_block_jid_presence_in_1735@localhost' action='deny' order='1'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:25:53.349 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
<iq type='set' id='70c6ff7f43f65850c92a8426d959dc41'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.352 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1735@localhost' to='alicE_block_jid_presence_in_1735@localhost/res1' id='70c6ff7f43f65850c92a8426d959dc41' type='result'/>



*** User 2022-03-04 11:25:53.352 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1735@localhost'/>



*** User 2022-03-04 11:25:53.402 ***
bOb_block_jid_presence_in_1735@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:53.403 ***
bOb_block_jid_presence_in_1735@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:53.403 ***
alicE_block_jid_presence_in_1735@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:53.403 ***
alicE_block_jid_presence_in_1735@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:53.409 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:25:53.410 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5545.html



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