=== Test case: privacy_SUITE:block_jid_message_but_not_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.591.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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.privacy_SUITE.logs/run.2022-02-03_16.38.30/privacy_suite.block_jid_message_but_not_presence.61060.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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.privacy_SUITE.logs/run.2022-02-03_16.38.30/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@c0783a4ae5cf.2022-02-03_16.28.29"
=== Started at 2022-02-03 16:38:31
*** User 2022-02-03 16:38:31.199 ***
alicE_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.200 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b673c4d1985b7c19' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:38:31.200 ***
alicE_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.200 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9tZXNzYWdlX2J1dF9ub3RfcHJlc2VuY2VfMTkzMABtYXR5Z3J5c2E=</auth>
*** User 2022-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d5321e4bfef2b99' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='9592b60e5cd8f50c94e9267b6d7152ec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-03 16:38:31.203 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq id='9592b60e5cd8f50c94e9267b6d7152ec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_jid_message_but_not_presence_1930@localhost/res1</jid>
</bind>
</iq>
*** User 2022-02-03 16:38:31.204 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='313b27ebab627d65eb68a47dfb04ca73'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:38:31.204 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq type='result' id='313b27ebab627d65eb68a47dfb04ca73'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:38:31.204 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<presence/>
*** User 2022-02-03 16:38:31.207 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<presence from='alicE_block_jid_message_but_not_presence_1930@localhost/res1' to='alice_block_jid_message_but_not_presence_1930@localhost/res1' xml:lang='en'/>
*** User 2022-02-03 16:38:31.208 ***
bOb_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.209 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='447e794ef502b136' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:38:31.209 ***
bOb_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.209 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfbWVzc2FnZV9idXRfbm90X3ByZXNlbmNlXzE5MzAAbWFrcm9saWth</auth>
*** User 2022-02-03 16:38:31.215 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-03 16:38:31.215 ***
bOb_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.215 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c6e0de33018945e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-02-03 16:38:31.215 ***
bOb_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.215 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='e0bc66738f20c248e42ecb95e6f44a72'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-03 16:38:31.216 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq id='e0bc66738f20c248e42ecb95e6f44a72' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_jid_message_but_not_presence_1930@localhost/res1</jid>
</bind>
</iq>
*** User 2022-02-03 16:38:31.216 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='aff5691b0da07b442dfc1b8aca018376'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:38:31.216 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq type='result' id='aff5691b0da07b442dfc1b8aca018376'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-03 16:38:31.216 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<presence/>
*** User 2022-02-03 16:38:31.240 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1930@localhost/res1' to='bob_block_jid_message_but_not_presence_1930@localhost/res1' xml:lang='en'/>
*** User 2022-02-03 16:38:31.240 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-02-03 16:38:31.241 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<message from='bOb_block_jid_message_but_not_presence_1930@localhost/res1' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' xml:lang='en' type='chat'>
<body>Hi! What's your name?</body>
</message>
*** User 2022-02-03 16:38:31.241 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='02a2ed2d620379551d5ec474e994010f'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item order='1' type='jid' value='bOb_block_jid_message_but_not_presence_1930@localhost' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-02-03 16:38:31.312 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1930@localhost' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' id='pushc5f5f5c72e84aebf' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-02-03 16:38:31.313 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1930@localhost' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' id='02a2ed2d620379551d5ec474e994010f' type='result'/>
*** User 2022-02-03 16:38:31.313 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='get' id='143bd426e62e10a002aa5746a8f77487'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'/>
</query>
</iq>
*** User 2022-02-03 16:38:31.316 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1930@localhost' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' id='143bd426e62e10a002aa5746a8f77487' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client_message'>
<item type='jid' value='bob_block_jid_message_but_not_presence_1930@localhost' action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-02-03 16:38:31.316 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
<iq type='set' id='5f0695d29cc69a9fa01f6fc9e2f77408'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_client_message'/>
</query>
</iq>
*** User 2022-02-03 16:38:31.317 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<iq from='alicE_block_jid_message_but_not_presence_1930@localhost' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' id='5f0695d29cc69a9fa01f6fc9e2f77408' type='result'/>
*** User 2022-02-03 16:38:31.318 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<message to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' type='chat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-02-03 16:38:31.369 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
<message from='alicE_block_jid_message_but_not_presence_1930@localhost/res1' to='bOb_block_jid_message_but_not_presence_1930@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-02-03 16:38:31.369 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
<presence to='alicE_block_jid_message_but_not_presence_1930@localhost/res1'/>
*** User 2022-02-03 16:38:31.369 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
<presence from='bOb_block_jid_message_but_not_presence_1930@localhost/res1' to='alicE_block_jid_message_but_not_presence_1930@localhost/res1' xml:lang='en'/>
*** User 2022-02-03 16:38:31.370 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 out
</stream:stream>
*** User 2022-02-03 16:38:31.370 ***
bOb_block_jid_message_but_not_presence_1930@localhost/res1 in
</stream:stream>
*** User 2022-02-03 16:38:31.370 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 out
</stream:stream>
*** User 2022-02-03 16:38:31.371 ***
alicE_block_jid_message_but_not_presence_1930@localhost/res1 in
</stream:stream>
=== Ended at 2022-02-03 16:38:31
=== successfully completed test case
=== === Returned value: ok