=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.14991.1>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,disabled},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.rest_SUITE.logs/run.2022-03-18_11.00.02/rest_suite.befriend_and_alienate_auto.74626.html"},
{tc_group_properties,[{name,roster},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.rest_SUITE.logs/run.2022-03-18_11.00.02/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 => mnesia,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
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">>}],
search_operator => 'and',
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">>}],
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">>]}]},
matches => 30,search => true}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03"
=== Started at 2022-03-18 11:00:03
*** User 2022-03-18 11:00:03.326 ***
alicE_befriend_and_alienate_auto_1521@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-03-18 11:00:03.327 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bffc2a4b67418b8a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:03.327 ***
alicE_befriend_and_alienate_auto_1521@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>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-03-18 11:00:03.327 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE1MjEAbWF0eWdyeXNh</auth>
*** User 2022-03-18 11:00:03.328 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 11:00:03.328 ***
alicE_befriend_and_alienate_auto_1521@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-03-18 11:00:03.328 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4eca87d96c6da33e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:03.328 ***
alicE_befriend_and_alienate_auto_1521@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-03-18 11:00:03.328 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 out
<iq type='set' id='b13c784f01fff5e122220bb3895062b2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 11:00:03.329 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq id='b13c784f01fff5e122220bb3895062b2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_befriend_and_alienate_auto_1521@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-18 11:00:03.329 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 out
<iq type='set' id='d04692650274086e0b0837e62bf28511'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 11:00:03.329 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq type='result' id='d04692650274086e0b0837e62bf28511'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 11:00:03.329 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 out
<presence/>
*** User 2022-03-18 11:00:03.330 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1521@localhost/res1' to='alice_befriend_and_alienate_auto_1521@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:03.330 ***
bOb_befriend_and_alienate_auto_1521@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-03-18 11:00:03.330 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dacab82bd7a39b66' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:03.331 ***
bOb_befriend_and_alienate_auto_1521@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>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-03-18 11:00:03.331 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNTIxAG1ha3JvbGlrYQ==</auth>
*** User 2022-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@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-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d8e995660d7b66d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@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-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 out
<iq type='set' id='f132df6616c2ab33f8ea85238c3cd114'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq id='f132df6616c2ab33f8ea85238c3cd114' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_befriend_and_alienate_auto_1521@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-18 11:00:03.332 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 out
<iq type='set' id='d31cafaed144ab648ff2b0ac11e22afb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 11:00:03.333 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq type='result' id='d31cafaed144ab648ff2b0ac11e22afb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 11:00:03.333 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 out
<presence/>
*** User 2022-03-18 11:00:03.333 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1521@localhost/res1' to='bob_befriend_and_alienate_auto_1521@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:03.335 ***
REST request:
Code: 200
Req: {<0.15046.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e82784ec6af7a200">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,455}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.336 ***
REST request:
Code: 200
Req: {<0.15054.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e4ebd8687e9a478c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,420}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.344 ***
REST request:
Code: 204
Req: {<0.15060.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost/bob_befriend_and_alienate_auto_1521@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c5809ae238132a61">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,6860}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost/bob_befriend_and_alienate_auto_1521@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.345 ***
REST request:
Code: 200
Req: {<0.15092.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"87f29aeb3a2dd417">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1521@localhost\",\"ask\":\"none\"}]">>,
216,553}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.347 ***
REST request:
Code: 200
Req: {<0.15098.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"61fc179d8caa8b79">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1521@localhost\",\"ask\":\"none\"}]">>,
218,389}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.351 ***
REST request:
Code: 204
Req: {<0.15102.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost/bob_befriend_and_alienate_auto_1521@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0f1467dc77d9071a">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,3829}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost/bob_befriend_and_alienate_auto_1521@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.352 ***
REST request:
Code: 200
Req: {<0.15116.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cbcb737890d01927">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,497}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.354 ***
REST request:
Code: 200
Req: {<0.15120.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4c7e443bdf76991c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 18 Mar 2022 11:00:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,402}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1521@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='push3d9f3aeb1999f57c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='pushd1879059f26417e4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='push94a847e6bc42d9dd' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' type='subscribe'/>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='pushd65a6af7df7f907a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1521@localhost/res1' to='alice_befriend_and_alienate_auto_1521@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='push3fe578f7aeb8f7a8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' type='subscribed'/>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1521@localhost' to='alice_befriend_and_alienate_auto_1521@localhost/res1' id='pushe0517631a2430411' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:03.354 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1521@localhost/res1' to='alice_befriend_and_alienate_auto_1521@localhost/res1' type='unavailable'/>
*** User 2022-03-18 11:00:08.355 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push3d9f3aeb1999f57c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"pushd1879059f26417e4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push94a847e6bc42d9dd">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"pushd65a6af7df7f907a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push3fe578f7aeb8f7a8">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"pushe0517631a2430411">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]}]
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push74273f614ef77c5b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' type='subscribe'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push811e74442cc2a447' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1521@localhost/res1' to='bob_befriend_and_alienate_auto_1521@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push16d1e2b2a124565b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' type='subscribed'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='pushcfb0f669ed679971' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1521@localhost/res1' to='bob_befriend_and_alienate_auto_1521@localhost/res1' type='unavailable'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push22dfd1a783b8ac9a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' type='unsubscribe'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push65b6414c5202cd8c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' type='unsubscribed'/>
*** User 2022-03-18 11:00:08.355 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1521@localhost' to='bob_befriend_and_alienate_auto_1521@localhost/res1' id='push74220df2edff8df3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1521@localhost'/>
</query>
</iq>
*** User 2022-03-18 11:00:13.356 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push74273f614ef77c5b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push811e74442cc2a447">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push16d1e2b2a124565b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"pushcfb0f669ed679971">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push22dfd1a783b8ac9a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push65b6414c5202cd8c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1521@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1521@localhost/res1">>},
{<<"id">>,<<"push74220df2edff8df3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1521@localhost">>}],
[]}]}]}]
*** User 2022-03-18 11:00:13.356 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 out
</stream:stream>
*** User 2022-03-18 11:00:13.356 ***
bOb_befriend_and_alienate_auto_1521@localhost/res1 in
</stream:stream>
*** User 2022-03-18 11:00:13.356 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 out
</stream:stream>
*** User 2022-03-18 11:00:13.357 ***
alicE_befriend_and_alienate_auto_1521@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-18 11:00:13
=== successfully completed test case
=== === Returned value: ok