=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.403.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,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.rest_SUITE.logs/run.2022-05-11_09.04.30/rest_suite.befriend_and_alienate_auto.150146.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.rest_SUITE.logs/run.2022-05-11_09.04.30/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@df370d24fb6d.2022-05-11_08.56.40"
=== Started at 2022-05-11 09:04:31
*** User 2022-05-11 09:04:31.237 ***
alicE_befriend_and_alienate_auto_1991@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-11 09:04:31.238 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='891fcf876f20ae4c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:31.238 ***
alicE_befriend_and_alienate_auto_1991@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-11 09:04:31.238 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE5OTEAbWF0eWdyeXNh</auth>
*** User 2022-05-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@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-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b20557a565544838' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@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-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<iq type='set' id='06edfd3b2fee2b3ff6efd36d8ce01dc8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:31.239 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq id='06edfd3b2fee2b3ff6efd36d8ce01dc8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_befriend_and_alienate_auto_1991@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:31.240 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<iq type='set' id='f0c8df8c1de9a43d70540b0dbf70f0e9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:31.240 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq type='result' id='f0c8df8c1de9a43d70540b0dbf70f0e9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:31.240 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:31.242 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1991@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:31.243 ***
bOb_befriend_and_alienate_auto_1991@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-11 09:04:31.243 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='682a156174222304' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:31.243 ***
bOb_befriend_and_alienate_auto_1991@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-11 09:04:31.243 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xOTkxAG1ha3JvbGlrYQ==</auth>
*** User 2022-05-11 09:04:31.244 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:31.244 ***
bOb_befriend_and_alienate_auto_1991@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-11 09:04:31.244 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3871b2bf8feb5d13' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:31.244 ***
bOb_befriend_and_alienate_auto_1991@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-11 09:04:31.244 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<iq type='set' id='002cdc72daeee4503765628ef532eab6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:31.245 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq id='002cdc72daeee4503765628ef532eab6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_befriend_and_alienate_auto_1991@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:31.245 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<iq type='set' id='dca225e1232d2c1a997ca098afbbe70c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:31.245 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq type='result' id='dca225e1232d2c1a997ca098afbbe70c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:31.245 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:31.247 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1991@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:31.249 ***
REST request:
Code: 200
Req: {<0.468.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e41721a8e7609dd7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1333}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.252 ***
REST request:
Code: 200
Req: {<0.474.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"196bcee0dfbaf55d">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1225}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.270 ***
REST request:
Code: 204
Req: {<0.480.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com/bob_befriend_and_alienate_auto_1991@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"691e7aa5169a3a34">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,17486}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com/bob_befriend_and_alienate_auto_1991@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.272 ***
REST request:
Code: 200
Req: {<0.520.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8d2e09bd9cb4f8e2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"101">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1991@domain.example.com\",\"ask\":\"none\"}]">>,
226,795}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.275 ***
REST request:
Code: 200
Req: {<0.524.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"40126dd50dff43e4">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"103">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1991@domain.example.com\",\"ask\":\"none\"}]">>,
228,1851}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.283 ***
REST request:
Code: 204
Req: {<0.526.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com/bob_befriend_and_alienate_auto_1991@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5fa90582bf01ba77">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,7349}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com/bob_befriend_and_alienate_auto_1991@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.286 ***
REST request:
Code: 200
Req: {<0.534.2>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"657db3d7e982b617">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1635}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.288 ***
REST request:
Code: 200
Req: {<0.538.2>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"139349a6f7f66ac0">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:04:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1258}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1991@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:04:31.288 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push885f0a1ecff63c25' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.288 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push9ed5708116044170' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.288 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pushd83b4038d388f1a4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' type='subscribe'/>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pushf2e2750b4ef593e1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1991@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push537fe13fa7d5b427' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' type='subscribed'/>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pushb6d5fa1bd78e6a8b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:31.289 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1991@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1991@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-11 09:04:36.289 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push885f0a1ecff63c25">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push9ed5708116044170">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pushd83b4038d388f1a4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pushf2e2750b4ef593e1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push537fe13fa7d5b427">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pushb6d5fa1bd78e6a8b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]}]
*** User 2022-05-11 09:04:36.289 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pushc0fb7721376145e5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.289 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' type='subscribe'/>
*** User 2022-05-11 09:04:36.289 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pusha765cc89d2d88830' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1991@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push649fc441a23442fd' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' type='subscribed'/>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push5a90d2b7703cbfda' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1991@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' type='unavailable'/>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='pushe260e4f6cdd16d94' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' type='unsubscribe'/>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push6c9a3e30454dfc7c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' type='unsubscribed'/>
*** User 2022-05-11 09:04:36.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1991@domain.example.com' to='bob_befriend_and_alienate_auto_1991@domain.example.com/res1' id='push8b0db9549e086263' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1991@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:41.290 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pushc0fb7721376145e5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pusha765cc89d2d88830">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push649fc441a23442fd">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push5a90d2b7703cbfda">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"pushe260e4f6cdd16d94">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push6c9a3e30454dfc7c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1991@domain.example.com/res1">>},
{<<"id">>,<<"push8b0db9549e086263">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1991@domain.example.com">>}],
[]}]}]}]
*** User 2022-05-11 09:04:41.290 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:41.291 ***
bOb_befriend_and_alienate_auto_1991@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-11 09:04:41.291 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:41.291 ***
alicE_befriend_and_alienate_auto_1991@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-11 09:04:41
=== successfully completed test case
=== === Returned value: ok