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

=== Config value:

    [{watchdog,<0.15587.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-04-04_15.04.39/disco_and_caps_suite.user_cannot_query_friend_resources_with_unknown_node.28290.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.disco_and_caps_SUITE.logs/run.2022-04-04_15.04.39/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 => [],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"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => rdbms,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 => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:04:39


*** CT 2022-04-04 15:04:39.461 *** View log from node mongooseim@localhost when started mongooseim@localhost_818.html
*** CT 2022-04-04 15:04:39.461 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_399.html

*** User 2022-04-04 15:04:39.475 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.476 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee5689cf5975c4d4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:04:39.476 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.476 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2Fubm90X3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfd2l0aF91bmtub3duX25vZGVfNjcyAG1hdHlncnlzYQ==</auth>



*** User 2022-04-04 15:04:39.477 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:04:39.477 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.478 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75cdbc49e4fd6189' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:04:39.478 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.478 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<iq type='set' id='01953491fcf95cb1d11da24f1b6ec8d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:04:39.478 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq id='01953491fcf95cb1d11da24f1b6ec8d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:04:39.478 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<iq type='set' id='e2afa1808f2c8168f13e8d8c241d8177'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:04:39.479 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq type='result' id='e2afa1808f2c8168f13e8d8c241d8177'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:04:39.479 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence/>



*** User 2022-04-04 15:04:39.481 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:04:39.482 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.484 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a615e1a35af078c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:04:39.484 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.484 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbm5vdF9xdWVyeV9mcmllbmRfcmVzb3VyY2VzX3dpdGhfdW5rbm93bl9ub2RlXzY3MgBtYWtyb2xpa2E=</auth>



*** User 2022-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='718ec77106e034fb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@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-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<iq type='set' id='9d7bcce87cd0ee382efaf0ebd4bd927d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq id='9d7bcce87cd0ee382efaf0ebd4bd927d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:04:39.486 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<iq type='set' id='3f3a5975352f006327f8e325e067866c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:04:39.487 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq type='result' id='3f3a5975352f006327f8e325e067866c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:04:39.487 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence/>



*** User 2022-04-04 15:04:39.489 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:04:39.489 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence type='subscribe' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>



*** User 2022-04-04 15:04:39.497 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push3269d57c9e222770' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.498 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:04:39.498 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence type='subscribe' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>



*** User 2022-04-04 15:04:39.505 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push7981fe7b3ce17419' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.505 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:04:39.505 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push19d8424b82b84db4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.505 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence type='subscribed' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>



*** User 2022-04-04 15:04:39.543 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push6f5b0a112a58a2fd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.543 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:04:39.544 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:04:39.544 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push4a312aa607ac1d5c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.544 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<presence type='subscribed' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>



*** User 2022-04-04 15:04:39.550 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='pushfd8cbc9af0a5849b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.550 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='push70215824cb32dde7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_user_cannot_query_friend_resources_with_unknown_node_672@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:04:39.551 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:04:39.551 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<presence from='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:04:39.551 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
<iq to='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' type='get' id='b1a338ce7e20b34aca2dc61c49e19c5d'>
	<query xmlns='http://jabber.org/protocol/disco#items' node='unknown-node'/>
</iq>



*** User 2022-04-04 15:04:39.555 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
<iq from='bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost' to='alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1' id='b1a338ce7e20b34aca2dc61c49e19c5d' 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-04-04 15:04:39.555 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:04:39.555 ***
bOb_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:04:39.555 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:04:39.555 ***
alicE_user_cannot_query_friend_resources_with_unknown_node_672@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:04:39.557 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_399.html
*** CT 2022-04-04 15:04:39.557 *** View log from node mongooseim@localhost when finished mongooseim@localhost_818.html



=== Ended at 2022-04-04 15:04:39
=== successfully completed test case
=== === Returned value: ok