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

=== Config value:

    [{watchdog,<0.13529.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-01-27_15.27.12/disco_and_caps_suite.user_can_query_friend_resources.19075.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-01-27_15.27.12/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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:27:13


*** CT 2022-01-27 15:27:13.196 *** View log from node mongooseim@localhost when started mongooseim@localhost_848.html
*** CT 2022-01-27 15:27:13.196 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_503.html

*** User 2022-01-27 15:27:13.215 ***
alicE_user_can_query_friend_resources_604@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:27:13.223 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4e3af2bcc81e545' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:27:13.223 ***
alicE_user_can_query_friend_resources_604@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:27:13.223 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfNjA0AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:27:13.235 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:27:13.235 ***
alicE_user_can_query_friend_resources_604@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:27:13.240 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33b4e523e0bc3a94' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:27:13.240 ***
alicE_user_can_query_friend_resources_604@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:27:13.240 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<iq type='set' id='5cc17c7034cc41d49e4ae3b3ad3eb0c4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:27:13.243 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq id='5cc17c7034cc41d49e4ae3b3ad3eb0c4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_can_query_friend_resources_604@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:27:13.243 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<iq type='set' id='225467167275c2bbec3183a61a204f00'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:27:13.243 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq type='result' id='225467167275c2bbec3183a61a204f00'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:27:13.243 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<presence/>



*** User 2022-01-27 15:27:13.245 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_604@localhost/res1' to='alice_user_can_query_friend_resources_604@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:27:13.245 ***
bOb_user_can_query_friend_resources_604@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:27:13.247 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db9ebfe4e49c5276' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:27:13.248 ***
bOb_user_can_query_friend_resources_604@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:27:13.248 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9xdWVyeV9mcmllbmRfcmVzb3VyY2VzXzYwNABtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:27:13.249 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:27:13.249 ***
bOb_user_can_query_friend_resources_604@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:27:13.249 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55f59e3cbf5c932e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:27:13.250 ***
bOb_user_can_query_friend_resources_604@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:27:13.250 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<iq type='set' id='86aa1358636509fe9105ef4e9b492259'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:27:13.250 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<iq id='86aa1358636509fe9105ef4e9b492259' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_can_query_friend_resources_604@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:27:13.250 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<iq type='set' id='63ed8ae88c51d3a48d70221121182540'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:27:13.251 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<iq type='result' id='63ed8ae88c51d3a48d70221121182540'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:27:13.251 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<presence/>



*** User 2022-01-27 15:27:13.252 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_604@localhost/res1' to='bob_user_can_query_friend_resources_604@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:27:13.252 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<presence type='subscribe' to='bOb_user_can_query_friend_resources_604@localhost'/>



*** User 2022-01-27 15:27:13.253 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' id='pushe5c48904848de17e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.253 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_604@localhost' to='bOb_user_can_query_friend_resources_604@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:27:13.253 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<presence type='subscribe' to='alicE_user_can_query_friend_resources_604@localhost'/>



*** User 2022-01-27 15:27:13.255 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' id='pushe4dcc0222a5b5e15' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.255 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:27:13.255 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_604@localhost' to='bOb_user_can_query_friend_resources_604@localhost/res1' id='pushe1753418e46fa163' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.255 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
<presence type='subscribed' to='alicE_user_can_query_friend_resources_604@localhost'/>



*** User 2022-01-27 15:27:13.257 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' id='pushb4a535964066f44f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.257 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:27:13.257 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_604@localhost/res1' to='alice_user_can_query_friend_resources_604@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:27:13.257 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_604@localhost' to='bOb_user_can_query_friend_resources_604@localhost/res1' id='push1ca7e322fddd1f79' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.257 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<presence type='subscribed' to='bOb_user_can_query_friend_resources_604@localhost'/>



*** User 2022-01-27 15:27:13.260 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' id='push21cd23485ec701e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.260 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_604@localhost' to='bOb_user_can_query_friend_resources_604@localhost/res1' id='push01e3287919e558ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_can_query_friend_resources_604@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.260 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_604@localhost' to='bOb_user_can_query_friend_resources_604@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:27:13.260 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_604@localhost/res1' to='bob_user_can_query_friend_resources_604@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:27:13.261 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
<iq to='bOb_user_can_query_friend_resources_604@localhost' type='get' id='b3683af0202f91659a56bbf3c0665325'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-01-27 15:27:13.261 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_604@localhost' to='alicE_user_can_query_friend_resources_604@localhost/res1' id='b3683af0202f91659a56bbf3c0665325' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='bOb_user_can_query_friend_resources_604@localhost/res1' name='bOb_user_can_query_friend_resources_604'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.261 ***
bOb_user_can_query_friend_resources_604@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:27:13.262 ***
bOb_user_can_query_friend_resources_604@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:27:13.262 ***
alicE_user_can_query_friend_resources_604@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:27:13.262 ***
alicE_user_can_query_friend_resources_604@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:27:13.268 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_503.html
*** CT 2022-01-27 15:27:13.269 *** View log from node mongooseim@localhost when finished mongooseim@localhost_848.html



=== Ended at 2022-01-27 15:27:13
=== successfully completed test case
=== === Returned value: ok