=== Test case: privacy_SUITE:block_jid_message_but_not_presence/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_jid_message_but_not_presence.39557.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
*** User 2022-03-04 11:25:53.292 ***
alicE_block_jid_message_but_not_presence_1745@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 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9e01647b7e18fb7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:53.294 ***
alicE_block_jid_message_but_not_presence_1745@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 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlX2J1dF9ub3RfcHJlc2VuY2VfMTc0NQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-04 11:25:53.296 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:53.296 ***
alicE_block_jid_message_but_not_presence_1745@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.297 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69f486858df46964' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:53.297 ***
alicE_block_jid_message_but_not_presence_1745@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.297 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='9a07e0d915c88653cf9b920411c55e9c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:25:53.297 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq id='9a07e0d915c88653cf9b920411c55e9c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_jid_message_but_not_presence_1745@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:25:53.297 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='26eb6bd695c8cf8fc5ec5eb5a704eed9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:25:53.298 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq type='result' id='26eb6bd695c8cf8fc5ec5eb5a704eed9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:25:53.298 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<presence/>
*** User 2022-03-04 11:25:53.302 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<presence from='alicE_block_jid_message_but_not_presence_1745@localhost/res1' to='alice_block_jid_message_but_not_presence_1745@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:53.302 ***
bOb_block_jid_message_but_not_presence_1745@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.303 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2efbd611694b5105' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:53.304 ***
bOb_block_jid_message_but_not_presence_1745@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.304 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV9idXRfbm90X3ByZXNlbmNlXzE3NDUAbWFrcm9saWth</auth>
*** User 2022-03-04 11:25:53.305 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:53.305 ***
bOb_block_jid_message_but_not_presence_1745@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.305 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e66535fa8fd949eb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:53.305 ***
bOb_block_jid_message_but_not_presence_1745@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.305 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='fa24eb25cb69b68300b4e003334f6592'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:25:53.306 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq id='fa24eb25cb69b68300b4e003334f6592' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_jid_message_but_not_presence_1745@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:25:53.306 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='6e0d0972cea3c5fd06f704806da242f8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:25:53.306 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq type='result' id='6e0d0972cea3c5fd06f704806da242f8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:25:53.306 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<presence/>
*** User 2022-03-04 11:25:53.353 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1745@localhost/res1' to='bob_block_jid_message_but_not_presence_1745@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:53.354 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-03-04 11:25:53.354 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<message from='bOb_block_jid_message_but_not_presence_1745@localhost/res1' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' xml:lang='en' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-03-04 11:25:53.354 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='2468b9a5c434ff60f9a665681523af18'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item order='1' type='jid' value='bOb_block_jid_message_but_not_presence_1745@localhost' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-04 11:25:53.357 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1745@localhost' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' id='push28f39ad5dab73b2d' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-04 11:25:53.357 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1745@localhost' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' id='2468b9a5c434ff60f9a665681523af18' type='result'/>
*** User 2022-03-04 11:25:53.358 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='get' id='b60a8597a819ea15f3c9a8af3c1cb06e'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-04 11:25:53.359 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1745@localhost' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' id='b60a8597a819ea15f3c9a8af3c1cb06e' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item type='jid' value='bob_block_jid_message_but_not_presence_1745@localhost' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-04 11:25:53.359 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
<iq type='set' id='a43100bce6c1b0ad02f3a75ecbb0073b'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-04 11:25:53.361 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1745@localhost' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' id='a43100bce6c1b0ad02f3a75ecbb0073b' type='result'/>
*** User 2022-03-04 11:25:53.361 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' type='chat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-03-04 11:25:53.412 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
<message from='alicE_block_jid_message_but_not_presence_1745@localhost/res1' to='bOb_block_jid_message_but_not_presence_1745@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-03-04 11:25:53.412 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
<presence to='alicE_block_jid_message_but_not_presence_1745@localhost/res1'/>
*** User 2022-03-04 11:25:53.413 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1745@localhost/res1' to='alicE_block_jid_message_but_not_presence_1745@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:53.413 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:25:53.414 ***
bOb_block_jid_message_but_not_presence_1745@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:25:53.414 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:25:53.414 ***
alicE_block_jid_message_but_not_presence_1745@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:25:53
=== successfully completed test case
=== === Returned value: ok