=== Test case: disco_and_caps_SUITE:user_can_query_friend_resources/1 (click for source code)

=== Config value:

    [{watchdog,<0.15613.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-03-04_11.18.17/disco_and_caps_suite.user_can_query_friend_resources.10629.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-03-04_11.18.17/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:18:17


*** CT 2022-03-04 11:18:17.962 *** View log from node mongooseim@localhost when started mongooseim@localhost_854.html
*** CT 2022-03-04 11:18:17.963 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_488.html

*** User 2022-03-04 11:18:17.975 ***
alicE_user_can_query_friend_resources_600@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-03-04 11:18:17.976 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3bb604c1315896bd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:18:17.976 ***
alicE_user_can_query_friend_resources_600@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-03-04 11:18:17.976 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfNjAwAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:18:17.977 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:18:17.978 ***
alicE_user_can_query_friend_resources_600@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-03-04 11:18:17.978 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a85320b5f765233a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:18:17.978 ***
alicE_user_can_query_friend_resources_600@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-03-04 11:18:17.978 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<iq type='set' id='c3e40e276fb2ce91c73db66e1dd0a6aa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:18:17.979 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq id='c3e40e276fb2ce91c73db66e1dd0a6aa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_can_query_friend_resources_600@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:18:17.979 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<iq type='set' id='e0717efef845b9e8bbfc9135193a08a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:18:17.980 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq type='result' id='e0717efef845b9e8bbfc9135193a08a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:18:17.980 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<presence/>



*** User 2022-03-04 11:18:17.982 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_600@localhost/res1' to='alice_user_can_query_friend_resources_600@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:18:17.983 ***
bOb_user_can_query_friend_resources_600@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-03-04 11:18:17.984 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4811daf9b51854c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:18:17.984 ***
bOb_user_can_query_friend_resources_600@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-03-04 11:18:17.984 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9xdWVyeV9mcmllbmRfcmVzb3VyY2VzXzYwMABtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:18:17.985 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:18:17.985 ***
bOb_user_can_query_friend_resources_600@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-03-04 11:18:17.986 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1cfb80c87748e955' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:18:17.986 ***
bOb_user_can_query_friend_resources_600@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-03-04 11:18:17.986 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<iq type='set' id='69f6e5da3d0429a482b8546015cee225'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:18:17.987 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<iq id='69f6e5da3d0429a482b8546015cee225' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_can_query_friend_resources_600@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:18:17.987 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<iq type='set' id='a858cc4cace318d852686b0d1152caaa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:18:17.987 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<iq type='result' id='a858cc4cace318d852686b0d1152caaa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:18:17.987 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<presence/>



*** User 2022-03-04 11:18:17.989 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_600@localhost/res1' to='bob_user_can_query_friend_resources_600@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:18:17.989 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<presence type='subscribe' to='bOb_user_can_query_friend_resources_600@localhost'/>



*** User 2022-03-04 11:18:17.993 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' id='push6ca0e75b9a0a9ef8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:17.993 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_600@localhost' to='bOb_user_can_query_friend_resources_600@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:18:17.993 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<presence type='subscribe' to='alicE_user_can_query_friend_resources_600@localhost'/>



*** User 2022-03-04 11:18:18.003 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' id='pushd010dc14a36ba6e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.003 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:18:18.003 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_600@localhost' to='bOb_user_can_query_friend_resources_600@localhost/res1' id='pushe96e33b67b6f71a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.003 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
<presence type='subscribed' to='alicE_user_can_query_friend_resources_600@localhost'/>



*** User 2022-03-04 11:18:18.007 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' id='push866c8e9261b6a9fd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.007 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:18:18.007 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_600@localhost/res1' to='alice_user_can_query_friend_resources_600@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:18:18.007 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_600@localhost' to='bOb_user_can_query_friend_resources_600@localhost/res1' id='push96639b261b1921d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.007 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<presence type='subscribed' to='bOb_user_can_query_friend_resources_600@localhost'/>



*** User 2022-03-04 11:18:18.049 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' id='push47baf3c2df71d244' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.049 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_600@localhost' to='bOb_user_can_query_friend_resources_600@localhost/res1' id='push19536f75e9ec6d32' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_can_query_friend_resources_600@localhost'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.049 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_600@localhost' to='bOb_user_can_query_friend_resources_600@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:18:18.049 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_600@localhost/res1' to='bob_user_can_query_friend_resources_600@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:18:18.049 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
<iq to='bOb_user_can_query_friend_resources_600@localhost' type='get' id='504be9890f3fd3eb99aa3e9781596a75'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-03-04 11:18:18.051 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_600@localhost' to='alicE_user_can_query_friend_resources_600@localhost/res1' id='504be9890f3fd3eb99aa3e9781596a75' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='bOb_user_can_query_friend_resources_600@localhost/res1' name='bOb_user_can_query_friend_resources_600'/>
	</query>
</iq>



*** User 2022-03-04 11:18:18.051 ***
bOb_user_can_query_friend_resources_600@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:18:18.051 ***
bOb_user_can_query_friend_resources_600@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:18:18.051 ***
alicE_user_can_query_friend_resources_600@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:18:18.051 ***
alicE_user_can_query_friend_resources_600@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:18:18.053 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_488.html
*** CT 2022-03-04 11:18:18.054 *** View log from node mongooseim@localhost when finished mongooseim@localhost_854.html



=== Ended at 2022-03-04 11:18:18
=== successfully completed test case
=== === Returned value: ok