=== Test case: privacy_SUITE:block_jid_message_but_not_presence/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_jid_message_but_not_presence.51074.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
*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_but_not_presence_1029@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.793 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6770b5aa9f9bf4b1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.793 ***
alicE_block_jid_message_but_not_presence_1029@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.794 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlX2J1dF9ub3RfcHJlc2VuY2VfMTAyOQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:36:31.796 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:31.796 ***
alicE_block_jid_message_but_not_presence_1029@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.797 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e42a3ab8032dcfc8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.797 ***
alicE_block_jid_message_but_not_presence_1029@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.797 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='ff0e3a7d1825da7dd5243537b4d38e39'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:31.797 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq id='ff0e3a7d1825da7dd5243537b4d38e39' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_jid_message_but_not_presence_1029@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:31.797 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='bda8fc2f59fd713ab99fdc3767c11883'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.797 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq type='result' id='bda8fc2f59fd713ab99fdc3767c11883'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.798 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:31.799 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<presence from='alicE_block_jid_message_but_not_presence_1029@localhost/res1' to='alice_block_jid_message_but_not_presence_1029@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:31.799 ***
bOb_block_jid_message_but_not_presence_1029@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.800 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8325d1e505bd718b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.800 ***
bOb_block_jid_message_but_not_presence_1029@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.800 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV9idXRfbm90X3ByZXNlbmNlXzEwMjkAbWFrcm9saWth</auth>
*** User 2022-03-03 10:36:31.803 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:31.803 ***
bOb_block_jid_message_but_not_presence_1029@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.804 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a6e723061b61dc0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:31.804 ***
bOb_block_jid_message_but_not_presence_1029@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.804 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='8ab15b344376dd0044061cb8faa69e42'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:31.804 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq id='8ab15b344376dd0044061cb8faa69e42' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_jid_message_but_not_presence_1029@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:31.805 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='12c4d0fa86ee39c48558f52ec3c85f88'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.805 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq type='result' id='12c4d0fa86ee39c48558f52ec3c85f88'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:31.805 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:31.806 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1029@localhost/res1' to='bob_block_jid_message_but_not_presence_1029@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:31.806 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-03-03 10:36:31.807 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<message from='bOb_block_jid_message_but_not_presence_1029@localhost/res1' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' xml:lang='en' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-03-03 10:36:31.807 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='0b8adcfddb8510185ccd7382760817f7'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item order='1' type='jid' value='bOb_block_jid_message_but_not_presence_1029@localhost' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-03 10:36:31.807 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1029@localhost' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' id='pushe0490efe75237233' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.808 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1029@localhost' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' id='0b8adcfddb8510185ccd7382760817f7' type='result'/>
*** User 2022-03-03 10:36:31.808 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='get' id='9a994cea0dedb35dc950a070dbeb9c08'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.808 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1029@localhost' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' id='9a994cea0dedb35dc950a070dbeb9c08' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item type='jid' value='bob_block_jid_message_but_not_presence_1029@localhost' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-03 10:36:31.808 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
<iq type='set' id='d2934c9f9677da46938ad9443a75dbc2'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_message'/>
</query>
</iq>
*** User 2022-03-03 10:36:31.808 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1029@localhost' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' id='d2934c9f9677da46938ad9443a75dbc2' type='result'/>
*** User 2022-03-03 10:36:31.808 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' type='chat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-03-03 10:36:31.859 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
<message from='alicE_block_jid_message_but_not_presence_1029@localhost/res1' to='bOb_block_jid_message_but_not_presence_1029@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-03 10:36:31.859 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
<presence to='alicE_block_jid_message_but_not_presence_1029@localhost/res1'/>
*** User 2022-03-03 10:36:31.860 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1029@localhost/res1' to='alicE_block_jid_message_but_not_presence_1029@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:31.860 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:31.860 ***
bOb_block_jid_message_but_not_presence_1029@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:31.860 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:31.860 ***
alicE_block_jid_message_but_not_presence_1029@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:31
=== successfully completed test case
=== === Returned value: ok