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

=== Config value:

    [{watchdog,<0.88134.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@97efc314d407.2024-03-20_18.07.11/big_tests.tests.rest_SUITE.logs/run.2024-03-20_18.22.33/rest_suite.befriend_and_alienate_auto.154883.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@97efc314d407.2024-03-20_18.07.11/big_tests.tests.rest_SUITE.logs/run.2024-03-20_18.22.33/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_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_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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@97efc314d407.2024-03-20_18.07.11"

=== Started at 2024-03-20 18:22:34


*** CT 2024-03-20 18:22:34.808 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5728.html

*** User 2024-03-20 18:22:34.823 ***🔗
alicE_befriend_and_alienate_auto_3163@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-20 18:22:34.823 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f73bed1c152ead39' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:22:34.824 ***🔗
alicE_befriend_and_alienate_auto_3163@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-20 18:22:34.824 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxNjMAbWF0eWdyeXNh</auth>



*** User 2024-03-20 18:22:34.825 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:22:34.825 ***🔗
alicE_befriend_and_alienate_auto_3163@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-20 18:22:34.825 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97e887da1ba84d66' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3163@localhost'>

*** User 2024-03-20 18:22:34.826 ***🔗
alicE_befriend_and_alienate_auto_3163@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-20 18:22:34.826 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 out
<iq type='set' id='72a803fd2fc704a18edb9fac8594dfc9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:22:34.826 ***🔗
alicE_befriend_and_alienate_auto_3163@localhost/res1 in
<iq id='72a803fd2fc704a18edb9fac8594dfc9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3163@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:22:34.826 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 out
<iq type='set' id='7422566ecb36955a9e0386f87a2ba717'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:34.827 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='7422566ecb36955a9e0386f87a2ba717' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:34.827 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 out
<presence/>



*** User 2024-03-20 18:22:34.830 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost/res1' to='alice_befriend_and_alienate_auto_3163@localhost/res1'/>



*** User 2024-03-20 18:22:34.830 ***🔗
bOb_befriend_and_alienate_auto_3163@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-20 18:22:34.831 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49a30c28d92e4d8d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:22:34.831 ***🔗
bOb_befriend_and_alienate_auto_3163@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-20 18:22:34.831 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTYzAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-20 18:22:34.832 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:22:34.832 ***🔗
bOb_befriend_and_alienate_auto_3163@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-20 18:22:34.833 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6916e17b143346a' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3163@localhost'>

*** User 2024-03-20 18:22:34.833 ***🔗
bOb_befriend_and_alienate_auto_3163@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-20 18:22:34.833 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 out
<iq type='set' id='11b3d0d9efde5aca52984043af123024'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:22:34.833 ***🔗
bOb_befriend_and_alienate_auto_3163@localhost/res1 in
<iq id='11b3d0d9efde5aca52984043af123024' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3163@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:22:34.833 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 out
<iq type='set' id='f792bb030948e0c02ccd451d3f401582'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:34.834 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='f792bb030948e0c02ccd451d3f401582' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:22:34.834 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 out
<presence/>



*** User 2024-03-20 18:22:34.836 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3163@localhost/res1' to='bob_befriend_and_alienate_auto_3163@localhost/res1'/>



*** User 2024-03-20 18:22:34.839 ***🔗
REST request:
Code: 200
Req: {<0.88247.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dd792329cefd1555">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1844}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.842 ***🔗
REST request:
Code: 200
Req: {<0.88253.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"02e11fe53bd0be26">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2226}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.896 ***🔗
REST request:
Code: 204
Req: {<0.88261.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost/bob_befriend_and_alienate_auto_3163@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4e77e03ab1f71b4f">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>}],
         <<>>,80,52461}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost/bob_befriend_and_alienate_auto_3163@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-20 18:22:34.899 ***🔗
REST request:
Code: 200
Req: {<0.88283.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1d188666dd47d68c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3163@localhost\"}]">>,
         216,2083}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.901 ***🔗
REST request:
Code: 200
Req: {<0.88287.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bd41ea0b981ce8af">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3163@localhost\"}]">>,
         218,1552}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.917 ***🔗
REST request:
Code: 204
Req: {<0.88289.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost/bob_befriend_and_alienate_auto_3163@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"64f17265879c381a">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>}],
         <<>>,80,14194}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost/bob_befriend_and_alienate_auto_3163@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-20 18:22:34.920 ***🔗
REST request:
Code: 200
Req: {<0.88297.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d1fe25a0066bfd1a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2464}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.923 ***🔗
REST request:
Code: 200
Req: {<0.88301.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"22261d6c8a42cff8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:22:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1653}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3163@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='pusha0ac19c36405dc22' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='push9071a577d18aa145' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='pusha15ead8721b9ee69' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' type='subscribe'/>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='pushb39abb6a00784965' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3163@localhost/res1' to='alice_befriend_and_alienate_auto_3163@localhost/res1'/>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='pusha987bc9bdf1eb7e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' type='subscribed'/>



*** User 2024-03-20 18:22:34.923 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3163@localhost' to='alice_befriend_and_alienate_auto_3163@localhost/res1' id='push9d0df9452a0e9788' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3163@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-20 18:22:34.924 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3163@localhost/res1' to='alice_befriend_and_alienate_auto_3163@localhost/res1' type='unavailable'/>



*** User 2024-03-20 18:22:39.924 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pusha0ac19c36405dc22">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push9071a577d18aa145">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pusha15ead8721b9ee69">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pushb39abb6a00784965">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pusha987bc9bdf1eb7e1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push9d0df9452a0e9788">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='pushae564a0c7a777dae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' type='subscribe'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='push611ceef60d5e3ca2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost/res1' to='bob_befriend_and_alienate_auto_3163@localhost/res1'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='push18bf5d3d27da257d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' type='subscribed'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='push0c8a477723fb720f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost/res1' to='bob_befriend_and_alienate_auto_3163@localhost/res1' type='unavailable'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='push73ca6f599cb05323' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' type='unsubscribe'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='push295cacd52b7480b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' type='unsubscribed'/>



*** User 2024-03-20 18:22:39.925 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3163@localhost' to='bob_befriend_and_alienate_auto_3163@localhost/res1' id='pushc10915d2101d1324' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3163@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-20 18:22:44.926 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pushae564a0c7a777dae">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push611ceef60d5e3ca2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push18bf5d3d27da257d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push0c8a477723fb720f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push73ca6f599cb05323">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"push295cacd52b7480b8">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3163@localhost/res1">>},
                  {<<"id">>,<<"pushc10915d2101d1324">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3163@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-20 18:22:44.927 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:22:44.927 ***🔗
bob_befriend_and_alienate_auto_3163@localhost/res1 in
</stream:stream>

*** User 2024-03-20 18:22:44.927 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:22:44.927 ***🔗
alice_befriend_and_alienate_auto_3163@localhost/res1 in
</stream:stream>
*** CT 2024-03-20 18:22:44.931 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5747.html



=== Ended at 2024-03-20 18:22:44
=== successfully completed test case
=== === Returned value: ok