=== Test case: privacy_SUITE:block_jid_all/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_all.132098.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
*** User 2022-01-27 15:34:58.704 ***
alicE_block_jid_all_1870@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_all_1870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='581992602be2795a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.704 ***
alicE_block_jid_all_1870@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.704 ***
alicE_block_jid_all_1870@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2ppZF9hbGxfMTg3MABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:34:58.755 ***
alicE_block_jid_all_1870@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:58.756 ***
alicE_block_jid_all_1870@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.756 ***
alicE_block_jid_all_1870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac15e0e31eed9b81' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.756 ***
alicE_block_jid_all_1870@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.756 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='set' id='d7c72c74d1f41311040cf01947cf5730'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq id='d7c72c74d1f41311040cf01947cf5730' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_block_jid_all_1870@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='set' id='227c229cbba1ec252a3a2a4d9c1a6b29'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq type='result' id='227c229cbba1ec252a3a2a4d9c1a6b29'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.757 ***
alicE_block_jid_all_1870@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:58.760 ***
alicE_block_jid_all_1870@localhost/res1 in
<presence from='alicE_block_jid_all_1870@localhost/res1' to='alice_block_jid_all_1870@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:58.760 ***
bOb_block_jid_all_1870@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.760 ***
bOb_block_jid_all_1870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1ae04053f2790cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.760 ***
bOb_block_jid_all_1870@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.761 ***
bOb_block_jid_all_1870@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19qaWRfYWxsXzE4NzAAbWFrcm9saWth</auth>
*** User 2022-01-27 15:34:58.762 ***
bOb_block_jid_all_1870@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:58.762 ***
bOb_block_jid_all_1870@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.762 ***
bOb_block_jid_all_1870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ba37c95617794a81' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:58.762 ***
bOb_block_jid_all_1870@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.762 ***
bOb_block_jid_all_1870@localhost/res1 out
<iq type='set' id='57bba559844f52936dc30ed510f28c9b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:58.763 ***
bOb_block_jid_all_1870@localhost/res1 in
<iq id='57bba559844f52936dc30ed510f28c9b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_block_jid_all_1870@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:58.763 ***
bOb_block_jid_all_1870@localhost/res1 out
<iq type='set' id='50ae087bdb4670d33a475f8c9bed9793'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.763 ***
bOb_block_jid_all_1870@localhost/res1 in
<iq type='result' id='50ae087bdb4670d33a475f8c9bed9793'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:58.763 ***
bOb_block_jid_all_1870@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:58.888 ***
bOb_block_jid_all_1870@localhost/res1 in
<presence from='bOb_block_jid_all_1870@localhost/res1' to='bob_block_jid_all_1870@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:58.888 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='set' id='1972d3c2f5d236e0923e3be1ba2f69d5'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_jid_all'>
<item order='1' type='jid' value='bOb_block_jid_all_1870@localhost' action='deny'/>
<item order='2' type='jid' value='localhost' action='deny'/>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:58.951 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq from='alicE_block_jid_all_1870@localhost' to='alicE_block_jid_all_1870@localhost/res1' id='pushcdb77c77b40662f8' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_jid_all'/>
</query>
</iq>
*** User 2022-01-27 15:34:58.951 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq from='alicE_block_jid_all_1870@localhost' to='alicE_block_jid_all_1870@localhost/res1' id='1972d3c2f5d236e0923e3be1ba2f69d5' type='result'/>
*** User 2022-01-27 15:34:58.951 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='get' id='a3aef9211c932300b4292fb908325c6d'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_jid_all'/>
</query>
</iq>
*** User 2022-01-27 15:34:58.954 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq from='alicE_block_jid_all_1870@localhost' to='alicE_block_jid_all_1870@localhost/res1' id='a3aef9211c932300b4292fb908325c6d' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_jid_all'>
<item type='jid' value='bob_block_jid_all_1870@localhost' action='deny' order='1'/>
<item type='jid' value='localhost' action='deny' order='2'/>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:58.954 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='set' id='4f878efaa7b3d4379d873a55eb50954d'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_jid_all'/>
</query>
</iq>
*** User 2022-01-27 15:34:59.154 ***
bOb_block_jid_all_1870@localhost/res1 out
<message to='alicE_block_jid_all_1870@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2022-01-27 15:34:59.155 ***
bOb_block_jid_all_1870@localhost/res1 in
<message from='alicE_block_jid_all_1870@localhost/res1' to='bOb_block_jid_all_1870@localhost/res1' type='error' xml:lang='en'>
<body>Hi!</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.155 ***
bOb_block_jid_all_1870@localhost/res1 out
<presence to='alicE_block_jid_all_1870@localhost'/>
*** User 2022-01-27 15:34:59.205 ***
alicE_block_jid_all_1870@localhost/res1 out
<presence to='bOb_block_jid_all_1870@localhost'/>
*** User 2022-01-27 15:34:59.256 ***
alicE_block_jid_all_1870@localhost/res1 in
<presence from='bOb_block_jid_all_1870@localhost' to='alicE_block_jid_all_1870@localhost/res1' type='error' xml:lang='en'>
<error code='406' type='cancel'>
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</presence>
*** User 2022-01-27 15:34:59.256 ***
alicE_block_jid_all_1870@localhost/res1 out
<iq type='set' id='6c1e99aec0573e231edeedb2809a0b68'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client'>
<item order='1' type='jid' value='bOb_block_jid_all_1870@localhost' action='deny'/>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:59.307 ***
alicE_block_jid_all_1870@localhost/res1 in
<iq from='alicE_block_jid_all_1870@localhost' to='alicE_block_jid_all_1870@localhost/res1' id='pushcb70383be3569e3c' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_client'/>
</query>
</iq>
*** User 2022-01-27 15:34:59.307 ***
bOb_block_jid_all_1870@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:59.308 ***
bOb_block_jid_all_1870@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:59.308 ***
alicE_block_jid_all_1870@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:59.308 ***
alicE_block_jid_all_1870@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:59
=== successfully completed test case
=== === Returned value: ok