=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.32034.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.fail_to_get_another_users_roster.102019.html"},
{tc_group_properties,[{name,roster},{repeat_until_all_ok,3},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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:34:56
*** User 2022-01-27 15:34:56.154 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:56.155 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d56597f6151905b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.155 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:56.155 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzE4MzYAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:56.156 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.156 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:56.156 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16c658f4b3eaf715' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.156 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:56.156 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<iq type='set' id='3292b673db4eb433bbfb8754ae1ffaa6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.157 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<iq id='3292b673db4eb433bbfb8754ae1ffaa6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_fail_to_get_another_users_roster_1836@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.157 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<iq type='set' id='12a0648087b5891ac84b9bf84a293e02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.157 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<iq type='result' id='12a0648087b5891ac84b9bf84a293e02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.157 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.158 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<presence from='alicE_fail_to_get_another_users_roster_1836@localhost/res1' to='alice_fail_to_get_another_users_roster_1836@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.159 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:56.159 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa62984956cca017' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.159 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:56.159 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8xODM2AG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6420b0b694e196bc' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<iq type='set' id='83a6153db27e665c23c8b5589d430822'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<iq id='83a6153db27e665c23c8b5589d430822' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_fail_to_get_another_users_roster_1836@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:56.160 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<iq type='set' id='ae44ff40d27313bc051f3a8c6a71301e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.161 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<iq type='result' id='ae44ff40d27313bc051f3a8c6a71301e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:56.161 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:56.162 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
<presence from='bOb_fail_to_get_another_users_roster_1836@localhost/res1' to='bob_fail_to_get_another_users_roster_1836@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:56.162 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
<iq type='get' id='7147cacb4ef4b171a8c3c342f08b34e1' to='bOb_fail_to_get_another_users_roster_1836@localhost'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2022-01-27 15:34:56.163 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
<iq from='bOb_fail_to_get_another_users_roster_1836@localhost' to='alicE_fail_to_get_another_users_roster_1836@localhost/res1' id='7147cacb4ef4b171a8c3c342f08b34e1' 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 2022-01-27 15:34:56.163 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.163 ***
bOb_fail_to_get_another_users_roster_1836@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:56.163 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:56.163 ***
alicE_fail_to_get_another_users_roster_1836@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:56
=== successfully completed test case
=== === Returned value: ok