=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.76684.0>},
{preset,"odbc_mssql_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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.presence_SUITE.logs/run.2024-02-22_12.54.09/presence_suite.fail_to_get_another_users_roster.90372.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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.presence_SUITE.logs/run.2024-02-22_12.54.09/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@fb43d4252d17.2024-02-22_12.37.44"
=== Started at 2024-02-22 12:54:11
*** User 2024-02-22 12:54:11.681 ***🔗
alicE_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.682 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2df5c322c6bbb57c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:54:11.682 ***🔗
alicE_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.682 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzI5MjAAbWF0eWdyeXNh</auth>
*** User 2024-02-22 12:54:11.683 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:54:11.683 ***🔗
alicE_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.683 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3aa4742f77dfcf83' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_2920@localhost'>
*** User 2024-02-22 12:54:11.683 ***🔗
alicE_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.683 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 out
<iq type='set' id='c7a4d2e26633a710f6923810d6af799f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:54:11.684 ***🔗
alicE_fail_to_get_another_users_roster_2920@localhost/res1 in
<iq id='c7a4d2e26633a710f6923810d6af799f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_2920@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:54:11.684 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 out
<iq type='set' id='f680d8a29cc289755c85606664df0894'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:54:11.684 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_2920@localhost/res1' id='f680d8a29cc289755c85606664df0894' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:54:11.684 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 out
<presence/>
*** User 2024-02-22 12:54:11.685 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_2920@localhost/res1' to='alice_fail_to_get_another_users_roster_2920@localhost/res1'/>
*** User 2024-02-22 12:54:11.686 ***🔗
bOb_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.686 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07393bc6ae8638a1' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:54:11.686 ***🔗
bOb_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.686 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8yOTIwAG1ha3JvbGlrYQ==</auth>
*** User 2024-02-22 12:54:11.699 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:54:11.699 ***🔗
bOb_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.699 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52c38d62a3e11829' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_2920@localhost'>
*** User 2024-02-22 12:54:11.699 ***🔗
bOb_fail_to_get_another_users_roster_2920@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-02-22 12:54:11.699 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 out
<iq type='set' id='e8d434319679654a799f745489c136c5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:54:11.700 ***🔗
bOb_fail_to_get_another_users_roster_2920@localhost/res1 in
<iq id='e8d434319679654a799f745489c136c5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_2920@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:54:11.700 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 out
<iq type='set' id='a8935c0936509fa4c67b65b67b534855'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:54:11.700 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_2920@localhost/res1' id='a8935c0936509fa4c67b65b67b534855' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:54:11.700 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 out
<presence/>
*** User 2024-02-22 12:54:11.701 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_2920@localhost/res1' to='bob_fail_to_get_another_users_roster_2920@localhost/res1'/>
*** User 2024-02-22 12:54:11.701 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 out
<iq type='get' id='891e75daed8e7293134ea3a6f8e211ee' to='bob_fail_to_get_another_users_roster_2920@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-02-22 12:54:11.713 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_2920@localhost' to='alice_fail_to_get_another_users_roster_2920@localhost/res1' id='891e75daed8e7293134ea3a6f8e211ee' 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-02-22 12:54:11.713 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:54:11.714 ***🔗
bob_fail_to_get_another_users_roster_2920@localhost/res1 in
</stream:stream>
*** User 2024-02-22 12:54:11.714 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:54:11.714 ***🔗
alice_fail_to_get_another_users_roster_2920@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-22 12:54:11
=== successfully completed test case
=== === Returned value: ok