=== Test case: privacy_SUITE:block_jid_message_but_not_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.4759.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.32.07/privacy_suite.block_jid_message_but_not_presence.54658.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.32.07/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@d66972e2ee88.2022-01-27_15.24.27"
=== Started at 2022-01-27 15:32:07
*** User 2022-01-27 15:32:07.598 ***
alicE_block_jid_message_but_not_presence_873@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:32:07.598 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb34eaa2cf48028a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:07.598 ***
alicE_block_jid_message_but_not_presence_873@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-01-27 15:32:07.599 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlX2J1dF9ub3RfcHJlc2VuY2VfODczAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:32:07.601 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:07.601 ***
alicE_block_jid_message_but_not_presence_873@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:32:07.601 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e0e75a7f3449a13' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:07.601 ***
alicE_block_jid_message_but_not_presence_873@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:32:07.601 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='abc341b4efecb32533a091febc3e4e11'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:32:07.602 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq id='abc341b4efecb32533a091febc3e4e11' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_jid_message_but_not_presence_873@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:32:07.602 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='c5f24a3465d56619f7a638aa78ff8919'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:07.602 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq type='result' id='c5f24a3465d56619f7a638aa78ff8919'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:07.602 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<presence/>
*** User 2022-01-27 15:32:07.603 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<presence from='alicE_block_jid_message_but_not_presence_873@localhost/res1' to='alice_block_jid_message_but_not_presence_873@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:07.603 ***
bOb_block_jid_message_but_not_presence_873@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:32:07.605 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee9373b923d4b2e8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:07.605 ***
bOb_block_jid_message_but_not_presence_873@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-01-27 15:32:07.605 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV9idXRfbm90X3ByZXNlbmNlXzg3MwBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:32:07.608 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:07.608 ***
bOb_block_jid_message_but_not_presence_873@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:32:07.609 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2d8e2edfb4bc435' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:07.609 ***
bOb_block_jid_message_but_not_presence_873@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:32:07.609 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='344b1c19476ea367a085145e00920cc9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:32:07.609 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<iq id='344b1c19476ea367a085145e00920cc9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_jid_message_but_not_presence_873@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:32:07.609 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='153884f40aa772b16cae656c7641ed8c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:07.610 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<iq type='result' id='153884f40aa772b16cae656c7641ed8c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:07.610 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<presence/>
*** User 2022-01-27 15:32:07.611 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_873@localhost/res1' to='bob_block_jid_message_but_not_presence_873@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:07.611 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_873@localhost/res1' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-01-27 15:32:07.611 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<message from='bOb_block_jid_message_but_not_presence_873@localhost/res1' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' xml:lang='en' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-01-27 15:32:07.611 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='d6ed0c6d84e8ba626d1e3960cf37b263'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item order='1' type='jid' value='bOb_block_jid_message_but_not_presence_873@localhost' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:32:07.612 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_873@localhost' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' id='pushf8625be743a2832f' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-01-27 15:32:07.612 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_873@localhost' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' id='d6ed0c6d84e8ba626d1e3960cf37b263' type='result'/>
*** User 2022-01-27 15:32:07.612 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='get' id='2bf2558d991fa1df632e359727a43280'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-01-27 15:32:07.613 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_873@localhost' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' id='2bf2558d991fa1df632e359727a43280' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item type='jid' value='bob_block_jid_message_but_not_presence_873@localhost' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:32:07.613 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
<iq type='set' id='4da308422dcf5b57e9308f0eb576527c'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_message'/>
</query>
</iq>
*** User 2022-01-27 15:32:07.613 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_873@localhost' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' id='4da308422dcf5b57e9308f0eb576527c' type='result'/>
*** User 2022-01-27 15:32:07.613 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_873@localhost/res1' type='chat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-01-27 15:32:07.664 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
<message from='alicE_block_jid_message_but_not_presence_873@localhost/res1' to='bOb_block_jid_message_but_not_presence_873@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:32:07.664 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
<presence to='alicE_block_jid_message_but_not_presence_873@localhost/res1'/>
*** User 2022-01-27 15:32:07.669 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_873@localhost/res1' to='alicE_block_jid_message_but_not_presence_873@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:07.669 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:32:07.670 ***
bOb_block_jid_message_but_not_presence_873@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:32:07.670 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:32:07.670 ***
alicE_block_jid_message_but_not_presence_873@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:32:07
=== successfully completed test case
=== === Returned value: ok