=== Test case: privacy_SUITE:block_subscription_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.32180.1>},
     {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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.privacy_SUITE.logs/run.2022-01-25_16.32.30/privacy_suite.block_subscription_message.66564.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.privacy_SUITE.logs/run.2022-01-25_16.32.30/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:31


*** CT 2022-01-25 16:32:31.019 *** View log from node mongooseim@localhost when started mongooseim@localhost_5463.html
*** CT 2022-01-25 16:32:31.019 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:31.050 ***
alicE_block_subscription_message_1935@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-25 16:32:31.051 ***
alicE_block_subscription_message_1935@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a8b3dcc69606dcb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.051 ***
alicE_block_subscription_message_1935@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-25 16:32:31.051 ***
alicE_block_subscription_message_1935@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX3N1YnNjcmlwdGlvbl9tZXNzYWdlXzE5MzUAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:32:31.053 ***
alicE_block_subscription_message_1935@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:31.053 ***
alicE_block_subscription_message_1935@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-25 16:32:31.053 ***
alicE_block_subscription_message_1935@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a57718f67e5e4402' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.054 ***
alicE_block_subscription_message_1935@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-25 16:32:31.054 ***
alicE_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='1bc2b4b4e9a5d87999f785451cf73369'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.054 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq id='1bc2b4b4e9a5d87999f785451cf73369' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_subscription_message_1935@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.054 ***
alicE_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='9509a4f56896f9fb83eed7c52d05eb12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.055 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq type='result' id='9509a4f56896f9fb83eed7c52d05eb12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.055 ***
alicE_block_subscription_message_1935@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:31.058 ***
alicE_block_subscription_message_1935@localhost/res1 in
<presence from='alicE_block_subscription_message_1935@localhost/res1' to='alice_block_subscription_message_1935@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:31.058 ***
bOb_block_subscription_message_1935@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-25 16:32:31.059 ***
bOb_block_subscription_message_1935@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dded1b79b774cbe8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.059 ***
bOb_block_subscription_message_1935@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-25 16:32:31.059 ***
bOb_block_subscription_message_1935@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19zdWJzY3JpcHRpb25fbWVzc2FnZV8xOTM1AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-25 16:32:31.061 ***
bOb_block_subscription_message_1935@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:31.061 ***
bOb_block_subscription_message_1935@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-25 16:32:31.062 ***
bOb_block_subscription_message_1935@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae88b6260b3a8aac' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:31.062 ***
bOb_block_subscription_message_1935@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-25 16:32:31.062 ***
bOb_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='6121475c45152890a404347ae1601ac0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.062 ***
bOb_block_subscription_message_1935@localhost/res1 in
<iq id='6121475c45152890a404347ae1601ac0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_subscription_message_1935@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:31.062 ***
bOb_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='5890a200a07a0eed725f7c1dc68529c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.063 ***
bOb_block_subscription_message_1935@localhost/res1 in
<iq type='result' id='5890a200a07a0eed725f7c1dc68529c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:31.063 ***
bOb_block_subscription_message_1935@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:31.066 ***
bOb_block_subscription_message_1935@localhost/res1 in
<presence from='bOb_block_subscription_message_1935@localhost/res1' to='bob_block_subscription_message_1935@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:31.066 ***
bOb_block_subscription_message_1935@localhost/res1 out
<message to='alicE_block_subscription_message_1935@localhost/res1' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-01-25 16:32:31.066 ***
alicE_block_subscription_message_1935@localhost/res1 in
<message from='bOb_block_subscription_message_1935@localhost/res1' to='alicE_block_subscription_message_1935@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-01-25 16:32:31.066 ***
alicE_block_subscription_message_1935@localhost/res1 out
<presence type='unsubscribe' to='bOb_block_subscription_message_1935@localhost'/>



*** User 2022-01-25 16:32:31.066 ***
alicE_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='92db37fdb93e7886636c925416f28281'>
	<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-25 16:32:31.144 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq from='alicE_block_subscription_message_1935@localhost' to='alicE_block_subscription_message_1935@localhost/res1' id='push6b3ddf0f3279f59c' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.144 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq from='alicE_block_subscription_message_1935@localhost' to='alicE_block_subscription_message_1935@localhost/res1' id='92db37fdb93e7886636c925416f28281' type='result'/>



*** User 2022-01-25 16:32:31.144 ***
alicE_block_subscription_message_1935@localhost/res1 out
<iq type='get' id='22586834097ac2ee5d59690a010885aa'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.147 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq from='alicE_block_subscription_message_1935@localhost' to='alicE_block_subscription_message_1935@localhost/res1' id='22586834097ac2ee5d59690a010885aa' 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-25 16:32:31.147 ***
alicE_block_subscription_message_1935@localhost/res1 out
<iq type='set' id='29916140ebb241012fd29150420564b6'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2022-01-25 16:32:31.154 ***
alicE_block_subscription_message_1935@localhost/res1 in
<iq from='alicE_block_subscription_message_1935@localhost' to='alicE_block_subscription_message_1935@localhost/res1' id='29916140ebb241012fd29150420564b6' type='result'/>



*** User 2022-01-25 16:32:31.154 ***
bOb_block_subscription_message_1935@localhost/res1 out
<message to='alicE_block_subscription_message_1935@localhost/res1' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-01-25 16:32:31.229 ***
bOb_block_subscription_message_1935@localhost/res1 in
<message from='alicE_block_subscription_message_1935@localhost/res1' to='bOb_block_subscription_message_1935@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-25 16:32:31.229 ***
bOb_block_subscription_message_1935@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:31.229 ***
bOb_block_subscription_message_1935@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:31.229 ***
alicE_block_subscription_message_1935@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:31.230 ***
alicE_block_subscription_message_1935@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:31.241 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:31.242 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5463.html



=== Ended at 2022-01-25 16:32:31
=== successfully completed test case
=== === Returned value: ok