=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.86683.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"pgsql_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@1877d89c8d91.2024-03-12_08.05.07/big_tests.tests.rest_SUITE.logs/run.2024-03-12_08.21.02/rest_suite.befriend_and_alienate_auto.171779.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@1877d89c8d91.2024-03-12_08.05.07/big_tests.tests.rest_SUITE.logs/run.2024-03-12_08.21.02/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
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_amp => #{},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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1877d89c8d91.2024-03-12_08.05.07"
=== Started at 2024-03-12 08:21:03
*** User 2024-03-12 08:21:03.615 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-12 08:21:03.615 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='896ea30d08c64681' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 08:21:03.616 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-12 08:21:03.616 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzMjAAbWF0eWdyeXNh</auth>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a2d6f0ca557264f' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3320@localhost'>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 out
<iq type='set' id='bff6ca7308eb6888922d6b79cab4e1c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 08:21:03.617 ***🔗
alicE_befriend_and_alienate_auto_3320@localhost/res1 in
<iq id='bff6ca7308eb6888922d6b79cab4e1c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3320@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 08:21:03.618 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 out
<iq type='set' id='86e4ee351e885f09e777d1839a7ad74a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 08:21:03.618 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='86e4ee351e885f09e777d1839a7ad74a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 08:21:03.618 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 out
<presence/>
*** User 2024-03-12 08:21:03.620 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost/res1' to='alice_befriend_and_alienate_auto_3320@localhost/res1'/>
*** User 2024-03-12 08:21:03.621 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-12 08:21:03.621 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17ec6b31f41a6271' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 08:21:03.621 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-12 08:21:03.621 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzIwAG1ha3JvbGlrYQ==</auth>
*** User 2024-03-12 08:21:03.622 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 08:21:03.622 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-12 08:21:03.623 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd8a8693ab3a8b53' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3320@localhost'>
*** User 2024-03-12 08:21:03.623 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-12 08:21:03.623 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 out
<iq type='set' id='f620b439a9cc4fdf1298c81de0ad48d7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 08:21:03.623 ***🔗
bOb_befriend_and_alienate_auto_3320@localhost/res1 in
<iq id='f620b439a9cc4fdf1298c81de0ad48d7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3320@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 08:21:03.623 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 out
<iq type='set' id='37d493b3445d29443273fc59ce863674'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 08:21:03.624 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='37d493b3445d29443273fc59ce863674' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 08:21:03.624 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 out
<presence/>
*** User 2024-03-12 08:21:03.625 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3320@localhost/res1' to='bob_befriend_and_alienate_auto_3320@localhost/res1'/>
*** User 2024-03-12 08:21:03.627 ***🔗
REST request:
Code: 200
Req: {<0.86785.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e7217db35a297ee4">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1351}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.629 ***🔗
REST request:
Code: 200
Req: {<0.86793.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a62658533b1f8eb2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1223}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.648 ***🔗
REST request:
Code: 204
Req: {<0.86804.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost/bob_befriend_and_alienate_auto_3320@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e3e02c68a1c6eab3">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:02 GMT">>}],
<<>>,80,17659}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost/bob_befriend_and_alienate_auto_3320@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-12 08:21:03.674 ***🔗
REST request:
Code: 200
Req: {<0.86830.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4e0abdb538f4713b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3320@localhost\"}]">>,
216,25562}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.685 ***🔗
REST request:
Code: 200
Req: {<0.86832.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"28a2dbc705f8d53b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3320@localhost\"}]">>,
218,1273}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.693 ***🔗
REST request:
Code: 204
Req: {<0.86836.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost/bob_befriend_and_alienate_auto_3320@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"05fb65529c93db4f">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:03 GMT">>}],
<<>>,80,7268}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost/bob_befriend_and_alienate_auto_3320@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
role => admin,return_headers => true}
*** User 2024-03-12 08:21:03.695 ***🔗
REST request:
Code: 200
Req: {<0.86842.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cbfb7de02411aa5d">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,855}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.697 ***🔗
REST request:
Code: 200
Req: {<0.86846.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ec5fc377efa0ce87">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 08:21:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,812}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3320@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='push1128698bac90c994' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='push8c35f44b0697409b' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='pusha5c4b6bfd4d0f524' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' type='subscribe'/>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='push66b1e0b695e097e9' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3320@localhost/res1' to='alice_befriend_and_alienate_auto_3320@localhost/res1'/>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='push1809c96b6eaaca5c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' type='subscribed'/>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3320@localhost' to='alice_befriend_and_alienate_auto_3320@localhost/res1' id='push88f849c7a39b8a49' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_befriend_and_alienate_auto_3320@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-12 08:21:03.697 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3320@localhost/res1' to='alice_befriend_and_alienate_auto_3320@localhost/res1' type='unavailable'/>
*** User 2024-03-12 08:21:08.698 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push1128698bac90c994">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push8c35f44b0697409b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"pusha5c4b6bfd4d0f524">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push66b1e0b695e097e9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"from">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push1809c96b6eaaca5c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push88f849c7a39b8a49">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push7d6e4f35ba414ed4' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' type='subscribe'/>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push6a208f121c92eac3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost/res1' to='bob_befriend_and_alienate_auto_3320@localhost/res1'/>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push9511cc79306552d0' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' type='subscribed'/>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push7f6485820ce0ebe2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.698 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost/res1' to='bob_befriend_and_alienate_auto_3320@localhost/res1' type='unavailable'/>
*** User 2024-03-12 08:21:08.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push308a1cb30d464dd3' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' type='unsubscribe'/>
*** User 2024-03-12 08:21:08.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='push681fc21cdca94b0a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 08:21:08.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' type='unsubscribed'/>
*** User 2024-03-12 08:21:08.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3320@localhost' to='bob_befriend_and_alienate_auto_3320@localhost/res1' id='pusha191a3ba725ebbb9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_befriend_and_alienate_auto_3320@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-12 08:21:13.699 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push7d6e4f35ba414ed4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push6a208f121c92eac3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push9511cc79306552d0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push7f6485820ce0ebe2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"both">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push308a1cb30d464dd3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"to">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"push681fc21cdca94b0a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"none">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3320@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3320@localhost/res1">>},
{<<"id">>,<<"pusha191a3ba725ebbb9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3320@localhost">>},
{<<"subscription">>,<<"remove">>}],
[]}]}]}]
*** User 2024-03-12 08:21:13.699 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 out
</stream:stream>
*** User 2024-03-12 08:21:13.700 ***🔗
bob_befriend_and_alienate_auto_3320@localhost/res1 in
</stream:stream>
*** User 2024-03-12 08:21:13.700 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 out
</stream:stream>
*** User 2024-03-12 08:21:13.700 ***🔗
alice_befriend_and_alienate_auto_3320@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-12 08:21:13
=== successfully completed test case
=== === Returned value: ok