=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.44916.0>},
{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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.40.00/presence_suite.fail_to_get_another_users_roster.19973.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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.40.00/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@36479f279a1b.2024-04-12_09.30.15"
=== Started at 2024-04-12 09:40:01
*** User 2024-04-12 09:40:01.641 ***🔗
alicE_fail_to_get_another_users_roster_1456@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-12 09:40:01.641 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92b90199f70e3f71' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:40:01.641 ***🔗
alicE_fail_to_get_another_users_roster_1456@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-12 09:40:01.641 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzE0NTYAbWF0eWdyeXNh</auth>
*** User 2024-04-12 09:40:01.642 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:40:01.642 ***🔗
alicE_fail_to_get_another_users_roster_1456@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-12 09:40:01.643 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81605e048f4a3891' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_1456@localhost'>
*** User 2024-04-12 09:40:01.643 ***🔗
alicE_fail_to_get_another_users_roster_1456@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-12 09:40:01.643 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 out
<iq type='set' id='023b11c47b7e140fef215c1c08be0ac1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:40:01.643 ***🔗
alicE_fail_to_get_another_users_roster_1456@localhost/res1 in
<iq id='023b11c47b7e140fef215c1c08be0ac1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_1456@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:40:01.643 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 out
<iq type='set' id='4bf1e720ab921175d6080fe91054dcdc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.644 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_1456@localhost/res1' id='4bf1e720ab921175d6080fe91054dcdc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.644 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 out
<presence/>
*** User 2024-04-12 09:40:01.644 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_1456@localhost/res1' to='alice_fail_to_get_another_users_roster_1456@localhost/res1'/>
*** User 2024-04-12 09:40:01.645 ***🔗
bOb_fail_to_get_another_users_roster_1456@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-12 09:40:01.645 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34e8f568e182bced' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:40:01.645 ***🔗
bOb_fail_to_get_another_users_roster_1456@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-12 09:40:01.645 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8xNDU2AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-12 09:40:01.646 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:40:01.646 ***🔗
bOb_fail_to_get_another_users_roster_1456@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-12 09:40:01.647 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d0f6a3ecfe31759' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_1456@localhost'>
*** User 2024-04-12 09:40:01.647 ***🔗
bOb_fail_to_get_another_users_roster_1456@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-12 09:40:01.647 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 out
<iq type='set' id='56121ef1b513b197e586bd5abe6f4f3b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:40:01.647 ***🔗
bOb_fail_to_get_another_users_roster_1456@localhost/res1 in
<iq id='56121ef1b513b197e586bd5abe6f4f3b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_1456@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:40:01.647 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 out
<iq type='set' id='0cae8ab5cfdcb69f18ad2561c6269af5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.648 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_1456@localhost/res1' id='0cae8ab5cfdcb69f18ad2561c6269af5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.648 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 out
<presence/>
*** User 2024-04-12 09:40:01.648 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_1456@localhost/res1' to='bob_fail_to_get_another_users_roster_1456@localhost/res1'/>
*** User 2024-04-12 09:40:01.648 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 out
<iq type='get' id='48be8e14301de34fc3d9ae8cb4f4cff5' to='bob_fail_to_get_another_users_roster_1456@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-04-12 09:40:01.649 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_1456@localhost' to='alice_fail_to_get_another_users_roster_1456@localhost/res1' id='48be8e14301de34fc3d9ae8cb4f4cff5' 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-04-12 09:40:01.649 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:40:01.649 ***🔗
bob_fail_to_get_another_users_roster_1456@localhost/res1 in
</stream:stream>
*** User 2024-04-12 09:40:01.649 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:40:01.649 ***🔗
alice_fail_to_get_another_users_roster_1456@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-12 09:40:01
=== successfully completed test case
=== === Returned value: ok