=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.11509.1>},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@3cf9df7a6501.2024-04-16_10.54.58/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.01/presence_suite.fail_to_add_contact_for_another_user.29060.html"},
{tc_group_properties,[{name,roster},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@3cf9df7a6501.2024-04-16_10.54.58/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.01/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@3cf9df7a6501.2024-04-16_10.54.58"
=== Started at 2024-04-16 11:05:02
*** User 2024-04-16 11:05:02.533 ***🔗
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 2024-04-16 11:05:02.533 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99edfeb6ad157b52' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:05:02.534 ***🔗
alicE@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.534 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 11:05:02.538 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:05:02.538 ***🔗
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 2024-04-16 11:05:02.538 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc4a14c668cfe412' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-16 11:05:02.538 ***🔗
alicE@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.539 ***🔗
alicE@localhost/res1 out
<iq type='set' id='93feac8e4beec73faf65adf56c4f479a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:05:02.539 ***🔗
alicE@localhost/res1 in
<iq id='93feac8e4beec73faf65adf56c4f479a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:05:02.539 ***🔗
alice@localhost/res1 out
<iq type='set' id='c7afbf9d5a6ecb9ed34b5fa791833ceb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.540 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='c7afbf9d5a6ecb9ed34b5fa791833ceb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.540 ***🔗
alice@localhost/res1 out
<presence/>
*** User 2024-04-16 11:05:02.541 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-04-16 11:05:02.542 ***🔗
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 2024-04-16 11:05:02.542 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9417caa3810b67e4' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:05:02.542 ***🔗
bOb@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.542 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-04-16 11:05:02.544 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:05:02.544 ***🔗
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 2024-04-16 11:05:02.544 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c9df300b411a6f4' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-04-16 11:05:02.545 ***🔗
bOb@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.545 ***🔗
bOb@localhost/res1 out
<iq type='set' id='7a7dd23f2d12b3ee4b54d829960bc302'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:05:02.545 ***🔗
bOb@localhost/res1 in
<iq id='7a7dd23f2d12b3ee4b54d829960bc302' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:05:02.545 ***🔗
bob@localhost/res1 out
<iq type='set' id='bfb6a6462bc3cab77099a3443a1e12ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.546 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='bfb6a6462bc3cab77099a3443a1e12ae' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.546 ***🔗
bob@localhost/res1 out
<presence/>
*** User 2024-04-16 11:05:02.548 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-04-16 11:05:02.548 ***🔗
alice@localhost/res1 out
<iq type='set' id='f2b7c4661f1467eda5a734127504104c' to='bob@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bob@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 11:05:02.549 ***🔗
alice@localhost/res1 in
<iq from='bob@localhost' to='alice@localhost/res1' id='f2b7c4661f1467eda5a734127504104c' 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 2024-04-16 11:05:02.550 ***🔗
bob@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:05:02.550 ***🔗
bob@localhost/res1 in
</stream:stream>
*** User 2024-04-16 11:05:02.550 ***🔗
alice@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:05:02.550 ***🔗
alice@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 11:05:02
=== successfully completed test case
=== === Returned value: ok