=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.52119.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,disabled},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e830f4894539.2024-03-21_07.45.56/big_tests.tests.rest_SUITE.logs/run.2024-03-21_07.58.24/rest_suite.befriend_and_alienate_auto.64899.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@e830f4894539.2024-03-21_07.45.56/big_tests.tests.rest_SUITE.logs/run.2024-03-21_07.58.24/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">>}],
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">>]}],
pool_tag => default,deref => never,
uids => [{<<"uid">>,<<"%u">>}],
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 => []},
iqdisc => parallel,backend => ldap},
mod_roster =>
#{iqdisc => one_queue,versioning => false,
store_current_id => false,backend => mnesia},
mod_amp => #{},
mod_sic => #{iqdisc => one_queue},
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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@e830f4894539.2024-03-21_07.45.56"
=== Started at 2024-03-21 07:58:24
*** User 2024-03-21 07:58:24.951 ***🔗
alicE_befriend_and_alienate_auto_1711@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-03-21 07:58:24.951 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='013eae41892418a9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:58:24.952 ***🔗
alicE_befriend_and_alienate_auto_1711@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-03-21 07:58:24.952 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE3MTEAbWF0eWdyeXNh</auth>
*** User 2024-03-21 07:58:24.953 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 07:58:24.953 ***🔗
alicE_befriend_and_alienate_auto_1711@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-03-21 07:58:24.953 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f86cbd8b5a222e8' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_1711@localhost'>
*** User 2024-03-21 07:58:24.953 ***🔗
alicE_befriend_and_alienate_auto_1711@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-03-21 07:58:24.954 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 out
<iq type='set' id='06c056538b5d77163c4824b1da6731fd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:58:24.954 ***🔗
alicE_befriend_and_alienate_auto_1711@localhost/res1 in
<iq id='06c056538b5d77163c4824b1da6731fd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_1711@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 07:58:24.954 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 out
<iq type='set' id='01e27bb3a649eb3841448f904a98a773'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:58:24.955 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='01e27bb3a649eb3841448f904a98a773' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:58:24.955 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 out
<presence/>
*** User 2024-03-21 07:58:24.956 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost/res1' to='alice_befriend_and_alienate_auto_1711@localhost/res1'/>
*** User 2024-03-21 07:58:24.956 ***🔗
bOb_befriend_and_alienate_auto_1711@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-03-21 07:58:24.957 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3d238c2fe331142' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 07:58:24.957 ***🔗
bOb_befriend_and_alienate_auto_1711@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-03-21 07:58:24.957 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNzExAG1ha3JvbGlrYQ==</auth>
*** User 2024-03-21 07:58:24.958 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 07:58:24.958 ***🔗
bOb_befriend_and_alienate_auto_1711@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-03-21 07:58:24.958 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0a3349d75f3b385' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_1711@localhost'>
*** User 2024-03-21 07:58:24.958 ***🔗
bOb_befriend_and_alienate_auto_1711@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-03-21 07:58:24.958 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 out
<iq type='set' id='a201eb887f10f3bbe1fc51ed013b566c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 07:58:24.959 ***🔗
bOb_befriend_and_alienate_auto_1711@localhost/res1 in
<iq id='a201eb887f10f3bbe1fc51ed013b566c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_1711@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 07:58:24.959 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 out
<iq type='set' id='1eb1b118b571a34b0fb19ab9f79ca955'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:58:24.959 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='1eb1b118b571a34b0fb19ab9f79ca955' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 07:58:24.960 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 out
<presence/>
*** User 2024-03-21 07:58:24.960 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1711@localhost/res1' to='bob_befriend_and_alienate_auto_1711@localhost/res1'/>
*** User 2024-03-21 07:58:24.963 ***🔗
REST request:
Code: 200
Req: {<0.52229.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e02310875d532b7c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1446}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.965 ***🔗
REST request:
Code: 200
Req: {<0.52240.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b3078942b493d4b1">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,896}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.974 ***🔗
REST request:
Code: 204
Req: {<0.52244.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost/bob_befriend_and_alienate_auto_1711@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1417e9f756add2e4">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>}],
<<>>,80,7541}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost/bob_befriend_and_alienate_auto_1711@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-03-21 07:58:24.975 ***🔗
REST request:
Code: 200
Req: {<0.52264.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d540b369186870be">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1711@localhost\"}]">>,
216,707}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.977 ***🔗
REST request:
Code: 200
Req: {<0.52268.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6245e253009524b8">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1711@localhost\"}]">>,
218,899}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.982 ***🔗
REST request:
Code: 204
Req: {<0.52270.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost/bob_befriend_and_alienate_auto_1711@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"855a7c0f2d1b1f39">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>}],
<<>>,80,3487}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost/bob_befriend_and_alienate_auto_1711@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-03-21 07:58:24.984 ***🔗
REST request:
Code: 200
Req: {<0.52276.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d0f48a3b90ff0da8">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,765}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.986 ***🔗
REST request:
Code: 200
Req: {<0.52280.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a52325dfee18112a">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 07:58:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1105}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1711@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='push17c19f1a3aabd1b6' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='pusha16d8e5b699b85f3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='pusheba216aabde522a1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' type='subscribe'/>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='push2a70b57c7276021c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1711@localhost/res1' to='alice_befriend_and_alienate_auto_1711@localhost/res1'/>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='push11d41e5324379e18' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' type='subscribed'/>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1711@localhost' to='alice_befriend_and_alienate_auto_1711@localhost/res1' id='push39129bd5f9340e0b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1711@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-21 07:58:24.986 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1711@localhost/res1' to='alice_befriend_and_alienate_auto_1711@localhost/res1' type='unavailable'/>
*** User 2024-03-21 07:58:29.987 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push17c19f1a3aabd1b6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"pusha16d8e5b699b85f3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"pusheba216aabde522a1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push2a70b57c7276021c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push11d41e5324379e18">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push39129bd5f9340e0b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push73ff5c92b42234be' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' type='subscribe'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push79a0e92ac489d9dc' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost/res1' to='bob_befriend_and_alienate_auto_1711@localhost/res1'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push3421b1508793edf0' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' type='subscribed'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push8204153780ec2036' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost/res1' to='bob_befriend_and_alienate_auto_1711@localhost/res1' type='unavailable'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push017b8fdc4ed0339e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' type='unsubscribe'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push000129dd0c4b5e9d' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' type='unsubscribed'/>
*** User 2024-03-21 07:58:29.988 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1711@localhost' to='bob_befriend_and_alienate_auto_1711@localhost/res1' id='push5c0d46492ff5258a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1711@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-21 07:58:34.989 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push73ff5c92b42234be">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push79a0e92ac489d9dc">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push3421b1508793edf0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push8204153780ec2036">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push017b8fdc4ed0339e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push000129dd0c4b5e9d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1711@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1711@localhost/res1">>},
{<<"id">>,<<"push5c0d46492ff5258a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1711@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-21 07:58:34.990 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 out
</stream:stream>
*** User 2024-03-21 07:58:34.990 ***🔗
bob_befriend_and_alienate_auto_1711@localhost/res1 in
</stream:stream>
*** User 2024-03-21 07:58:34.990 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 out
</stream:stream>
*** User 2024-03-21 07:58:34.990 ***🔗
alice_befriend_and_alienate_auto_1711@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 07:58:35
=== successfully completed test case
=== === Returned value: ok