=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.71137.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@100e910b36a4.2024-03-13_08.15.22/big_tests.tests.presence_SUITE.logs/run.2024-03-13_08.27.42/presence_suite.fail_to_get_another_users_roster.49029.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@100e910b36a4.2024-03-13_08.15.22/big_tests.tests.presence_SUITE.logs/run.2024-03-13_08.27.42/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@100e910b36a4.2024-03-13_08.15.22"
=== Started at 2024-03-13 08:27:43
*** User 2024-03-13 08:27:43.533 ***🔗
alicE_fail_to_get_another_users_roster_2578@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-13 08:27:43.535 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='63055b1e6b97ac4b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-13 08:27:43.536 ***🔗
alicE_fail_to_get_another_users_roster_2578@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-13 08:27:43.536 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzI1NzgAbWF0eWdyeXNh</auth>
*** User 2024-03-13 08:27:43.537 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-13 08:27:43.537 ***🔗
alicE_fail_to_get_another_users_roster_2578@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-13 08:27:43.538 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8c936b8cb4c40ef' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_2578@localhost'>
*** User 2024-03-13 08:27:43.538 ***🔗
alicE_fail_to_get_another_users_roster_2578@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-13 08:27:43.538 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 out
<iq type='set' id='73f9ddb56a766c97aeb35f7637921c9a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-13 08:27:43.538 ***🔗
alicE_fail_to_get_another_users_roster_2578@localhost/res1 in
<iq id='73f9ddb56a766c97aeb35f7637921c9a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_2578@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-13 08:27:43.539 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 out
<iq type='set' id='f54c7153e7f1405b2fcab6bf13d54b18'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-13 08:27:43.539 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_2578@localhost/res1' id='f54c7153e7f1405b2fcab6bf13d54b18' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-13 08:27:43.540 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 out
<presence/>
*** User 2024-03-13 08:27:43.542 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_2578@localhost/res1' to='alice_fail_to_get_another_users_roster_2578@localhost/res1'/>
*** User 2024-03-13 08:27:43.543 ***🔗
bOb_fail_to_get_another_users_roster_2578@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-13 08:27:43.544 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69da4d1e43cc8082' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-13 08:27:43.544 ***🔗
bOb_fail_to_get_another_users_roster_2578@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-13 08:27:43.544 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8yNTc4AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-13 08:27:43.545 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-13 08:27:43.545 ***🔗
bOb_fail_to_get_another_users_roster_2578@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-13 08:27:43.546 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b251671a2910f9f' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_2578@localhost'>
*** User 2024-03-13 08:27:43.546 ***🔗
bOb_fail_to_get_another_users_roster_2578@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-13 08:27:43.546 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 out
<iq type='set' id='abb75c6e86c88bb3aa1ad5c46e6cad03'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-13 08:27:43.546 ***🔗
bOb_fail_to_get_another_users_roster_2578@localhost/res1 in
<iq id='abb75c6e86c88bb3aa1ad5c46e6cad03' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_2578@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-13 08:27:43.547 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 out
<iq type='set' id='7ed5051c28846979c9a5537c3d8e5958'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-13 08:27:43.547 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_2578@localhost/res1' id='7ed5051c28846979c9a5537c3d8e5958' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-13 08:27:43.548 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 out
<presence/>
*** User 2024-03-13 08:27:43.549 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_2578@localhost/res1' to='bob_fail_to_get_another_users_roster_2578@localhost/res1'/>
*** User 2024-03-13 08:27:43.549 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 out
<iq type='get' id='b06bf40121e228f451aaa9901669ff50' to='bob_fail_to_get_another_users_roster_2578@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-03-13 08:27:43.554 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_2578@localhost' to='alice_fail_to_get_another_users_roster_2578@localhost/res1' id='b06bf40121e228f451aaa9901669ff50' type='error'>
<query xmlns='jabber:iq:roster'/>
<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-13 08:27:43.554 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 out
</stream:stream>
*** User 2024-03-13 08:27:43.554 ***🔗
bob_fail_to_get_another_users_roster_2578@localhost/res1 in
</stream:stream>
*** User 2024-03-13 08:27:43.554 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 out
</stream:stream>
*** User 2024-03-13 08:27:43.555 ***🔗
alice_fail_to_get_another_users_roster_2578@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-13 08:27:43
=== successfully completed test case
=== === Returned value: ok