=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.71060.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.23.00/rest_suite.befriend_and_alienate_auto.205826.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.23.00/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
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_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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18"
=== Started at 2023-11-17 15:23:00
*** User 2023-11-17 15:23:00.831 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:23:00.832 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e083fd84e2a02063' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:00.832 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/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-17 15:23:00.832 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI2NTUAbWF0eWdyeXNh</auth>
*** User 2023-11-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94974136ced52077' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2655@domain.example.com'>
*** User 2023-11-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/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-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<iq type='set' id='2219616f26b0370a03b58dfc15d01883'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:00.833 ***🔗
alicE_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq id='2219616f26b0370a03b58dfc15d01883' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_2655@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:00.833 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<iq type='set' id='77845da719bfd8d5c0b36793635ae387'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:00.834 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='77845da719bfd8d5c0b36793635ae387' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:00.834 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:00.835 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1'/>
*** User 2023-11-17 15:23:00.836 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:23:00.836 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa6dae6a46a6399a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:00.836 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/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-17 15:23:00.836 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNjU1AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-17 15:23:00.837 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:00.838 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:23:00.838 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='047ffb647e235325' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2655@domain.example.com'>
*** User 2023-11-17 15:23:00.838 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/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-17 15:23:00.838 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<iq type='set' id='8687a450779938d67611714b73e74e54'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:00.838 ***🔗
bOb_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq id='8687a450779938d67611714b73e74e54' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_2655@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:00.838 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<iq type='set' id='59d979809993971ccc2dd72572ba3320'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:00.839 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='59d979809993971ccc2dd72572ba3320' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:00.839 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:00.840 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1'/>
*** User 2023-11-17 15:23:00.843 ***🔗
REST request:
Code: 200
Req: {<0.71180.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a1ec727eb61027a8">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2082}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.845 ***🔗
REST request:
Code: 200
Req: {<0.71188.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b5c8b995d1e62544">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1471}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.912 ***🔗
REST request:
Code: 204
Req: {<0.71192.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com/bob_befriend_and_alienate_auto_2655@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e981d90a7ac45cb0">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>}],
<<>>,80,65595}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com/bob_befriend_and_alienate_auto_2655@domain.example.com/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
role => admin,return_headers => true}
*** User 2023-11-17 15:23:00.915 ***🔗
REST request:
Code: 200
Req: {<0.71209.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"137d86e27606cf7f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"101">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2655@domain.example.com\"}]">>,
226,1672}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.917 ***🔗
REST request:
Code: 200
Req: {<0.71213.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"41152482260caf50">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"103">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2655@domain.example.com\"}]">>,
228,1462}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.928 ***🔗
REST request:
Code: 204
Req: {<0.71215.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com/bob_befriend_and_alienate_auto_2655@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c5d136276db1b52e">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>}],
<<>>,80,10109}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com/bob_befriend_and_alienate_auto_2655@domain.example.com/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
role => admin,return_headers => true}
*** User 2023-11-17 15:23:00.930 ***🔗
REST request:
Code: 200
Req: {<0.71223.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a6dc5630e5faacce">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1399}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.932 ***🔗
REST request:
Code: 200
Req: {<0.71227.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2579a06f8fdab93f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1603}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2655@domain.example.com">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2023-11-17 15:23:00.932 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='push1ff996080345e955' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.932 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='push1b29f1230090eb5c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.932 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='push6c3bdbf480020ea9' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.932 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushe6ce94c68d02a812' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1'/>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='push5d4a640ff9932267' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pusha352a98934871016' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:00.933 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-17 15:23:05.933 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"push1ff996080345e955">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"push1b29f1230090eb5c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"push6c3bdbf480020ea9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushe6ce94c68d02a812">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"push5d4a640ff9932267">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pusha352a98934871016">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]}]
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushce6206eb7d787eda' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushb741f56ec1e8d615' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushca7412182f754392' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' type='subscribed'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushb2e5d4ce8808d859' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' type='unavailable'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushdf62dd9daecc87d9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' type='unsubscribe'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='push3463d73989257481' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' type='unsubscribed'/>
*** User 2023-11-17 15:23:05.934 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2655@domain.example.com' to='bob_befriend_and_alienate_auto_2655@domain.example.com/res1' id='pushcc33c50507b2e2e7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_2655@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:10.935 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushce6206eb7d787eda">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushb741f56ec1e8d615">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushca7412182f754392">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushb2e5d4ce8808d859">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushdf62dd9daecc87d9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"push3463d73989257481">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2655@domain.example.com/res1">>},
{<<"id">>,<<"pushcc33c50507b2e2e7">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2655@domain.example.com">>}],
[]}]}]}]
*** User 2023-11-17 15:23:10.936 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:10.936 ***🔗
bob_befriend_and_alienate_auto_2655@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:23:10.937 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:10.937 ***🔗
alice_befriend_and_alienate_auto_2655@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:23:10
=== successfully completed test case
=== === Returned value: ok