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

=== Config value:

    [{watchdog,<0.13510.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-03-03_10.30.37/disco_and_caps_suite.user_can_query_friend_resources.19458.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-03-03_10.30.37/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 =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:30:37


*** CT 2022-03-03 10:30:37.567 *** View log from node mongooseim@localhost when started mongooseim@localhost_856.html
*** CT 2022-03-03 10:30:37.569 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_506.html

*** User 2022-03-03 10:30:37.595 ***
alicE_user_can_query_friend_resources_548@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-03 10:30:37.596 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97b4f07386f7a67d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:37.596 ***
alicE_user_can_query_friend_resources_548@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>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-03 10:30:37.596 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfNTQ4AG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:30:37.598 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:30:37.598 ***
alicE_user_can_query_friend_resources_548@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-03 10:30:37.599 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2011893ccdc81f25' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:37.599 ***
alicE_user_can_query_friend_resources_548@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-03 10:30:37.599 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<iq type='set' id='2d656f43197f3af06d6f733b6bc8c392'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:30:37.599 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq id='2d656f43197f3af06d6f733b6bc8c392' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_can_query_friend_resources_548@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:30:37.600 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<iq type='set' id='dd09ff359c999766fc50d0cb271646ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:37.600 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq type='result' id='dd09ff359c999766fc50d0cb271646ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:37.600 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<presence/>



*** User 2022-03-03 10:30:37.601 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_548@localhost/res1' to='alice_user_can_query_friend_resources_548@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:37.602 ***
bOb_user_can_query_friend_resources_548@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-03 10:30:37.602 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a930ebfe0ad90ca' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:37.602 ***
bOb_user_can_query_friend_resources_548@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>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-03 10:30:37.602 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9xdWVyeV9mcmllbmRfcmVzb3VyY2VzXzU0OABtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:30:37.604 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:30:37.604 ***
bOb_user_can_query_friend_resources_548@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-03 10:30:37.604 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f84617f6dd26a220' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:30:37.604 ***
bOb_user_can_query_friend_resources_548@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-03 10:30:37.604 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<iq type='set' id='5202b6d2655ba4be77dfbf96f372b702'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:30:37.605 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<iq id='5202b6d2655ba4be77dfbf96f372b702' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_can_query_friend_resources_548@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:30:37.605 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<iq type='set' id='ded1ff20aa388ed0865366682a0945db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:37.605 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<iq type='result' id='ded1ff20aa388ed0865366682a0945db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:30:37.605 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<presence/>



*** User 2022-03-03 10:30:37.606 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_548@localhost/res1' to='bob_user_can_query_friend_resources_548@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:37.606 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<presence type='subscribe' to='bOb_user_can_query_friend_resources_548@localhost'/>



*** User 2022-03-03 10:30:37.607 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' id='push7003d88cd262d93d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.608 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_548@localhost' to='bOb_user_can_query_friend_resources_548@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:30:37.608 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<presence type='subscribe' to='alicE_user_can_query_friend_resources_548@localhost'/>



*** User 2022-03-03 10:30:37.609 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' id='push77e9280e94e82afe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.609 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:30:37.609 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_548@localhost' to='bOb_user_can_query_friend_resources_548@localhost/res1' id='pushfd84ef025ec2c3a9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.610 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
<presence type='subscribed' to='alicE_user_can_query_friend_resources_548@localhost'/>



*** User 2022-03-03 10:30:37.611 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' id='push0068bab9cc3ae117' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.612 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-03 10:30:37.612 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<presence from='bOb_user_can_query_friend_resources_548@localhost/res1' to='alice_user_can_query_friend_resources_548@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:37.612 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_548@localhost' to='bOb_user_can_query_friend_resources_548@localhost/res1' id='push695d4d36775b7b4d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.612 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<presence type='subscribed' to='bOb_user_can_query_friend_resources_548@localhost'/>



*** User 2022-03-03 10:30:37.613 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq from='alicE_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' id='push54cd4d7e5bafaa16' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.613 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_548@localhost' to='bOb_user_can_query_friend_resources_548@localhost/res1' id='push2ca3e4d07180ad3e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_can_query_friend_resources_548@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.614 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_548@localhost' to='bOb_user_can_query_friend_resources_548@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-03 10:30:37.614 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
<presence from='alicE_user_can_query_friend_resources_548@localhost/res1' to='bob_user_can_query_friend_resources_548@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:30:37.614 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
<iq to='bOb_user_can_query_friend_resources_548@localhost' type='get' id='2fd8a9ea9f12699512d78553b03ddff4'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-03-03 10:30:37.614 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
<iq from='bOb_user_can_query_friend_resources_548@localhost' to='alicE_user_can_query_friend_resources_548@localhost/res1' id='2fd8a9ea9f12699512d78553b03ddff4' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='bOb_user_can_query_friend_resources_548@localhost/res1' name='bOb_user_can_query_friend_resources_548'/>
	</query>
</iq>



*** User 2022-03-03 10:30:37.614 ***
bOb_user_can_query_friend_resources_548@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:30:37.615 ***
bOb_user_can_query_friend_resources_548@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:30:37.615 ***
alicE_user_can_query_friend_resources_548@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:30:37.615 ***
alicE_user_can_query_friend_resources_548@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:30:37.619 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_506.html
*** CT 2022-03-03 10:30:37.619 *** View log from node mongooseim@localhost when finished mongooseim@localhost_856.html



=== Ended at 2022-03-03 10:30:37
=== successfully completed test case
=== === Returned value: ok