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

=== Config value:

    [{watchdog,<0.6243.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,mnesia},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/privacy_suite.block_group_message.50178.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.privacy_SUITE.logs/run.2022-03-03_10.36.31/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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:31


*** CT 2022-03-03 10:36:31.765 *** View log from node mongooseim@localhost when started mongooseim@localhost_4524.html
*** CT 2022-03-03 10:36:31.766 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:36:31.789 ***
alicE_block_group_message_1021@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-03 10:36:31.789 ***
alicE_block_group_message_1021@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f14f26ededd777fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.790 ***
alicE_block_group_message_1021@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>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-03 10:36:31.790 ***
alicE_block_group_message_1021@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2dyb3VwX21lc3NhZ2VfMTAyMQBtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:36:31.792 ***
alicE_block_group_message_1021@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:31.792 ***
alicE_block_group_message_1021@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-03 10:36:31.792 ***
alicE_block_group_message_1021@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3f522e82a166c3f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.792 ***
alicE_block_group_message_1021@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-03 10:36:31.792 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='set' id='50d093f4c02d156f4dbfd5a780e8eb41'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_group_message_1021@localhost/res1 in
<iq id='50d093f4c02d156f4dbfd5a780e8eb41' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_group_message_1021@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='set' id='ca41c043f92622d8cc92aa4db94791de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_group_message_1021@localhost/res1 in
<iq type='result' id='ca41c043f92622d8cc92aa4db94791de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.793 ***
alicE_block_group_message_1021@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:31.794 ***
alicE_block_group_message_1021@localhost/res1 in
<presence from='alicE_block_group_message_1021@localhost/res1' to='alice_block_group_message_1021@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:31.795 ***
bOb_block_group_message_1021@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-03 10:36:31.796 ***
bOb_block_group_message_1021@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5efffee4df58c579' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.796 ***
bOb_block_group_message_1021@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>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-03 10:36:31.796 ***
bOb_block_group_message_1021@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19ncm91cF9tZXNzYWdlXzEwMjEAbWFrcm9saWth</auth>



*** User 2022-03-03 10:36:31.798 ***
bOb_block_group_message_1021@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:31.798 ***
bOb_block_group_message_1021@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-03 10:36:31.799 ***
bOb_block_group_message_1021@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a74ec8172b4d11c4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:31.799 ***
bOb_block_group_message_1021@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-03 10:36:31.799 ***
bOb_block_group_message_1021@localhost/res1 out
<iq type='set' id='cd47e01fad5d2173286c622bfbba8581'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.799 ***
bOb_block_group_message_1021@localhost/res1 in
<iq id='cd47e01fad5d2173286c622bfbba8581' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_group_message_1021@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:31.799 ***
bOb_block_group_message_1021@localhost/res1 out
<iq type='set' id='ad0b805aa9a24eaf3fef242352d2e606'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_group_message_1021@localhost/res1 in
<iq type='result' id='ad0b805aa9a24eaf3fef242352d2e606'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:31.800 ***
bOb_block_group_message_1021@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:31.801 ***
bOb_block_group_message_1021@localhost/res1 in
<presence from='bOb_block_group_message_1021@localhost/res1' to='bob_block_group_message_1021@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:31.801 ***
bOb_block_group_message_1021@localhost/res1 out
<message to='alicE_block_group_message_1021@localhost/res1' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-03-03 10:36:31.802 ***
alicE_block_group_message_1021@localhost/res1 in
<message from='bOb_block_group_message_1021@localhost/res1' to='alicE_block_group_message_1021@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi!</body>
</message>



*** User 2022-03-03 10:36:31.802 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='set' id='b59610c560af49e2a45f27e81501621a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_block_group_message_1021@localhost' name='Ugly Bastard'>
			<group>ignored</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='pushcee6a863816ce541' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Ugly Bastard' jid='bob_block_group_message_1021@localhost'>
			<group>ignored</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_group_message_1021@localhost/res1 out
<iq to='alicE_block_group_message_1021@localhost' id='pushcee6a863816ce541' type='result'/>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='b59610c560af49e2a45f27e81501621a' type='result'/>



*** User 2022-03-03 10:36:31.804 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='set' id='6ec25c070ffeed1bf98a18dd8e11f4ae'>
	<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-03 10:36:31.804 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='push235b0e69463f13f1' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.805 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='6ec25c070ffeed1bf98a18dd8e11f4ae' type='result'/>



*** User 2022-03-03 10:36:31.805 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='get' id='c65ac6f8a4cce98a40d4d479ba7d24fe'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.805 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='c65ac6f8a4cce98a40d4d479ba7d24fe' 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-03 10:36:31.805 ***
alicE_block_group_message_1021@localhost/res1 out
<iq type='set' id='97c1557d5e7e55f4a81ba160fb50d2f6'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_group_message'/>
	</query>
</iq>



*** User 2022-03-03 10:36:31.806 ***
alicE_block_group_message_1021@localhost/res1 in
<iq from='alicE_block_group_message_1021@localhost' to='alicE_block_group_message_1021@localhost/res1' id='97c1557d5e7e55f4a81ba160fb50d2f6' type='result'/>



*** User 2022-03-03 10:36:31.806 ***
bOb_block_group_message_1021@localhost/res1 out
<message to='alicE_block_group_message_1021@localhost/res1' type='chat'>
	<body>Hi, blocked group!</body>
</message>



*** User 2022-03-03 10:36:31.857 ***
bOb_block_group_message_1021@localhost/res1 in
<message from='alicE_block_group_message_1021@localhost/res1' to='bOb_block_group_message_1021@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-03 10:36:31.857 ***
bOb_block_group_message_1021@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:31.857 ***
bOb_block_group_message_1021@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:31.858 ***
alicE_block_group_message_1021@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:31.858 ***
alicE_block_group_message_1021@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:31.860 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:31.860 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:36:31
=== successfully completed test case
=== === Returned value: ok