=== Test case: disco_and_caps_SUITE:user_cannot_query_friend_resources_with_unknown_node/1 (click for source code)
=== Config value:
[{watchdog,<0.13859.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/disco_and_caps_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.disco_and_caps_SUITE.logs/run.2023-11-17_15.11.26/disco_and_caps_suite.user_cannot_query_friend_resources_with_unknown_node.28418.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.disco_and_caps_SUITE.logs/run.2023-11-17_15.11.26/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15"
=== Started at 2023-11-17 15:11:27
*** User 2023-11-17 15:11:27.098 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:11:27.099 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9fa78cd5d6fc186a' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:11:27.099 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:11:27.099 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2Fubm90X3F1ZXJ5X2ZyaWVuZF9yZXNvdXJjZXNfd2l0aF91bmtub3duX25vZGVfNjk0AG1hdHlncnlzYQ==</auth>
*** User 2023-11-17 15:11:27.101 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:11:27.101 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:11:27.101 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36d5d0dcc9b86e01' from='localhost' version='1.0' xml:lang='en' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'>
*** User 2023-11-17 15:11:27.101 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:11:27.101 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<iq type='set' id='2c0a8d7ef05185cee42661e12a667d2b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:11:27.102 ***🔗
alicE_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq id='2c0a8d7ef05185cee42661e12a667d2b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:11:27.102 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<iq type='set' id='86da3e1f93abb13037e14dc3dd8e6afe'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:11:27.103 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='86da3e1f93abb13037e14dc3dd8e6afe' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:11:27.103 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence/>
*** User 2023-11-17 15:11:27.105 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1'/>
*** User 2023-11-17 15:11:27.106 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:11:27.107 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f79a51e2acfcda6' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:11:27.107 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:11:27.107 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbm5vdF9xdWVyeV9mcmllbmRfcmVzb3VyY2VzX3dpdGhfdW5rbm93bl9ub2RlXzY5NABtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:11:27.108 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:11:27.109 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:11:27.109 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb79892e02f82ff9' from='localhost' version='1.0' xml:lang='en' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'>
*** User 2023-11-17 15:11:27.109 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-17 15:11:27.109 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<iq type='set' id='735061b134b74ed9f3fdbe46e7568962'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:11:27.109 ***🔗
bOb_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq id='735061b134b74ed9f3fdbe46e7568962' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:11:27.109 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<iq type='set' id='0c3927d63482314adfe7763c8804c767'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:11:27.110 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='0c3927d63482314adfe7763c8804c767' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:11:27.111 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence/>
*** User 2023-11-17 15:11:27.112 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1'/>
*** User 2023-11-17 15:11:27.112 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence type='subscribe' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
*** User 2023-11-17 15:11:27.118 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push169d3e40e4186ca0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.118 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' type='subscribe'/>
*** User 2023-11-17 15:11:27.118 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence type='subscribe' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
*** User 2023-11-17 15:11:27.120 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push54c96c6d5d89c1c1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.120 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' type='subscribe'/>
*** User 2023-11-17 15:11:27.120 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push2c46e986f98812d4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.121 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence type='subscribed' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
*** User 2023-11-17 15:11:27.123 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push3df2091c35a00882' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.123 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' type='subscribed'/>
*** User 2023-11-17 15:11:27.124 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1'/>
*** User 2023-11-17 15:11:27.124 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push5f3d54d92e21185b' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.124 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<presence type='subscribed' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
*** User 2023-11-17 15:11:27.126 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push3ee03f1bf3a1adfe' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.126 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='push43e4f491db05cf4b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost'/>
</query>
</iq>
*** User 2023-11-17 15:11:27.126 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' type='subscribed'/>
*** User 2023-11-17 15:11:27.126 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<presence from='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1'/>
*** User 2023-11-17 15:11:27.126 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
<iq to='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' type='get' id='e1d717f3dabd3092416614eaeea9e953'>
<query xmlns='http://jabber.org/protocol/disco#items' node='unknown-node'/>
</iq>
*** User 2023-11-17 15:11:27.128 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
<iq from='bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost' to='alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1' id='e1d717f3dabd3092416614eaeea9e953' 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 2023-11-17 15:11:27.128 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
</stream:stream>
*** User 2023-11-17 15:11:27.128 ***🔗
bob_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
</stream:stream>
*** User 2023-11-17 15:11:27.128 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 out
</stream:stream>
*** User 2023-11-17 15:11:27.128 ***🔗
alice_user_cannot_query_friend_resources_with_unknown_node_694@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:11:27
=== successfully completed test case
=== === Returned value: ok