=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.88084.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@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.rest_SUITE.logs/run.2024-03-27_14.48.25/rest_suite.befriend_and_alienate_auto.165891.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@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.rest_SUITE.logs/run.2024-03-27_14.48.25/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,backend => rdbms,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_adhoc => #{iqdisc => one_queue,report_commands_node => false},
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_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@2c59d25d4e46.2024-03-27_14.32.37"
=== Started at 2024-03-27 14:48:25
*** User 2024-03-27 14:48:25.952 ***🔗
alicE_befriend_and_alienate_auto_3149@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-27 14:48:25.952 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66bbd8bf9749160a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:48:25.952 ***🔗
alicE_befriend_and_alienate_auto_3149@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-27 14:48:25.952 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxNDkAbWF0eWdyeXNh</auth>
*** User 2024-03-27 14:48:25.954 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:48:25.954 ***🔗
alicE_befriend_and_alienate_auto_3149@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-27 14:48:25.954 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d04ce756c2bdf35' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3149@localhost'>
*** User 2024-03-27 14:48:25.954 ***🔗
alicE_befriend_and_alienate_auto_3149@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-27 14:48:25.954 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 out
<iq type='set' id='67d4de7b1b84e63714fa3e5bbdc74145'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:48:25.955 ***🔗
alicE_befriend_and_alienate_auto_3149@localhost/res1 in
<iq id='67d4de7b1b84e63714fa3e5bbdc74145' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3149@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:48:25.955 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 out
<iq type='set' id='1a58eea62aa622e2ffdca0e733808681'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:48:25.956 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='1a58eea62aa622e2ffdca0e733808681' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:48:25.956 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 out
<presence/>
*** User 2024-03-27 14:48:25.958 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost/res1' to='alice_befriend_and_alienate_auto_3149@localhost/res1'/>
*** User 2024-03-27 14:48:25.959 ***🔗
bOb_befriend_and_alienate_auto_3149@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-27 14:48:25.959 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='898637e87c5f5bfa' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:48:25.959 ***🔗
bOb_befriend_and_alienate_auto_3149@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-27 14:48:25.959 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTQ5AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-27 14:48:25.960 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:48:25.961 ***🔗
bOb_befriend_and_alienate_auto_3149@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-27 14:48:25.961 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c51abec0d20bc05e' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3149@localhost'>
*** User 2024-03-27 14:48:25.961 ***🔗
bOb_befriend_and_alienate_auto_3149@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-27 14:48:25.961 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 out
<iq type='set' id='1bbf304a15ef79b198d47ea671043d03'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:48:25.962 ***🔗
bOb_befriend_and_alienate_auto_3149@localhost/res1 in
<iq id='1bbf304a15ef79b198d47ea671043d03' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3149@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:48:25.962 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 out
<iq type='set' id='53dd786afd02ec92bc731b3e07f0d5e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:48:25.962 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='53dd786afd02ec92bc731b3e07f0d5e3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:48:25.963 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 out
<presence/>
*** User 2024-03-27 14:48:25.965 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3149@localhost/res1' to='bob_befriend_and_alienate_auto_3149@localhost/res1'/>
*** User 2024-03-27 14:48:25.968 ***🔗
REST request:
Code: 200
Req: {<0.88190.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1073cc786a006428">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1651}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:25.971 ***🔗
REST request:
Code: 200
Req: {<0.88198.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"88a8cb08e910c6d4">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2030}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:26.007 ***🔗
REST request:
Code: 204
Req: {<0.88207.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost/bob_befriend_and_alienate_auto_3149@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9c1afdd424184a14">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>}],
<<>>,80,35176}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost/bob_befriend_and_alienate_auto_3149@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-27 14:48:26.010 ***🔗
REST request:
Code: 200
Req: {<0.88231.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3181fbe834fff429">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3149@localhost\"}]">>,
216,2014}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:26.014 ***🔗
REST request:
Code: 200
Req: {<0.88235.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c6e96ef64a3ae5ad">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3149@localhost\"}]">>,
218,1871}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:26.028 ***🔗
REST request:
Code: 204
Req: {<0.88239.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost/bob_befriend_and_alienate_auto_3149@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"11cf5c772804f0d3">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>}],
<<>>,80,13731}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost/bob_befriend_and_alienate_auto_3149@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-27 14:48:26.031 ***🔗
REST request:
Code: 200
Req: {<0.88247.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"86bda3ec8f9008e2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1843}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:26.034 ***🔗
REST request:
Code: 200
Req: {<0.88249.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b61806936e002a8d">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 27 Mar 2024 14:48:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1922}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3149@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='pushaa76aff593565977' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='pusheaf2b4e366ac7d34' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='pushc727173da3abce25' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' type='subscribe'/>
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='pushecf207fa7deb72e6' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.034 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3149@localhost/res1' to='alice_befriend_and_alienate_auto_3149@localhost/res1'/>
*** User 2024-03-27 14:48:26.035 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='push186be90e8ec1a44a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.035 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' type='subscribed'/>
*** User 2024-03-27 14:48:26.035 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3149@localhost' to='alice_befriend_and_alienate_auto_3149@localhost/res1' id='push264249e8f01e3ba6' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3149@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-27 14:48:26.035 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3149@localhost/res1' to='alice_befriend_and_alienate_auto_3149@localhost/res1' type='unavailable'/>
*** User 2024-03-27 14:48:31.036 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pushaa76aff593565977">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pusheaf2b4e366ac7d34">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pushc727173da3abce25">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pushecf207fa7deb72e6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"push186be90e8ec1a44a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"push264249e8f01e3ba6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='push839ae41824dfba78' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' type='subscribe'/>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='pushfc3de938564286f3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost/res1' to='bob_befriend_and_alienate_auto_3149@localhost/res1'/>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='pusha1a76e75448b15e6' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' type='subscribed'/>
*** User 2024-03-27 14:48:31.036 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='push0f9dd9107009ce9a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost/res1' to='bob_befriend_and_alienate_auto_3149@localhost/res1' type='unavailable'/>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='pusha0c2629ac8659c7d' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' type='unsubscribe'/>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='push52966a577c79a980' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' type='unsubscribed'/>
*** User 2024-03-27 14:48:31.037 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3149@localhost' to='bob_befriend_and_alienate_auto_3149@localhost/res1' id='pushd4f1cbc55e9e68e7' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3149@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-27 14:48:36.038 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"push839ae41824dfba78">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pushfc3de938564286f3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pusha1a76e75448b15e6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"push0f9dd9107009ce9a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pusha0c2629ac8659c7d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"push52966a577c79a980">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3149@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3149@localhost/res1">>},
{<<"id">>,<<"pushd4f1cbc55e9e68e7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3149@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-27 14:48:36.038 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:48:36.039 ***🔗
bob_befriend_and_alienate_auto_3149@localhost/res1 in
</stream:stream>
*** User 2024-03-27 14:48:36.039 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:48:36.039 ***🔗
alice_befriend_and_alienate_auto_3149@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-27 14:48:36
=== successfully completed test case
=== === Returned value: ok