=== Test case: pubsub_SUITE:discover_nodes_test/1 (click for source code)
=== Config value:
[{watchdog,<0.46804.0>},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@488b8a89e431.2024-04-10_12.44.46/big_tests.tests.pubsub_SUITE.logs/run.2024-04-10_12.55.07/pubsub_suite.discover_nodes_test.63363.html"},
{tc_group_properties,[{name,'tree+basic'},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@488b8a89e431.2024-04-10_12.44.46/big_tests.tests.pubsub_SUITE.logs/run.2024-04-10_12.55.07/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,
ldap =>
#{filter => <<"(objectClass=inetOrgPerson)">>,
base => <<"ou=Users,dc=esl,dc=com">>,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
deref => never,
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
search_operator => 'and',binary_search_fields => [],
pool_tag => default},
iqdisc => parallel,backend => ldap},
mod_roster =>
#{iqdisc => one_queue,backend => mnesia,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => mnesia,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,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@488b8a89e431.2024-04-10_12.44.46"
=== Started at 2024-04-10 12:55:15
*** User 2024-04-10 12:55:15.229 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:55:15.229 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bfe3ddd2f2192b6e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:55:15.230 ***🔗
alicE_discover_nodes_test_1507@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 12:55:15.230 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Rpc2NvdmVyX25vZGVzX3Rlc3RfMTUwNwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 12:55:15.233 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:55:15.233 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:55:15.234 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a6606e56d7a642f' from='localhost' version='1.0' xml:lang='en' to='alice_discover_nodes_test_1507@localhost'>
*** User 2024-04-10 12:55:15.234 ***🔗
alicE_discover_nodes_test_1507@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 2024-04-10 12:55:15.234 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 out
<iq type='set' id='c44837d595bde4bfb988b1ab4123672b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:55:15.234 ***🔗
alicE_discover_nodes_test_1507@localhost/res1 in
<iq id='c44837d595bde4bfb988b1ab4123672b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_discover_nodes_test_1507@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:55:15.235 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<iq type='set' id='51d69f4bce12786a8e4a07feb4813bf5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:55:15.235 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<iq from='localhost' to='alice_discover_nodes_test_1507@localhost/res1' id='51d69f4bce12786a8e4a07feb4813bf5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:55:15.235 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<presence/>
*** User 2024-04-10 12:55:15.236 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<presence from='alice_discover_nodes_test_1507@localhost/res1' to='alice_discover_nodes_test_1507@localhost/res1'/>
*** User 2024-04-10 12:55:15.237 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:55:15.237 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='028d372441c712af' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:55:15.237 ***🔗
bOb_discover_nodes_test_1507@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 12:55:15.237 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kaXNjb3Zlcl9ub2Rlc190ZXN0XzE1MDcAbWFrcm9saWth</auth>
*** User 2024-04-10 12:55:15.239 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:55:15.240 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:55:15.240 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7d544a6e4556385' from='localhost' version='1.0' xml:lang='en' to='bob_discover_nodes_test_1507@localhost'>
*** User 2024-04-10 12:55:15.240 ***🔗
bOb_discover_nodes_test_1507@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 2024-04-10 12:55:15.240 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 out
<iq type='set' id='69d151b550f6bf104dacbd9a976646b0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:55:15.241 ***🔗
bOb_discover_nodes_test_1507@localhost/res1 in
<iq id='69d151b550f6bf104dacbd9a976646b0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_discover_nodes_test_1507@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:55:15.241 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
<iq type='set' id='04af931bc67dab00cf2cfb2565cc6834'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:55:15.242 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
<iq from='localhost' to='bob_discover_nodes_test_1507@localhost/res1' id='04af931bc67dab00cf2cfb2565cc6834' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:55:15.242 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
<presence/>
*** User 2024-04-10 12:55:15.243 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
<presence from='bob_discover_nodes_test_1507@localhost/res1' to='bob_discover_nodes_test_1507@localhost/res1'/>
*** User 2024-04-10 12:55:15.243 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_1507@localhost/res1'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2024-04-10 12:55:15.244 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_1507@localhost/res1' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='pubsub.localhost' node='princely_musings_5H1KjSiulDU='/>
<item jid='pubsub.localhost' node='princely_musings_pwzm8ktIDw4='/>
<item jid='pubsub.localhost' node='princely_musings_hXnDTLHZIx8='/>
<item jid='pubsub.localhost' node='leaf_UOvP/l/m2RM='/>
</query>
</iq>
*** User 2024-04-10 12:55:15.244 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_J6WHaozYRE0=-create_node' from='alice_discover_nodes_test_1507@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_J6WHaozYRE0='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.450 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_1507@localhost/res1' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_J6WHaozYRE0=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_J6WHaozYRE0='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.450 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_1507@localhost/res1'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2024-04-10 12:55:15.451 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_1507@localhost/res1' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='pubsub.localhost' node='princely_musings_Rjk+uiPdlsw='/>
<item jid='pubsub.localhost' node='princely_musings_w0g+cO.xj.E='/>
<item jid='pubsub.localhost' node='princely_musings_pwzm8ktIDw4='/>
<item jid='pubsub.localhost' node='princely_musings_M4SkUOBhc8k='/>
<item jid='pubsub.localhost' node='princely_musings_A9ygxeriy24='/>
<item jid='pubsub.localhost' node='princely_musings_P8ifCZ5upRM='/>
<item jid='pubsub.localhost' node='leaf_UOvP/l/m2RM='/>
<item jid='pubsub.localhost' node='princely_musings_J6WHaozYRE0='/>
<item jid='pubsub.localhost' node='princely_musings_rV1gO20zyjg='/>
</query>
</iq>
*** User 2024-04-10 12:55:15.451 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_Nk9nOqETt3s=-create_node' from='alice_discover_nodes_test_1507@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_Nk9nOqETt3s='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.555 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_1507@localhost/res1' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_Nk9nOqETt3s=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_Nk9nOqETt3s='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.555 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' from='bob_discover_nodes_test_1507@localhost/res1'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2024-04-10 12:55:15.556 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='bob_discover_nodes_test_1507@localhost/res1' id='bob_discover_nodes_test_1507-pubsub.localhost--disco_nodes' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='pubsub.localhost' node='princely_musings_w0g+cO.xj.E='/>
<item jid='pubsub.localhost' node='princely_musings_Nk9nOqETt3s='/>
<item jid='pubsub.localhost' node='princely_musings_A9ygxeriy24='/>
<item jid='pubsub.localhost' node='leaf_UOvP/l/m2RM='/>
<item jid='pubsub.localhost' node='princely_musings_J6WHaozYRE0='/>
</query>
</iq>
*** User 2024-04-10 12:55:15.556 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_J6WHaozYRE0=-delete_node' from='alice_discover_nodes_test_1507@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_J6WHaozYRE0='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.557 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_1507@localhost/res1' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_J6WHaozYRE0=-delete_node' type='result'/>
*** User 2024-04-10 12:55:15.557 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_Nk9nOqETt3s=-delete_node' from='alice_discover_nodes_test_1507@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_Nk9nOqETt3s='/>
</pubsub>
</iq>
*** User 2024-04-10 12:55:15.558 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
<iq from='pubsub.localhost' to='alice_discover_nodes_test_1507@localhost/res1' id='alice_discover_nodes_test_1507-pubsub.localhost-princely_musings_Nk9nOqETt3s=-delete_node' type='result'/>
*** User 2024-04-10 12:55:15.558 ***🔗
bob_discover_nodes_test_1507@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:55:15.558 ***🔗
bob_discover_nodes_test_1507@localhost/res1 in
</stream:stream>
*** User 2024-04-10 12:55:15.558 ***🔗
alice_discover_nodes_test_1507@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:55:15.558 ***🔗
alice_discover_nodes_test_1507@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 12:55:15
=== successfully completed test case
=== === Returned value: ok