=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.16444.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"elasticsearch_and_cassandra_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/presence_suite.fail_to_add_contact_for_another_user.19461.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/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@47358c7e636c.2022-06-22_09.17.07"
=== Started at 2022-06-22 09:27:20
*** User 2022-06-22 09:27:20.392 ***🔗
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-06-22 09:27:20.392 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2cdf1a3764b3ec9b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:27:20.392 ***🔗
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-06-22 09:27:20.392 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 09:27:20.393 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 09:27:20.393 ***🔗
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-06-22 09:27:20.393 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='474b4f0bdf20c72d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:27:20.393 ***🔗
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-06-22 09:27:20.393 ***🔗
alicE@localhost/res1 out
<iq type='set' id='956b2d476c26f5983a58f4c9fffbc321'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 09:27:20.394 ***🔗
alicE@localhost/res1 in
<iq id='956b2d476c26f5983a58f4c9fffbc321' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 09:27:20.394 ***🔗
alice@localhost/res1 out
<iq type='set' id='8e14f097615bb366fcc957c9a8985d28'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:27:20.394 ***🔗
alice@localhost/res1 in
<iq type='result' id='8e14f097615bb366fcc957c9a8985d28'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:27:20.394 ***🔗
alice@localhost/res1 out
<presence/>
*** User 2022-06-22 09:27:20.395 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 09:27:20.396 ***🔗
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-06-22 09:27:20.396 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b464f442dd2497ca' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:27:20.396 ***🔗
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-06-22 09:27:20.396 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-06-22 09:27:20.397 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 09:27:20.397 ***🔗
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-06-22 09:27:20.398 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac84804294ac9f37' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 09:27:20.398 ***🔗
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-06-22 09:27:20.398 ***🔗
bOb@localhost/res1 out
<iq type='set' id='7aca5d28b2c18534e439b5323a8536b2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 09:27:20.398 ***🔗
bOb@localhost/res1 in
<iq id='7aca5d28b2c18534e439b5323a8536b2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 09:27:20.398 ***🔗
bob@localhost/res1 out
<iq type='set' id='387a2ae41f1dd5f80395efa79e3eac16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:27:20.399 ***🔗
bob@localhost/res1 in
<iq type='result' id='387a2ae41f1dd5f80395efa79e3eac16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 09:27:20.399 ***🔗
bob@localhost/res1 out
<presence/>
*** User 2022-06-22 09:27:20.400 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 09:27:20.400 ***🔗
alice@localhost/res1 out
<iq type='set' id='7d2ef50ddda22c887f559c403fc200de' to='bob@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bob@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-06-22 09:27:20.400 ***🔗
alice@localhost/res1 in
<iq from='bob@localhost' to='alice@localhost/res1' id='7d2ef50ddda22c887f559c403fc200de' 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-06-22 09:27:20.400 ***🔗
bob@localhost/res1 out
</stream:stream>
*** User 2022-06-22 09:27:20.401 ***🔗
bob@localhost/res1 in
</stream:stream>
*** User 2022-06-22 09:27:20.401 ***🔗
alice@localhost/res1 out
</stream:stream>
*** User 2022-06-22 09:27:20.401 ***🔗
alice@localhost/res1 in
</stream:stream>
=== Ended at 2022-06-22 09:27:20
=== successfully completed test case
=== === Returned value: ok