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

=== Config value:

    [{watchdog,<0.12583.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-06-22_09.19.03/disco_and_caps_suite.user_can_query_friend_resources.11907.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-06-22_09.19.03/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => mnesia,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:19:04


*** CT 2022-06-22 09:19:04.035 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_215.html
*** CT 2022-06-22 09:19:04.036 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_392.html

*** User 2022-06-22 09:19:04.050 ***🔗
alicE_user_can_query_friend_resources_546@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-06-22 09:19:04.050 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a018c49b0bf5d9e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:19:04.051 ***🔗
alicE_user_can_query_friend_resources_546@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-06-22 09:19:04.051 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfNTQ2AG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:19:04.052 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:19:04.052 ***🔗
alicE_user_can_query_friend_resources_546@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-06-22 09:19:04.052 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df36746da75b8fa1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:19:04.052 ***🔗
alicE_user_can_query_friend_resources_546@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-06-22 09:19:04.053 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 out
<iq type='set' id='77c6a3f854f8eaa03c247acd3c77e0cd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:19:04.053 ***🔗
alicE_user_can_query_friend_resources_546@localhost/res1 in
<iq id='77c6a3f854f8eaa03c247acd3c77e0cd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_user_can_query_friend_resources_546@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:19:04.053 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
<iq type='set' id='f290e8b4f10eb177859ebae93520b79c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:19:04.054 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq type='result' id='f290e8b4f10eb177859ebae93520b79c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:19:04.054 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
<presence/>



*** User 2022-06-22 09:19:04.055 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<presence from='alice_user_can_query_friend_resources_546@localhost/res1' to='alice_user_can_query_friend_resources_546@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:19:04.056 ***🔗
bOb_user_can_query_friend_resources_546@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-06-22 09:19:04.056 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06e2a48628583c3d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:19:04.056 ***🔗
bOb_user_can_query_friend_resources_546@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-06-22 09:19:04.057 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9xdWVyeV9mcmllbmRfcmVzb3VyY2VzXzU0NgBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:19:04.057 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:19:04.057 ***🔗
bOb_user_can_query_friend_resources_546@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-06-22 09:19:04.058 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='405e2e98c34067dc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:19:04.058 ***🔗
bOb_user_can_query_friend_resources_546@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-06-22 09:19:04.058 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 out
<iq type='set' id='26b5781d14161cf9dd2d4d3a138cdfc6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:19:04.058 ***🔗
bOb_user_can_query_friend_resources_546@localhost/res1 in
<iq id='26b5781d14161cf9dd2d4d3a138cdfc6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_user_can_query_friend_resources_546@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:19:04.059 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 out
<iq type='set' id='1e1e0947cfa8813af53301442e501de7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:19:04.059 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<iq type='result' id='1e1e0947cfa8813af53301442e501de7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:19:04.059 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 out
<presence/>



*** User 2022-06-22 09:19:04.060 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<presence from='bob_user_can_query_friend_resources_546@localhost/res1' to='bob_user_can_query_friend_resources_546@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:19:04.060 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
<presence type='subscribe' to='bob_user_can_query_friend_resources_546@localhost'/>



*** User 2022-06-22 09:19:04.061 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq from='alice_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' id='pushdff171592c6cb7a6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.061 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<presence from='alice_user_can_query_friend_resources_546@localhost' to='bob_user_can_query_friend_resources_546@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:19:04.061 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 out
<presence type='subscribe' to='alice_user_can_query_friend_resources_546@localhost'/>



*** User 2022-06-22 09:19:04.062 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq from='alice_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' id='pushe64b2f7d24472ea3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.062 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<presence from='bob_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:19:04.062 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<iq from='bob_user_can_query_friend_resources_546@localhost' to='bob_user_can_query_friend_resources_546@localhost/res1' id='pushb14ad93fdec0695f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.062 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 out
<presence type='subscribed' to='alice_user_can_query_friend_resources_546@localhost'/>



*** User 2022-06-22 09:19:04.063 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq from='alice_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' id='pushaef5fe8b687e5fcb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.064 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<presence from='bob_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 09:19:04.064 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<presence from='bob_user_can_query_friend_resources_546@localhost/res1' to='alice_user_can_query_friend_resources_546@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:19:04.064 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<iq from='bob_user_can_query_friend_resources_546@localhost' to='bob_user_can_query_friend_resources_546@localhost/res1' id='push17fe28a748067275' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.064 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
<presence type='subscribed' to='bob_user_can_query_friend_resources_546@localhost'/>



*** User 2022-06-22 09:19:04.065 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq from='alice_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' id='pushd5d1eca0b443565a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.065 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<iq from='bob_user_can_query_friend_resources_546@localhost' to='bob_user_can_query_friend_resources_546@localhost/res1' id='push06bf91cd2cdab090' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_can_query_friend_resources_546@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.065 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<presence from='alice_user_can_query_friend_resources_546@localhost' to='bob_user_can_query_friend_resources_546@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 09:19:04.065 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
<presence from='alice_user_can_query_friend_resources_546@localhost/res1' to='bob_user_can_query_friend_resources_546@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:19:04.065 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
<iq to='bob_user_can_query_friend_resources_546@localhost' type='get' id='33eada967d1985cc471efc90e76734e2'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-06-22 09:19:04.066 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
<iq from='bob_user_can_query_friend_resources_546@localhost' to='alice_user_can_query_friend_resources_546@localhost/res1' id='33eada967d1985cc471efc90e76734e2' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='bob_user_can_query_friend_resources_546@localhost/res1' name='bob_user_can_query_friend_resources_546'/>
	</query>
</iq>



*** User 2022-06-22 09:19:04.066 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:19:04.067 ***🔗
bob_user_can_query_friend_resources_546@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:19:04.067 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:19:04.067 ***🔗
alice_user_can_query_friend_resources_546@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:19:04.072 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_392.html
*** CT 2022-06-22 09:19:04.073 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_215.html



=== Ended at 2022-06-22 09:19:04
=== successfully completed test case
=== === Returned value: ok