=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.52427.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@2f8f23a5cccf.2024-04-22_14.41.28/big_tests.tests.rest_SUITE.logs/run.2024-04-22_14.54.02/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@2f8f23a5cccf.2024-04-22_14.41.28/big_tests.tests.rest_SUITE.logs/run.2024-04-22_14.54.02/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 => []},
iqdisc => parallel,backend => ldap},
mod_roster =>
#{iqdisc => one_queue,backend => mnesia,versioning => false,
store_current_id => false},
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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}},
{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@2f8f23a5cccf.2024-04-22_14.41.28"
=== Started at 2024-04-22 14:54:02
*** User 2024-04-22 14:54:03.020 ***🔗
alicE_befriend_and_alienate_auto_1701@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-22 14:54:03.020 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='93798b4677f70d7b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:54:03.020 ***🔗
alicE_befriend_and_alienate_auto_1701@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-22 14:54:03.020 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE3MDEAbWF0eWdyeXNh</auth>
*** User 2024-04-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@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-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0109a455f3d6a421' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_1701@localhost'>
*** User 2024-04-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@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-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 out
<iq type='set' id='c760a707dc45a7dc94322793ea172778'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:54:03.022 ***🔗
alicE_befriend_and_alienate_auto_1701@localhost/res1 in
<iq id='c760a707dc45a7dc94322793ea172778' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_1701@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:54:03.022 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 out
<iq type='set' id='c2ae8f7b55266fa81b8f0667d95aed98'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:03.023 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='c2ae8f7b55266fa81b8f0667d95aed98' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:03.023 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 out
<presence/>
*** User 2024-04-22 14:54:03.024 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost/res1' to='alice_befriend_and_alienate_auto_1701@localhost/res1'/>
*** User 2024-04-22 14:54:03.024 ***🔗
bOb_befriend_and_alienate_auto_1701@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-22 14:54:03.025 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce10ecab9e48c7cd' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:54:03.025 ***🔗
bOb_befriend_and_alienate_auto_1701@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-22 14:54:03.025 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNzAxAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 14:54:03.026 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:54:03.026 ***🔗
bOb_befriend_and_alienate_auto_1701@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-22 14:54:03.027 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f7a8b2aef7996cf' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_1701@localhost'>
*** User 2024-04-22 14:54:03.027 ***🔗
bOb_befriend_and_alienate_auto_1701@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-22 14:54:03.027 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 out
<iq type='set' id='c81974b12488dfcf8d385de4135d6748'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:54:03.027 ***🔗
bOb_befriend_and_alienate_auto_1701@localhost/res1 in
<iq id='c81974b12488dfcf8d385de4135d6748' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_1701@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:54:03.027 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 out
<iq type='set' id='96e331107191d135289906d9327502ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:03.028 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='96e331107191d135289906d9327502ae' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:54:03.028 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 out
<presence/>
*** User 2024-04-22 14:54:03.029 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1701@localhost/res1' to='bob_befriend_and_alienate_auto_1701@localhost/res1'/>
*** User 2024-04-22 14:54:03.031 ***🔗
REST request:
Code: 200
Req: {<0.52533.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c8525e0422f86af7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,971}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.033 ***🔗
REST request:
Code: 200
Req: {<0.52544.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ee4c9c8eb61888f6">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,872}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.041 ***🔗
REST request:
Code: 204
Req: {<0.52550.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost/bob_befriend_and_alienate_auto_1701@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"eedfb214f326cfbd">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>}],
<<>>,80,7572}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost/bob_befriend_and_alienate_auto_1701@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-22 14:54:03.044 ***🔗
REST request:
Code: 200
Req: {<0.52570.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"adcc4290edc1a80e">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1701@localhost\"}]">>,
216,861}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.045 ***🔗
REST request:
Code: 200
Req: {<0.52574.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b142c7607df7a19c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1701@localhost\"}]">>,
218,778}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.049 ***🔗
REST request:
Code: 204
Req: {<0.52578.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost/bob_befriend_and_alienate_auto_1701@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"bb64f51c6cac752d">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>}],
<<>>,80,2997}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost/bob_befriend_and_alienate_auto_1701@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-22 14:54:03.051 ***🔗
REST request:
Code: 200
Req: {<0.52584.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d91293ef2ca612fa">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,755}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.053 ***🔗
REST request:
Code: 200
Req: {<0.52588.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"21b103af79951b51">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:54:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,776}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1701@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='pushd0615b6a639859d1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='push3ee71721a64b7242' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='push4b839c7604e28dd0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' type='subscribe'/>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='push919f4dd06d9cfd9e' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1701@localhost/res1' to='alice_befriend_and_alienate_auto_1701@localhost/res1'/>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='pushd7bfd5db728fc27c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' type='subscribed'/>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1701@localhost' to='alice_befriend_and_alienate_auto_1701@localhost/res1' id='push15c28231d221786a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_1701@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 14:54:03.053 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1701@localhost/res1' to='alice_befriend_and_alienate_auto_1701@localhost/res1' type='unavailable'/>
*** User 2024-04-22 14:54:08.053 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"pushd0615b6a639859d1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push3ee71721a64b7242">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push4b839c7604e28dd0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push919f4dd06d9cfd9e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"pushd7bfd5db728fc27c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push15c28231d221786a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='pusha493e141b6a9cdbb' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' type='subscribe'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='pushd5d5f3aae2837ebc' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost/res1' to='bob_befriend_and_alienate_auto_1701@localhost/res1'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='push5c6c01753cdfe431' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' type='subscribed'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='pushcaa8acde47504c9a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost/res1' to='bob_befriend_and_alienate_auto_1701@localhost/res1' type='unavailable'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='push74a60fe3780dfd41' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' type='unsubscribe'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='push3dfbdbac4d1c7686' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' type='unsubscribed'/>
*** User 2024-04-22 14:54:08.054 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1701@localhost' to='bob_befriend_and_alienate_auto_1701@localhost/res1' id='push9cce9622a1f6b7b1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_1701@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 14:54:13.054 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"pusha493e141b6a9cdbb">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"pushd5d5f3aae2837ebc">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push5c6c01753cdfe431">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"pushcaa8acde47504c9a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push74a60fe3780dfd41">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push3dfbdbac4d1c7686">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1701@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1701@localhost/res1">>},
{<<"id">>,<<"push9cce9622a1f6b7b1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1701@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-22 14:54:13.055 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:54:13.055 ***🔗
bob_befriend_and_alienate_auto_1701@localhost/res1 in
</stream:stream>
*** User 2024-04-22 14:54:13.055 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:54:13.055 ***🔗
alice_befriend_and_alienate_auto_1701@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 14:54:13
=== successfully completed test case
=== === Returned value: ok