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

=== Config value:

    [{watchdog,<0.6098.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,mnesia},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/privacy_suite.block_jid_presence_in.59010.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/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 => [{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:34:00


*** CT 2022-01-27 15:34:00.112 *** View log from node mongooseim@localhost when started mongooseim@localhost_4764.html
*** CT 2022-01-27 15:34:00.112 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-01-27 15:34:00.134 ***
alicE_block_jid_presence_in_1081@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:34:00.135 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87652fcd71df29d1' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 15:34:00.137 ***
alicE_block_jid_presence_in_1081@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:34:00.137 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='0dcabd2f11caef80c339f68431dd4927'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:00.137 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq id='0dcabd2f11caef80c339f68431dd4927' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_presence_in_1081@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:00.137 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='5e835cfc042e9358d6a0dda290a49380'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:00.138 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq type='result' id='5e835cfc042e9358d6a0dda290a49380'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:00.138 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:00.139 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<presence from='alicE_block_jid_presence_in_1081@localhost/res1' to='alice_block_jid_presence_in_1081@localhost/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-01-27 15:34:00.143 ***
bOb_block_jid_presence_in_1081@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:34:00.143 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='bc675a94faa62b29ab5564a3e68c800b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:00.143 ***
bOb_block_jid_presence_in_1081@localhost/res1 in
<iq id='bc675a94faa62b29ab5564a3e68c800b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_presence_in_1081@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:00.143 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='c9fe72a8fa24625c1acb1c47aabe365e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:00.144 ***
bOb_block_jid_presence_in_1081@localhost/res1 in
<iq type='result' id='c9fe72a8fa24625c1acb1c47aabe365e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:00.145 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:00.146 ***
bOb_block_jid_presence_in_1081@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1081@localhost/res1' to='bob_block_jid_presence_in_1081@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:00.146 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1081@localhost'/>



*** User 2022-01-27 15:34:00.147 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<presence from='bOb_block_jid_presence_in_1081@localhost/res1' to='alicE_block_jid_presence_in_1081@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:00.147 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='6524f642ac6c7c894e37c44ed867f296'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item order='1' type='jid' value='bOb_block_jid_presence_in_1081@localhost' action='deny'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:34:00.148 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1081@localhost' to='alicE_block_jid_presence_in_1081@localhost/res1' id='push63363e5b41f38f44' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:34:00.148 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1081@localhost' to='alicE_block_jid_presence_in_1081@localhost/res1' id='6524f642ac6c7c894e37c44ed867f296' type='result'/>



*** User 2022-01-27 15:34:00.148 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<iq type='get' id='1e53f1a67a132545a375309d2d458a2c'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:34:00.149 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1081@localhost' to='alicE_block_jid_presence_in_1081@localhost/res1' id='1e53f1a67a132545a375309d2d458a2c' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_presence_in'>
			<item type='jid' value='bob_block_jid_presence_in_1081@localhost' action='deny' order='1'>
				<presence-in/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:34:00.149 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
<iq type='set' id='93ca1d23f46f1b9ea863763c678bbaad'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_presence_in'/>
	</query>
</iq>



*** User 2022-01-27 15:34:00.150 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
<iq from='alicE_block_jid_presence_in_1081@localhost' to='alicE_block_jid_presence_in_1081@localhost/res1' id='93ca1d23f46f1b9ea863763c678bbaad' type='result'/>



*** User 2022-01-27 15:34:00.150 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
<presence to='alicE_block_jid_presence_in_1081@localhost'/>



*** User 2022-01-27 15:34:00.201 ***
bOb_block_jid_presence_in_1081@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:00.202 ***
bOb_block_jid_presence_in_1081@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:00.202 ***
alicE_block_jid_presence_in_1081@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:00.206 ***
alicE_block_jid_presence_in_1081@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:00.215 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:34:00.215 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4764.html



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