=== Test case: privacy_SUITE:block_subscription_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_subscription_message.15108.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_subscription_message_1078@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_subscription_message_1078@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83ce01a6e23360c4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.133 ***
alicE_block_subscription_message_1078@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_subscription_message_1078@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX3N1YnNjcmlwdGlvbl9tZXNzYWdlXzEwNzgAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:00.134 ***
alicE_block_subscription_message_1078@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.134 ***
alicE_block_subscription_message_1078@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.134 ***
alicE_block_subscription_message_1078@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c72e32c01e397edc' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.135 ***
alicE_block_subscription_message_1078@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_subscription_message_1078@localhost/res1 out
<iq type='set' id='ce38e4f17c90df9402917917dfed57e3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.135 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq id='ce38e4f17c90df9402917917dfed57e3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_subscription_message_1078@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.136 ***
alicE_block_subscription_message_1078@localhost/res1 out
<iq type='set' id='8141278cb95bfdf8ffb59dc8b5f4ce3c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.136 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq type='result' id='8141278cb95bfdf8ffb59dc8b5f4ce3c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.137 ***
alicE_block_subscription_message_1078@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.137 ***
alicE_block_subscription_message_1078@localhost/res1 in
<presence from='alicE_block_subscription_message_1078@localhost/res1' to='alice_block_subscription_message_1078@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.138 ***
bOb_block_subscription_message_1078@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.140 ***
bOb_block_subscription_message_1078@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ba168f78383a7cb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.140 ***
bOb_block_subscription_message_1078@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_subscription_message_1078@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19zdWJzY3JpcHRpb25fbWVzc2FnZV8xMDc4AG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_subscription_message_1078@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_subscription_message_1078@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_subscription_message_1078@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4ba41a8f25d1ce9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.141 ***
bOb_block_subscription_message_1078@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.142 ***
bOb_block_subscription_message_1078@localhost/res1 out
<iq type='set' id='ab788411c2e83f95dd92f62b11a84267'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.142 ***
bOb_block_subscription_message_1078@localhost/res1 in
<iq id='ab788411c2e83f95dd92f62b11a84267' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_subscription_message_1078@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.142 ***
bOb_block_subscription_message_1078@localhost/res1 out
<iq type='set' id='8132331e72197f18a1a32a43f365df6b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.143 ***
bOb_block_subscription_message_1078@localhost/res1 in
<iq type='result' id='8132331e72197f18a1a32a43f365df6b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.143 ***
bOb_block_subscription_message_1078@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.144 ***
bOb_block_subscription_message_1078@localhost/res1 in
<presence from='bOb_block_subscription_message_1078@localhost/res1' to='bob_block_subscription_message_1078@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.145 ***
bOb_block_subscription_message_1078@localhost/res1 out
<message to='alicE_block_subscription_message_1078@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.145 ***
alicE_block_subscription_message_1078@localhost/res1 in
<message from='bOb_block_subscription_message_1078@localhost/res1' to='alicE_block_subscription_message_1078@localhost/res1' xml:lang='en' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.145 ***
alicE_block_subscription_message_1078@localhost/res1 out
<presence type='unsubscribe' to='bOb_block_subscription_message_1078@localhost'/>
*** User 2022-01-27 15:34:00.146 ***
alicE_block_subscription_message_1078@localhost/res1 out
<iq type='set' id='e1b82f150a059514796f394ca2962768'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'>
<item order='1' type='subscription' value='none' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.147 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq from='alicE_block_subscription_message_1078@localhost' to='alicE_block_subscription_message_1078@localhost/res1' id='push2229f68e0c1ba143' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.147 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq from='alicE_block_subscription_message_1078@localhost' to='alicE_block_subscription_message_1078@localhost/res1' id='e1b82f150a059514796f394ca2962768' type='result'/>
*** User 2022-01-27 15:34:00.148 ***
alicE_block_subscription_message_1078@localhost/res1 out
<iq type='get' id='826dc49dac537694c5c1c516bb05f883'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.149 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq from='alicE_block_subscription_message_1078@localhost' to='alicE_block_subscription_message_1078@localhost/res1' id='826dc49dac537694c5c1c516bb05f883' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'>
<item type='subscription' value='none' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.149 ***
alicE_block_subscription_message_1078@localhost/res1 out
<iq type='set' id='cb44d0e0a15dee7250e14874921a107f'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.150 ***
alicE_block_subscription_message_1078@localhost/res1 in
<iq from='alicE_block_subscription_message_1078@localhost' to='alicE_block_subscription_message_1078@localhost/res1' id='cb44d0e0a15dee7250e14874921a107f' type='result'/>
*** User 2022-01-27 15:34:00.150 ***
bOb_block_subscription_message_1078@localhost/res1 out
<message to='alicE_block_subscription_message_1078@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:00.201 ***
bOb_block_subscription_message_1078@localhost/res1 in
<message from='alicE_block_subscription_message_1078@localhost/res1' to='bOb_block_subscription_message_1078@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.201 ***
bOb_block_subscription_message_1078@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.202 ***
bOb_block_subscription_message_1078@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:00.202 ***
alicE_block_subscription_message_1078@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.206 ***
alicE_block_subscription_message_1078@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:00
=== successfully completed test case
=== === Returned value: ok