=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.52320.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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.rest_SUITE.logs/run.2024-02-23_08.46.35/rest_suite.befriend_and_alienate_auto.102530.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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.rest_SUITE.logs/run.2024-02-23_08.46.35/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">>,
uids => [{<<"uid">>,<<"%u">>}],
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">>}],
pool_tag => default,deref => never,
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 => []},
backend => ldap,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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}}},
{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@6ebac22519b0.2024-02-23_08.34.56"
=== Started at 2024-02-23 08:46:35
*** User 2024-02-23 08:46:35.798 ***🔗
alicE_befriend_and_alienate_auto_1718@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-02-23 08:46:35.799 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='521e46855752ce4b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-23 08:46:35.799 ***🔗
alicE_befriend_and_alienate_auto_1718@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-02-23 08:46:35.799 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE3MTgAbWF0eWdyeXNh</auth>
*** User 2024-02-23 08:46:35.800 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-23 08:46:35.800 ***🔗
alicE_befriend_and_alienate_auto_1718@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-02-23 08:46:35.800 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='105aa7cbd6715198' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_1718@localhost'>
*** User 2024-02-23 08:46:35.800 ***🔗
alicE_befriend_and_alienate_auto_1718@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-02-23 08:46:35.800 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 out
<iq type='set' id='7dd783813f8ba2bc277a2ab6e33e84c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-23 08:46:35.801 ***🔗
alicE_befriend_and_alienate_auto_1718@localhost/res1 in
<iq id='7dd783813f8ba2bc277a2ab6e33e84c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_1718@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-23 08:46:35.801 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 out
<iq type='set' id='03076ea8ae3319ed22bd8bf286fee9f5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:46:35.802 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='03076ea8ae3319ed22bd8bf286fee9f5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:46:35.802 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 out
<presence/>
*** User 2024-02-23 08:46:35.802 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost/res1' to='alice_befriend_and_alienate_auto_1718@localhost/res1'/>
*** User 2024-02-23 08:46:35.803 ***🔗
bOb_befriend_and_alienate_auto_1718@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-02-23 08:46:35.803 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e120337b4cef5be6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-23 08:46:35.803 ***🔗
bOb_befriend_and_alienate_auto_1718@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-02-23 08:46:35.803 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNzE4AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-23 08:46:35.804 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-23 08:46:35.804 ***🔗
bOb_befriend_and_alienate_auto_1718@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-02-23 08:46:35.805 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='349af0530de43bde' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_1718@localhost'>
*** User 2024-02-23 08:46:35.805 ***🔗
bOb_befriend_and_alienate_auto_1718@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-02-23 08:46:35.805 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 out
<iq type='set' id='2670f17af1a3418b239b44c2c10f1577'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-23 08:46:35.805 ***🔗
bOb_befriend_and_alienate_auto_1718@localhost/res1 in
<iq id='2670f17af1a3418b239b44c2c10f1577' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_1718@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-23 08:46:35.805 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 out
<iq type='set' id='af3e172f8d3e2bc84d131ca45de27ae2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:46:35.806 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='af3e172f8d3e2bc84d131ca45de27ae2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-23 08:46:35.806 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 out
<presence/>
*** User 2024-02-23 08:46:35.806 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1718@localhost/res1' to='bob_befriend_and_alienate_auto_1718@localhost/res1'/>
*** User 2024-02-23 08:46:35.808 ***🔗
REST request:
Code: 200
Req: {<0.52420.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d7d8d7b916b85bc2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,873}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.810 ***🔗
REST request:
Code: 200
Req: {<0.52426.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"28adce434eb30639">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,935}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.818 ***🔗
REST request:
Code: 204
Req: {<0.52436.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost/bob_befriend_and_alienate_auto_1718@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d35c59a3824deb6c">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>}],
<<>>,80,6799}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost/bob_befriend_and_alienate_auto_1718@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-02-23 08:46:35.820 ***🔗
REST request:
Code: 200
Req: {<0.52460.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a31cc12ca6635d98">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1718@localhost\"}]">>,
216,920}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.821 ***🔗
REST request:
Code: 200
Req: {<0.52465.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e805160ebe843a28">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1718@localhost\"}]">>,
218,785}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.825 ***🔗
REST request:
Code: 204
Req: {<0.52469.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost/bob_befriend_and_alienate_auto_1718@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a2d0240743ddd461">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>}],
<<>>,80,3037}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost/bob_befriend_and_alienate_auto_1718@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-02-23 08:46:35.827 ***🔗
REST request:
Code: 200
Req: {<0.52475.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7758a4f9f5ae81c9">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,673}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.828 ***🔗
REST request:
Code: 200
Req: {<0.52479.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"78a679f1149494d8">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 23 Feb 2024 08:46:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,801}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1718@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-02-23 08:46:35.828 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='pushdb3b62f51cea7630' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.828 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='pushad2b545d77db8415' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.828 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='pushe3616daf0f6408e5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.828 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' type='subscribe'/>
*** User 2024-02-23 08:46:35.828 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='push8d9251d1092e93f1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.829 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1718@localhost/res1' to='alice_befriend_and_alienate_auto_1718@localhost/res1'/>
*** User 2024-02-23 08:46:35.829 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='push6d5aecf5c5ba1b1a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.829 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' type='subscribed'/>
*** User 2024-02-23 08:46:35.829 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1718@localhost' to='alice_befriend_and_alienate_auto_1718@localhost/res1' id='push1a0ff54bb6457081' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:35.829 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1718@localhost/res1' to='alice_befriend_and_alienate_auto_1718@localhost/res1' type='unavailable'/>
*** User 2024-02-23 08:46:40.830 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushdb3b62f51cea7630">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushad2b545d77db8415">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushe3616daf0f6408e5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"push8d9251d1092e93f1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"push6d5aecf5c5ba1b1a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"push1a0ff54bb6457081">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]}]
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='pushcdbe10ccf50dd502' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' type='subscribe'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='push72dbee1f1ad090d5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost/res1' to='bob_befriend_and_alienate_auto_1718@localhost/res1'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='pushb62b2108a32a1923' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' type='subscribed'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='push5de8ed32ef24444d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost/res1' to='bob_befriend_and_alienate_auto_1718@localhost/res1' type='unavailable'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='pushd43f182a74bd171c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' type='unsubscribe'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='pushf17cf5f9b3ae098d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' type='unsubscribed'/>
*** User 2024-02-23 08:46:40.830 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1718@localhost' to='bob_befriend_and_alienate_auto_1718@localhost/res1' id='pushf9c6c80049804bfe' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1718@localhost'/>
</query>
</iq>
*** User 2024-02-23 08:46:45.831 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushcdbe10ccf50dd502">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"push72dbee1f1ad090d5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushb62b2108a32a1923">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"push5de8ed32ef24444d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushd43f182a74bd171c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushf17cf5f9b3ae098d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1718@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1718@localhost/res1">>},
{<<"id">>,<<"pushf9c6c80049804bfe">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1718@localhost">>}],
[]}]}]}]
*** User 2024-02-23 08:46:45.831 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 out
</stream:stream>
*** User 2024-02-23 08:46:45.831 ***🔗
bob_befriend_and_alienate_auto_1718@localhost/res1 in
</stream:stream>
*** User 2024-02-23 08:46:45.831 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 out
</stream:stream>
*** User 2024-02-23 08:46:45.832 ***🔗
alice_befriend_and_alienate_auto_1718@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-23 08:46:45
=== successfully completed test case
=== === Returned value: ok