=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.81977.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@de8ed2e5223a.2024-04-19_08.28.58/big_tests.tests.rest_SUITE.logs/run.2024-04-19_08.41.53/rest_suite.befriend_and_alienate_auto.148995.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@de8ed2e5223a.2024-04-19_08.28.58/big_tests.tests.rest_SUITE.logs/run.2024-04-19_08.41.53/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,buffer_max => 100,backend => cets,
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
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@de8ed2e5223a.2024-04-19_08.28.58"
=== Started at 2024-04-19 08:41:54
*** User 2024-04-19 08:41:54.167 ***🔗
alicE_befriend_and_alienate_auto_2938@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-19 08:41:54.167 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3bc6bc3459811e69' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-19 08:41:54.167 ***🔗
alicE_befriend_and_alienate_auto_2938@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-19 08:41:54.167 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5MzgAbWF0eWdyeXNh</auth>
*** User 2024-04-19 08:41:54.168 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-19 08:41:54.168 ***🔗
alicE_befriend_and_alienate_auto_2938@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-19 08:41:54.168 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e187b81f7599e0af' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2938@localhost'>
*** User 2024-04-19 08:41:54.168 ***🔗
alicE_befriend_and_alienate_auto_2938@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-19 08:41:54.169 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 out
<iq type='set' id='63ee60030583e346222d0ce2b7138a7a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-19 08:41:54.169 ***🔗
alicE_befriend_and_alienate_auto_2938@localhost/res1 in
<iq id='63ee60030583e346222d0ce2b7138a7a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_2938@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-19 08:41:54.169 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 out
<iq type='set' id='8b320c19bb63beaba6db9e3f0cc76796'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-19 08:41:54.169 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='8b320c19bb63beaba6db9e3f0cc76796' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-19 08:41:54.170 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 out
<presence/>
*** User 2024-04-19 08:41:54.171 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost/res1' to='alice_befriend_and_alienate_auto_2938@localhost/res1'/>
*** User 2024-04-19 08:41:54.171 ***🔗
bOb_befriend_and_alienate_auto_2938@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-19 08:41:54.172 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65232d6ca8eb57c6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-19 08:41:54.172 ***🔗
bOb_befriend_and_alienate_auto_2938@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-19 08:41:54.172 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTM4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-19 08:41:54.173 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-19 08:41:54.173 ***🔗
bOb_befriend_and_alienate_auto_2938@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-19 08:41:54.173 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30143c0b8909c1f2' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2938@localhost'>
*** User 2024-04-19 08:41:54.173 ***🔗
bOb_befriend_and_alienate_auto_2938@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-19 08:41:54.173 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 out
<iq type='set' id='41e48d07b6fcdef594665e2614765e4b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-19 08:41:54.174 ***🔗
bOb_befriend_and_alienate_auto_2938@localhost/res1 in
<iq id='41e48d07b6fcdef594665e2614765e4b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_2938@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-19 08:41:54.174 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 out
<iq type='set' id='c1752fa23dc9ccfa1656c78c8e54ba76'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-19 08:41:54.174 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='c1752fa23dc9ccfa1656c78c8e54ba76' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-19 08:41:54.174 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 out
<presence/>
*** User 2024-04-19 08:41:54.175 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2938@localhost/res1' to='bob_befriend_and_alienate_auto_2938@localhost/res1'/>
*** User 2024-04-19 08:41:54.178 ***🔗
REST request:
Code: 200
Req: {<0.82079.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8e13c8aa307ffed1">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1565}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.180 ***🔗
REST request:
Code: 200
Req: {<0.82090.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9c32da6258237665">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1303}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.196 ***🔗
REST request:
Code: 204
Req: {<0.82102.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost/bob_befriend_and_alienate_auto_2938@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"249ddb5ae38428fe">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>}],
<<>>,80,15070}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost/bob_befriend_and_alienate_auto_2938@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-19 08:41:54.198 ***🔗
REST request:
Code: 200
Req: {<0.82124.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"95a2dfffbd4bd80f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2938@localhost\"}]">>,
216,823}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.199 ***🔗
REST request:
Code: 200
Req: {<0.82128.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ccef5a7d10df9d0d">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2938@localhost\"}]">>,
218,1077}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.206 ***🔗
REST request:
Code: 204
Req: {<0.82132.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost/bob_befriend_and_alienate_auto_2938@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7af7baab278b0d60">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>}],
<<>>,80,5691}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost/bob_befriend_and_alienate_auto_2938@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-19 08:41:54.207 ***🔗
REST request:
Code: 200
Req: {<0.82138.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f0a73b8055710790">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,835}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.209 ***🔗
REST request:
Code: 200
Req: {<0.82142.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c684269f105d3e4b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 19 Apr 2024 08:41:53 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,788}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2938@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='push7f87b5ea5b1d4bee' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='pushfc9946c0523a6dd5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='push06f1ec9a2dde5603' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' type='subscribe'/>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='push9680c00764e2c5b7' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2938@localhost/res1' to='alice_befriend_and_alienate_auto_2938@localhost/res1'/>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='push6c68a7e4b2c0068b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' type='subscribed'/>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2938@localhost' to='alice_befriend_and_alienate_auto_2938@localhost/res1' id='push781636ffb5f3e4cb' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_2938@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-19 08:41:54.209 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2938@localhost/res1' to='alice_befriend_and_alienate_auto_2938@localhost/res1' type='unavailable'/>
*** User 2024-04-19 08:41:59.210 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push7f87b5ea5b1d4bee">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"pushfc9946c0523a6dd5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push06f1ec9a2dde5603">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push9680c00764e2c5b7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push6c68a7e4b2c0068b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push781636ffb5f3e4cb">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-19 08:41:59.210 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='push114f4b7d2c36aee2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' type='subscribe'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='push1b109b67bd9aa79a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost/res1' to='bob_befriend_and_alienate_auto_2938@localhost/res1'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='push0d7016b497b487cd' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' type='subscribed'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='pushf7fb238c050e14f7' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost/res1' to='bob_befriend_and_alienate_auto_2938@localhost/res1' type='unavailable'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='pushc01e2973c7fccae1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' type='unsubscribe'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='push7fe8c994ae53654d' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' type='unsubscribed'/>
*** User 2024-04-19 08:41:59.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2938@localhost' to='bob_befriend_and_alienate_auto_2938@localhost/res1' id='push6639594684ecc642' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_2938@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-19 08:42:04.211 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push114f4b7d2c36aee2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push1b109b67bd9aa79a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push0d7016b497b487cd">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"pushf7fb238c050e14f7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"pushc01e2973c7fccae1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push7fe8c994ae53654d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2938@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2938@localhost/res1">>},
{<<"id">>,<<"push6639594684ecc642">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2938@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-19 08:42:04.211 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 out
</stream:stream>
*** User 2024-04-19 08:42:04.212 ***🔗
bob_befriend_and_alienate_auto_2938@localhost/res1 in
</stream:stream>
*** User 2024-04-19 08:42:04.212 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 out
</stream:stream>
*** User 2024-04-19 08:42:04.212 ***🔗
alice_befriend_and_alienate_auto_2938@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-19 08:42:04
=== successfully completed test case
=== === Returned value: ok