=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.77976.0>},
{escalus_no_stanzas_after_story,true},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.privacy_SUITE.logs/run.2024-02-15_10.11.30/privacy_suite.block_all_message.67077.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@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.privacy_SUITE.logs/run.2024-02-15_10.11.30/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
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_sic => #{iqdisc => one_queue},
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,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,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@1fbe638fdeaa.2024-02-15_09.57.53"
=== Started at 2024-02-15 10:11:30
*** User 2024-02-15 10:11:30.925 ***🔗
alicE_block_all_message_2792@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-02-15 10:11:30.926 ***🔗
alicE_block_all_message_2792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7edda60c5476f93' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:11:30.926 ***🔗
alicE_block_all_message_2792@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-02-15 10:11:30.926 ***🔗
alicE_block_all_message_2792@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzI3OTIAbWF0eWdyeXNh</auth>
*** User 2024-02-15 10:11:30.929 ***🔗
alicE_block_all_message_2792@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:11:30.929 ***🔗
alicE_block_all_message_2792@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-02-15 10:11:30.930 ***🔗
alicE_block_all_message_2792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8837ce6b00db96be' from='localhost' version='1.0' xml:lang='en' to='alice_block_all_message_2792@localhost'>
*** User 2024-02-15 10:11:30.930 ***🔗
alicE_block_all_message_2792@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-02-15 10:11:30.930 ***🔗
alicE_block_all_message_2792@localhost/res1 out
<iq type='set' id='97be1dfb216a1ffb291b88d203704159'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:11:30.930 ***🔗
alicE_block_all_message_2792@localhost/res1 in
<iq id='97be1dfb216a1ffb291b88d203704159' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_all_message_2792@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:11:30.930 ***🔗
alice_block_all_message_2792@localhost/res1 out
<iq type='set' id='d5e61ab5d0108c171f6be10730e4df55'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:11:30.934 ***🔗
alice_block_all_message_2792@localhost/res1 in
<iq from='localhost' to='alice_block_all_message_2792@localhost/res1' id='d5e61ab5d0108c171f6be10730e4df55' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:11:30.934 ***🔗
alice_block_all_message_2792@localhost/res1 out
<presence/>
*** User 2024-02-15 10:11:30.941 ***🔗
alice_block_all_message_2792@localhost/res1 in
<presence from='alice_block_all_message_2792@localhost/res1' to='alice_block_all_message_2792@localhost/res1'/>
*** User 2024-02-15 10:11:30.942 ***🔗
bOb_block_all_message_2792@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-02-15 10:11:30.942 ***🔗
bOb_block_all_message_2792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82be35ec8dfa7f93' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:11:30.942 ***🔗
bOb_block_all_message_2792@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-02-15 10:11:30.942 ***🔗
bOb_block_all_message_2792@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8yNzkyAG1ha3JvbGlrYQ==</auth>
*** User 2024-02-15 10:11:30.948 ***🔗
bOb_block_all_message_2792@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:11:30.948 ***🔗
bOb_block_all_message_2792@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-02-15 10:11:30.985 ***🔗
bOb_block_all_message_2792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b2cb935541443d1' from='localhost' version='1.0' xml:lang='en' to='bob_block_all_message_2792@localhost'>
*** User 2024-02-15 10:11:30.986 ***🔗
bOb_block_all_message_2792@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-02-15 10:11:30.986 ***🔗
bOb_block_all_message_2792@localhost/res1 out
<iq type='set' id='6c1ecd098a2f6b5eb4a8a76036476094'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:11:30.986 ***🔗
bOb_block_all_message_2792@localhost/res1 in
<iq id='6c1ecd098a2f6b5eb4a8a76036476094' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_all_message_2792@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:11:30.986 ***🔗
bob_block_all_message_2792@localhost/res1 out
<iq type='set' id='01a083873342beef350208d78b4b4dfc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:11:30.990 ***🔗
bob_block_all_message_2792@localhost/res1 in
<iq from='localhost' to='bob_block_all_message_2792@localhost/res1' id='01a083873342beef350208d78b4b4dfc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:11:30.990 ***🔗
bob_block_all_message_2792@localhost/res1 out
<presence/>
*** User 2024-02-15 10:11:30.995 ***🔗
bob_block_all_message_2792@localhost/res1 in
<presence from='bob_block_all_message_2792@localhost/res1' to='bob_block_all_message_2792@localhost/res1'/>
*** User 2024-02-15 10:11:30.995 ***🔗
bob_block_all_message_2792@localhost/res1 out
<message type='chat' to='alice_block_all_message_2792@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-02-15 10:11:30.998 ***🔗
alice_block_all_message_2792@localhost/res1 in
<message from='bob_block_all_message_2792@localhost/res1' to='alice_block_all_message_2792@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-02-15 10:11:30.998 ***🔗
alice_block_all_message_2792@localhost/res1 out
<iq type='set' id='43e9b332093bb902809b292bb20c4b21'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-02-15 10:11:31.013 ***🔗
alice_block_all_message_2792@localhost/res1 in
<iq from='alice_block_all_message_2792@localhost' to='alice_block_all_message_2792@localhost/res1' id='push85d87639c7c617bf' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-02-15 10:11:31.014 ***🔗
alice_block_all_message_2792@localhost/res1 in
<iq from='alice_block_all_message_2792@localhost' to='alice_block_all_message_2792@localhost/res1' id='43e9b332093bb902809b292bb20c4b21' type='result'/>
*** User 2024-02-15 10:11:31.014 ***🔗
alice_block_all_message_2792@localhost/res1 out
<iq type='get' id='0233e39f691b63657ef1898e076f6f9b'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-02-15 10:11:31.016 ***🔗
alice_block_all_message_2792@localhost/res1 in
<iq from='alice_block_all_message_2792@localhost' to='alice_block_all_message_2792@localhost/res1' id='0233e39f691b63657ef1898e076f6f9b' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-02-15 10:11:31.017 ***🔗
alice_block_all_message_2792@localhost/res1 out
<iq type='set' id='54296bc4714bc8df89ff2e651293b909'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-02-15 10:11:31.019 ***🔗
alice_block_all_message_2792@localhost/res1 in
<iq from='alice_block_all_message_2792@localhost' to='alice_block_all_message_2792@localhost/res1' id='54296bc4714bc8df89ff2e651293b909' type='result'/>
*** User 2024-02-15 10:11:31.019 ***🔗
bob_block_all_message_2792@localhost/res1 out
<message type='chat' to='alice_block_all_message_2792@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-02-15 10:11:31.085 ***🔗
bob_block_all_message_2792@localhost/res1 in
<message from='alice_block_all_message_2792@localhost/res1' to='bob_block_all_message_2792@localhost/res1' type='error'>
<body>Hi!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2024-02-15 10:11:31.086 ***🔗
bob_block_all_message_2792@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:11:31.086 ***🔗
bob_block_all_message_2792@localhost/res1 in
</stream:stream>
*** User 2024-02-15 10:11:31.087 ***🔗
alice_block_all_message_2792@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:11:31.087 ***🔗
alice_block_all_message_2792@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-15 10:11:31
=== successfully completed test case
=== === Returned value: ok