=== Test case: pubsub_SUITE:discover_nodes_test/1 (click for source code)

=== Config value:

    [{watchdog,<0.8192.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.pubsub_SUITE.logs/run.2022-05-25_10.47.08/pubsub_suite.discover_nodes_test.138498.html"},
     {tc_group_properties,[{name,'dag+basic'},
                           {repeat_until_all_ok,3},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pubsub_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.pubsub_SUITE.logs/run.2022-05-25_10.47.08/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 => 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@6949c6250523.2022-05-25_10.37.44"

=== Started at 2022-05-25 10:47:08


*** CT 2022-05-25 10:47:08.243 *** View log from node mongooseim@localhost when started mongooseim@localhost_5158.html
*** CT 2022-05-25 10:47:08.244 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1960.html

*** User 2022-05-25 10:47:08.293 ***
alicE_discover_nodes_test_2142@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-05-25 10:47:08.294 ***
alicE_discover_nodes_test_2142@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04af42072415e3c6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:08.294 ***
alicE_discover_nodes_test_2142@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-05-25 10:47:08.294 ***
alicE_discover_nodes_test_2142@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rpc2NvdmVyX25vZGVzX3Rlc3RfMjE0MgBtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:47:08.296 ***
alicE_discover_nodes_test_2142@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:47:08.296 ***
alicE_discover_nodes_test_2142@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-05-25 10:47:08.296 ***
alicE_discover_nodes_test_2142@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43d69ee3382b3050' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:08.297 ***
alicE_discover_nodes_test_2142@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-05-25 10:47:08.297 ***
alicE_discover_nodes_test_2142@localhost/res1 out
<iq type='set' id='69dc54edeb735e42832127af8ab6dcff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:47:08.297 ***
alicE_discover_nodes_test_2142@localhost/res1 in
<iq id='69dc54edeb735e42832127af8ab6dcff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_discover_nodes_test_2142@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:47:08.297 ***
alice_discover_nodes_test_2142@localhost/res1 out
<iq type='set' id='964c4f86d57012514e5ee552c618d8ca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:08.298 ***
alice_discover_nodes_test_2142@localhost/res1 in
<iq type='result' id='964c4f86d57012514e5ee552c618d8ca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:08.299 ***
alice_discover_nodes_test_2142@localhost/res1 out
<presence/>



*** User 2022-05-25 10:47:08.300 ***
alice_discover_nodes_test_2142@localhost/res1 in
<presence from='alice_discover_nodes_test_2142@localhost/res1' to='alice_discover_nodes_test_2142@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:47:08.301 ***
bOb_discover_nodes_test_2142@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-05-25 10:47:08.301 ***
bOb_discover_nodes_test_2142@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d90716fd9785b3e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:08.302 ***
bOb_discover_nodes_test_2142@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-05-25 10:47:08.302 ***
bOb_discover_nodes_test_2142@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kaXNjb3Zlcl9ub2Rlc190ZXN0XzIxNDIAbWFrcm9saWth</auth>



*** User 2022-05-25 10:47:08.303 ***
bOb_discover_nodes_test_2142@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:47:08.303 ***
bOb_discover_nodes_test_2142@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-05-25 10:47:08.303 ***
bOb_discover_nodes_test_2142@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ae493bb0aff8d0d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:08.304 ***
bOb_discover_nodes_test_2142@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-05-25 10:47:08.304 ***
bOb_discover_nodes_test_2142@localhost/res1 out
<iq type='set' id='3cc5dff83abc65498b88b1cd3834b92b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:47:08.305 ***
bOb_discover_nodes_test_2142@localhost/res1 in
<iq id='3cc5dff83abc65498b88b1cd3834b92b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_discover_nodes_test_2142@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:47:08.305 ***
bob_discover_nodes_test_2142@localhost/res1 out
<iq type='set' id='1629d695bac7ea0adcbeadc53db1cbe4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:08.306 ***
bob_discover_nodes_test_2142@localhost/res1 in
<iq type='result' id='1629d695bac7ea0adcbeadc53db1cbe4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:08.306 ***
bob_discover_nodes_test_2142@localhost/res1 out
<presence/>



*** User 2022-05-25 10:47:08.307 ***
bob_discover_nodes_test_2142@localhost/res1 in
<presence from='bob_discover_nodes_test_2142@localhost/res1' to='bob_discover_nodes_test_2142@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:47:08.308 ***
bob_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_2142@localhost/res1'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-05-25 10:47:08.339 ***
bob_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_2142@localhost/res1' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='pubsub.localhost' node='node_1_+iW0F2BS'/>
		<item jid='pubsub.localhost' node='node_1_PGu3..UF'/>
		<item jid='pubsub.localhost' node='node_1_VF8Ww7Zo'/>
		<item jid='pubsub.localhost' node='node_1_YQtZPVlZ'/>
		<item jid='pubsub.localhost' node='node_2_iHgRfR.6'/>
		<item jid='pubsub.localhost' node='node_2_v3w25giR'/>
		<item jid='pubsub.localhost' node='node_3_rJz.4IqA'/>
		<item jid='pubsub.localhost' node='princely_musings_7FdWSnm8t9I='/>
		<item jid='pubsub.localhost' node='princely_musings_.RJ8yKEX0wg='/>
	</query>
</iq>



*** User 2022-05-25 10:47:08.339 ***
alice_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_fzg0bbO0zGE=-create_node' from='alice_discover_nodes_test_2142@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_fzg0bbO0zGE='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.347 ***
alice_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_2142@localhost/res1' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_fzg0bbO0zGE=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_fzg0bbO0zGE='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.347 ***
bob_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_2142@localhost/res1'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-05-25 10:47:08.350 ***
bob_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_2142@localhost/res1' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='pubsub.localhost' node='node_1_+iW0F2BS'/>
		<item jid='pubsub.localhost' node='node_1_PGu3..UF'/>
		<item jid='pubsub.localhost' node='node_1_VF8Ww7Zo'/>
		<item jid='pubsub.localhost' node='node_1_YQtZPVlZ'/>
		<item jid='pubsub.localhost' node='node_2_iHgRfR.6'/>
		<item jid='pubsub.localhost' node='node_2_v3w25giR'/>
		<item jid='pubsub.localhost' node='node_3_rJz.4IqA'/>
		<item jid='pubsub.localhost' node='princely_musings_7FdWSnm8t9I='/>
		<item jid='pubsub.localhost' node='princely_musings_fzg0bbO0zGE='/>
		<item jid='pubsub.localhost' node='princely_musings_.RJ8yKEX0wg='/>
		<item jid='pubsub.localhost' node='princely_musings_z5PQJ24r1Hc='/>
	</query>
</iq>



*** User 2022-05-25 10:47:08.350 ***
alice_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_AJ3Uv3EZQM4=-create_node' from='alice_discover_nodes_test_2142@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_AJ3Uv3EZQM4='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.356 ***
alice_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_2142@localhost/res1' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_AJ3Uv3EZQM4=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_AJ3Uv3EZQM4='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.356 ***
bob_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_2142@localhost/res1'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-05-25 10:47:08.361 ***
bob_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_2142@localhost/res1' id='bob_discover_nodes_test_2142-pubsub.localhost--disco_nodes' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='pubsub.localhost' node='node_1_+iW0F2BS'/>
		<item jid='pubsub.localhost' node='node_1_PGu3..UF'/>
		<item jid='pubsub.localhost' node='node_1_VF8Ww7Zo'/>
		<item jid='pubsub.localhost' node='node_1_YQtZPVlZ'/>
		<item jid='pubsub.localhost' node='node_2_iHgRfR.6'/>
		<item jid='pubsub.localhost' node='node_2_v3w25giR'/>
		<item jid='pubsub.localhost' node='node_3_rJz.4IqA'/>
		<item jid='pubsub.localhost' node='princely_musings_.7BaKa8ykZ8='/>
		<item jid='pubsub.localhost' node='princely_musings_7FdWSnm8t9I='/>
		<item jid='pubsub.localhost' node='princely_musings_AJ3Uv3EZQM4='/>
		<item jid='pubsub.localhost' node='princely_musings_fzg0bbO0zGE='/>
		<item jid='pubsub.localhost' node='princely_musings_MmqkJp7MjvY='/>
		<item jid='pubsub.localhost' node='princely_musings_my9Boxvbw1A='/>
		<item jid='pubsub.localhost' node='princely_musings_PcnvqhLQZug='/>
		<item jid='pubsub.localhost' node='princely_musings_ssnY8AlUBTw='/>
	</query>
</iq>



*** User 2022-05-25 10:47:08.361 ***
alice_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_fzg0bbO0zGE=-delete_node' from='alice_discover_nodes_test_2142@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<delete node='princely_musings_fzg0bbO0zGE='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.370 ***
alice_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_2142@localhost/res1' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_fzg0bbO0zGE=-delete_node' type='result'/>



*** User 2022-05-25 10:47:08.370 ***
alice_discover_nodes_test_2142@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_AJ3Uv3EZQM4=-delete_node' from='alice_discover_nodes_test_2142@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<delete node='princely_musings_AJ3Uv3EZQM4='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:47:08.439 ***
alice_discover_nodes_test_2142@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_2142@localhost/res1' id='alice_discover_nodes_test_2142-pubsub.localhost-princely_musings_AJ3Uv3EZQM4=-delete_node' type='result'/>



*** User 2022-05-25 10:47:08.439 ***
bob_discover_nodes_test_2142@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:47:08.440 ***
bob_discover_nodes_test_2142@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:47:08.440 ***
alice_discover_nodes_test_2142@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:47:08.532 ***
alice_discover_nodes_test_2142@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:47:08.535 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1960.html
*** CT 2022-05-25 10:47:08.536 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5159.html



=== Ended at 2022-05-25 10:47:08
=== successfully completed test case
=== === Returned value: ok