=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.87323.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a353ffbc715a.2024-04-16_10.55.10/big_tests.tests.rest_SUITE.logs/run.2024-04-16_11.10.51/rest_suite.befriend_and_alienate_auto.169731.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@a353ffbc715a.2024-04-16_10.55.10/big_tests.tests.rest_SUITE.logs/run.2024-04-16_11.10.51/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 =>
#{users_can_see_hidden_services => false,iqdisc => one_queue,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
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 => 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@a353ffbc715a.2024-04-16_10.55.10"
=== Started at 2024-04-16 11:10:52
*** User 2024-04-16 11:10:52.567 ***🔗
alicE_befriend_and_alienate_auto_3218@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-16 11:10:52.567 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9ff7656b1843fdb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:10:52.568 ***🔗
alicE_befriend_and_alienate_auto_3218@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-16 11:10:52.568 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMyMTgAbWF0eWdyeXNh</auth>
*** User 2024-04-16 11:10:52.570 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:10:52.570 ***🔗
alicE_befriend_and_alienate_auto_3218@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-16 11:10:52.570 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='259bc43f62d99d87' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3218@localhost'>
*** User 2024-04-16 11:10:52.570 ***🔗
alicE_befriend_and_alienate_auto_3218@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-16 11:10:52.570 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 out
<iq type='set' id='149169ec90b170610b27e6d04bdd2eb0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:10:52.571 ***🔗
alicE_befriend_and_alienate_auto_3218@localhost/res1 in
<iq id='149169ec90b170610b27e6d04bdd2eb0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3218@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:10:52.571 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 out
<iq type='set' id='ec1b2c0850e2c474816f9ace00672314'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:10:52.572 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='ec1b2c0850e2c474816f9ace00672314' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:10:52.572 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 out
<presence/>
*** User 2024-04-16 11:10:52.575 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost/res1' to='alice_befriend_and_alienate_auto_3218@localhost/res1'/>
*** User 2024-04-16 11:10:52.576 ***🔗
bOb_befriend_and_alienate_auto_3218@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-16 11:10:52.576 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05ce44b8d7a0b5af' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:10:52.576 ***🔗
bOb_befriend_and_alienate_auto_3218@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-16 11:10:52.577 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMjE4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-16 11:10:52.578 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:10:52.578 ***🔗
bOb_befriend_and_alienate_auto_3218@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-16 11:10:52.578 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a6f24fb670dae79' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3218@localhost'>
*** User 2024-04-16 11:10:52.578 ***🔗
bOb_befriend_and_alienate_auto_3218@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-16 11:10:52.578 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 out
<iq type='set' id='bf0ca698696f34edf3dec57814d0410f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:10:52.579 ***🔗
bOb_befriend_and_alienate_auto_3218@localhost/res1 in
<iq id='bf0ca698696f34edf3dec57814d0410f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3218@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:10:52.579 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 out
<iq type='set' id='2e84e9b2d1c50efb8c0aa831e4cf4ce6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:10:52.580 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='2e84e9b2d1c50efb8c0aa831e4cf4ce6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:10:52.580 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 out
<presence/>
*** User 2024-04-16 11:10:52.583 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3218@localhost/res1' to='bob_befriend_and_alienate_auto_3218@localhost/res1'/>
*** User 2024-04-16 11:10:52.590 ***🔗
REST request:
Code: 200
Req: {<0.87432.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2c88741236f5bb6a">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,6013}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.597 ***🔗
REST request:
Code: 200
Req: {<0.87436.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f55eeed83cb112cc">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2546}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.651 ***🔗
REST request:
Code: 204
Req: {<0.87446.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost/bob_befriend_and_alienate_auto_3218@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"67674234d537896a">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>}],
<<>>,80,52688}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost/bob_befriend_and_alienate_auto_3218@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-16 11:10:52.673 ***🔗
REST request:
Code: 200
Req: {<0.87474.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"71b15db2ad3e52d7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3218@localhost\"}]">>,
216,20860}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.677 ***🔗
REST request:
Code: 200
Req: {<0.87476.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2945989e9dd8f09c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3218@localhost\"}]">>,
218,2720}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.693 ***🔗
REST request:
Code: 204
Req: {<0.87478.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost/bob_befriend_and_alienate_auto_3218@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dfec5dbaf505dcd4">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>}],
<<>>,80,14435}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost/bob_befriend_and_alienate_auto_3218@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-16 11:10:52.696 ***🔗
REST request:
Code: 200
Req: {<0.87486.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dd5c5980a3d7faf7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1936}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.699 ***🔗
REST request:
Code: 200
Req: {<0.87490.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"970cc090ba4d0477">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 11:10:52 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1849}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3218@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='push17f6214b89fa930d' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='pushcf30b4021c5f1f83' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='pushfa531bd5eac5e80d' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' type='subscribe'/>
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='push1e549d4b9e7c88e4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.699 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3218@localhost/res1' to='alice_befriend_and_alienate_auto_3218@localhost/res1'/>
*** User 2024-04-16 11:10:52.700 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='push580adcc467ceb586' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.700 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' type='subscribed'/>
*** User 2024-04-16 11:10:52.700 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3218@localhost' to='alice_befriend_and_alienate_auto_3218@localhost/res1' id='pusha2cd95b61130e8a2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3218@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-16 11:10:52.700 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3218@localhost/res1' to='alice_befriend_and_alienate_auto_3218@localhost/res1' type='unavailable'/>
*** User 2024-04-16 11:10:57.700 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push17f6214b89fa930d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"pushcf30b4021c5f1f83">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"pushfa531bd5eac5e80d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push1e549d4b9e7c88e4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push580adcc467ceb586">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"pusha2cd95b61130e8a2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push86cd5c9185577f7c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' type='subscribe'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push37c0f2f2f13ee3b2' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost/res1' to='bob_befriend_and_alienate_auto_3218@localhost/res1'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push01a76fcedc725b89' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' type='subscribed'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push09c708af8b006584' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost/res1' to='bob_befriend_and_alienate_auto_3218@localhost/res1' type='unavailable'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push48fd7f7b33b2f647' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' type='unsubscribe'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push4a4f59f39e12edb9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' type='unsubscribed'/>
*** User 2024-04-16 11:10:57.701 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3218@localhost' to='bob_befriend_and_alienate_auto_3218@localhost/res1' id='push55ac6ad3958b7c8b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3218@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-16 11:11:02.701 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push86cd5c9185577f7c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push37c0f2f2f13ee3b2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push01a76fcedc725b89">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push09c708af8b006584">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push48fd7f7b33b2f647">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push4a4f59f39e12edb9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3218@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3218@localhost/res1">>},
{<<"id">>,<<"push55ac6ad3958b7c8b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3218@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-16 11:11:02.702 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:11:02.702 ***🔗
bob_befriend_and_alienate_auto_3218@localhost/res1 in
</stream:stream>
*** User 2024-04-16 11:11:02.702 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:11:02.703 ***🔗
alice_befriend_and_alienate_auto_3218@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 11:11:02
=== successfully completed test case
=== === Returned value: ok