=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.78210.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.rest_SUITE.logs/run.2024-03-11_09.19.54/rest_suite.befriend_and_alienate_auto.57093.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.rest_SUITE.logs/run.2024-03-11_09.19.54/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,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@fe524ba9ae35.2024-03-11_09.05.30"
=== Started at 2024-03-11 09:19:55
*** User 2024-03-11 09:19:55.300 ***🔗
alicE_befriend_and_alienate_auto_2834@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 09:19:55.300 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='588a79f8a573ed65' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:19:55.301 ***🔗
alicE_befriend_and_alienate_auto_2834@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 09:19:55.301 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI4MzQAbWF0eWdyeXNh</auth>
*** User 2024-03-11 09:19:55.302 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:19:55.302 ***🔗
alicE_befriend_and_alienate_auto_2834@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 09:19:55.303 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06c6ea50646ef4e8' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2834@localhost'>
*** User 2024-03-11 09:19:55.303 ***🔗
alicE_befriend_and_alienate_auto_2834@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 09:19:55.303 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 out
<iq type='set' id='ca1d04ef7f9c587aff9284f6e1030a1e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:19:55.304 ***🔗
alicE_befriend_and_alienate_auto_2834@localhost/res1 in
<iq id='ca1d04ef7f9c587aff9284f6e1030a1e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_2834@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:19:55.304 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 out
<iq type='set' id='aa9feb8df5b18d4a3787197decbb1277'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:19:55.305 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='aa9feb8df5b18d4a3787197decbb1277' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:19:55.305 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 out
<presence/>
*** User 2024-03-11 09:19:55.307 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost/res1' to='alice_befriend_and_alienate_auto_2834@localhost/res1'/>
*** User 2024-03-11 09:19:55.307 ***🔗
bOb_befriend_and_alienate_auto_2834@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 09:19:55.308 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b77c29d7ca3bf47' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:19:55.308 ***🔗
bOb_befriend_and_alienate_auto_2834@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 09:19:55.308 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yODM0AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-11 09:19:55.309 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:19:55.309 ***🔗
bOb_befriend_and_alienate_auto_2834@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 09:19:55.309 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2e8c62fcc378cec' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2834@localhost'>
*** User 2024-03-11 09:19:55.309 ***🔗
bOb_befriend_and_alienate_auto_2834@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 09:19:55.309 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 out
<iq type='set' id='6e5098d8462f541b92458c102a4d4935'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:19:55.310 ***🔗
bOb_befriend_and_alienate_auto_2834@localhost/res1 in
<iq id='6e5098d8462f541b92458c102a4d4935' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_2834@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:19:55.310 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 out
<iq type='set' id='3f83dcea1f6b36b9160bc7d2c8dedad1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:19:55.310 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='3f83dcea1f6b36b9160bc7d2c8dedad1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:19:55.311 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 out
<presence/>
*** User 2024-03-11 09:19:55.312 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2834@localhost/res1' to='bob_befriend_and_alienate_auto_2834@localhost/res1'/>
*** User 2024-03-11 09:19:55.315 ***🔗
REST request:
Code: 200
Req: {<0.78312.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4ef27f636003b941">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1281}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.318 ***🔗
REST request:
Code: 200
Req: {<0.78318.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dbeec95d650def3b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1420}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.337 ***🔗
REST request:
Code: 204
Req: {<0.78334.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost/bob_befriend_and_alienate_auto_2834@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dcfff14652c4d630">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>}],
<<>>,80,17252}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost/bob_befriend_and_alienate_auto_2834@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-11 09:19:55.368 ***🔗
REST request:
Code: 200
Req: {<0.78357.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6e5a71dd73680cb5">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2834@localhost\"}]">>,
216,29763}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.370 ***🔗
REST request:
Code: 200
Req: {<0.78359.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a83de1806dfac82f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2834@localhost\"}]">>,
218,1384}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.380 ***🔗
REST request:
Code: 204
Req: {<0.78365.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost/bob_befriend_and_alienate_auto_2834@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c08e69720a41ae33">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>}],
<<>>,80,8992}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost/bob_befriend_and_alienate_auto_2834@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-11 09:19:55.382 ***🔗
REST request:
Code: 200
Req: {<0.78373.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"05b9a67ed28b325c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1089}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.387 ***🔗
REST request:
Code: 200
Req: {<0.78375.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4e975d4971f436f9">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:19:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3117}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2834@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='pushbe2e22ee1694a932' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='push030e5284042b58da' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='push28a7a165b1303881' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' type='subscribe'/>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='push135975d5c4ad7fdd' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2834@localhost/res1' to='alice_befriend_and_alienate_auto_2834@localhost/res1'/>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='pushc945985677c75efb' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' type='subscribed'/>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2834@localhost' to='alice_befriend_and_alienate_auto_2834@localhost/res1' id='push89cd108245c1e193' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:19:55.387 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2834@localhost/res1' to='alice_befriend_and_alienate_auto_2834@localhost/res1' type='unavailable'/>
*** User 2024-03-11 09:20:00.388 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushbe2e22ee1694a932">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push030e5284042b58da">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push28a7a165b1303881">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push135975d5c4ad7fdd">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushc945985677c75efb">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push89cd108245c1e193">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]}]
*** User 2024-03-11 09:20:00.388 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='pushc4818ad02637522d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' type='subscribe'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='pushffef39557fbf0776' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost/res1' to='bob_befriend_and_alienate_auto_2834@localhost/res1'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='push314e90e246ddb44d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' type='subscribed'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='push0d4d725a2967d88d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost/res1' to='bob_befriend_and_alienate_auto_2834@localhost/res1' type='unavailable'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='push29acab065bdd60b4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' type='unsubscribe'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='pushe2b12aada7492023' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' type='unsubscribed'/>
*** User 2024-03-11 09:20:00.389 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2834@localhost' to='bob_befriend_and_alienate_auto_2834@localhost/res1' id='pushd807a2ed6d68428b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_2834@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:05.390 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushc4818ad02637522d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushffef39557fbf0776">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push314e90e246ddb44d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push0d4d725a2967d88d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"push29acab065bdd60b4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushe2b12aada7492023">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2834@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2834@localhost/res1">>},
{<<"id">>,<<"pushd807a2ed6d68428b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2834@localhost">>}],
[]}]}]}]
*** User 2024-03-11 09:20:05.391 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:05.391 ***🔗
bob_befriend_and_alienate_auto_2834@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:20:05.391 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:05.392 ***🔗
alice_befriend_and_alienate_auto_2834@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 09:20:05
=== successfully completed test case
=== === Returned value: ok