=== Test case: privacy_SUITE:block_jid_presence_in/1 (click for source code)
=== Config value:
[{watchdog,<0.64510.0>},
{escalus_no_stanzas_after_story,true},
{preset,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.privacy_SUITE.logs/run.2024-04-16_10.28.00/privacy_suite.block_jid_presence_in.78341.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.privacy_SUITE.logs/run.2024-04-16_10.28.00/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},
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_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,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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@6b87bb397ec6.2024-04-16_10.12.53"
=== Started at 2024-04-16 10:28:01
*** User 2024-04-16 10:28:01.227 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:28:01.227 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22477585ada4efa3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:28:01.228 ***🔗
alicE_block_jid_presence_in_2203@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 2024-04-16 10:28:01.228 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9wcmVzZW5jZV9pbl8yMjAzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 10:28:01.228 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:28:01.229 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:28:01.229 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7944a57941648c44' from='localhost' version='1.0' xml:lang='en' to='alice_block_jid_presence_in_2203@localhost'>
*** User 2024-04-16 10:28:01.229 ***🔗
alicE_block_jid_presence_in_2203@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 2024-04-16 10:28:01.229 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='8251336c654f16b00552fd64e84eca50'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:28:01.230 ***🔗
alicE_block_jid_presence_in_2203@localhost/res1 in
<iq id='8251336c654f16b00552fd64e84eca50' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_jid_presence_in_2203@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:28:01.230 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='afb9e98a6142875960f1fc090875239a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:01.231 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<iq from='localhost' to='alice_block_jid_presence_in_2203@localhost/res1' id='afb9e98a6142875960f1fc090875239a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:01.231 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
<presence/>
*** User 2024-04-16 10:28:01.232 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<presence from='alice_block_jid_presence_in_2203@localhost/res1' to='alice_block_jid_presence_in_2203@localhost/res1'/>
*** User 2024-04-16 10:28:01.232 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:28:01.233 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d85480af85873e00' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:28:01.233 ***🔗
bOb_block_jid_presence_in_2203@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 2024-04-16 10:28:01.233 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfcHJlc2VuY2VfaW5fMjIwMwBtYWtyb2xpa2E=</auth>
*** User 2024-04-16 10:28:01.234 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:28:01.234 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:28:01.235 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0747f27f669fff94' from='localhost' version='1.0' xml:lang='en' to='bob_block_jid_presence_in_2203@localhost'>
*** User 2024-04-16 10:28:01.235 ***🔗
bOb_block_jid_presence_in_2203@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 2024-04-16 10:28:01.235 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='bc9fdac402c608974add8329ea6c7771'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:28:01.235 ***🔗
bOb_block_jid_presence_in_2203@localhost/res1 in
<iq id='bc9fdac402c608974add8329ea6c7771' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_jid_presence_in_2203@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:28:01.235 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='fd5923c9b753a8ef9a82d64063d9f574'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:01.252 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 in
<iq from='localhost' to='bob_block_jid_presence_in_2203@localhost/res1' id='fd5923c9b753a8ef9a82d64063d9f574' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:01.253 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 out
<presence/>
*** User 2024-04-16 10:28:01.254 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 in
<presence from='bob_block_jid_presence_in_2203@localhost/res1' to='bob_block_jid_presence_in_2203@localhost/res1'/>
*** User 2024-04-16 10:28:01.254 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 out
<presence to='alice_block_jid_presence_in_2203@localhost'/>
*** User 2024-04-16 10:28:01.254 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<presence from='bob_block_jid_presence_in_2203@localhost/res1' to='alice_block_jid_presence_in_2203@localhost/res1'/>
*** User 2024-04-16 10:28:01.254 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='747ccc97310f7171885fedfcc247d91d'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'>
<item order='1' type='jid' value='bob_block_jid_presence_in_2203@localhost' action='deny'>
<presence-in/>
</item>
</list>
</query>
</iq>
*** User 2024-04-16 10:28:01.255 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<iq from='alice_block_jid_presence_in_2203@localhost' to='alice_block_jid_presence_in_2203@localhost/res1' id='push3bbec78a21ab5b4a' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'/>
</query>
</iq>
*** User 2024-04-16 10:28:01.255 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<iq from='alice_block_jid_presence_in_2203@localhost' to='alice_block_jid_presence_in_2203@localhost/res1' id='747ccc97310f7171885fedfcc247d91d' type='result'/>
*** User 2024-04-16 10:28:01.256 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
<iq type='get' id='f43451b461a19c3907d95863dec7d975'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'/>
</query>
</iq>
*** User 2024-04-16 10:28:01.256 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<iq from='alice_block_jid_presence_in_2203@localhost' to='alice_block_jid_presence_in_2203@localhost/res1' id='f43451b461a19c3907d95863dec7d975' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_presence_in'>
<item type='jid' value='bob_block_jid_presence_in_2203@localhost' action='deny' order='1'>
<presence-in/>
</item>
</list>
</query>
</iq>
*** User 2024-04-16 10:28:01.256 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
<iq type='set' id='4249927318ff6c893fff1f574e32cec5'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_presence_in'/>
</query>
</iq>
*** User 2024-04-16 10:28:01.257 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
<iq from='alice_block_jid_presence_in_2203@localhost' to='alice_block_jid_presence_in_2203@localhost/res1' id='4249927318ff6c893fff1f574e32cec5' type='result'/>
*** User 2024-04-16 10:28:01.257 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 out
<presence to='alice_block_jid_presence_in_2203@localhost'/>
*** User 2024-04-16 10:28:01.308 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:28:01.309 ***🔗
bob_block_jid_presence_in_2203@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:28:01.309 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:28:01.310 ***🔗
alice_block_jid_presence_in_2203@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:28:01
=== successfully completed test case
=== === Returned value: ok