=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)

=== Config value:

    [{watchdog,<0.78251.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ee08f1b11a08.2024-03-08_08.59.27/big_tests.tests.rest_SUITE.logs/run.2024-03-08_09.12.48/rest_suite.befriend_and_alienate_auto.98180.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@ee08f1b11a08.2024-03-08_08.59.27/big_tests.tests.rest_SUITE.logs/run.2024-03-08_09.12.48/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,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ee08f1b11a08.2024-03-08_08.59.27"

=== Started at 2024-03-08 09:12:48


*** CT 2024-03-08 09:12:48.958 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4536.html

*** User 2024-03-08 09:12:48.969 ***🔗
alicE_befriend_and_alienate_auto_2799@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-08 09:12:48.969 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1aa35c149bd8048a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:12:48.969 ***🔗
alicE_befriend_and_alienate_auto_2799@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-08 09:12:48.969 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI3OTkAbWF0eWdyeXNh</auth>



*** User 2024-03-08 09:12:48.970 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:12:48.970 ***🔗
alicE_befriend_and_alienate_auto_2799@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-08 09:12:48.971 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5cded6af10b76343' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2799@localhost'>

*** User 2024-03-08 09:12:48.971 ***🔗
alicE_befriend_and_alienate_auto_2799@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-08 09:12:48.971 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 out
<iq type='set' id='90cecfab224b9696fa4490045cffea6d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:12:48.971 ***🔗
alicE_befriend_and_alienate_auto_2799@localhost/res1 in
<iq id='90cecfab224b9696fa4490045cffea6d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2799@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:12:48.972 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 out
<iq type='set' id='79d1ac77ce80e5a2f3ca8854ed1c1ec5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:12:48.972 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='79d1ac77ce80e5a2f3ca8854ed1c1ec5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:12:48.972 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 out
<presence/>



*** User 2024-03-08 09:12:48.974 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost/res1' to='alice_befriend_and_alienate_auto_2799@localhost/res1'/>



*** User 2024-03-08 09:12:48.975 ***🔗
bOb_befriend_and_alienate_auto_2799@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-08 09:12:48.975 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9339300e9b3b9657' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:12:48.975 ***🔗
bOb_befriend_and_alienate_auto_2799@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-08 09:12:48.975 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNzk5AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@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-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4c7f36d787df577' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2799@localhost'>

*** User 2024-03-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@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-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 out
<iq type='set' id='c263c0cd8e2b80985c16d1f4e8100088'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:12:48.976 ***🔗
bOb_befriend_and_alienate_auto_2799@localhost/res1 in
<iq id='c263c0cd8e2b80985c16d1f4e8100088' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2799@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:12:48.977 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 out
<iq type='set' id='09b8c550c883976325aa4cea6b087849'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:12:48.977 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='09b8c550c883976325aa4cea6b087849' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:12:48.977 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 out
<presence/>



*** User 2024-03-08 09:12:48.978 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2799@localhost/res1' to='bob_befriend_and_alienate_auto_2799@localhost/res1'/>



*** User 2024-03-08 09:12:48.980 ***🔗
REST request:
Code: 200
Req: {<0.78353.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96456fe2fef1ab85">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1071}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:48.982 ***🔗
REST request:
Code: 200
Req: {<0.78359.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bb522e2f2612470f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1033}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:48.996 ***🔗
REST request:
Code: 204
Req: {<0.78368.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost/bob_befriend_and_alienate_auto_2799@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"60b44f67b1d8009e">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>}],
         <<>>,80,12306}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost/bob_befriend_and_alienate_auto_2799@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-08 09:12:48.997 ***🔗
REST request:
Code: 200
Req: {<0.78398.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8ebe53fe9a317a82">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2799@localhost\"}]">>,
         216,948}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:48.999 ***🔗
REST request:
Code: 200
Req: {<0.78400.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"57158424305ce886">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2799@localhost\"}]">>,
         218,1058}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:49.006 ***🔗
REST request:
Code: 204
Req: {<0.78404.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost/bob_befriend_and_alienate_auto_2799@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1b892e3739738dcb">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>}],
         <<>>,80,6011}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost/bob_befriend_and_alienate_auto_2799@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-08 09:12:49.008 ***🔗
REST request:
Code: 200
Req: {<0.78410.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"87a5e59bf4ba0c7c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,893}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:49.010 ***🔗
REST request:
Code: 200
Req: {<0.78414.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d1b84101f8743cd1">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:12:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,932}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2799@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='push8402cc2134f1fec1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='push88a6455ffa8bbe18' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='push3e2a9b677cebbe14' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' type='subscribe'/>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='pusha136610120b83a21' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2799@localhost/res1' to='alice_befriend_and_alienate_auto_2799@localhost/res1'/>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='push9c975fec865a4c4c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' type='subscribed'/>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2799@localhost' to='alice_befriend_and_alienate_auto_2799@localhost/res1' id='pushf87b219070e88d16' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:49.010 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2799@localhost/res1' to='alice_befriend_and_alienate_auto_2799@localhost/res1' type='unavailable'/>



*** User 2024-03-08 09:12:54.010 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push8402cc2134f1fec1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push88a6455ffa8bbe18">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push3e2a9b677cebbe14">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"pusha136610120b83a21">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push9c975fec865a4c4c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"pushf87b219070e88d16">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]}]

*** User 2024-03-08 09:12:54.010 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push93931120a7928d61' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' type='subscribe'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push515af9691441cfb0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost/res1' to='bob_befriend_and_alienate_auto_2799@localhost/res1'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push76266d233b15d4c5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' type='subscribed'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='pushf0c2d061b85b6a02' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost/res1' to='bob_befriend_and_alienate_auto_2799@localhost/res1' type='unavailable'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push7f6d76798bf2ab6f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' type='unsubscribe'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push0654cadeaa2df5cb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' type='unsubscribed'/>



*** User 2024-03-08 09:12:54.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2799@localhost' to='bob_befriend_and_alienate_auto_2799@localhost/res1' id='push63b7110de88acdfc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2799@localhost'/>
	</query>
</iq>



*** User 2024-03-08 09:12:59.011 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push93931120a7928d61">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push515af9691441cfb0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push76266d233b15d4c5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"pushf0c2d061b85b6a02">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push7f6d76798bf2ab6f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push0654cadeaa2df5cb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2799@localhost/res1">>},
                  {<<"id">>,<<"push63b7110de88acdfc">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2799@localhost">>}],
                                 []}]}]}]

*** User 2024-03-08 09:12:59.011 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:12:59.012 ***🔗
bob_befriend_and_alienate_auto_2799@localhost/res1 in
</stream:stream>

*** User 2024-03-08 09:12:59.012 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:12:59.012 ***🔗
alice_befriend_and_alienate_auto_2799@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 09:12:59.014 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4555.html



=== Ended at 2024-03-08 09:12:59
=== successfully completed test case
=== === Returned value: ok