=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.31444.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/presence_suite.fail_to_add_contact_for_another_user.35717.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/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@ebe8a8f9fc53.2022-01-25_16.21.59"
=== Started at 2022-01-25 16:32:28
*** User 2022-01-25 16:32:28.670 ***
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-01-25 16:32:28.671 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='37002afa78abd046' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:32:28.671 ***
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-01-25 16:32:28.671 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-01-25 16:32:28.672 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:32:28.672 ***
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-01-25 16:32:28.672 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='20ab3bd1db1a496f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:32:28.672 ***
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-01-25 16:32:28.673 ***
alicE@localhost/res1 out
<iq type='set' id='03e2902580018f8bc4d1280ff4e0baff'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:32:28.673 ***
alicE@localhost/res1 in
<iq id='03e2902580018f8bc4d1280ff4e0baff' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:32:28.673 ***
alicE@localhost/res1 out
<iq type='set' id='3fd3c6a1d6062d0c9892de32b3769b81'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:32:28.673 ***
alicE@localhost/res1 in
<iq type='result' id='3fd3c6a1d6062d0c9892de32b3769b81'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:32:28.673 ***
alicE@localhost/res1 out
<presence/>
*** User 2022-01-25 16:32:28.675 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:32:28.676 ***
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-01-25 16:32:28.676 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f13da2fc999b39cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:32:28.676 ***
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-01-25 16:32:28.676 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-01-25 16:32:28.679 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:32:28.679 ***
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-01-25 16:32:28.679 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d335df44d4b9384' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:32:28.679 ***
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-01-25 16:32:28.679 ***
bOb@localhost/res1 out
<iq type='set' id='32803795fb3a647395fe88b599239706'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:32:28.680 ***
bOb@localhost/res1 in
<iq id='32803795fb3a647395fe88b599239706' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:32:28.680 ***
bOb@localhost/res1 out
<iq type='set' id='e3a63149f73805e4735e8d6f1e86ab67'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:32:28.680 ***
bOb@localhost/res1 in
<iq type='result' id='e3a63149f73805e4735e8d6f1e86ab67'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:32:28.680 ***
bOb@localhost/res1 out
<presence/>
*** User 2022-01-25 16:32:28.681 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:32:28.682 ***
alicE@localhost/res1 out
<iq type='set' id='9ae1029b5655d5900649e82eecdd30cd' to='bOb@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-25 16:32:28.682 ***
alicE@localhost/res1 in
<iq from='bOb@localhost' to='alicE@localhost/res1' id='9ae1029b5655d5900649e82eecdd30cd' 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-01-25 16:32:28.682 ***
bOb@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:32:28.682 ***
bOb@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:32:28.682 ***
alicE@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:32:28.683 ***
alicE@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:32:28
=== successfully completed test case
=== === Returned value: ok