=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.80590.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.privacy_SUITE.logs/run.2024-04-22_17.43.07/privacy_suite.block_all_message.56453.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.privacy_SUITE.logs/run.2024-04-22_17.43.07/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_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 => 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 =>
#{inactivity => 30,max_pause => 120,max_wait => infinity,
server_acks => false,backend => mnesia},
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@cec807ac1e64.2024-04-22_17.28.38"
=== Started at 2024-04-22 17:43:07
*** User 2024-04-22 17:43:07.580 ***🔗
alicE_block_all_message_2908@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:43:07.580 ***🔗
alicE_block_all_message_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f51be08e7352434b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:43:07.580 ***🔗
alicE_block_all_message_2908@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:43:07.581 ***🔗
alicE_block_all_message_2908@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzI5MDgAbWF0eWdyeXNh</auth>
*** User 2024-04-22 17:43:07.582 ***🔗
alicE_block_all_message_2908@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:43:07.582 ***🔗
alicE_block_all_message_2908@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:43:07.582 ***🔗
alicE_block_all_message_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69f5b3066722a694' from='localhost' version='1.0' xml:lang='en' to='alice_block_all_message_2908@localhost'>
*** User 2024-04-22 17:43:07.582 ***🔗
alicE_block_all_message_2908@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:43:07.583 ***🔗
alicE_block_all_message_2908@localhost/res1 out
<iq type='set' id='b234039b9b49409737acecf56607bbbd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:43:07.583 ***🔗
alicE_block_all_message_2908@localhost/res1 in
<iq id='b234039b9b49409737acecf56607bbbd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_all_message_2908@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:43:07.583 ***🔗
alice_block_all_message_2908@localhost/res1 out
<iq type='set' id='e5cc39ce238a8a6dd96475b0e34ebd0f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:07.587 ***🔗
alice_block_all_message_2908@localhost/res1 in
<iq from='localhost' to='alice_block_all_message_2908@localhost/res1' id='e5cc39ce238a8a6dd96475b0e34ebd0f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:07.587 ***🔗
alice_block_all_message_2908@localhost/res1 out
<presence/>
*** User 2024-04-22 17:43:07.593 ***🔗
alice_block_all_message_2908@localhost/res1 in
<presence from='alice_block_all_message_2908@localhost/res1' to='alice_block_all_message_2908@localhost/res1'/>
*** User 2024-04-22 17:43:07.593 ***🔗
bOb_block_all_message_2908@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:43:07.594 ***🔗
bOb_block_all_message_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='efdd689bfaeaa1c3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:43:07.594 ***🔗
bOb_block_all_message_2908@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:43:07.594 ***🔗
bOb_block_all_message_2908@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8yOTA4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 17:43:07.596 ***🔗
bOb_block_all_message_2908@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:43:07.596 ***🔗
bOb_block_all_message_2908@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:43:07.596 ***🔗
bOb_block_all_message_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='316ce348af2f4ea4' from='localhost' version='1.0' xml:lang='en' to='bob_block_all_message_2908@localhost'>
*** User 2024-04-22 17:43:07.597 ***🔗
bOb_block_all_message_2908@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:43:07.597 ***🔗
bOb_block_all_message_2908@localhost/res1 out
<iq type='set' id='5f2c13609a566ec80dab21422ce16911'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:43:07.597 ***🔗
bOb_block_all_message_2908@localhost/res1 in
<iq id='5f2c13609a566ec80dab21422ce16911' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_all_message_2908@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:43:07.597 ***🔗
bob_block_all_message_2908@localhost/res1 out
<iq type='set' id='dceddfc91fbda457c131647f1c11f324'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:07.642 ***🔗
bob_block_all_message_2908@localhost/res1 in
<iq from='localhost' to='bob_block_all_message_2908@localhost/res1' id='dceddfc91fbda457c131647f1c11f324' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:07.642 ***🔗
bob_block_all_message_2908@localhost/res1 out
<presence/>
*** User 2024-04-22 17:43:07.646 ***🔗
bob_block_all_message_2908@localhost/res1 in
<presence from='bob_block_all_message_2908@localhost/res1' to='bob_block_all_message_2908@localhost/res1'/>
*** User 2024-04-22 17:43:07.646 ***🔗
bob_block_all_message_2908@localhost/res1 out
<message type='chat' to='alice_block_all_message_2908@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:43:07.649 ***🔗
alice_block_all_message_2908@localhost/res1 in
<message from='bob_block_all_message_2908@localhost/res1' to='alice_block_all_message_2908@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:43:07.649 ***🔗
alice_block_all_message_2908@localhost/res1 out
<iq type='set' id='677efd1839820211f914d122cf572a89'>
<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:43:07.658 ***🔗
alice_block_all_message_2908@localhost/res1 in
<iq from='alice_block_all_message_2908@localhost' to='alice_block_all_message_2908@localhost/res1' id='push1beea36738de3f0d' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:43:07.658 ***🔗
alice_block_all_message_2908@localhost/res1 in
<iq from='alice_block_all_message_2908@localhost' to='alice_block_all_message_2908@localhost/res1' id='677efd1839820211f914d122cf572a89' type='result'/>
*** User 2024-04-22 17:43:07.658 ***🔗
alice_block_all_message_2908@localhost/res1 out
<iq type='get' id='15d95ff24fd679a349c0725ee6f4d180'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:43:07.662 ***🔗
alice_block_all_message_2908@localhost/res1 in
<iq from='alice_block_all_message_2908@localhost' to='alice_block_all_message_2908@localhost/res1' id='15d95ff24fd679a349c0725ee6f4d180' 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:43:07.662 ***🔗
alice_block_all_message_2908@localhost/res1 out
<iq type='set' id='44a532fd0333e371d53017fa0d63e451'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-22 17:43:07.665 ***🔗
alice_block_all_message_2908@localhost/res1 in
<iq from='alice_block_all_message_2908@localhost' to='alice_block_all_message_2908@localhost/res1' id='44a532fd0333e371d53017fa0d63e451' type='result'/>
*** User 2024-04-22 17:43:07.666 ***🔗
bob_block_all_message_2908@localhost/res1 out
<message type='chat' to='alice_block_all_message_2908@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-22 17:43:07.716 ***🔗
bob_block_all_message_2908@localhost/res1 in
<message from='alice_block_all_message_2908@localhost/res1' to='bob_block_all_message_2908@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:43:07.716 ***🔗
bob_block_all_message_2908@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:43:07.719 ***🔗
bob_block_all_message_2908@localhost/res1 in
</stream:stream>
*** User 2024-04-22 17:43:07.719 ***🔗
alice_block_all_message_2908@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:43:07.742 ***🔗
alice_block_all_message_2908@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 17:43:07
=== successfully completed test case
=== === Returned value: ok