=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.73639.0>},
{escalus_no_stanzas_after_story,true},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f9d3eab3b59f.2024-04-22_17.28.49/big_tests.tests.privacy_SUITE.logs/run.2024-04-22_17.41.50/privacy_suite.block_all_message.97796.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@f9d3eab3b59f.2024-04-22_17.28.49/big_tests.tests.privacy_SUITE.logs/run.2024-04-22_17.41.50/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 =>
#{server_info => [],iqdisc => one_queue,extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
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 =>
#{inactivity => 30,max_pause => 120,max_wait => infinity,
server_acks => false,backend => cets},
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@f9d3eab3b59f.2024-04-22_17.28.49"
=== Started at 2024-04-22 17:41:50
*** User 2024-04-22 17:41:50.581 ***🔗
alicE_block_all_message_2699@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-22 17:41:50.581 ***🔗
alicE_block_all_message_2699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13c3b6238731a79d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:41:50.581 ***🔗
alicE_block_all_message_2699@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-22 17:41:50.581 ***🔗
alicE_block_all_message_2699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzI2OTkAbWF0eWdyeXNh</auth>
*** User 2024-04-22 17:41:50.583 ***🔗
alicE_block_all_message_2699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:41:50.583 ***🔗
alicE_block_all_message_2699@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-22 17:41:50.584 ***🔗
alicE_block_all_message_2699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4e35fd41e8af312' from='localhost' version='1.0' xml:lang='en' to='alice_block_all_message_2699@localhost'>
*** User 2024-04-22 17:41:50.584 ***🔗
alicE_block_all_message_2699@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-22 17:41:50.584 ***🔗
alicE_block_all_message_2699@localhost/res1 out
<iq type='set' id='2b830f307a2fdca031e3baf0c8df305d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:41:50.584 ***🔗
alicE_block_all_message_2699@localhost/res1 in
<iq id='2b830f307a2fdca031e3baf0c8df305d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_all_message_2699@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:41:50.585 ***🔗
alice_block_all_message_2699@localhost/res1 out
<iq type='set' id='6307431700fa988e8c2e9079ee612adf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:41:50.588 ***🔗
alice_block_all_message_2699@localhost/res1 in
<iq from='localhost' to='alice_block_all_message_2699@localhost/res1' id='6307431700fa988e8c2e9079ee612adf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:41:50.588 ***🔗
alice_block_all_message_2699@localhost/res1 out
<presence/>
*** User 2024-04-22 17:41:50.594 ***🔗
alice_block_all_message_2699@localhost/res1 in
<presence from='alice_block_all_message_2699@localhost/res1' to='alice_block_all_message_2699@localhost/res1'/>
*** User 2024-04-22 17:41:50.595 ***🔗
bOb_block_all_message_2699@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-22 17:41:50.596 ***🔗
bOb_block_all_message_2699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2990b4e4a9f4f728' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:41:50.596 ***🔗
bOb_block_all_message_2699@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-22 17:41:50.596 ***🔗
bOb_block_all_message_2699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8yNjk5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 17:41:50.598 ***🔗
bOb_block_all_message_2699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:41:50.598 ***🔗
bOb_block_all_message_2699@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-22 17:41:50.598 ***🔗
bOb_block_all_message_2699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f108e78f3d1e7b74' from='localhost' version='1.0' xml:lang='en' to='bob_block_all_message_2699@localhost'>
*** User 2024-04-22 17:41:50.598 ***🔗
bOb_block_all_message_2699@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-22 17:41:50.598 ***🔗
bOb_block_all_message_2699@localhost/res1 out
<iq type='set' id='4268803a2eec0a05e172ba33021ba1bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:41:50.599 ***🔗
bOb_block_all_message_2699@localhost/res1 in
<iq id='4268803a2eec0a05e172ba33021ba1bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_all_message_2699@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:41:50.599 ***🔗
bob_block_all_message_2699@localhost/res1 out
<iq type='set' id='2136369b3ffd2fbeab9293c811665e4f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:41:50.605 ***🔗
bob_block_all_message_2699@localhost/res1 in
<iq from='localhost' to='bob_block_all_message_2699@localhost/res1' id='2136369b3ffd2fbeab9293c811665e4f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:41:50.606 ***🔗
bob_block_all_message_2699@localhost/res1 out
<presence/>
*** User 2024-04-22 17:41:50.609 ***🔗
bob_block_all_message_2699@localhost/res1 in
<presence from='bob_block_all_message_2699@localhost/res1' to='bob_block_all_message_2699@localhost/res1'/>
*** User 2024-04-22 17:41:50.610 ***🔗
bob_block_all_message_2699@localhost/res1 out
<message type='chat' to='alice_block_all_message_2699@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:41:50.655 ***🔗
alice_block_all_message_2699@localhost/res1 in
<message from='bob_block_all_message_2699@localhost/res1' to='alice_block_all_message_2699@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:41:50.655 ***🔗
alice_block_all_message_2699@localhost/res1 out
<iq type='set' id='3796d9a780318830794c92c2ee10f6fe'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-22 17:41:50.659 ***🔗
alice_block_all_message_2699@localhost/res1 in
<iq from='alice_block_all_message_2699@localhost' to='alice_block_all_message_2699@localhost/res1' id='push9920fa1cbbd95315' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:41:50.659 ***🔗
alice_block_all_message_2699@localhost/res1 in
<iq from='alice_block_all_message_2699@localhost' to='alice_block_all_message_2699@localhost/res1' id='3796d9a780318830794c92c2ee10f6fe' type='result'/>
*** User 2024-04-22 17:41:50.659 ***🔗
alice_block_all_message_2699@localhost/res1 out
<iq type='get' id='4fead8946d702f5f1feadcd38376f048'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:41:50.661 ***🔗
alice_block_all_message_2699@localhost/res1 in
<iq from='alice_block_all_message_2699@localhost' to='alice_block_all_message_2699@localhost/res1' id='4fead8946d702f5f1feadcd38376f048' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-22 17:41:50.661 ***🔗
alice_block_all_message_2699@localhost/res1 out
<iq type='set' id='b0806a6d5f04eb951b23c3111750354a'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:41:50.662 ***🔗
alice_block_all_message_2699@localhost/res1 in
<iq from='alice_block_all_message_2699@localhost' to='alice_block_all_message_2699@localhost/res1' id='b0806a6d5f04eb951b23c3111750354a' type='result'/>
*** User 2024-04-22 17:41:50.662 ***🔗
bob_block_all_message_2699@localhost/res1 out
<message type='chat' to='alice_block_all_message_2699@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:41:50.713 ***🔗
bob_block_all_message_2699@localhost/res1 in
<message from='alice_block_all_message_2699@localhost/res1' to='bob_block_all_message_2699@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-04-22 17:41:50.713 ***🔗
bob_block_all_message_2699@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:41:50.714 ***🔗
bob_block_all_message_2699@localhost/res1 in
</stream:stream>
*** User 2024-04-22 17:41:50.714 ***🔗
alice_block_all_message_2699@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:41:50.714 ***🔗
alice_block_all_message_2699@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 17:41:50
=== successfully completed test case
=== === Returned value: ok