=== Test case: presence_SUITE:fail_to_add_contact_for_another_user/1 (click for source code)
=== Config value:
[{watchdog,<0.46545.0>},
{preset,"internal_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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.presence_SUITE.logs/run.2024-03-06_09.31.56/presence_suite.fail_to_add_contact_for_another_user.22277.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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.presence_SUITE.logs/run.2024-03-06_09.31.56/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@baea9fdafaad.2024-03-06_09.19.52"
=== Started at 2024-03-06 09:31:57
*** User 2024-03-06 09:31:57.621 ***🔗
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-03-06 09:31:57.622 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1aedd7dd3f9177f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:31:57.623 ***🔗
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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-06 09:31:57.623 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-03-06 09:31:57.623 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:31:57.623 ***🔗
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-03-06 09:31:57.624 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8725ad149e3b9ace' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-03-06 09:31:57.624 ***🔗
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-03-06 09:31:57.624 ***🔗
alicE@localhost/res1 out
<iq type='set' id='5d61a0951df3f6edebc3596c869f79e2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:31:57.624 ***🔗
alicE@localhost/res1 in
<iq id='5d61a0951df3f6edebc3596c869f79e2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:31:57.624 ***🔗
alice@localhost/res1 out
<iq type='set' id='028c953a6ac7dcc7656f542de4757c09'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:31:57.625 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='028c953a6ac7dcc7656f542de4757c09' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:31:57.625 ***🔗
alice@localhost/res1 out
<presence/>
*** User 2024-03-06 09:31:57.626 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-03-06 09:31:57.627 ***🔗
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-03-06 09:31:57.627 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b80b1c35936c018' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:31:57.627 ***🔗
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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-06 09:31:57.627 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-03-06 09:31:57.628 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:31:57.628 ***🔗
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-03-06 09:31:57.628 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='169fd6e88facdb20' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-03-06 09:31:57.628 ***🔗
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-03-06 09:31:57.628 ***🔗
bOb@localhost/res1 out
<iq type='set' id='1c2fbc0e6861c1059da3ad7d08dd743b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:31:57.629 ***🔗
bOb@localhost/res1 in
<iq id='1c2fbc0e6861c1059da3ad7d08dd743b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:31:57.629 ***🔗
bob@localhost/res1 out
<iq type='set' id='2e3258788247f1e9350d8042133ff724'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:31:57.629 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='2e3258788247f1e9350d8042133ff724' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:31:57.629 ***🔗
bob@localhost/res1 out
<presence/>
*** User 2024-03-06 09:31:57.630 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-03-06 09:31:57.630 ***🔗
alice@localhost/res1 out
<iq type='set' id='76eca6c17eebf9ac53eaf2862941eb76' to='bob@localhost'>
<query xmlns='jabber:iq:roster'>
<item jid='bob@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 09:31:57.630 ***🔗
alice@localhost/res1 in
<iq from='bob@localhost' to='alice@localhost/res1' id='76eca6c17eebf9ac53eaf2862941eb76' 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-03-06 09:31:57.631 ***🔗
bob@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:31:57.631 ***🔗
bob@localhost/res1 in
</stream:stream>
*** User 2024-03-06 09:31:57.631 ***🔗
alice@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:31:57.631 ***🔗
alice@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-06 09:31:57
=== successfully completed test case
=== === Returned value: ok