=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.9467.2>},
{preset,"pgsql_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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/presence_suite.fail_to_get_another_users_roster.148227.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/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@cdcecdf9c9e0.2023-12-04_15.40.23"
=== Started at 2023-12-04 15:53:49
*** User 2023-12-04 15:53:49.526 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.526 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42b69494307a888e' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.526 ***🔗
alicE_fail_to_get_another_users_roster_2726@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 2023-12-04 15:53:49.526 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzI3MjYAbWF0eWdyeXNh</auth>
*** User 2023-12-04 15:53:49.527 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.527 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.527 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='901dafdec4b929fa' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_2726@localhost'>
*** User 2023-12-04 15:53:49.527 ***🔗
alicE_fail_to_get_another_users_roster_2726@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 2023-12-04 15:53:49.527 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 out
<iq type='set' id='f9623b008d3993684089681e159a11eb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.528 ***🔗
alicE_fail_to_get_another_users_roster_2726@localhost/res1 in
<iq id='f9623b008d3993684089681e159a11eb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_2726@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.528 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 out
<iq type='set' id='b0c651c04ee049db9fc74528234d9c40'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.528 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_2726@localhost/res1' id='b0c651c04ee049db9fc74528234d9c40' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.528 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.529 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_2726@localhost/res1' to='alice_fail_to_get_another_users_roster_2726@localhost/res1'/>
*** User 2023-12-04 15:53:49.530 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.530 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='158e4fadabeae083' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.530 ***🔗
bOb_fail_to_get_another_users_roster_2726@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 2023-12-04 15:53:49.531 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8yNzI2AG1ha3JvbGlrYQ==</auth>
*** User 2023-12-04 15:53:49.532 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.532 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:53:49.533 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f574c7b15b74440' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_2726@localhost'>
*** User 2023-12-04 15:53:49.533 ***🔗
bOb_fail_to_get_another_users_roster_2726@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 2023-12-04 15:53:49.533 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 out
<iq type='set' id='85b4be08603eeb908e71f3c9e1e58f7b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.533 ***🔗
bOb_fail_to_get_another_users_roster_2726@localhost/res1 in
<iq id='85b4be08603eeb908e71f3c9e1e58f7b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_2726@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.533 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 out
<iq type='set' id='a631604710944dd1d39b9284592f76d2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.534 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_2726@localhost/res1' id='a631604710944dd1d39b9284592f76d2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.534 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.537 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_2726@localhost/res1' to='bob_fail_to_get_another_users_roster_2726@localhost/res1'/>
*** User 2023-12-04 15:53:49.537 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 out
<iq type='get' id='156def35f58bbc295dc79fae9a6f0ced' to='bob_fail_to_get_another_users_roster_2726@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2023-12-04 15:53:49.548 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_2726@localhost' to='alice_fail_to_get_another_users_roster_2726@localhost/res1' id='156def35f58bbc295dc79fae9a6f0ced' 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 2023-12-04 15:53:49.548 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.550 ***🔗
bob_fail_to_get_another_users_roster_2726@localhost/res1 in
</stream:stream>
*** User 2023-12-04 15:53:49.550 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.551 ***🔗
alice_fail_to_get_another_users_roster_2726@localhost/res1 in
</stream:stream>
=== Ended at 2023-12-04 15:53:49
=== successfully completed test case
=== === Returned value: ok