=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.86739.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"pgsql_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@ba61420e19a8.2024-03-11_11.24.31/big_tests.tests.rest_SUITE.logs/run.2024-03-11_11.39.37/rest_suite.befriend_and_alienate_auto.126596.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@ba61420e19a8.2024-03-11_11.24.31/big_tests.tests.rest_SUITE.logs/run.2024-03-11_11.39.37/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,versioning => false,
store_current_id => false,backend => rdbms},
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_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_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@ba61420e19a8.2024-03-11_11.24.31"
=== Started at 2024-03-11 11:39:38
*** User 2024-03-11 11:39:38.074 ***🔗
alicE_befriend_and_alienate_auto_3255@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-11 11:39:38.075 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2401e16418f628dc' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:39:38.075 ***🔗
alicE_befriend_and_alienate_auto_3255@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 11:39:38.075 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMyNTUAbWF0eWdyeXNh</auth>
*** User 2024-03-11 11:39:38.076 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:39:38.076 ***🔗
alicE_befriend_and_alienate_auto_3255@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-11 11:39:38.076 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8007a01293caca48' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3255@localhost'>
*** User 2024-03-11 11:39:38.076 ***🔗
alicE_befriend_and_alienate_auto_3255@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-11 11:39:38.077 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 out
<iq type='set' id='b3eda6232e174a3fc1a4c08686335cf0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:39:38.077 ***🔗
alicE_befriend_and_alienate_auto_3255@localhost/res1 in
<iq id='b3eda6232e174a3fc1a4c08686335cf0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3255@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:39:38.077 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 out
<iq type='set' id='4e8a56ecf57707e8cd88bff731d9cfaa'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:39:38.077 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='4e8a56ecf57707e8cd88bff731d9cfaa' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:39:38.078 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 out
<presence/>
*** User 2024-03-11 11:39:38.079 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost/res1' to='alice_befriend_and_alienate_auto_3255@localhost/res1'/>
*** User 2024-03-11 11:39:38.079 ***🔗
bOb_befriend_and_alienate_auto_3255@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-11 11:39:38.080 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07fb9dbe5eeb6636' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:39:38.080 ***🔗
bOb_befriend_and_alienate_auto_3255@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 11:39:38.080 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMjU1AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-11 11:39:38.081 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:39:38.081 ***🔗
bOb_befriend_and_alienate_auto_3255@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-11 11:39:38.081 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75256e26066bac37' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3255@localhost'>
*** User 2024-03-11 11:39:38.082 ***🔗
bOb_befriend_and_alienate_auto_3255@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-11 11:39:38.082 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 out
<iq type='set' id='45ddab4d4bc1cc0cab4a890c799aa3ea'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:39:38.082 ***🔗
bOb_befriend_and_alienate_auto_3255@localhost/res1 in
<iq id='45ddab4d4bc1cc0cab4a890c799aa3ea' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3255@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:39:38.082 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 out
<iq type='set' id='80e1e1cd40bbd9cf8f6d7e0653e840eb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:39:38.083 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='80e1e1cd40bbd9cf8f6d7e0653e840eb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:39:38.083 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 out
<presence/>
*** User 2024-03-11 11:39:38.084 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3255@localhost/res1' to='bob_befriend_and_alienate_auto_3255@localhost/res1'/>
*** User 2024-03-11 11:39:38.087 ***🔗
REST request:
Code: 200
Req: {<0.86843.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"95cf36c28e7fe82b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1618}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.091 ***🔗
REST request:
Code: 200
Req: {<0.86854.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d5a79abf5094497d">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3363}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.109 ***🔗
REST request:
Code: 204
Req: {<0.86868.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost/bob_befriend_and_alienate_auto_3255@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4749d10bb4fc7699">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>}],
<<>>,80,16946}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost/bob_befriend_and_alienate_auto_3255@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-03-11 11:39:38.111 ***🔗
REST request:
Code: 200
Req: {<0.86888.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d26ec2624ff51b44">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3255@localhost\"}]">>,
216,984}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.112 ***🔗
REST request:
Code: 200
Req: {<0.86892.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6100964d178ae269">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3255@localhost\"}]">>,
218,933}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.120 ***🔗
REST request:
Code: 204
Req: {<0.86894.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost/bob_befriend_and_alienate_auto_3255@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"80ca92e85792d7b8">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>}],
<<>>,80,6493}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost/bob_befriend_and_alienate_auto_3255@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-03-11 11:39:38.122 ***🔗
REST request:
Code: 200
Req: {<0.86902.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d84619d1ee0dd2a5">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,969}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.123 ***🔗
REST request:
Code: 200
Req: {<0.86906.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"af5c17751af39030">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:39:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1021}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3255@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='push2866312b1cb729e2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='push33c5f5af3cc990da' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='pushf3fd5db42ddc478c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' type='subscribe'/>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='pushfe7d4751e141973c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3255@localhost/res1' to='alice_befriend_and_alienate_auto_3255@localhost/res1'/>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='push48f8053bea77a3c2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' type='subscribed'/>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3255@localhost' to='alice_befriend_and_alienate_auto_3255@localhost/res1' id='push27f0c6aee922f28f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3255@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-11 11:39:38.124 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3255@localhost/res1' to='alice_befriend_and_alienate_auto_3255@localhost/res1' type='unavailable'/>
*** User 2024-03-11 11:39:43.125 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push2866312b1cb729e2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push33c5f5af3cc990da">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"pushf3fd5db42ddc478c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"pushfe7d4751e141973c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push48f8053bea77a3c2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push27f0c6aee922f28f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='push1211734a02c27e27' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' type='subscribe'/>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='pushec60271f14548588' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost/res1' to='bob_befriend_and_alienate_auto_3255@localhost/res1'/>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='push4496f9505470c40e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' type='subscribed'/>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='pushe2bfd7f0af6a2ea0' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost/res1' to='bob_befriend_and_alienate_auto_3255@localhost/res1' type='unavailable'/>
*** User 2024-03-11 11:39:43.125 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='push6358a70469dd912f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.126 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' type='unsubscribe'/>
*** User 2024-03-11 11:39:43.126 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='push1eb25bb5c33ebc45' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:39:43.126 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' type='unsubscribed'/>
*** User 2024-03-11 11:39:43.126 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3255@localhost' to='bob_befriend_and_alienate_auto_3255@localhost/res1' id='push60637f79ac24d630' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3255@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-11 11:39:48.126 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push1211734a02c27e27">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"pushec60271f14548588">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push4496f9505470c40e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"pushe2bfd7f0af6a2ea0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push6358a70469dd912f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push1eb25bb5c33ebc45">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3255@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3255@localhost/res1">>},
{<<"id">>,<<"push60637f79ac24d630">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3255@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-11 11:39:48.126 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:39:48.127 ***🔗
bob_befriend_and_alienate_auto_3255@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:39:48.127 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:39:48.127 ***🔗
alice_befriend_and_alienate_auto_3255@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:39:48
=== successfully completed test case
=== === Returned value: ok