=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.88545.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@6bd26896afa6.2024-04-22_14.32.22/big_tests.tests.rest_SUITE.logs/run.2024-04-22_14.49.57/rest_suite.befriend_and_alienate_auto.235138.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@6bd26896afa6.2024-04-22_14.32.22/big_tests.tests.rest_SUITE.logs/run.2024-04-22_14.49.57/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_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,
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@6bd26896afa6.2024-04-22_14.32.22"
=== Started at 2024-04-22 14:49:58
*** User 2024-04-22 14:49:58.589 ***🔗
alicE_befriend_and_alienate_auto_3419@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:49:58.590 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9cb25466e687885' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:49:58.590 ***🔗
alicE_befriend_and_alienate_auto_3419@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-04-22 14:49:58.590 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzM0MTkAbWF0eWdyeXNh</auth>
*** User 2024-04-22 14:49:58.591 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:49:58.591 ***🔗
alicE_befriend_and_alienate_auto_3419@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:49:58.592 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='199fb8a2928c1b96' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3419@localhost'>
*** User 2024-04-22 14:49:58.592 ***🔗
alicE_befriend_and_alienate_auto_3419@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:49:58.592 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 out
<iq type='set' id='c27920ed694de80cd2db44dbb0c7ded3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:49:58.593 ***🔗
alicE_befriend_and_alienate_auto_3419@localhost/res1 in
<iq id='c27920ed694de80cd2db44dbb0c7ded3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:49:58.593 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 out
<iq type='set' id='21d2d8a3ba96bca62b797e054ab969b4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:49:58.594 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='21d2d8a3ba96bca62b797e054ab969b4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:49:58.594 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 14:49:58.595 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost/res1' to='alice_befriend_and_alienate_auto_3419@localhost/res1'/>
*** User 2024-04-22 14:49:58.596 ***🔗
bOb_befriend_and_alienate_auto_3419@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:49:58.596 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a46601bae0f81611' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:49:58.597 ***🔗
bOb_befriend_and_alienate_auto_3419@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-04-22 14:49:58.597 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zNDE5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-22 14:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@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:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd9f7390cdbc99c4' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3419@localhost'>
*** User 2024-04-22 14:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@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:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 out
<iq type='set' id='0d8270740af50b0e562cef63102dd800'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:49:58.598 ***🔗
bOb_befriend_and_alienate_auto_3419@localhost/res1 in
<iq id='0d8270740af50b0e562cef63102dd800' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:49:58.598 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 out
<iq type='set' id='80420b7b2b6f055ed0f82589fb6a4239'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:49:58.599 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='80420b7b2b6f055ed0f82589fb6a4239' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:49:58.599 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 14:49:58.601 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3419@localhost/res1' to='bob_befriend_and_alienate_auto_3419@localhost/res1'/>
*** User 2024-04-22 14:49:58.604 ***🔗
REST request:
Code: 200
Req: {<0.88653.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3869fd55bd50740e">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1860}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.606 ***🔗
REST request:
Code: 200
Req: {<0.88666.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"fae95cf298b581e2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1195}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.663 ***🔗
REST request:
Code: 204
Req: {<0.88672.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost/bob_befriend_and_alienate_auto_3419@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9d7f4f3f58b1f7b2">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>}],
<<>>,80,56845}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost/bob_befriend_and_alienate_auto_3419@localhost/manage">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"PUT">>,
body => <<"{\"action\":\"connect\"}">>,return_headers => true}
*** User 2024-04-22 14:49:58.666 ***🔗
REST request:
Code: 200
Req: {<0.88692.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5c2c14ed5949d990">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3419@localhost\"}]">>,
216,1332}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.669 ***🔗
REST request:
Code: 200
Req: {<0.88696.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"19a6a540e3644f07">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3419@localhost\"}]">>,
218,1813}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.680 ***🔗
REST request:
Code: 204
Req: {<0.88700.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost/bob_befriend_and_alienate_auto_3419@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2486fe8e73bec830">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>}],
<<>>,80,9845}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost/bob_befriend_and_alienate_auto_3419@localhost/manage">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"PUT">>,
body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}
*** User 2024-04-22 14:49:58.683 ***🔗
REST request:
Code: 200
Req: {<0.88708.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ebdbf7b3f7e10d5c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1926}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.685 ***🔗
REST request:
Code: 200
Req: {<0.88710.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f36836d012756cd7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:49:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1536}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3419@localhost">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"GET">>,body => <<>>,
return_headers => true}
*** User 2024-04-22 14:49:58.685 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='push9bc7f4fa317680ca' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='push18b3dfa3ae89fada' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='push67600991d8c5d2ec' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' type='subscribe'/>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='push59e7bf03c2f464b7' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3419@localhost/res1' to='alice_befriend_and_alienate_auto_3419@localhost/res1'/>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='pushfc346f380400e571' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' type='subscribed'/>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3419@localhost' to='alice_befriend_and_alienate_auto_3419@localhost/res1' id='pusha111e2e9c230d489' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3419@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 14:49:58.686 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3419@localhost/res1' to='alice_befriend_and_alienate_auto_3419@localhost/res1' type='unavailable'/>
*** User 2024-04-22 14:50:03.687 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push9bc7f4fa317680ca">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push18b3dfa3ae89fada">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push67600991d8c5d2ec">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push59e7bf03c2f464b7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"pushfc346f380400e571">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"pusha111e2e9c230d489">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-22 14:50:03.687 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='pushcb33656fdbf166e7' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.687 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' type='subscribe'/>
*** User 2024-04-22 14:50:03.687 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='push39d54aaf463cbe06' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost/res1' to='bob_befriend_and_alienate_auto_3419@localhost/res1'/>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='push2c050051412ed321' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' type='subscribed'/>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='push89c7678f8347f51c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost/res1' to='bob_befriend_and_alienate_auto_3419@localhost/res1' type='unavailable'/>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='push0a3a48b0b69cd6a9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' type='unsubscribe'/>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='pushca4657786b2f105f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' type='unsubscribed'/>
*** User 2024-04-22 14:50:03.688 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3419@localhost' to='bob_befriend_and_alienate_auto_3419@localhost/res1' id='push9e31a04e7865c51e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3419@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 14:50:08.689 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"pushcb33656fdbf166e7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push39d54aaf463cbe06">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push2c050051412ed321">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push89c7678f8347f51c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push0a3a48b0b69cd6a9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"pushca4657786b2f105f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3419@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3419@localhost/res1">>},
{<<"id">>,<<"push9e31a04e7865c51e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3419@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-22 14:50:08.689 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:50:08.694 ***🔗
bob_befriend_and_alienate_auto_3419@localhost/res1 in
</stream:stream>
*** User 2024-04-22 14:50:08.694 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:50:08.698 ***🔗
alice_befriend_and_alienate_auto_3419@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 14:50:08
=== successfully completed test case
=== === Returned value: ok