=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.87410.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_SUITE.logs/run.2024-04-24_13.23.10/rest_suite.befriend_and_alienate_auto.246914.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_SUITE.logs/run.2024-04-24_13.23.10/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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
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@f53478984827.2024-04-24_13.07.56"
=== Started at 2024-04-24 13:23:11
*** User 2024-04-24 13:23:11.184 ***🔗
alicE_befriend_and_alienate_auto_3174@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-24 13:23:11.184 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1da311c94119e4f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:23:11.184 ***🔗
alicE_befriend_and_alienate_auto_3174@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-24 13:23:11.184 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxNzQAbWF0eWdyeXNh</auth>
*** User 2024-04-24 13:23:11.185 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:23:11.185 ***🔗
alicE_befriend_and_alienate_auto_3174@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-24 13:23:11.186 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a0869d9b8a4ec18' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3174@localhost'>
*** User 2024-04-24 13:23:11.186 ***🔗
alicE_befriend_and_alienate_auto_3174@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-24 13:23:11.186 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 out
<iq type='set' id='e48c48e1410f4440727a04d833a0e298'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:23:11.186 ***🔗
alicE_befriend_and_alienate_auto_3174@localhost/res1 in
<iq id='e48c48e1410f4440727a04d833a0e298' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3174@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:23:11.186 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 out
<iq type='set' id='b8dd8e4b3b37ce5dd98c6ab212687a1b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:11.187 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='b8dd8e4b3b37ce5dd98c6ab212687a1b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:11.187 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 out
<presence/>
*** User 2024-04-24 13:23:11.189 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost/res1' to='alice_befriend_and_alienate_auto_3174@localhost/res1'/>
*** User 2024-04-24 13:23:11.190 ***🔗
bOb_befriend_and_alienate_auto_3174@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-24 13:23:11.190 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef1dc080181da820' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:23:11.190 ***🔗
bOb_befriend_and_alienate_auto_3174@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-24 13:23:11.191 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTc0AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-24 13:23:11.191 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:23:11.191 ***🔗
bOb_befriend_and_alienate_auto_3174@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-24 13:23:11.192 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7f95fbc74ca5aa1' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3174@localhost'>
*** User 2024-04-24 13:23:11.192 ***🔗
bOb_befriend_and_alienate_auto_3174@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-24 13:23:11.192 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 out
<iq type='set' id='54105522725fcbd56ba143b06b51f77b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:23:11.192 ***🔗
bOb_befriend_and_alienate_auto_3174@localhost/res1 in
<iq id='54105522725fcbd56ba143b06b51f77b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3174@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:23:11.192 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 out
<iq type='set' id='894deefb11b4996e380793c522da0211'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:11.193 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='894deefb11b4996e380793c522da0211' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:11.193 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 out
<presence/>
*** User 2024-04-24 13:23:11.198 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3174@localhost/res1' to='bob_befriend_and_alienate_auto_3174@localhost/res1'/>
*** User 2024-04-24 13:23:11.201 ***🔗
REST request:
Code: 200
Req: {<0.87533.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c960820f9242c108">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1971}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.206 ***🔗
REST request:
Code: 200
Req: {<0.87540.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"628b7d9d1727230f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3660}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.281 ***🔗
REST request:
Code: 204
Req: {<0.87547.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost/bob_befriend_and_alienate_auto_3174@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cf8422b973c87429">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>}],
<<>>,80,74766}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost/bob_befriend_and_alienate_auto_3174@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-24 13:23:11.284 ***🔗
REST request:
Code: 200
Req: {<0.87561.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"714912ade50e672b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3174@localhost\"}]">>,
216,1701}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.287 ***🔗
REST request:
Code: 200
Req: {<0.87565.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2f1361c9987665fd">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3174@localhost\"}]">>,
218,1328}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.300 ***🔗
REST request:
Code: 204
Req: {<0.87569.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost/bob_befriend_and_alienate_auto_3174@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dbf9e2fb95b42609">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>}],
<<>>,80,12049}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost/bob_befriend_and_alienate_auto_3174@localhost/manage">>,
server => #{node => mongooseim@localhost},
body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
role => admin,return_headers => true}
*** User 2024-04-24 13:23:11.303 ***🔗
REST request:
Code: 200
Req: {<0.87577.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4bc4fe5471454f56">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1732}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.305 ***🔗
REST request:
Code: 200
Req: {<0.87579.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"06397c16dab13feb">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1400}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3174@localhost">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => admin,
return_headers => true}
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='push85b0208ccd854340' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='push7ed96427c353458d' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='push4201bffb7506a0e2' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' type='subscribe'/>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='push154ae795eb6dab22' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3174@localhost/res1' to='alice_befriend_and_alienate_auto_3174@localhost/res1'/>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='pushb3f150ec6a16af64' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' type='subscribed'/>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3174@localhost' to='alice_befriend_and_alienate_auto_3174@localhost/res1' id='push03f9eebfa0a23766' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3174@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-24 13:23:11.306 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3174@localhost/res1' to='alice_befriend_and_alienate_auto_3174@localhost/res1' type='unavailable'/>
*** User 2024-04-24 13:23:16.307 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push85b0208ccd854340">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push7ed96427c353458d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push4201bffb7506a0e2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push154ae795eb6dab22">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"pushb3f150ec6a16af64">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push03f9eebfa0a23766">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='push88cd24825355893b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' type='subscribe'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='push533bca974f574e36' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost/res1' to='bob_befriend_and_alienate_auto_3174@localhost/res1'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='push4f61e7f7cafc29e1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' type='subscribed'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='push7008948742f5bd54' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost/res1' to='bob_befriend_and_alienate_auto_3174@localhost/res1' type='unavailable'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='push9615e7c8085ed116' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' type='unsubscribe'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='pushc489ef16bd5cf3b8' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' type='unsubscribed'/>
*** User 2024-04-24 13:23:16.307 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3174@localhost' to='bob_befriend_and_alienate_auto_3174@localhost/res1' id='pushcca3422b4d2b1c6f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3174@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-24 13:23:21.308 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push88cd24825355893b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push533bca974f574e36">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push4f61e7f7cafc29e1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push7008948742f5bd54">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"push9615e7c8085ed116">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"pushc489ef16bd5cf3b8">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3174@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3174@localhost/res1">>},
{<<"id">>,<<"pushcca3422b4d2b1c6f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3174@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-04-24 13:23:21.308 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:23:21.308 ***🔗
bob_befriend_and_alienate_auto_3174@localhost/res1 in
</stream:stream>
*** User 2024-04-24 13:23:21.308 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:23:21.309 ***🔗
alice_befriend_and_alienate_auto_3174@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-24 13:23:21
=== successfully completed test case
=== === Returned value: ok