=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.1270.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"mysql_redis"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.fail_to_add_contact_for_another_user.38149.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"
=== Started at 2022-03-07 16:07:27
*** User 2022-03-07 16:07:27.212 ***
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-07 16:07:27.213 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1406f3e61d712eaf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.213 ***
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>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-03-07 16:07:27.213 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-03-07 16:07:27.214 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:07:27.215 ***
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-07 16:07:27.215 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ceb73e58f99c0fa2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.215 ***
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-07 16:07:27.215 ***
alicE@localhost/res1 out
<iq type='set' id='ee2490b8fcf16b79c26055cf61aaf12e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:07:27.216 ***
alicE@localhost/res1 in
<iq id='ee2490b8fcf16b79c26055cf61aaf12e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:07:27.216 ***
alicE@localhost/res1 out
<iq type='set' id='5f7ed1fc067bd4e31e0b131e0779bff7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.216 ***
alicE@localhost/res1 in
<iq type='result' id='5f7ed1fc067bd4e31e0b131e0779bff7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.216 ***
alicE@localhost/res1 out
<presence/>
*** User 2022-03-07 16:07:27.223 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:07:27.223 ***
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-07 16:07:27.224 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec2772d1dd61ac72' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.224 ***
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>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-03-07 16:07:27.224 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-03-07 16:07:27.229 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:07:27.229 ***
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-07 16:07:27.229 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2058ebf2a6e2548' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:07:27.229 ***
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-07 16:07:27.229 ***
bOb@localhost/res1 out
<iq type='set' id='67453164d5bfc96d727ccf1b882822b5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:07:27.237 ***
bOb@localhost/res1 in
<iq id='67453164d5bfc96d727ccf1b882822b5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:07:27.238 ***
bOb@localhost/res1 out
<iq type='set' id='73f992d5249730e2de25a15faf7f620b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.238 ***
bOb@localhost/res1 in
<iq type='result' id='73f992d5249730e2de25a15faf7f620b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:07:27.238 ***
bOb@localhost/res1 out
<presence/>
*** User 2022-03-07 16:07:27.243 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:07:27.243 ***
alicE@localhost/res1 out
<iq type='set' id='83c48f68b064798adb624256505c5368' to='bOb@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 16:07:27.244 ***
alicE@localhost/res1 in
<iq from='bOb@localhost' to='alicE@localhost/res1' id='83c48f68b064798adb624256505c5368' 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-07 16:07:27.245 ***
bOb@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:07:27.245 ***
bOb@localhost/res1 in
</stream:stream>
*** User 2022-03-07 16:07:27.245 ***
alicE@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:07:27.246 ***
alicE@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 16:07:27
=== successfully completed test case
=== === Returned value: ok