=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.17758.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.20.40/rest_suite.befriend_and_alienate_auto.164867.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.20.40/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@fca70da71937.2023-11-16_09.05.55"
=== Started at 2023-11-16 09:20:40
*** User 2023-11-16 09:20:41.017 ***🔗
alicE_befriend_and_alienate_auto_3118@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-11-16 09:20:41.017 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='125039456ebc71b2' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:41.017 ***🔗
alicE_befriend_and_alienate_auto_3118@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-11-16 09:20:41.018 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxMTgAbWF0eWdyeXNh</auth>
*** User 2023-11-16 09:20:41.018 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:41.018 ***🔗
alicE_befriend_and_alienate_auto_3118@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-11-16 09:20:41.019 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2867c8e0f69715a' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3118@localhost'>
*** User 2023-11-16 09:20:41.019 ***🔗
alicE_befriend_and_alienate_auto_3118@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-11-16 09:20:41.020 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 out
<iq type='set' id='445257221d89a7e6fdafb341da2ebcb3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:41.020 ***🔗
alicE_befriend_and_alienate_auto_3118@localhost/res1 in
<iq id='445257221d89a7e6fdafb341da2ebcb3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3118@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:41.020 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 out
<iq type='set' id='5ddeb59c6cc3817076afc57f948d9cb6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:41.021 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='5ddeb59c6cc3817076afc57f948d9cb6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:41.021 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:41.022 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost/res1' to='alice_befriend_and_alienate_auto_3118@localhost/res1'/>
*** User 2023-11-16 09:20:41.023 ***🔗
bOb_befriend_and_alienate_auto_3118@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-11-16 09:20:41.023 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a12ae2b36f1fcac5' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:41.023 ***🔗
bOb_befriend_and_alienate_auto_3118@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-11-16 09:20:41.023 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTE4AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-16 09:20:41.024 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:41.025 ***🔗
bOb_befriend_and_alienate_auto_3118@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-11-16 09:20:41.025 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e061e9cf0ec00cea' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3118@localhost'>
*** User 2023-11-16 09:20:41.025 ***🔗
bOb_befriend_and_alienate_auto_3118@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-11-16 09:20:41.025 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 out
<iq type='set' id='9e6917085516428966a3f8f4fb05d2ad'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:41.025 ***🔗
bOb_befriend_and_alienate_auto_3118@localhost/res1 in
<iq id='9e6917085516428966a3f8f4fb05d2ad' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3118@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:41.026 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 out
<iq type='set' id='7467528f4bcf15b4afce5d6991da0a56'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:41.026 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='7467528f4bcf15b4afce5d6991da0a56' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:41.027 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:41.028 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3118@localhost/res1' to='bob_befriend_and_alienate_auto_3118@localhost/res1'/>
*** User 2023-11-16 09:20:41.030 ***🔗
REST request:
Code: 200
Req: {<0.17869.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a66ecd5be1ee7b7b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1054}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.033 ***🔗
REST request:
Code: 200
Req: {<0.17877.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c8dd938376194625">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1076}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.049 ***🔗
REST request:
Code: 204
Req: {<0.17885.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost/bob_befriend_and_alienate_auto_3118@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9c9989f5f9414f22">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>}],
<<>>,80,15317}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost/bob_befriend_and_alienate_auto_3118@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.051 ***🔗
REST request:
Code: 200
Req: {<0.17905.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"60b7e0e807f88059">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3118@localhost\",\"ask\":\"none\"}]">>,
216,1274}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.053 ***🔗
REST request:
Code: 200
Req: {<0.17907.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"81f304db22860470">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3118@localhost\",\"ask\":\"none\"}]">>,
218,1065}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.064 ***🔗
REST request:
Code: 204
Req: {<0.17911.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost/bob_befriend_and_alienate_auto_3118@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d005775fdf4b43d8">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>}],
<<>>,80,9662}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost/bob_befriend_and_alienate_auto_3118@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.066 ***🔗
REST request:
Code: 200
Req: {<0.17921.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5a9d19bfe8c6df4c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1305}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.112 ***🔗
REST request:
Code: 200
Req: {<0.17923.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f5e36b49dc239a45">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,45703}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3118@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='pushd1a9d60d898fbf1a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='pushbf3fe0667f2371c6' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='pushdb86ee10b1cc64e1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' type='subscribe'/>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='push98ba6bbe0f3df8c3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3118@localhost/res1' to='alice_befriend_and_alienate_auto_3118@localhost/res1'/>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='pushf78e7bea536dd449' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' type='subscribed'/>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3118@localhost' to='alice_befriend_and_alienate_auto_3118@localhost/res1' id='push78b9b8fa31d6cb8d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:41.113 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3118@localhost/res1' to='alice_befriend_and_alienate_auto_3118@localhost/res1' type='unavailable'/>
*** User 2023-11-16 09:20:46.114 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushd1a9d60d898fbf1a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushbf3fe0667f2371c6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushdb86ee10b1cc64e1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push98ba6bbe0f3df8c3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushf78e7bea536dd449">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push78b9b8fa31d6cb8d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]}]
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='pushaa18d19d7363e47f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' type='subscribe'/>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='push1dc9e32ed58f12a6' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost/res1' to='bob_befriend_and_alienate_auto_3118@localhost/res1'/>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='push2b020cc5b9493358' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' type='subscribed'/>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='push2fb61ecc171c3974' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost/res1' to='bob_befriend_and_alienate_auto_3118@localhost/res1' type='unavailable'/>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='pushbe2ad84689446b9b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' type='unsubscribe'/>
*** User 2023-11-16 09:20:46.114 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='push70117c955a282dc6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:46.115 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' type='unsubscribed'/>
*** User 2023-11-16 09:20:46.115 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3118@localhost' to='bob_befriend_and_alienate_auto_3118@localhost/res1' id='push7c097d6bb93e6c4f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_3118@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:51.116 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushaa18d19d7363e47f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push1dc9e32ed58f12a6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push2b020cc5b9493358">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push2fb61ecc171c3974">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"pushbe2ad84689446b9b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push70117c955a282dc6">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3118@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3118@localhost/res1">>},
{<<"id">>,<<"push7c097d6bb93e6c4f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3118@localhost">>}],
[]}]}]}]
*** User 2023-11-16 09:20:51.116 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:51.116 ***🔗
bob_befriend_and_alienate_auto_3118@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:20:51.116 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:51.117 ***🔗
alice_befriend_and_alienate_auto_3118@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:20:51
=== successfully completed test case
=== === Returned value: ok