=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.6243.1>},
{escalus_no_stanzas_after_story,true},
{backend,mnesia},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/privacy_suite.block_all_message.50434.html"},
{tc_group_properties,[{name,blocking},{repeat_until_all_ok,3},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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:36:31
*** User 2022-03-03 10:36:31.790 ***
alicE_block_all_message_1023@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:31.790 ***
alicE_block_all_message_1023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bed735f132731c3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.790 ***
alicE_block_all_message_1023@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:31.790 ***
alicE_block_all_message_1023@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzEwMjMAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d92e0d532c93ff6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 out
<iq type='set' id='0bbe8617eb718ffc4a05c5b831aac3aa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 in
<iq id='0bbe8617eb718ffc4a05c5b831aac3aa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_all_message_1023@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:31.792 ***
alicE_block_all_message_1023@localhost/res1 out
<iq type='set' id='1517d0b107c356a184d95f3dc9b431b1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.793 ***
alicE_block_all_message_1023@localhost/res1 in
<iq type='result' id='1517d0b107c356a184d95f3dc9b431b1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.793 ***
alicE_block_all_message_1023@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:31.794 ***
alicE_block_all_message_1023@localhost/res1 in
<presence from='alicE_block_all_message_1023@localhost/res1' to='alice_block_all_message_1023@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:31.794 ***
bOb_block_all_message_1023@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:31.795 ***
bOb_block_all_message_1023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dea999ea0393a4c0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.795 ***
bOb_block_all_message_1023@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:31.795 ***
bOb_block_all_message_1023@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8xMDIzAG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:36:31.798 ***
bOb_block_all_message_1023@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:31.798 ***
bOb_block_all_message_1023@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:31.798 ***
bOb_block_all_message_1023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ce011c04bc55b03' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.798 ***
bOb_block_all_message_1023@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:31.798 ***
bOb_block_all_message_1023@localhost/res1 out
<iq type='set' id='c0b9cbefa9e6823e9bece8d1f7f2705e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:31.799 ***
bOb_block_all_message_1023@localhost/res1 in
<iq id='c0b9cbefa9e6823e9bece8d1f7f2705e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_all_message_1023@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:31.799 ***
bOb_block_all_message_1023@localhost/res1 out
<iq type='set' id='2db9ad12d40ef4360719e7e9633a012d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.799 ***
bOb_block_all_message_1023@localhost/res1 in
<iq type='result' id='2db9ad12d40ef4360719e7e9633a012d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.799 ***
bOb_block_all_message_1023@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:31.800 ***
bOb_block_all_message_1023@localhost/res1 in
<presence from='bOb_block_all_message_1023@localhost/res1' to='bob_block_all_message_1023@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:31.800 ***
bOb_block_all_message_1023@localhost/res1 out
<message to='alicE_block_all_message_1023@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-03-03 10:36:31.800 ***
alicE_block_all_message_1023@localhost/res1 in
<message from='bOb_block_all_message_1023@localhost/res1' to='alicE_block_all_message_1023@localhost/res1' xml:lang='en' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-03-03 10:36:31.800 ***
alicE_block_all_message_1023@localhost/res1 out
<iq type='set' id='1b130c1def0bae9b2cc6809ed707d16c'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-03 10:36:31.801 ***
alicE_block_all_message_1023@localhost/res1 in
<iq from='alicE_block_all_message_1023@localhost' to='alicE_block_all_message_1023@localhost/res1' id='push933a95f71007b5a4' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.801 ***
alicE_block_all_message_1023@localhost/res1 in
<iq from='alicE_block_all_message_1023@localhost' to='alicE_block_all_message_1023@localhost/res1' id='1b130c1def0bae9b2cc6809ed707d16c' type='result'/>
*** User 2022-03-03 10:36:31.802 ***
alicE_block_all_message_1023@localhost/res1 out
<iq type='get' id='5fe63e4891d663a2c9c9b3a1bfb54bd4'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.802 ***
alicE_block_all_message_1023@localhost/res1 in
<iq from='alicE_block_all_message_1023@localhost' to='alicE_block_all_message_1023@localhost/res1' id='5fe63e4891d663a2c9c9b3a1bfb54bd4' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-03 10:36:31.802 ***
alicE_block_all_message_1023@localhost/res1 out
<iq type='set' id='5046c7504841e57bc07bf72187864758'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.803 ***
alicE_block_all_message_1023@localhost/res1 in
<iq from='alicE_block_all_message_1023@localhost' to='alicE_block_all_message_1023@localhost/res1' id='5046c7504841e57bc07bf72187864758' type='result'/>
*** User 2022-03-03 10:36:31.803 ***
bOb_block_all_message_1023@localhost/res1 out
<message to='alicE_block_all_message_1023@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-03-03 10:36:31.854 ***
bOb_block_all_message_1023@localhost/res1 in
<message from='alicE_block_all_message_1023@localhost/res1' to='bOb_block_all_message_1023@localhost/res1' type='error' xml:lang='en'>
<body>Hi!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2022-03-03 10:36:31.855 ***
bOb_block_all_message_1023@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:31.855 ***
bOb_block_all_message_1023@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:31.855 ***
alicE_block_all_message_1023@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:31.855 ***
alicE_block_all_message_1023@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:31
=== successfully completed test case
=== === Returned value: ok