=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.12843.2>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_SUITE.logs/run.2022-04-04_15.15.00/rest_suite.befriend_and_alienate_auto.68740.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_SUITE.logs/run.2022-04-04_15.15.00/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}},
{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@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:15:01
*** User 2022-04-04 15:15:01.414 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:15:01.414 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d96c4bb32ab39990' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:01.414 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:15:01.414 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzIzMzIAbWF0eWdyeXNh</auth>
*** User 2022-04-04 15:15:01.415 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:01.415 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:15:01.416 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9fd963521b09e589' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:01.416 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:15:01.416 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<iq type='set' id='bfcc0001b4f0f364824a5be52334c03a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:01.416 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq id='bfcc0001b4f0f364824a5be52334c03a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_befriend_and_alienate_auto_2332@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:01.416 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<iq type='set' id='3fbb21a70abe40ccec50e2870db7ea32'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:01.417 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq type='result' id='3fbb21a70abe40ccec50e2870db7ea32'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:01.417 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:01.420 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2332@localhost/res1' to='alice_befriend_and_alienate_auto_2332@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:01.420 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:15:01.421 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59bee512a0453953' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:01.421 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:15:01.421 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yMzMyAG1ha3JvbGlrYQ==</auth>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0462cca0454e3b59' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<iq type='set' id='d82c4f71bbb5fe55a123dd14c62e621b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq id='d82c4f71bbb5fe55a123dd14c62e621b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_befriend_and_alienate_auto_2332@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:01.422 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<iq type='set' id='d2cdc496e2de6309a587494d89faf953'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:01.423 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq type='result' id='d2cdc496e2de6309a587494d89faf953'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:01.423 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:01.425 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2332@localhost/res1' to='bob_befriend_and_alienate_auto_2332@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:01.428 ***
REST request:
Code: 200
Req: {<0.12908.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"da16b97ba6ae7777">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1424}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.431 ***
REST request:
Code: 200
Req: {<0.12914.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"32ac23e527b77064">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2266}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.495 ***
REST request:
Code: 204
Req: {<0.12920.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost/bob_befriend_and_alienate_auto_2332@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c37705647a29d6f0">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,63265}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost/bob_befriend_and_alienate_auto_2332@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.500 ***
REST request:
Code: 200
Req: {<0.12960.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"adecb5cab65a7f6f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2332@localhost\",\"ask\":\"none\"}]">>,
216,3577}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.504 ***
REST request:
Code: 200
Req: {<0.12964.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a7340aaadf4001f7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2332@localhost\",\"ask\":\"none\"}]">>,
218,2661}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.541 ***
REST request:
Code: 204
Req: {<0.12968.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost/bob_befriend_and_alienate_auto_2332@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"20bee3b7f0d341da">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,36158}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost/bob_befriend_and_alienate_auto_2332@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.549 ***
REST request:
Code: 200
Req: {<0.12976.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"93f99e5d29dd23ce">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,6178}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.555 ***
REST request:
Code: 200
Req: {<0.12980.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"523f15fbc87ee05c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:01 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4848}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2332@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='pushd74bf9f2432da986' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='pushc81d6504614e25f5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='push96db04783fd5b8cf' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' type='subscribe'/>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='push2fdb44031a205579' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2332@localhost/res1' to='alice_befriend_and_alienate_auto_2332@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='push4410bc22b2ad0f62' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' type='subscribed'/>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2332@localhost' to='alice_befriend_and_alienate_auto_2332@localhost/res1' id='push5c307df95e910e1a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:01.556 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2332@localhost/res1' to='alice_befriend_and_alienate_auto_2332@localhost/res1' type='unavailable'/>
*** User 2022-04-04 15:15:06.557 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"pushd74bf9f2432da986">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"pushc81d6504614e25f5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push96db04783fd5b8cf">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push2fdb44031a205579">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push4410bc22b2ad0f62">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push5c307df95e910e1a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]}]
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push834f50894e2ca4ad' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' type='subscribe'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push50b9e202010935f0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2332@localhost/res1' to='bob_befriend_and_alienate_auto_2332@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push793bdcfe9bcf8e1c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' type='subscribed'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='pushddba9f5a64748ad6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2332@localhost/res1' to='bob_befriend_and_alienate_auto_2332@localhost/res1' type='unavailable'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push8025bbe629d7ed61' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' type='unsubscribe'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push1d62d4a16fdaef13' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' type='unsubscribed'/>
*** User 2022-04-04 15:15:06.557 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2332@localhost' to='bob_befriend_and_alienate_auto_2332@localhost/res1' id='push432cab7bb16ef375' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_2332@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:11.558 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push834f50894e2ca4ad">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push50b9e202010935f0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push793bdcfe9bcf8e1c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"pushddba9f5a64748ad6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push8025bbe629d7ed61">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push1d62d4a16fdaef13">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2332@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2332@localhost/res1">>},
{<<"id">>,<<"push432cab7bb16ef375">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2332@localhost">>}],
[]}]}]}]
*** User 2022-04-04 15:15:11.558 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:11.558 ***
bOb_befriend_and_alienate_auto_2332@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:15:11.558 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:11.559 ***
alicE_befriend_and_alienate_auto_2332@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:15:11
=== successfully completed test case
=== === Returned value: ok