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

=== Config value:

    [{watchdog,<0.76404.0>},
     {escalus_no_stanzas_after_story,true},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@09896f76b4b2.2024-03-08_08.59.11/big_tests.tests.privacy_SUITE.logs/run.2024-03-08_09.13.56/privacy_suite.block_subscription_message.155523.html"},
     {tc_group_properties,[{name,blocking},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@09896f76b4b2.2024-03-08_08.59.11/big_tests.tests.privacy_SUITE.logs/run.2024-03-08_09.13.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@09896f76b4b2.2024-03-08_08.59.11"

=== Started at 2024-03-08 09:13:57


*** CT 2024-03-08 09:13:57.076 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4759.html

*** User 2024-03-08 09:13:57.102 ***🔗
alicE_block_subscription_message_2814@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-08 09:13:57.103 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46bf3e662c557e2a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:13:57.103 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-08 09:13:57.103 ***🔗
alicE_block_subscription_message_2814@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX3N1YnNjcmlwdGlvbl9tZXNzYWdlXzI4MTQAbWF0eWdyeXNh</auth>



*** User 2024-03-08 09:13:57.104 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:13:57.105 ***🔗
alicE_block_subscription_message_2814@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-08 09:13:57.105 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d442fbc8b666d1f' from='localhost' version='1.0' xml:lang='en' to='alice_block_subscription_message_2814@localhost'>

*** User 2024-03-08 09:13:57.105 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-08 09:13:57.105 ***🔗
alicE_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='8227a9a104b5408c21236b05a15b1662'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:13:57.106 ***🔗
alicE_block_subscription_message_2814@localhost/res1 in
<iq id='8227a9a104b5408c21236b05a15b1662' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_block_subscription_message_2814@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:13:57.106 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='10897b9ec0060e653abdadda322ab4ce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:13:57.108 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<iq from='localhost' to='alice_block_subscription_message_2814@localhost/res1' id='10897b9ec0060e653abdadda322ab4ce' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:13:57.109 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<presence/>



*** User 2024-03-08 09:13:57.112 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<presence from='alice_block_subscription_message_2814@localhost/res1' to='alice_block_subscription_message_2814@localhost/res1'/>



*** User 2024-03-08 09:13:57.112 ***🔗
bOb_block_subscription_message_2814@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-08 09:13:57.113 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a0507e2b8fe477c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:13:57.113 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-08 09:13:57.113 ***🔗
bOb_block_subscription_message_2814@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19zdWJzY3JpcHRpb25fbWVzc2FnZV8yODE0AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-08 09:13:57.115 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:13:57.115 ***🔗
bOb_block_subscription_message_2814@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-08 09:13:57.115 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6d52046ebc0ce2a' from='localhost' version='1.0' xml:lang='en' to='bob_block_subscription_message_2814@localhost'>

*** User 2024-03-08 09:13:57.116 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-08 09:13:57.116 ***🔗
bOb_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='f62d4ae9d9e7fc8f511aa652f40f26db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:13:57.116 ***🔗
bOb_block_subscription_message_2814@localhost/res1 in
<iq id='f62d4ae9d9e7fc8f511aa652f40f26db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_block_subscription_message_2814@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:13:57.116 ***🔗
bob_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='f9e109232e0c6e84be0f0710b0e30e56'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:13:57.118 ***🔗
bob_block_subscription_message_2814@localhost/res1 in
<iq from='localhost' to='bob_block_subscription_message_2814@localhost/res1' id='f9e109232e0c6e84be0f0710b0e30e56' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:13:57.118 ***🔗
bob_block_subscription_message_2814@localhost/res1 out
<presence/>



*** User 2024-03-08 09:13:57.121 ***🔗
bob_block_subscription_message_2814@localhost/res1 in
<presence from='bob_block_subscription_message_2814@localhost/res1' to='bob_block_subscription_message_2814@localhost/res1'/>



*** User 2024-03-08 09:13:57.121 ***🔗
bob_block_subscription_message_2814@localhost/res1 out
<message type='chat' to='alice_block_subscription_message_2814@localhost/res1'>
	<body>Hi!</body>
</message>



*** User 2024-03-08 09:13:57.124 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<message from='bob_block_subscription_message_2814@localhost/res1' to='alice_block_subscription_message_2814@localhost/res1' type='chat'>
	<body>Hi!</body>
</message>



*** User 2024-03-08 09:13:57.124 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<presence type='unsubscribe' to='bob_block_subscription_message_2814@localhost'/>



*** User 2024-03-08 09:13:57.124 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='106837a8ca219b47aafdcedabe77992b'>
	<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 2024-03-08 09:13:57.180 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<iq from='alice_block_subscription_message_2814@localhost' to='alice_block_subscription_message_2814@localhost/res1' id='pushfc1b249090f06b20' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2024-03-08 09:13:57.180 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<iq from='alice_block_subscription_message_2814@localhost' to='alice_block_subscription_message_2814@localhost/res1' id='106837a8ca219b47aafdcedabe77992b' type='result'/>



*** User 2024-03-08 09:13:57.180 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<iq type='get' id='da5716396008834ec3f3d25ede37629d'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2024-03-08 09:13:57.182 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<iq from='alice_block_subscription_message_2814@localhost' to='alice_block_subscription_message_2814@localhost/res1' id='da5716396008834ec3f3d25ede37629d' 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 2024-03-08 09:13:57.183 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
<iq type='set' id='6682587439bf82a724cf91c253288b06'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_unsubscribed_message'/>
	</query>
</iq>



*** User 2024-03-08 09:13:57.186 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
<iq from='alice_block_subscription_message_2814@localhost' to='alice_block_subscription_message_2814@localhost/res1' id='6682587439bf82a724cf91c253288b06' type='result'/>



*** User 2024-03-08 09:13:57.186 ***🔗
bob_block_subscription_message_2814@localhost/res1 out
<message type='chat' to='alice_block_subscription_message_2814@localhost/res1'>
	<body>Hi!</body>
</message>



*** User 2024-03-08 09:13:57.237 ***🔗
bob_block_subscription_message_2814@localhost/res1 in
<message from='alice_block_subscription_message_2814@localhost/res1' to='bob_block_subscription_message_2814@localhost/res1' type='error'>
	<body>Hi!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2024-03-08 09:13:57.238 ***🔗
bob_block_subscription_message_2814@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:13:57.238 ***🔗
bob_block_subscription_message_2814@localhost/res1 in
</stream:stream>

*** User 2024-03-08 09:13:57.239 ***🔗
alice_block_subscription_message_2814@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:13:57.239 ***🔗
alice_block_subscription_message_2814@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 09:13:57.244 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4759.html



=== Ended at 2024-03-08 09:13:57
=== successfully completed test case
=== === Returned value: ok