=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.79665.0>},
{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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.01.09/presence_suite.fail_to_get_another_users_roster.57733.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.01.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@7856d109ddbc.2024-04-23_06.47.05"
=== Started at 2024-04-23 07:01:11
*** User 2024-04-23 07:01:11.257 ***🔗
alicE_fail_to_get_another_users_roster_3039@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:01:11.257 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea5183b4c8fb0eb6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:01:11.257 ***🔗
alicE_fail_to_get_another_users_roster_3039@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:01:11.257 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzMwMzkAbWF0eWdyeXNh</auth>
*** User 2024-04-23 07:01:11.258 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:01:11.258 ***🔗
alicE_fail_to_get_another_users_roster_3039@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:01:11.258 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e60b80c48e6a5ee' from='localhost' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_3039@localhost'>
*** User 2024-04-23 07:01:11.259 ***🔗
alicE_fail_to_get_another_users_roster_3039@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:01:11.259 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 out
<iq type='set' id='efbc0a1e1f0aaa3e5eee607b6d26835e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:01:11.259 ***🔗
alicE_fail_to_get_another_users_roster_3039@localhost/res1 in
<iq id='efbc0a1e1f0aaa3e5eee607b6d26835e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_3039@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:01:11.259 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 out
<iq type='set' id='34eaaebb287cb2477afd1a5ea6c6fdbf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:01:11.259 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 in
<iq from='localhost' to='alice_fail_to_get_another_users_roster_3039@localhost/res1' id='34eaaebb287cb2477afd1a5ea6c6fdbf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:01:11.260 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 out
<presence/>
*** User 2024-04-23 07:01:11.260 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 in
<presence from='alice_fail_to_get_another_users_roster_3039@localhost/res1' to='alice_fail_to_get_another_users_roster_3039@localhost/res1'/>
*** User 2024-04-23 07:01:11.261 ***🔗
bOb_fail_to_get_another_users_roster_3039@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:01:11.261 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a7980c7299a17a1' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:01:11.262 ***🔗
bOb_fail_to_get_another_users_roster_3039@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:01:11.262 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8zMDM5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-23 07:01:11.263 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:01:11.263 ***🔗
bOb_fail_to_get_another_users_roster_3039@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:01:11.263 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55eebc39695dcb42' from='localhost' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_3039@localhost'>
*** User 2024-04-23 07:01:11.263 ***🔗
bOb_fail_to_get_another_users_roster_3039@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:01:11.263 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 out
<iq type='set' id='f05cfbace88f09f6c92ff794fd0bdeec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:01:11.264 ***🔗
bOb_fail_to_get_another_users_roster_3039@localhost/res1 in
<iq id='f05cfbace88f09f6c92ff794fd0bdeec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_3039@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:01:11.264 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 out
<iq type='set' id='41a6b0256fba729b21d1c118df2f0057'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:01:11.264 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 in
<iq from='localhost' to='bob_fail_to_get_another_users_roster_3039@localhost/res1' id='41a6b0256fba729b21d1c118df2f0057' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:01:11.264 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 out
<presence/>
*** User 2024-04-23 07:01:11.265 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 in
<presence from='bob_fail_to_get_another_users_roster_3039@localhost/res1' to='bob_fail_to_get_another_users_roster_3039@localhost/res1'/>
*** User 2024-04-23 07:01:11.265 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 out
<iq type='get' id='a8e4fe0c990425e13e8051a88782d57a' to='bob_fail_to_get_another_users_roster_3039@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-04-23 07:01:11.266 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 in
<iq from='bob_fail_to_get_another_users_roster_3039@localhost' to='alice_fail_to_get_another_users_roster_3039@localhost/res1' id='a8e4fe0c990425e13e8051a88782d57a' 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:01:11.266 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:01:11.266 ***🔗
bob_fail_to_get_another_users_roster_3039@localhost/res1 in
</stream:stream>
*** User 2024-04-23 07:01:11.266 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:01:11.267 ***🔗
alice_fail_to_get_another_users_roster_3039@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 07:01:11
=== successfully completed test case
=== === Returned value: ok