=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.14165.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@162190f115c6.2024-04-23_06.46.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.00.33/presence_suite.fail_to_get_another_users_roster.152323.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@162190f115c6.2024-04-23_06.46.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.00.33/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@162190f115c6.2024-04-23_06.46.08"
=== Started at 2024-04-23 07:00:35
*** User 2024-04-23 07:00:35.241 ***🔗
alicE_fail_to_get_another_users_roster_3033@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-23 07:00:35.241 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57598e16dfb33867' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:00:35.241 ***🔗
alicE_fail_to_get_another_users_roster_3033@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-04-23 07:00:35.241 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzMwMzMAbWF0eWdyeXNh</auth>
*** User 2024-04-23 07:00:35.242 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:00:35.242 ***🔗
alicE_fail_to_get_another_users_roster_3033@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-23 07:00:35.243 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5d54f1f6c14b7cb' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_3033@localhost'>
*** User 2024-04-23 07:00:35.243 ***🔗
alicE_fail_to_get_another_users_roster_3033@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-23 07:00:35.243 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 out
<iq type='set' id='e8ff908ab8311d15ad190e8a500b615d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:00:35.243 ***🔗
alicE_fail_to_get_another_users_roster_3033@localhost/res1 in
<iq id='e8ff908ab8311d15ad190e8a500b615d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_3033@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:00:35.244 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 out
<iq type='set' id='d0049d3c453057060c82bf3d4ebbaa10'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:00:35.244 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_3033@localhost/res1' id='d0049d3c453057060c82bf3d4ebbaa10' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:00:35.244 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 out
<presence/>
*** User 2024-04-23 07:00:35.245 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_3033@localhost/res1' to='alice_fail_to_get_another_users_roster_3033@localhost/res1'/>
*** User 2024-04-23 07:00:35.247 ***🔗
bOb_fail_to_get_another_users_roster_3033@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-23 07:00:35.247 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90ac7b3c43ec7f96' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:00:35.247 ***🔗
bOb_fail_to_get_another_users_roster_3033@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-04-23 07:00:35.247 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8zMDMzAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 07:00:35.248 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:00:35.248 ***🔗
bOb_fail_to_get_another_users_roster_3033@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-23 07:00:35.249 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d34d82fd8d3a5035' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_3033@localhost'>
*** User 2024-04-23 07:00:35.249 ***🔗
bOb_fail_to_get_another_users_roster_3033@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-23 07:00:35.249 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 out
<iq type='set' id='5325409dfae3d1cc3ad4526d7232c314'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:00:35.249 ***🔗
bOb_fail_to_get_another_users_roster_3033@localhost/res1 in
<iq id='5325409dfae3d1cc3ad4526d7232c314' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_3033@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:00:35.249 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 out
<iq type='set' id='8f0324712c20b9de51a5c8b418503191'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:00:35.250 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_3033@localhost/res1' id='8f0324712c20b9de51a5c8b418503191' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:00:35.250 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 out
<presence/>
*** User 2024-04-23 07:00:35.251 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_3033@localhost/res1' to='bob_fail_to_get_another_users_roster_3033@localhost/res1'/>
*** User 2024-04-23 07:00:35.251 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 out
<iq type='get' id='db74e7897382d08a054f5ea424473dbf' to='bob_fail_to_get_another_users_roster_3033@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-04-23 07:00:35.251 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_3033@localhost' to='alice_fail_to_get_another_users_roster_3033@localhost/res1' id='db74e7897382d08a054f5ea424473dbf' 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-23 07:00:35.251 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:00:35.252 ***🔗
bob_fail_to_get_another_users_roster_3033@localhost/res1 in
</stream:stream>
*** User 2024-04-23 07:00:35.252 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:00:35.252 ***🔗
alice_fail_to_get_another_users_roster_3033@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 07:00:35
=== successfully completed test case
=== === Returned value: ok