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

=== Config value:

    [{watchdog,<0.14800.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-01-27_12.29.47/disco_and_caps_suite.user_cannot_query_friend_resources_with_unknown_node.17923.html"},
     {tc_group_properties,[{name,disco_with_caps},
                           {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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-01-27_12.29.47/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:29:47


*** CT 2022-01-27 12:29:47.931 *** View log from node mongooseim@localhost when started mongooseim@localhost_821.html
*** CT 2022-01-27 12:29:47.931 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_497.html

*** User 2022-01-27 12:29:47.944 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:29:47.944 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24f30c9c04afa737' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:29:47.945 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/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>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='+JqG35rYsB1V2HLcUDrbYiCrPQ0='/>
	<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 12:29:47.945 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2Fubm90X3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfd2l0aF91bmtub3duX25vZGVfNjU1AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:29:47.946 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:29:47.946 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:29:47.947 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c14b2da7e3b850f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:29:47.947 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/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'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='+JqG35rYsB1V2HLcUDrbYiCrPQ0='/>
	<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 12:29:47.947 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<iq type='set' id='5ad765d6ba5abfaccc31c3037530ca8a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:29:47.947 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq id='5ad765d6ba5abfaccc31c3037530ca8a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:29:47.947 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<iq type='set' id='36641a24793a3679cbd07e27dca5bcd5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:29:47.948 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq type='result' id='36641a24793a3679cbd07e27dca5bcd5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:29:47.948 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:29:47.950 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:29:47.950 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:29:47.951 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='456c29912b13f14a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:29:47.951 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/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>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='+JqG35rYsB1V2HLcUDrbYiCrPQ0='/>
	<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 12:29:47.951 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbm5vdF9xdWVyeV9mcmllbmRfcmVzb3VyY2VzX3dpdGhfdW5rbm93bl9ub2RlXzY1NQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:29:47.953 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:29:47.953 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:29:47.953 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51dc41c1f6c6f709' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:29:47.953 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/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'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='+JqG35rYsB1V2HLcUDrbYiCrPQ0='/>
	<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 12:29:47.954 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<iq type='set' id='b8b2e575c12c21cc0a192e51000455fa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:29:47.954 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq id='b8b2e575c12c21cc0a192e51000455fa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:29:47.954 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<iq type='set' id='dbab285b2d472ff8de75fef254677448'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:29:47.954 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq type='result' id='dbab285b2d472ff8de75fef254677448'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:29:47.955 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:29:47.958 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:29:47.958 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence type='subscribe' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>



*** User 2022-01-27 12:29:47.993 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='pushfafda45fee69a7d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:47.993 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 12:29:47.993 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence type='subscribe' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>



*** User 2022-01-27 12:29:48.047 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='push06034518f63ce5ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.047 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 12:29:48.047 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='push7196e46b9b3ed56c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.047 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence type='subscribed' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>



*** User 2022-01-27 12:29:48.056 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='pusha32d1360a6fd245d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.057 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 12:29:48.057 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:29:48.057 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='push79e6da6404649faa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.057 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<presence type='subscribed' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>



*** User 2022-01-27 12:29:48.066 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='pushf4a54c995cba8138' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.066 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='push962698f52da898f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:29:48.066 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 12:29:48.067 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:29:48.067 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
<iq to='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' type='get' id='3928a0aaa68652ef2ee6a9bba17f15f3'>
	<query xmlns='http://jabber.org/protocol/disco#items' node='unknown-node'/>
</iq>



*** User 2022-01-27 12:29:48.068 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com' to='alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1' id='3928a0aaa68652ef2ee6a9bba17f15f3' 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 12:29:48.068 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:29:48.068 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:29:48.069 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:29:48.069 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_655@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:29:48.072 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_497.html
*** CT 2022-01-27 12:29:48.072 *** View log from node mongooseim@localhost when finished mongooseim@localhost_822.html



=== Ended at 2022-01-27 12:29:48
=== successfully completed test case
=== === Returned value: ok