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

=== Config value:

    [{watchdog,<0.2040.2>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.25.52/privacy_suite.block_group_message.142722.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.25.52/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:25:53


*** CT 2022-03-04 11:25:53.257 *** View log from node mongooseim@localhost when started mongooseim@localhost_5545.html
*** CT 2022-03-04 11:25:53.257 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:25:53.284 ***
alicE_block_group_message_1737@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-03-04 11:25:53.285 ***
alicE_block_group_message_1737@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3c03928263bfd2d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.285 ***
alicE_block_group_message_1737@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-03-04 11:25:53.286 ***
alicE_block_group_message_1737@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2dyb3VwX21lc3NhZ2VfMTczNwBtYXR5Z3J5c2E=</auth>



*** User 2022-03-04 11:25:53.286 ***
alicE_block_group_message_1737@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:53.287 ***
alicE_block_group_message_1737@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-03-04 11:25:53.287 ***
alicE_block_group_message_1737@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='292d8895ca929323' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.287 ***
alicE_block_group_message_1737@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-03-04 11:25:53.287 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='set' id='4a56192e231793719d3bb357357def39'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.288 ***
alicE_block_group_message_1737@localhost/res1 in
<iq id='4a56192e231793719d3bb357357def39' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_group_message_1737@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.288 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='set' id='7ced70ad5836df7c31a600474a1cd5bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.288 ***
alicE_block_group_message_1737@localhost/res1 in
<iq type='result' id='7ced70ad5836df7c31a600474a1cd5bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.288 ***
alicE_block_group_message_1737@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:53.293 ***
alicE_block_group_message_1737@localhost/res1 in
<presence from='alicE_block_group_message_1737@localhost/res1' to='alice_block_group_message_1737@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:53.293 ***
bOb_block_group_message_1737@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-03-04 11:25:53.294 ***
bOb_block_group_message_1737@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9f772e0db5ec710' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.294 ***
bOb_block_group_message_1737@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-03-04 11:25:53.294 ***
bOb_block_group_message_1737@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19ncm91cF9tZXNzYWdlXzE3MzcAbWFrcm9saWth</auth>



*** User 2022-03-04 11:25:53.296 ***
bOb_block_group_message_1737@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:53.296 ***
bOb_block_group_message_1737@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-03-04 11:25:53.296 ***
bOb_block_group_message_1737@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23a473cb4c2ef486' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:53.296 ***
bOb_block_group_message_1737@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-03-04 11:25:53.296 ***
bOb_block_group_message_1737@localhost/res1 out
<iq type='set' id='2106f4da4b0388fe9dde03867be19937'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.297 ***
bOb_block_group_message_1737@localhost/res1 in
<iq id='2106f4da4b0388fe9dde03867be19937' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_group_message_1737@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:53.297 ***
bOb_block_group_message_1737@localhost/res1 out
<iq type='set' id='7a8daf42938b9d8f599c0fafe946bdd3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.297 ***
bOb_block_group_message_1737@localhost/res1 in
<iq type='result' id='7a8daf42938b9d8f599c0fafe946bdd3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:53.298 ***
bOb_block_group_message_1737@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:53.301 ***
bOb_block_group_message_1737@localhost/res1 in
<presence from='bOb_block_group_message_1737@localhost/res1' to='bob_block_group_message_1737@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:53.301 ***
bOb_block_group_message_1737@localhost/res1 out
<message to='alicE_block_group_message_1737@localhost/res1' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-03-04 11:25:53.302 ***
alicE_block_group_message_1737@localhost/res1 in
<message from='bOb_block_group_message_1737@localhost/res1' to='alicE_block_group_message_1737@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-03-04 11:25:53.302 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='set' id='810776952c7a5f17b6a926e31ffd6b04'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_block_group_message_1737@localhost' name='Ugly Bastard'>
			<group>ignored</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:53.347 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='pushf42fa73d81f10b88' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Ugly Bastard' jid='bob_block_group_message_1737@localhost'>
			<group>ignored</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:53.347 ***
alicE_block_group_message_1737@localhost/res1 out
<iq to='alicE_block_group_message_1737@localhost' id='pushf42fa73d81f10b88' type='result'/>



*** User 2022-03-04 11:25:53.347 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='810776952c7a5f17b6a926e31ffd6b04' type='result'/>



*** User 2022-03-04 11:25:53.347 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='set' id='300d7ca37638e699e8546a5ddfe2c360'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'>
			<item order='1' type='group' value='ignored' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:25:53.352 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='pusha13042509a89e059' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.352 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='300d7ca37638e699e8546a5ddfe2c360' type='result'/>



*** User 2022-03-04 11:25:53.353 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='get' id='570494eb6d969faa347f47f7600c0b4c'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.358 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='570494eb6d969faa347f47f7600c0b4c' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'>
			<item type='group' value='ignored' action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:25:53.358 ***
alicE_block_group_message_1737@localhost/res1 out
<iq type='set' id='2bf0e16ab1cd7877a8b3373fe64e17c8'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-04 11:25:53.360 ***
alicE_block_group_message_1737@localhost/res1 in
<iq from='alicE_block_group_message_1737@localhost' to='alicE_block_group_message_1737@localhost/res1' id='2bf0e16ab1cd7877a8b3373fe64e17c8' type='result'/>



*** User 2022-03-04 11:25:53.361 ***
bOb_block_group_message_1737@localhost/res1 out
<message to='alicE_block_group_message_1737@localhost/res1' type='chat'>
	<body>Hi, blocked group!</body>
</message>



*** User 2022-03-04 11:25:53.412 ***
bOb_block_group_message_1737@localhost/res1 in
<message from='alicE_block_group_message_1737@localhost/res1' to='bOb_block_group_message_1737@localhost/res1' type='error' xml:lang='en'>
	<body>Hi, blocked group!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-03-04 11:25:53.412 ***
bOb_block_group_message_1737@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:53.413 ***
bOb_block_group_message_1737@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:53.413 ***
alicE_block_group_message_1737@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:53.414 ***
alicE_block_group_message_1737@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:53.429 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:25:53.430 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5545.html



=== Ended at 2022-03-04 11:25:53
=== successfully completed test case
=== === Returned value: ok