=== Test case: presence_SUITE:fail_to_get_another_users_roster/1 (click for source code)
=== Config value:
[{watchdog,<0.68533.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/presence_suite.fail_to_get_another_users_roster.146947.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.10/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cdb4b709e1db.2023-11-16_09.06.27"
=== Started at 2023-11-16 09:19:11
*** User 2023-11-16 09:19:11.901 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:19:11.902 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03b060ea8fb1c2e0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:11.902 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/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-11-16 09:19:11.902 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ZhaWxfdG9fZ2V0X2Fub3RoZXJfdXNlcnNfcm9zdGVyXzI3MjIAbWF0eWdyeXNh</auth>
*** User 2023-11-16 09:19:11.902 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:11.902 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:19:11.903 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb6b90d90020e5e4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_fail_to_get_another_users_roster_2722@domain.example.com'>
*** User 2023-11-16 09:19:11.903 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/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-11-16 09:19:11.903 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<iq type='set' id='0a2c43e3e8ab8cda7997f5c37757759b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:11.903 ***🔗
alicE_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<iq id='0a2c43e3e8ab8cda7997f5c37757759b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_fail_to_get_another_users_roster_2722@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:11.903 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<iq type='set' id='a13d6e309495b201819978353eb22d23'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:11.904 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_fail_to_get_another_users_roster_2722@domain.example.com/res1' id='a13d6e309495b201819978353eb22d23' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:11.904 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:11.905 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<presence from='alice_fail_to_get_another_users_roster_2722@domain.example.com/res1' to='alice_fail_to_get_another_users_roster_2722@domain.example.com/res1'/>
*** User 2023-11-16 09:19:11.906 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:19:11.907 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c8f071a4cda6efd' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:11.907 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/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-11-16 09:19:11.907 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9mYWlsX3RvX2dldF9hbm90aGVyX3VzZXJzX3Jvc3Rlcl8yNzIyAG1ha3JvbGlrYQ==</auth>
*** User 2023-11-16 09:19:11.908 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:11.908 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-16 09:19:11.908 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62ededfe285e4efa' from='domain.example.com' version='1.0' xml:lang='en' to='bob_fail_to_get_another_users_roster_2722@domain.example.com'>
*** User 2023-11-16 09:19:11.908 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/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-11-16 09:19:11.908 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<iq type='set' id='d44ed0be47eadd7833f576954510cdbf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:11.909 ***🔗
bOb_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<iq id='d44ed0be47eadd7833f576954510cdbf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_fail_to_get_another_users_roster_2722@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:11.909 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<iq type='set' id='25ae924147b88cca9a132466a4c9d9d1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:11.909 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_fail_to_get_another_users_roster_2722@domain.example.com/res1' id='25ae924147b88cca9a132466a4c9d9d1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:11.909 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<presence/>
*** User 2023-11-16 09:19:11.910 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<presence from='bob_fail_to_get_another_users_roster_2722@domain.example.com/res1' to='bob_fail_to_get_another_users_roster_2722@domain.example.com/res1'/>
*** User 2023-11-16 09:19:11.910 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
<iq type='get' id='0ff518feb58d02902fdcce04a8b74fea' to='bob_fail_to_get_another_users_roster_2722@domain.example.com'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2023-11-16 09:19:11.913 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
<iq from='bob_fail_to_get_another_users_roster_2722@domain.example.com' to='alice_fail_to_get_another_users_roster_2722@domain.example.com/res1' id='0ff518feb58d02902fdcce04a8b74fea' 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-11-16 09:19:11.913 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:11.913 ***🔗
bob_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-16 09:19:11.913 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-16 09:19:11.913 ***🔗
alice_fail_to_get_another_users_roster_2722@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:19:11
=== successfully completed test case
=== === Returned value: ok