=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.734.2>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.rest_SUITE.logs/run.2022-05-25_09.13.15/rest_suite.befriend_and_alienate_auto.114051.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.rest_SUITE.logs/run.2022-05-25_09.13.15/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_commands => #{},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => #{},mod_muc_light_commands => #{},
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,<<"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@f0b09cc3aef4.2022-05-25_09.03.38"
=== Started at 2022-05-25 09:13:16
*** User 2022-05-25 09:13:16.148 ***
alicE_befriend_and_alienate_auto_2026@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 2022-05-25 09:13:16.148 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d70a93c3fe41a823' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:16.148 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 09:13:16.148 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzIwMjYAbWF0eWdyeXNh</auth>
*** User 2022-05-25 09:13:16.149 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:13:16.149 ***
alicE_befriend_and_alienate_auto_2026@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 2022-05-25 09:13:16.150 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1808c450a2f4f92d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:16.150 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 09:13:16.150 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<iq type='set' id='0476f0f0ad1e07229b2cb9785b5b737d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 09:13:16.150 ***
alicE_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq id='0476f0f0ad1e07229b2cb9785b5b737d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_2026@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-25 09:13:16.150 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<iq type='set' id='4518c66385b9c3e68e5e9557d47f91f1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:16.150 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq type='result' id='4518c66385b9c3e68e5e9557d47f91f1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:16.150 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<presence/>
*** User 2022-05-25 09:13:16.152 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:16.153 ***
bOb_befriend_and_alienate_auto_2026@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 2022-05-25 09:13:16.153 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eea4d02038f18deb' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:16.154 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 09:13:16.154 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yMDI2AG1ha3JvbGlrYQ==</auth>
*** User 2022-05-25 09:13:16.154 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 09:13:16.154 ***
bOb_befriend_and_alienate_auto_2026@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 2022-05-25 09:13:16.155 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75340159f6f25258' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-25 09:13:16.155 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 09:13:16.155 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<iq type='set' id='a8ba25d95c4d789b3f88aeef06e55d88'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 09:13:16.155 ***
bOb_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq id='a8ba25d95c4d789b3f88aeef06e55d88' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_2026@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-25 09:13:16.155 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<iq type='set' id='2dd0d8d49c949780f4c0c1980b6aa883'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:16.155 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq type='result' id='2dd0d8d49c949780f4c0c1980b6aa883'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 09:13:16.155 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 out
<presence/>
*** User 2022-05-25 09:13:16.157 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:16.160 ***
REST request:
Code: 200
Req: {<0.799.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"90d18d95428ed168">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1419}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.162 ***
REST request:
Code: 200
Req: {<0.807.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"64425821a087fb71">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1222}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.190 ***
REST request:
Code: 204
Req: {<0.813.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com/bob_befriend_and_alienate_auto_2026@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"70dbd074aad750d1">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,27653}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com/bob_befriend_and_alienate_auto_2026@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.192 ***
REST request:
Code: 200
Req: {<0.853.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e2d2fdd99fbac8fb">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"101">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2026@domain.example.com\",\"ask\":\"none\"}]">>,
226,1279}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.194 ***
REST request:
Code: 200
Req: {<0.857.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"27e45a6485149356">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"103">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2026@domain.example.com\",\"ask\":\"none\"}]">>,
228,1297}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.207 ***
REST request:
Code: 204
Req: {<0.861.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com/bob_befriend_and_alienate_auto_2026@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a8fa63d838137dc2">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,11943}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com/bob_befriend_and_alienate_auto_2026@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.210 ***
REST request:
Code: 200
Req: {<0.869.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a426e32a718d19a4">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1924}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.212 ***
REST request:
Code: 200
Req: {<0.873.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"35970bbebd819a8f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 09:13:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1039}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_2026@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push82a427aa0a14f91a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push303a06401c72c740' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='pushf200e42a1e30db71' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' type='subscribe'/>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push32d07b6fb856dd8f' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='pushe647ea5e4f723580' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' type='subscribed'/>
*** User 2022-05-25 09:13:16.212 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push33716e18b5e4eb42' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:16.213 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-25 09:13:21.214 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push82a427aa0a14f91a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push303a06401c72c740">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"pushf200e42a1e30db71">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push32d07b6fb856dd8f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"pushe647ea5e4f723580">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push33716e18b5e4eb42">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]}]
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push2b4e7370a3b57c9f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' type='subscribe'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push15849fa058060c4a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push4b79bd78218968a5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' type='subscribed'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push6fa473d21b71b05d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='pusha6e8be2c58420667' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' type='unsubscribe'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='pushebdfa2ea460fbc28' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' type='unsubscribed'/>
*** User 2022-05-25 09:13:21.214 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2026@domain.example.com' to='bob_befriend_and_alienate_auto_2026@domain.example.com/res1' id='push792251d1888b58d1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_2026@domain.example.com'/>
</query>
</iq>
*** User 2022-05-25 09:13:26.214 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push2b4e7370a3b57c9f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push15849fa058060c4a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push4b79bd78218968a5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push6fa473d21b71b05d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"pusha6e8be2c58420667">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"pushebdfa2ea460fbc28">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_2026@domain.example.com/res1">>},
{<<"id">>,<<"push792251d1888b58d1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_2026@domain.example.com">>}],
[]}]}]}]
*** User 2022-05-25 09:13:26.215 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-25 09:13:26.215 ***
bob_befriend_and_alienate_auto_2026@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-25 09:13:26.215 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-25 09:13:26.216 ***
alice_befriend_and_alienate_auto_2026@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-25 09:13:26
=== successfully completed test case
=== === Returned value: ok