=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.5394.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/presence_suite.fail_to_add_contact_for_another_user.13061.html"},
{tc_group_properties,[{name,roster},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25"
=== Started at 2022-03-03 10:37:31
*** User 2022-03-03 10:37:31.288 ***
alicE@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:37:31.288 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c7c1493738de28f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:37:31.288 ***
alicE@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:37:31.288 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:37:31.289 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:37:31.289 ***
alicE@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:37:31.290 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a7669355be7b9b5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:37:31.290 ***
alicE@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:37:31.290 ***
alicE@localhost/res1 out
<iq type='set' id='c6a2c40c6b4f101ef7c90bc7d8445be7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:37:31.290 ***
alicE@localhost/res1 in
<iq id='c6a2c40c6b4f101ef7c90bc7d8445be7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:37:31.290 ***
alicE@localhost/res1 out
<iq type='set' id='64cfa917c3c7a437e2f2e24ab33dd4c0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:37:31.291 ***
alicE@localhost/res1 in
<iq type='result' id='64cfa917c3c7a437e2f2e24ab33dd4c0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:37:31.291 ***
alicE@localhost/res1 out
<presence/>
*** User 2022-03-03 10:37:31.292 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:37:31.293 ***
bOb@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:37:31.293 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='479c35f949515ffe' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:37:31.293 ***
bOb@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:37:31.293 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:37:31.295 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:37:31.295 ***
bOb@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:37:31.296 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='346c407a6d02a059' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:37:31.296 ***
bOb@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:37:31.296 ***
bOb@localhost/res1 out
<iq type='set' id='25e3dc3250376aaccbca1bd5d76acb36'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:37:31.296 ***
bOb@localhost/res1 in
<iq id='25e3dc3250376aaccbca1bd5d76acb36' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:37:31.296 ***
bOb@localhost/res1 out
<iq type='set' id='9c78f9409b18cc3f54ff4e862d70ec38'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:37:31.296 ***
bOb@localhost/res1 in
<iq type='result' id='9c78f9409b18cc3f54ff4e862d70ec38'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:37:31.296 ***
bOb@localhost/res1 out
<presence/>
*** User 2022-03-03 10:37:31.297 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:37:31.297 ***
alicE@localhost/res1 out
<iq type='set' id='edc3f47bf386de677271b67a83780d4f' to='bOb@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-03 10:37:31.298 ***
alicE@localhost/res1 in
<iq from='bOb@localhost' to='alicE@localhost/res1' id='edc3f47bf386de677271b67a83780d4f' type='error'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
<error code='403' type='auth'>
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>It is forbidden to query the roster of another user</text>
</error>
</iq>
*** User 2022-03-03 10:37:31.298 ***
bOb@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:37:31.299 ***
bOb@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:37:31.299 ***
alicE@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:37:31.299 ***
alicE@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:37:31
=== successfully completed test case
=== === Returned value: ok