=== Test case: privacy_SUITE:block_jid_presence_in/1 (click for source code)
=== Config value:
[{watchdog,<0.75499.0>},
{escalus_no_stanzas_after_story,true},
{backend,rdbms},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.privacy_SUITE.logs/run.2023-11-16_09.47.32/privacy_suite.block_jid_presence_in.54021.html"},
{tc_group_properties,[{name,blocking},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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.privacy_SUITE.logs/run.2023-11-16_09.47.32/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@079a843f8d8b.2023-11-16_09.33.39"
=== Started at 2023-11-16 09:47:32
*** User 2023-11-16 09:47:32.751 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:32.753 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='863615acb9706421' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:32.753 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 09:47:32.753 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9wcmVzZW5jZV9pbl8yNzc2AG1hdHlncnlzYQ==</auth>
*** User 2023-11-16 09:47:32.754 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:32.754 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:32.754 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5ab8ec0ae3ae16e' from='localhost' version='1.0' xml:lang='en' to='alice_block_jid_presence_in_2776@localhost'>
*** User 2023-11-16 09:47:32.754 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 09:47:32.755 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='b20b49d75112faa38f525049e60bdcde'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:32.755 ***🔗
alicE_block_jid_presence_in_2776@localhost/res1 in
<iq id='b20b49d75112faa38f525049e60bdcde' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_jid_presence_in_2776@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:32.755 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='58f53ed5f03be50304e192cb0244b662'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:32.757 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<iq from='localhost' to='alice_block_jid_presence_in_2776@localhost/res1' id='58f53ed5f03be50304e192cb0244b662' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:32.758 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:32.761 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<presence from='alice_block_jid_presence_in_2776@localhost/res1' to='alice_block_jid_presence_in_2776@localhost/res1'/>
*** User 2023-11-16 09:47:32.761 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:32.762 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8cb70e958c6cd18' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:32.762 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 09:47:32.762 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfcHJlc2VuY2VfaW5fMjc3NgBtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:47:32.764 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:32.764 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:47:32.764 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3f258d726144ed8' from='localhost' version='1.0' xml:lang='en' to='bob_block_jid_presence_in_2776@localhost'>
*** User 2023-11-16 09:47:32.764 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 09:47:32.764 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='e91461f59909a4da13c4def19009175b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:32.765 ***🔗
bOb_block_jid_presence_in_2776@localhost/res1 in
<iq id='e91461f59909a4da13c4def19009175b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_jid_presence_in_2776@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:32.765 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='5348d79b2bfd4779f502a06c817310cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:32.768 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 in
<iq from='localhost' to='bob_block_jid_presence_in_2776@localhost/res1' id='5348d79b2bfd4779f502a06c817310cd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:32.768 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:32.773 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 in
<presence from='bob_block_jid_presence_in_2776@localhost/res1' to='bob_block_jid_presence_in_2776@localhost/res1'/>
*** User 2023-11-16 09:47:32.773 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 out
<presence to='alice_block_jid_presence_in_2776@localhost'/>
*** User 2023-11-16 09:47:32.816 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<presence from='bob_block_jid_presence_in_2776@localhost/res1' to='alice_block_jid_presence_in_2776@localhost/res1'/>
*** User 2023-11-16 09:47:32.816 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='d9e36d389856e32a87ba8c201615cff1'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'>
<item order='1' type='jid' value='bob_block_jid_presence_in_2776@localhost' action='deny'>
<presence-in/>
</item>
</list>
</query>
</iq>
*** User 2023-11-16 09:47:32.819 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<iq from='alice_block_jid_presence_in_2776@localhost' to='alice_block_jid_presence_in_2776@localhost/res1' id='pushb4d75ce2eedca94d' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'/>
</query>
</iq>
*** User 2023-11-16 09:47:32.820 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<iq from='alice_block_jid_presence_in_2776@localhost' to='alice_block_jid_presence_in_2776@localhost/res1' id='d9e36d389856e32a87ba8c201615cff1' type='result'/>
*** User 2023-11-16 09:47:32.820 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
<iq type='get' id='5609d94956179beb8652c4fbb8212814'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'/>
</query>
</iq>
*** User 2023-11-16 09:47:32.821 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<iq from='alice_block_jid_presence_in_2776@localhost' to='alice_block_jid_presence_in_2776@localhost/res1' id='5609d94956179beb8652c4fbb8212814' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'>
<item type='jid' value='bob_block_jid_presence_in_2776@localhost' action='deny' order='1'>
<presence-in/>
</item>
</list>
</query>
</iq>
*** User 2023-11-16 09:47:32.821 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
<iq type='set' id='881e68d7711652bab261ea20a0fc4aca'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_presence_in'/>
</query>
</iq>
*** User 2023-11-16 09:47:32.824 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
<iq from='alice_block_jid_presence_in_2776@localhost' to='alice_block_jid_presence_in_2776@localhost/res1' id='881e68d7711652bab261ea20a0fc4aca' type='result'/>
*** User 2023-11-16 09:47:32.824 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 out
<presence to='alice_block_jid_presence_in_2776@localhost'/>
*** User 2023-11-16 09:47:32.875 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:32.875 ***🔗
bob_block_jid_presence_in_2776@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:47:32.875 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:32.876 ***🔗
alice_block_jid_presence_in_2776@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:47:32
=== successfully completed test case
=== === Returned value: ok