=== Test case: disco_and_caps_SUITE:user_cannot_query_friend_resources_with_unknown_node/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_cannot_query_friend_resources_with_unknown_node.19203.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.204 *** View log from node mongooseim@localhost when started mongooseim@localhost_848.html
*** CT 2022-01-27 15:27:13.205 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_503.html

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

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



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



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

*** User 2022-01-27 15:27:13.243 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@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.243 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 out
<iq type='set' id='bc9907aa48af17ea6d0f85bdfd3de135'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



*** User 2022-01-27 15:27:13.244 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<iq type='result' id='24afb3b1be39150934dd701166b70161'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

*** User 2022-01-27 15:27:13.249 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_609@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.249 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 out
<iq type='set' id='23ca57b4aa7de047a90e56fa97dcf55c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



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



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



*** User 2022-01-27 15:27:13.251 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' xml:lang='en'/>



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



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



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



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



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



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



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



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



*** User 2022-01-27 15:27:13.256 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' id='push10d98c26e0f21cec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_cannot_query_friend_resources_with_unknown_node_609@localhost'/>
	</query>
</iq>



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



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



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



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



*** User 2022-01-27 15:27:13.258 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' id='push826f178baa297663' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_cannot_query_friend_resources_with_unknown_node_609@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:27:13.259 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' id='pushebdfb054fa06972b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_cannot_query_friend_resources_with_unknown_node_609@localhost'/>
	</query>
</iq>



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



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



*** User 2022-01-27 15:27:13.260 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 out
<iq to='bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost' type='get' id='afe0c9ccf9f49e96ed459eccd9239849'>
	<query xmlns='http://jabber.org/protocol/disco#items' node='unknown-node'/>
</iq>



*** User 2022-01-27 15:27:13.261 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_609@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1' id='afe0c9ccf9f49e96ed459eccd9239849' type='error'>
	<query xmlns='http://jabber.org/protocol/disco#items' node='unknown-node'/>
	<error code='405' type='cancel'>
		<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



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

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

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

*** User 2022-01-27 15:27:13.262 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_609@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:27:13.266 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_503.html
*** CT 2022-01-27 15:27:13.267 *** 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