=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.6098.1>},
{escalus_no_stanzas_after_story,true},
{backend,mnesia},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/privacy_suite.block_all_message.14980.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/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 => [{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:34:00
*** User 2022-01-27 15:34:00.132 ***
alicE_block_all_message_1077@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-01-27 15:34:00.133 ***
alicE_block_all_message_1077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='978694c384e1a572' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.133 ***
alicE_block_all_message_1077@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:34:00.133 ***
alicE_block_all_message_1077@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzEwNzcAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:00.134 ***
alicE_block_all_message_1077@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.134 ***
alicE_block_all_message_1077@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-01-27 15:34:00.135 ***
alicE_block_all_message_1077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c3393a2ce55fe41' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.135 ***
alicE_block_all_message_1077@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-01-27 15:34:00.135 ***
alicE_block_all_message_1077@localhost/res1 out
<iq type='set' id='7e41c5df3a41305812d788c8237f3fc7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.135 ***
alicE_block_all_message_1077@localhost/res1 in
<iq id='7e41c5df3a41305812d788c8237f3fc7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_all_message_1077@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.135 ***
alicE_block_all_message_1077@localhost/res1 out
<iq type='set' id='cb24253c76e92e38b59030ab62b52860'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.136 ***
alicE_block_all_message_1077@localhost/res1 in
<iq type='result' id='cb24253c76e92e38b59030ab62b52860'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.136 ***
alicE_block_all_message_1077@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.137 ***
alicE_block_all_message_1077@localhost/res1 in
<presence from='alicE_block_all_message_1077@localhost/res1' to='alice_block_all_message_1077@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.138 ***
bOb_block_all_message_1077@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-01-27 15:34:00.139 ***
bOb_block_all_message_1077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81aec827e40a8e96' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.140 ***
bOb_block_all_message_1077@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:34:00.140 ***
bOb_block_all_message_1077@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8xMDc3AG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_all_message_1077@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_all_message_1077@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-01-27 15:34:00.141 ***
bOb_block_all_message_1077@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0b22ae92ff94f2b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_all_message_1077@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-01-27 15:34:00.141 ***
bOb_block_all_message_1077@localhost/res1 out
<iq type='set' id='f4c7d929ec4bcc20e254bafb41a20ef5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.142 ***
bOb_block_all_message_1077@localhost/res1 in
<iq id='f4c7d929ec4bcc20e254bafb41a20ef5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_all_message_1077@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.142 ***
bOb_block_all_message_1077@localhost/res1 out
<iq type='set' id='e35f2b339c4665e5fd04d7088d0c1108'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.143 ***
bOb_block_all_message_1077@localhost/res1 in
<iq type='result' id='e35f2b339c4665e5fd04d7088d0c1108'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.143 ***
bOb_block_all_message_1077@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.144 ***
bOb_block_all_message_1077@localhost/res1 in
<presence from='bOb_block_all_message_1077@localhost/res1' to='bob_block_all_message_1077@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.144 ***
bOb_block_all_message_1077@localhost/res1 out
<message to='alicE_block_all_message_1077@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.145 ***
alicE_block_all_message_1077@localhost/res1 in
<message from='bOb_block_all_message_1077@localhost/res1' to='alicE_block_all_message_1077@localhost/res1' xml:lang='en' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.145 ***
alicE_block_all_message_1077@localhost/res1 out
<iq type='set' id='bbd8cd2a2c51e5c0e4c8c10c8691f9bd'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.146 ***
alicE_block_all_message_1077@localhost/res1 in
<iq from='alicE_block_all_message_1077@localhost' to='alicE_block_all_message_1077@localhost/res1' id='push2546cd73e2dee74b' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.146 ***
alicE_block_all_message_1077@localhost/res1 in
<iq from='alicE_block_all_message_1077@localhost' to='alicE_block_all_message_1077@localhost/res1' id='bbd8cd2a2c51e5c0e4c8c10c8691f9bd' type='result'/>
*** User 2022-01-27 15:34:00.146 ***
alicE_block_all_message_1077@localhost/res1 out
<iq type='get' id='08af902153bf019864e27d2360073267'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.147 ***
alicE_block_all_message_1077@localhost/res1 in
<iq from='alicE_block_all_message_1077@localhost' to='alicE_block_all_message_1077@localhost/res1' id='08af902153bf019864e27d2360073267' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.147 ***
alicE_block_all_message_1077@localhost/res1 out
<iq type='set' id='d53c07cad173c826a73d1184de56b196'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.148 ***
alicE_block_all_message_1077@localhost/res1 in
<iq from='alicE_block_all_message_1077@localhost' to='alicE_block_all_message_1077@localhost/res1' id='d53c07cad173c826a73d1184de56b196' type='result'/>
*** User 2022-01-27 15:34:00.148 ***
bOb_block_all_message_1077@localhost/res1 out
<message to='alicE_block_all_message_1077@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.206 ***
bOb_block_all_message_1077@localhost/res1 in
<message from='alicE_block_all_message_1077@localhost/res1' to='bOb_block_all_message_1077@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-01-27 15:34:00.206 ***
bOb_block_all_message_1077@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.207 ***
bOb_block_all_message_1077@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:00.207 ***
alicE_block_all_message_1077@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.207 ***
alicE_block_all_message_1077@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:00
=== successfully completed test case
=== === Returned value: ok