=== Test case: privacy_SUITE:block_jid_message_but_not_presence/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_jid_message_but_not_presence.132226.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


*** CT 2022-01-27 15:34:58.560 *** View log from node mongooseim@localhost when started mongooseim@localhost_5451.html
*** CT 2022-01-27 15:34:58.561 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:34:58.662 ***
alicE_block_jid_message_but_not_presence_1868@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.662 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c313db8ff7041918' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:58.662 ***
alicE_block_jid_message_but_not_presence_1868@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.662 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlX2J1dF9ub3RfcHJlc2VuY2VfMTg2OABtYXR5Z3J5c2E=</auth>



*** User 2022-01-27 15:34:58.704 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:58.704 ***
alicE_block_jid_message_but_not_presence_1868@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_jid_message_but_not_presence_1868@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e468bdc193799b31' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:58.704 ***
alicE_block_jid_message_but_not_presence_1868@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.704 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='5576e56d68a6b046e30f409f2982ac45'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:58.705 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq id='5576e56d68a6b046e30f409f2982ac45' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_block_jid_message_but_not_presence_1868@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:58.705 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='b4b82d13e1d339260e689fde3e48f38b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:58.705 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq type='result' id='b4b82d13e1d339260e689fde3e48f38b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:58.705 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:58.708 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<presence from='alicE_block_jid_message_but_not_presence_1868@localhost/res1' to='alice_block_jid_message_but_not_presence_1868@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:58.708 ***
bOb_block_jid_message_but_not_presence_1868@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.709 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7ef1348d35c674d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:58.709 ***
bOb_block_jid_message_but_not_presence_1868@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.709 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV9idXRfbm90X3ByZXNlbmNlXzE4NjgAbWFrcm9saWth</auth>



*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@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.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5499772c5d7a132a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@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.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='4ce83f8d9fce9cb96ef4891be1170f08'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq id='4ce83f8d9fce9cb96ef4891be1170f08' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_block_jid_message_but_not_presence_1868@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='e2aa2a8ac0fa55fe50f4929ee5c072c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:58.710 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq type='result' id='e2aa2a8ac0fa55fe50f4929ee5c072c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:58.711 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:58.712 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1868@localhost/res1' to='bob_block_jid_message_but_not_presence_1868@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:58.712 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-01-27 15:34:58.713 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<message from='bOb_block_jid_message_but_not_presence_1868@localhost/res1' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi! What&apos;s your name?</body>
</message>



*** User 2022-01-27 15:34:58.713 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='3fd2b7d2b1712ea6c89b1062376db387'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item order='1' type='jid' value='bOb_block_jid_message_but_not_presence_1868@localhost' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:34:58.831 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1868@localhost' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' id='pushbe6baf1002c5d656' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-01-27 15:34:58.832 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1868@localhost' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' id='3fd2b7d2b1712ea6c89b1062376db387' type='result'/>



*** User 2022-01-27 15:34:58.832 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='get' id='50dea3ed6238779e79d93531da8a7cae'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'/>
	</query>
</iq>



*** User 2022-01-27 15:34:58.986 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1868@localhost' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' id='50dea3ed6238779e79d93531da8a7cae' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_client_message'>
			<item type='jid' value='bob_block_jid_message_but_not_presence_1868@localhost' action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-01-27 15:34:58.986 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
<iq type='set' id='9aa247b29fcae902a63451ab3d77e15c'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_client_message'/>
	</query>
</iq>



*** User 2022-01-27 15:34:58.988 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1868@localhost' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' id='9aa247b29fcae902a63451ab3d77e15c' type='result'/>



*** User 2022-01-27 15:34:58.988 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' type='chat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-01-27 15:34:59.038 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
<message from='alicE_block_jid_message_but_not_presence_1868@localhost/res1' to='bOb_block_jid_message_but_not_presence_1868@localhost/res1' type='error' xml:lang='en'>
	<body>Hi, Alice!</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.038 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
<presence to='alicE_block_jid_message_but_not_presence_1868@localhost/res1'/>



*** User 2022-01-27 15:34:59.039 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1868@localhost/res1' to='alicE_block_jid_message_but_not_presence_1868@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:59.039 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:59.039 ***
bOb_block_jid_message_but_not_presence_1868@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:59.039 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:59.039 ***
alicE_block_jid_message_but_not_presence_1868@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:59.050 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:34:59.051 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5451.html



=== Ended at 2022-01-27 15:34:59
=== successfully completed test case
=== === Returned value: ok