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

=== Config value:

    [{watchdog,<0.87390.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@97931f009ece.2024-04-23_10.53.14/big_tests.tests.rest_SUITE.logs/run.2024-04-23_11.09.33/rest_suite.befriend_and_alienate_auto.108932.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@97931f009ece.2024-04-23_10.53.14/big_tests.tests.rest_SUITE.logs/run.2024-04-23_11.09.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_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_bosh =>
            #{backend => mnesia,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@97931f009ece.2024-04-23_10.53.14"

=== Started at 2024-04-23 11:09:34


*** CT 2024-04-23 11:09:34.829 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4897.html

*** User 2024-04-23 11:09:34.850 ***🔗
alicE_befriend_and_alienate_auto_3316@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-04-23 11:09:34.850 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2cdcfe8ce5b8505' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:34.851 ***🔗
alicE_befriend_and_alienate_auto_3316@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-04-23 11:09:34.851 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzMTYAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:09:34.851 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:34.851 ***🔗
alicE_befriend_and_alienate_auto_3316@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-04-23 11:09:34.852 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c997317a601d5f09' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3316@localhost'>

*** User 2024-04-23 11:09:34.852 ***🔗
alicE_befriend_and_alienate_auto_3316@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-04-23 11:09:34.852 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 out
<iq type='set' id='bc695a2102cd1c6070eead942d331cb6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:34.853 ***🔗
alicE_befriend_and_alienate_auto_3316@localhost/res1 in
<iq id='bc695a2102cd1c6070eead942d331cb6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3316@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:34.853 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 out
<iq type='set' id='af899e34d21a8586b10b2c41a8ddebf7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:34.853 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='af899e34d21a8586b10b2c41a8ddebf7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:34.854 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:34.855 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost/res1' to='alice_befriend_and_alienate_auto_3316@localhost/res1'/>



*** User 2024-04-23 11:09:34.856 ***🔗
bOb_befriend_and_alienate_auto_3316@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-04-23 11:09:34.856 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d7782797e2eee6b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:34.856 ***🔗
bOb_befriend_and_alienate_auto_3316@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-04-23 11:09:34.856 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzE2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:09:34.857 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:34.857 ***🔗
bOb_befriend_and_alienate_auto_3316@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-04-23 11:09:34.857 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e62e535cdb696c5' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3316@localhost'>

*** User 2024-04-23 11:09:34.857 ***🔗
bOb_befriend_and_alienate_auto_3316@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-04-23 11:09:34.858 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 out
<iq type='set' id='d6265fc75456a8af4b6c512586aad12c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:34.858 ***🔗
bOb_befriend_and_alienate_auto_3316@localhost/res1 in
<iq id='d6265fc75456a8af4b6c512586aad12c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3316@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:34.858 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 out
<iq type='set' id='cc974ddc74628fb2a8b9df2906674e2b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:34.858 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='cc974ddc74628fb2a8b9df2906674e2b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:34.859 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:34.860 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3316@localhost/res1' to='bob_befriend_and_alienate_auto_3316@localhost/res1'/>



*** User 2024-04-23 11:09:34.863 ***🔗
REST request:
Code: 200
Req: {<0.87511.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5d12355f56bc1243">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2190}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.866 ***🔗
REST request:
Code: 200
Req: {<0.87515.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8430757c6aa791f9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1213}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.932 ***🔗
REST request:
Code: 204
Req: {<0.87521.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost/bob_befriend_and_alienate_auto_3316@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1bc85b2be9876099">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>}],
         <<>>,80,64543}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost/bob_befriend_and_alienate_auto_3316@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"connect\"}">>,return_headers => true}


*** User 2024-04-23 11:09:34.934 ***🔗
REST request:
Code: 200
Req: {<0.87537.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"24424915dfe213cc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3316@localhost\"}]">>,
         216,1504}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.937 ***🔗
REST request:
Code: 200
Req: {<0.87539.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"794ca716cd5f938d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3316@localhost\"}]">>,
         218,1366}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.951 ***🔗
REST request:
Code: 204
Req: {<0.87543.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost/bob_befriend_and_alienate_auto_3316@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"84d423638637382b">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>}],
         <<>>,80,12615}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost/bob_befriend_and_alienate_auto_3316@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}


*** User 2024-04-23 11:09:34.954 ***🔗
REST request:
Code: 200
Req: {<0.87551.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"25bb055a8c69fbc4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1943}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.957 ***🔗
REST request:
Code: 200
Req: {<0.87553.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b1fcdcd312885f20">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1284}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3316@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='push36196a136fc4adc7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='push25836f7795eef43a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='push21fc0e3497ebec22' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='pushc6c1eaefdc7b4290' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3316@localhost/res1' to='alice_befriend_and_alienate_auto_3316@localhost/res1'/>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='push5f1fb3139741dcbf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.957 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:09:34.958 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3316@localhost' to='alice_befriend_and_alienate_auto_3316@localhost/res1' id='pusha8143ef7f3a79fed' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3316@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:09:34.958 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3316@localhost/res1' to='alice_befriend_and_alienate_auto_3316@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:09:39.958 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push36196a136fc4adc7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push25836f7795eef43a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push21fc0e3497ebec22">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"pushc6c1eaefdc7b4290">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push5f1fb3139741dcbf">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"pusha8143ef7f3a79fed">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='push13991a20012914de' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='push1f611c10783ff5bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost/res1' to='bob_befriend_and_alienate_auto_3316@localhost/res1'/>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='pushefbcaba229c8b59e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='pushe9b4a4813a581e84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost/res1' to='bob_befriend_and_alienate_auto_3316@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='push3cef4737f7bd5b70' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 11:09:39.958 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='push1f031ee5dfafc73d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:39.959 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' type='unsubscribed'/>



*** User 2024-04-23 11:09:39.959 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3316@localhost' to='bob_befriend_and_alienate_auto_3316@localhost/res1' id='push70fad1019259c917' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3316@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:09:44.959 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push13991a20012914de">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push1f611c10783ff5bd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"pushefbcaba229c8b59e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"pushe9b4a4813a581e84">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push3cef4737f7bd5b70">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push1f031ee5dfafc73d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3316@localhost/res1">>},
                  {<<"id">>,<<"push70fad1019259c917">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3316@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 11:09:44.959 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:44.960 ***🔗
bob_befriend_and_alienate_auto_3316@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:44.960 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:44.960 ***🔗
alice_befriend_and_alienate_auto_3316@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:09:44.963 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4897.html



=== Ended at 2024-04-23 11:09:44
=== successfully completed test case
=== === Returned value: ok