=== Test case: privacy_SUITE:block_subscription_message/1 (click for source code)
=== Config value:
[{watchdog,<0.5.2>},
{escalus_no_stanzas_after_story,true},
{backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.34.58/privacy_suite.block_subscription_message.131970.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.34.58/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 => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:34:58
*** User 2022-01-27 15:34:58.704 ***
alicE_block_subscription_message_1862@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:58.704 ***
alicE_block_subscription_message_1862@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d1d4aadad3b69dae' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.705 ***
alicE_block_subscription_message_1862@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:58.705 ***
alicE_block_subscription_message_1862@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX3N1YnNjcmlwdGlvbl9tZXNzYWdlXzE4NjIAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:58.755 ***
alicE_block_subscription_message_1862@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:58.755 ***
alicE_block_subscription_message_1862@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:58.756 ***
alicE_block_subscription_message_1862@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7429d184062353e8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.756 ***
alicE_block_subscription_message_1862@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:58.756 ***
alicE_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='619f041e745dbbe18d7f3521d286b154'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:58.756 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq id='619f041e745dbbe18d7f3521d286b154' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_subscription_message_1862@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:58.756 ***
alicE_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='f1d92423cc766df6b3aa0e023e53edf1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq type='result' id='f1d92423cc766df6b3aa0e023e53edf1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_subscription_message_1862@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:58.887 ***
alicE_block_subscription_message_1862@localhost/res1 in
<presence from='alicE_block_subscription_message_1862@localhost/res1' to='alice_block_subscription_message_1862@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:58.888 ***
bOb_block_subscription_message_1862@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:58.888 ***
bOb_block_subscription_message_1862@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c18e4617bfa53ed2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.888 ***
bOb_block_subscription_message_1862@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:58.888 ***
bOb_block_subscription_message_1862@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19zdWJzY3JpcHRpb25fbWVzc2FnZV8xODYyAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:58.952 ***
bOb_block_subscription_message_1862@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:58.952 ***
bOb_block_subscription_message_1862@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:58.952 ***
bOb_block_subscription_message_1862@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c329cfe45675bd2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.952 ***
bOb_block_subscription_message_1862@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:58.952 ***
bOb_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='0fb39ebe0c61f51726171374757e634c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:58.952 ***
bOb_block_subscription_message_1862@localhost/res1 in
<iq id='0fb39ebe0c61f51726171374757e634c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_subscription_message_1862@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:58.952 ***
bOb_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='4a53eea7771645e8b2bec1e3ac8d18c6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.953 ***
bOb_block_subscription_message_1862@localhost/res1 in
<iq type='result' id='4a53eea7771645e8b2bec1e3ac8d18c6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.953 ***
bOb_block_subscription_message_1862@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:58.955 ***
bOb_block_subscription_message_1862@localhost/res1 in
<presence from='bOb_block_subscription_message_1862@localhost/res1' to='bob_block_subscription_message_1862@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:58.955 ***
bOb_block_subscription_message_1862@localhost/res1 out
<message to='alicE_block_subscription_message_1862@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:58.955 ***
alicE_block_subscription_message_1862@localhost/res1 in
<message from='bOb_block_subscription_message_1862@localhost/res1' to='alicE_block_subscription_message_1862@localhost/res1' xml:lang='en' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:58.955 ***
alicE_block_subscription_message_1862@localhost/res1 out
<presence type='unsubscribe' to='bOb_block_subscription_message_1862@localhost'/>
*** User 2022-01-27 15:34:58.955 ***
alicE_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='fe1ba78ef2387e39ad65ba5b0ae43cbb'>
<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:59.041 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq from='alicE_block_subscription_message_1862@localhost' to='alicE_block_subscription_message_1862@localhost/res1' id='push9914a06fcdcbac14' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:59.041 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq from='alicE_block_subscription_message_1862@localhost' to='alicE_block_subscription_message_1862@localhost/res1' id='fe1ba78ef2387e39ad65ba5b0ae43cbb' type='result'/>
*** User 2022-01-27 15:34:59.041 ***
alicE_block_subscription_message_1862@localhost/res1 out
<iq type='get' id='4a169b9e4da2079c995337c2de23189d'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:59.043 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq from='alicE_block_subscription_message_1862@localhost' to='alicE_block_subscription_message_1862@localhost/res1' id='4a169b9e4da2079c995337c2de23189d' 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:59.043 ***
alicE_block_subscription_message_1862@localhost/res1 out
<iq type='set' id='8e4b17170d3e90ff274b8604eabaf21b'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_unsubscribed_message'/>
</query>
</iq>
*** User 2022-01-27 15:34:59.140 ***
alicE_block_subscription_message_1862@localhost/res1 in
<iq from='alicE_block_subscription_message_1862@localhost' to='alicE_block_subscription_message_1862@localhost/res1' id='8e4b17170d3e90ff274b8604eabaf21b' type='result'/>
*** User 2022-01-27 15:34:59.140 ***
bOb_block_subscription_message_1862@localhost/res1 out
<message to='alicE_block_subscription_message_1862@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:59.191 ***
bOb_block_subscription_message_1862@localhost/res1 in
<message from='alicE_block_subscription_message_1862@localhost/res1' to='bOb_block_subscription_message_1862@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:59.191 ***
bOb_block_subscription_message_1862@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:59.192 ***
bOb_block_subscription_message_1862@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:59.192 ***
alicE_block_subscription_message_1862@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:59.192 ***
alicE_block_subscription_message_1862@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:59
=== successfully completed test case
=== === Returned value: ok