=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.18115.2>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.rest_SUITE.logs/run.2023-12-04_15.55.14/rest_suite.befriend_and_alienate_auto.239874.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.rest_SUITE.logs/run.2023-12-04_15.55.14/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 => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
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@cdcecdf9c9e0.2023-12-04_15.40.23"
=== Started at 2023-12-04 15:55:15
*** User 2023-12-04 15:55:15.320 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:55:15.320 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d225b319544ed2f0' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:55:15.321 ***🔗
alicE_befriend_and_alienate_auto_3068@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 2023-12-04 15:55:15.321 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMwNjgAbWF0eWdyeXNh</auth>
*** User 2023-12-04 15:55:15.322 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:55:15.322 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:55:15.322 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ed5e11288050e81' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3068@localhost'>
*** User 2023-12-04 15:55:15.322 ***🔗
alicE_befriend_and_alienate_auto_3068@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 2023-12-04 15:55:15.322 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 out
<iq type='set' id='372f6e3748d757356de3d444ef58bac2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:55:15.323 ***🔗
alicE_befriend_and_alienate_auto_3068@localhost/res1 in
<iq id='372f6e3748d757356de3d444ef58bac2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3068@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:55:15.323 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 out
<iq type='set' id='56385fc154ade9d714597d9205d879f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:55:15.323 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='56385fc154ade9d714597d9205d879f9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:55:15.324 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 out
<presence/>
*** User 2023-12-04 15:55:15.325 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost/res1' to='alice_befriend_and_alienate_auto_3068@localhost/res1'/>
*** User 2023-12-04 15:55:15.326 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:55:15.326 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4717d2a83bc03e1b' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:55:15.326 ***🔗
bOb_befriend_and_alienate_auto_3068@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 2023-12-04 15:55:15.326 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMDY4AG1ha3JvbGlrYQ==</auth>
*** User 2023-12-04 15:55:15.327 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:55:15.327 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-04 15:55:15.328 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a35b42046059f8fc' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3068@localhost'>
*** User 2023-12-04 15:55:15.328 ***🔗
bOb_befriend_and_alienate_auto_3068@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 2023-12-04 15:55:15.328 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 out
<iq type='set' id='215c6af68467fda616a5a0221f55d823'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:55:15.328 ***🔗
bOb_befriend_and_alienate_auto_3068@localhost/res1 in
<iq id='215c6af68467fda616a5a0221f55d823' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3068@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:55:15.329 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 out
<iq type='set' id='2f8b8a7101df8de724035b0637b55804'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:55:15.329 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='2f8b8a7101df8de724035b0637b55804' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:55:15.329 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 out
<presence/>
*** User 2023-12-04 15:55:15.331 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3068@localhost/res1' to='bob_befriend_and_alienate_auto_3068@localhost/res1'/>
*** User 2023-12-04 15:55:15.334 ***🔗
REST request:
Code: 200
Req: {<0.18217.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0bfff5e08e790e8b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2321}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.336 ***🔗
REST request:
Code: 200
Req: {<0.18231.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4c0a16252cfdc089">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1146}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.355 ***🔗
REST request:
Code: 204
Req: {<0.18238.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost/bob_befriend_and_alienate_auto_3068@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"aed1efaf9ae650a3">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>}],
<<>>,80,18324}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost/bob_befriend_and_alienate_auto_3068@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.357 ***🔗
REST request:
Code: 200
Req: {<0.18262.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"26558875e7f1d471">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3068@localhost\",\"ask\":\"none\"}]">>,
216,1081}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.359 ***🔗
REST request:
Code: 200
Req: {<0.18264.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"75e0eea151ea3cde">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3068@localhost\",\"ask\":\"none\"}]">>,
218,1344}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.368 ***🔗
REST request:
Code: 204
Req: {<0.18268.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost/bob_befriend_and_alienate_auto_3068@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b74fce68039ae633">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>}],
<<>>,80,7885}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost/bob_befriend_and_alienate_auto_3068@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.371 ***🔗
REST request:
Code: 200
Req: {<0.18276.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b1857c03e3cae9ba">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1191}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.373 ***🔗
REST request:
Code: 200
Req: {<0.18280.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1b84192762cbd0c0">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Dec 2023 15:55:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1120}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3068@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='push2403f86df0646aaf' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='pushe49f8c1e711a355c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='push065b856ea4789eb1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' type='subscribe'/>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='push8b62a0730c4bd160' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3068@localhost/res1' to='alice_befriend_and_alienate_auto_3068@localhost/res1'/>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='push5499b9a750df16b4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' type='subscribed'/>
*** User 2023-12-04 15:55:15.373 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3068@localhost' to='alice_befriend_and_alienate_auto_3068@localhost/res1' id='push04369d5cb4b88f3d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:15.374 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3068@localhost/res1' to='alice_befriend_and_alienate_auto_3068@localhost/res1' type='unavailable'/>
*** User 2023-12-04 15:55:20.374 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push2403f86df0646aaf">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"pushe49f8c1e711a355c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push065b856ea4789eb1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push8b62a0730c4bd160">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push5499b9a750df16b4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push04369d5cb4b88f3d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]}]
*** User 2023-12-04 15:55:20.374 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='push4cb28dd44b082146' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' type='subscribe'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='push39cce8d775eb1fd3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost/res1' to='bob_befriend_and_alienate_auto_3068@localhost/res1'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='push96af8e55c88b78c8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' type='subscribed'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='pushb81f8c6896f4de6f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost/res1' to='bob_befriend_and_alienate_auto_3068@localhost/res1' type='unavailable'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='pusha20aa71dbc4ec64d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' type='unsubscribe'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='pushacd668967d8b6046' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' type='unsubscribed'/>
*** User 2023-12-04 15:55:20.375 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3068@localhost' to='bob_befriend_and_alienate_auto_3068@localhost/res1' id='push161953096f6b5852' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_3068@localhost'/>
</query>
</iq>
*** User 2023-12-04 15:55:25.375 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push4cb28dd44b082146">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push39cce8d775eb1fd3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push96af8e55c88b78c8">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"pushb81f8c6896f4de6f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"pusha20aa71dbc4ec64d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"pushacd668967d8b6046">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3068@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3068@localhost/res1">>},
{<<"id">>,<<"push161953096f6b5852">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3068@localhost">>}],
[]}]}]}]
*** User 2023-12-04 15:55:25.376 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:55:25.376 ***🔗
bob_befriend_and_alienate_auto_3068@localhost/res1 in
</stream:stream>
*** User 2023-12-04 15:55:25.376 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:55:25.376 ***🔗
alice_befriend_and_alienate_auto_3068@localhost/res1 in
</stream:stream>
=== Ended at 2023-12-04 15:55:25
=== successfully completed test case
=== === Returned value: ok