=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.32034.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.fail_to_add_contact_for_another_user.102275.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:34:56
*** User 2022-01-27 15:34:56.117 ***
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-27 15:34:56.118 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cf78eef1572b2f9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.118 ***
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-27 15:34:56.118 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:34:56.119 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.119 ***
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-27 15:34:56.119 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2f20812b2f7141e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.119 ***
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-27 15:34:56.119 ***
alicE@localhost/res1 out
<iq type='set' id='18c5349e84f8ff18ac0473fbe38c92d3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.119 ***
alicE@localhost/res1 in
<iq id='18c5349e84f8ff18ac0473fbe38c92d3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.119 ***
alicE@localhost/res1 out
<iq type='set' id='bca4694ffd106d41c372b57179c614bd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.120 ***
alicE@localhost/res1 in
<iq type='result' id='bca4694ffd106d41c372b57179c614bd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.120 ***
alicE@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.125 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.125 ***
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-27 15:34:56.126 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='456d996f390d93fe' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.126 ***
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-27 15:34:56.126 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:34:56.127 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.127 ***
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-27 15:34:56.127 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f0b0765774e5751f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.127 ***
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-27 15:34:56.127 ***
bOb@localhost/res1 out
<iq type='set' id='856241406fcf17c0fbc525aaa07af094'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.127 ***
bOb@localhost/res1 in
<iq id='856241406fcf17c0fbc525aaa07af094' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.128 ***
bOb@localhost/res1 out
<iq type='set' id='69af1dafb213e3b55ad275bb8bd6301f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.128 ***
bOb@localhost/res1 in
<iq type='result' id='69af1dafb213e3b55ad275bb8bd6301f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.128 ***
bOb@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.129 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.129 ***
alicE@localhost/res1 out
<iq type='set' id='9dc9379dfaa572c7c5fe5e5b89835006' to='bOb@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:34:56.130 ***
alicE@localhost/res1 in
<iq from='bOb@localhost' to='alicE@localhost/res1' id='9dc9379dfaa572c7c5fe5e5b89835006' 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-27 15:34:56.130 ***
bOb@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.130 ***
bOb@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:56.130 ***
alicE@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.130 ***
alicE@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:56
=== successfully completed test case
=== === Returned value: ok