=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.22319.1>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,riak},
{archive_wait,2500},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_SUITE.logs/run.2022-05-25_10.51.02/rest_suite.befriend_and_alienate_auto.31748.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_SUITE.logs/run.2022-05-25_10.51.02/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_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 => riak,iqdisc => one_queue,
riak =>
#{bucket_type => <<"rosters">>,
version_bucket_type => <<"roster_versions">>},
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 => riak,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,
riak =>
#{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
search => true}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"
=== Started at 2022-05-25 10:51:11
*** User 2022-05-25 10:51:11.411 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:51:11.412 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='675be1f3ae797f45' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:11.412 ***
alicE_befriend_and_alienate_auto_1554@localhost/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 10:51:11.412 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE1NTQAbWF0eWdyeXNh</auth>
*** User 2022-05-25 10:51:11.413 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:11.413 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:51:11.414 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9672dc73aa6ec61' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:11.414 ***
alicE_befriend_and_alienate_auto_1554@localhost/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 10:51:11.414 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 out
<iq type='set' id='7ec7af3bf51f67c587c36012d9d4ef5f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:11.414 ***
alicE_befriend_and_alienate_auto_1554@localhost/res1 in
<iq id='7ec7af3bf51f67c587c36012d9d4ef5f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_1554@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:11.414 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 out
<iq type='set' id='556aa3e46bb69c49935c5439e0785c12'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:11.414 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq type='result' id='556aa3e46bb69c49935c5439e0785c12'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:11.415 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:11.417 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost/res1' to='alice_befriend_and_alienate_auto_1554@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:11.418 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:51:11.418 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b99682387f42e92' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:11.418 ***
bOb_befriend_and_alienate_auto_1554@localhost/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 10:51:11.418 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNTU0AG1ha3JvbGlrYQ==</auth>
*** User 2022-05-25 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f999747be178aa29' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/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 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 out
<iq type='set' id='5168fe52fd47acd916f14dea97d40462'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:11.420 ***
bOb_befriend_and_alienate_auto_1554@localhost/res1 in
<iq id='5168fe52fd47acd916f14dea97d40462' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_1554@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:11.420 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 out
<iq type='set' id='a790b4d203bfd66c3b58b8e374d2b694'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:11.420 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq type='result' id='a790b4d203bfd66c3b58b8e374d2b694'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:11.421 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:11.477 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1554@localhost/res1' to='bob_befriend_and_alienate_auto_1554@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:11.481 ***
REST request:
Code: 200
Req: {<0.22382.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1e6c259ec25a8f8e">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1731}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.483 ***
REST request:
Code: 200
Req: {<0.22388.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ba0d87c8001f23db">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1042}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.596 ***
REST request:
Code: 204
Req: {<0.22392.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost/bob_befriend_and_alienate_auto_1554@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c07ad8c4b07a41fe">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,112285}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost/bob_befriend_and_alienate_auto_1554@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.599 ***
REST request:
Code: 200
Req: {<0.22438.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e7b343cd36a14c1f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1554@localhost\",\"ask\":\"none\"}]">>,
216,1455}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.601 ***
REST request:
Code: 200
Req: {<0.22442.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"688069c1db0fa615">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1554@localhost\",\"ask\":\"none\"}]">>,
218,1610}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.689 ***
REST request:
Code: 204
Req: {<0.22446.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost/bob_befriend_and_alienate_auto_1554@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b6e9fb19ed09d6f7">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,81299}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost/bob_befriend_and_alienate_auto_1554@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.691 ***
REST request:
Code: 200
Req: {<0.22454.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0dd0c50ccf63faa5">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1181}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.694 ***
REST request:
Code: 200
Req: {<0.22456.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1066634d415231cc">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1448}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1554@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='push3467a00982320470' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='push77773563a1c98e43' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='push1c5b9a08d8d7ba28' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' type='subscribe'/>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='push99c5a6ff53a69da5' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1554@localhost/res1' to='alice_befriend_and_alienate_auto_1554@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='pusha64ec191a53d6ae4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.694 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' type='subscribed'/>
*** User 2022-05-25 10:51:11.695 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1554@localhost' to='alice_befriend_and_alienate_auto_1554@localhost/res1' id='pushb6087325523c0674' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:11.695 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1554@localhost/res1' to='alice_befriend_and_alienate_auto_1554@localhost/res1' type='unavailable'/>
*** User 2022-05-25 10:51:16.695 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push3467a00982320470">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push77773563a1c98e43">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push1c5b9a08d8d7ba28">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push99c5a6ff53a69da5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pusha64ec191a53d6ae4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushb6087325523c0674">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]}]
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='pushb729318bee4c63d9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' type='subscribe'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='push804ee80cffd249e3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost/res1' to='bob_befriend_and_alienate_auto_1554@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='pushc7854f2f94dd8d3e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' type='subscribed'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='pushbbf55b8e92abd4a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost/res1' to='bob_befriend_and_alienate_auto_1554@localhost/res1' type='unavailable'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='pushb41efad31a28e172' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' type='unsubscribe'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='push7b3147d8d14de7d3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' type='unsubscribed'/>
*** User 2022-05-25 10:51:16.695 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1554@localhost' to='bob_befriend_and_alienate_auto_1554@localhost/res1' id='pushb7decc4a9a711f74' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1554@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:21.696 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushb729318bee4c63d9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push804ee80cffd249e3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushc7854f2f94dd8d3e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushbbf55b8e92abd4a3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushb41efad31a28e172">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"push7b3147d8d14de7d3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1554@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1554@localhost/res1">>},
{<<"id">>,<<"pushb7decc4a9a711f74">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1554@localhost">>}],
[]}]}]}]
*** User 2022-05-25 10:51:21.696 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:21.696 ***
bob_befriend_and_alienate_auto_1554@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:51:21.696 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:21.697 ***
alice_befriend_and_alienate_auto_1554@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-25 10:51:21
=== successfully completed test case
=== === Returned value: ok