=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.86739.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"odbc_mssql_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@263f7cbb53ed.2024-04-25_14.57.19/big_tests.tests.rest_SUITE.logs/run.2024-04-25_15.14.55/rest_suite.befriend_and_alienate_auto.240258.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@263f7cbb53ed.2024-04-25_14.57.19/big_tests.tests.rest_SUITE.logs/run.2024-04-25_15.14.55/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_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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,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@263f7cbb53ed.2024-04-25_14.57.19"
=== Started at 2024-04-25 15:14:57
*** User 2024-04-25 15:14:57.434 ***🔗
alicE_befriend_and_alienate_auto_3354@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-25 15:14:57.434 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ad9a176e6586c96' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 15:14:57.435 ***🔗
alicE_befriend_and_alienate_auto_3354@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-25 15:14:57.435 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzNTQAbWF0eWdyeXNh</auth>
*** User 2024-04-25 15:14:57.436 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 15:14:57.436 ***🔗
alicE_befriend_and_alienate_auto_3354@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-25 15:14:57.437 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2dac846ee2749ca1' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3354@localhost'>
*** User 2024-04-25 15:14:57.437 ***🔗
alicE_befriend_and_alienate_auto_3354@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-25 15:14:57.437 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 out
<iq type='set' id='055e85f58cb5bf60c4e5a0b14855a98d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 15:14:57.438 ***🔗
alicE_befriend_and_alienate_auto_3354@localhost/res1 in
<iq id='055e85f58cb5bf60c4e5a0b14855a98d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3354@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 15:14:57.438 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 out
<iq type='set' id='64ec1917549f2a2df31c72c30ede2de0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 15:14:57.438 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='64ec1917549f2a2df31c72c30ede2de0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 15:14:57.438 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 out
<presence/>
*** User 2024-04-25 15:14:57.441 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost/res1' to='alice_befriend_and_alienate_auto_3354@localhost/res1'/>
*** User 2024-04-25 15:14:57.441 ***🔗
bOb_befriend_and_alienate_auto_3354@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-25 15:14:57.442 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c8b86dfaa7618e7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 15:14:57.442 ***🔗
bOb_befriend_and_alienate_auto_3354@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-25 15:14:57.442 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzU0AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-25 15:14:57.445 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 15:14:57.445 ***🔗
bOb_befriend_and_alienate_auto_3354@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-25 15:14:57.446 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a716e6645ddd177' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3354@localhost'>
*** User 2024-04-25 15:14:57.447 ***🔗
bOb_befriend_and_alienate_auto_3354@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-25 15:14:57.447 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 out
<iq type='set' id='008be7c11cd6c8441ada772e418b4c74'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 15:14:57.447 ***🔗
bOb_befriend_and_alienate_auto_3354@localhost/res1 in
<iq id='008be7c11cd6c8441ada772e418b4c74' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3354@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 15:14:57.448 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 out
<iq type='set' id='15615bd68a107b486f2d7504725cbc41'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 15:14:57.448 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='15615bd68a107b486f2d7504725cbc41' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 15:14:57.449 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 out
<presence/>
*** User 2024-04-25 15:14:57.453 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3354@localhost/res1' to='bob_befriend_and_alienate_auto_3354@localhost/res1'/>
*** User 2024-04-25 15:14:57.458 ***🔗
REST request:
Code: 200
Req: {<0.86852.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"97e688415672c486">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4001}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.462 ***🔗
REST request:
Code: 200
Req: {<0.86860.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c8b739a87b770f39">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2892}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.669 ***🔗
REST request:
Code: 204
Req: {<0.86864.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost/bob_befriend_and_alienate_auto_3354@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9313510167121cf2">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>}],
<<>>,80,205298}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost/bob_befriend_and_alienate_auto_3354@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,role => admin,
method => <<"PUT">>,return_headers => true}
*** User 2024-04-25 15:14:57.681 ***🔗
REST request:
Code: 200
Req: {<0.86892.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5c8a91e26d830ddb">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3354@localhost\"}]">>,
216,10162}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.701 ***🔗
REST request:
Code: 200
Req: {<0.86896.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a919b59235b0de8">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3354@localhost\"}]">>,
218,12510}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.742 ***🔗
REST request:
Code: 204
Req: {<0.86900.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost/bob_befriend_and_alienate_auto_3354@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"075cbc6a4801c326">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>}],
<<>>,80,36415}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost/bob_befriend_and_alienate_auto_3354@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,role => admin,
method => <<"PUT">>,return_headers => true}
*** User 2024-04-25 15:14:57.749 ***🔗
REST request:
Code: 200
Req: {<0.86908.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2dc3a89452889c30">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4520}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.757 ***🔗
REST request:
Code: 200
Req: {<0.86914.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"67f49d203c41eb7a">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 15:14:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,5020}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3354@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => admin,method => <<"GET">>,
return_headers => true}
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='push60690ff5480b0057' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='pushe700d3c343e8ecee' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='push6e78a1e5c802f521' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' type='subscribe'/>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='push84c24df798db85ba' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3354@localhost/res1' to='alice_befriend_and_alienate_auto_3354@localhost/res1'/>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='pushd187b08edf3f50b0' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' type='subscribed'/>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3354@localhost' to='alice_befriend_and_alienate_auto_3354@localhost/res1' id='push2d23130196222e50' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3354@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 15:14:57.758 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3354@localhost/res1' to='alice_befriend_and_alienate_auto_3354@localhost/res1' type='unavailable'/>
*** User 2024-04-25 15:15:02.759 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push60690ff5480b0057">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"pushe700d3c343e8ecee">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push6e78a1e5c802f521">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push84c24df798db85ba">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"pushd187b08edf3f50b0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push2d23130196222e50">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push169d21ed025ce994' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' type='subscribe'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='pushfb7d7c1436cda622' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost/res1' to='bob_befriend_and_alienate_auto_3354@localhost/res1'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push942b83b4019f86d7' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' type='subscribed'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push260f4200bc41588e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost/res1' to='bob_befriend_and_alienate_auto_3354@localhost/res1' type='unavailable'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push01553ab248ad26a9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' type='unsubscribe'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push172dd3d9ddf00e75' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' type='unsubscribed'/>
*** User 2024-04-25 15:15:02.760 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3354@localhost' to='bob_befriend_and_alienate_auto_3354@localhost/res1' id='push32960224de792ade' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3354@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 15:15:07.761 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push169d21ed025ce994">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"pushfb7d7c1436cda622">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push942b83b4019f86d7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push260f4200bc41588e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push01553ab248ad26a9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push172dd3d9ddf00e75">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3354@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3354@localhost/res1">>},
{<<"id">>,<<"push32960224de792ade">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3354@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-25 15:15:07.762 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 out
</stream:stream>
*** User 2024-04-25 15:15:07.762 ***🔗
bob_befriend_and_alienate_auto_3354@localhost/res1 in
</stream:stream>
*** User 2024-04-25 15:15:07.762 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 out
</stream:stream>
*** User 2024-04-25 15:15:07.763 ***🔗
alice_befriend_and_alienate_auto_3354@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 15:15:07
=== successfully completed test case
=== === Returned value: ok