=== Test case: disco_and_caps_SUITE:user_can_query_friend_resources/1 (click for source code)
=== Config value:
[{watchdog,<0.14952.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-02-02_15.09.33/disco_and_caps_suite.user_can_query_friend_resources.23042.html"},
{tc_group_properties,[{name,disco_with_extra_features},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/disco_and_caps_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-02-02_15.09.33/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:09:33
*** User 2022-02-02 15:09:33.876 ***
alicE_user_can_query_friend_resources_600@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 2022-02-02 15:09:33.877 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b081c1096712ed1f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:09:33.877 ***
alicE_user_can_query_friend_resources_600@domain.example.com/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-02-02 15:09:33.877 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfNjAwAG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:09:33.879 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:09:33.879 ***
alicE_user_can_query_friend_resources_600@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 2022-02-02 15:09:33.879 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f00d502616e90719' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:09:33.879 ***
alicE_user_can_query_friend_resources_600@domain.example.com/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-02-02 15:09:33.879 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<iq type='set' id='be9e4f4a7b26d95f8b63142c72364b11'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:09:33.880 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq id='be9e4f4a7b26d95f8b63142c72364b11' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_user_can_query_friend_resources_600@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:09:33.880 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<iq type='set' id='cfd19c9a959f69f93d184c8736b48496'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:09:33.880 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq type='result' id='cfd19c9a959f69f93d184c8736b48496'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:09:33.881 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:09:33.881 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='alicE_user_can_query_friend_resources_600@domain.example.com/res1' to='alice_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:09:33.882 ***
bOb_user_can_query_friend_resources_600@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 2022-02-02 15:09:33.883 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dece576d7e0885e7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:09:33.883 ***
bOb_user_can_query_friend_resources_600@domain.example.com/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-02-02 15:09:33.883 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9xdWVyeV9mcmllbmRfcmVzb3VyY2VzXzYwMABtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@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 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3265644d4947f90' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/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-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<iq type='set' id='d1a5c8ab0efb288e7e49ed2b51bd5051'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq id='d1a5c8ab0efb288e7e49ed2b51bd5051' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_user_can_query_friend_resources_600@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:09:33.884 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<iq type='set' id='db0c7899b71c97c488e1ce61889131e7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:09:33.885 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq type='result' id='db0c7899b71c97c488e1ce61889131e7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:09:33.885 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:09:33.887 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='bOb_user_can_query_friend_resources_600@domain.example.com/res1' to='bob_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:09:33.887 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence type='subscribe' to='bOb_user_can_query_friend_resources_600@domain.example.com'/>
*** User 2022-02-02 15:09:33.890 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='alicE_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' id='pushaeb35fdfb3417ad9' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.890 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='alicE_user_can_query_friend_resources_600@domain.example.com' to='bOb_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-02-02 15:09:33.891 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence type='subscribe' to='alicE_user_can_query_friend_resources_600@domain.example.com'/>
*** User 2022-02-02 15:09:33.894 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='alicE_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' id='pushbd614278eba2e085' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.894 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='bOb_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-02-02 15:09:33.894 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='bOb_user_can_query_friend_resources_600@domain.example.com' to='bOb_user_can_query_friend_resources_600@domain.example.com/res1' id='pushbfe0eb38f81ee999' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.894 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence type='subscribed' to='alicE_user_can_query_friend_resources_600@domain.example.com'/>
*** User 2022-02-02 15:09:33.898 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='alicE_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' id='push38636ae0362adbde' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.898 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='bOb_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-02-02 15:09:33.898 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='bOb_user_can_query_friend_resources_600@domain.example.com/res1' to='alice_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:09:33.898 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='bOb_user_can_query_friend_resources_600@domain.example.com' to='bOb_user_can_query_friend_resources_600@domain.example.com/res1' id='push9f42ba4642be4694' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.898 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<presence type='subscribed' to='bOb_user_can_query_friend_resources_600@domain.example.com'/>
*** User 2022-02-02 15:09:33.901 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='alicE_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' id='push6aba192223020b92' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.901 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='bOb_user_can_query_friend_resources_600@domain.example.com' to='bOb_user_can_query_friend_resources_600@domain.example.com/res1' id='pushfecd4c2c90545623' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_user_can_query_friend_resources_600@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.901 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='alicE_user_can_query_friend_resources_600@domain.example.com' to='bOb_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-02-02 15:09:33.901 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
<presence from='alicE_user_can_query_friend_resources_600@domain.example.com/res1' to='bob_user_can_query_friend_resources_600@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:09:33.901 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
<iq to='bOb_user_can_query_friend_resources_600@domain.example.com' type='get' id='942ef964beaec23de8f01be472fa23f8'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-02-02 15:09:33.902 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
<iq from='bOb_user_can_query_friend_resources_600@domain.example.com' to='alicE_user_can_query_friend_resources_600@domain.example.com/res1' id='942ef964beaec23de8f01be472fa23f8' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='bOb_user_can_query_friend_resources_600@domain.example.com/res1' name='bOb_user_can_query_friend_resources_600'/>
</query>
</iq>
*** User 2022-02-02 15:09:33.902 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:09:33.902 ***
bOb_user_can_query_friend_resources_600@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:09:33.902 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:09:33.903 ***
alicE_user_can_query_friend_resources_600@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:09:33
=== successfully completed test case
=== === Returned value: ok