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

=== Config value:

    [{watchdog,<0.81419.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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.rest_SUITE.logs/run.2024-03-21_08.01.30/rest_suite.befriend_and_alienate_auto.194946.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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.rest_SUITE.logs/run.2024-03-21_08.01.30/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_amp => #{},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,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@e06ff82a20fb.2024-03-21_07.45.38"

=== Started at 2024-03-21 08:01:31


*** CT 2024-03-21 08:01:31.140 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5637.html

*** User 2024-03-21 08:01:31.155 ***🔗
alicE_befriend_and_alienate_auto_3171@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-21 08:01:31.156 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c5c796bf19f4b85' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 08:01:31.156 ***🔗
alicE_befriend_and_alienate_auto_3171@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-21 08:01:31.156 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxNzEAbWF0eWdyeXNh</auth>



*** User 2024-03-21 08:01:31.157 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 08:01:31.157 ***🔗
alicE_befriend_and_alienate_auto_3171@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-21 08:01:31.158 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2acee5c4f8c35665' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3171@localhost'>

*** User 2024-03-21 08:01:31.158 ***🔗
alicE_befriend_and_alienate_auto_3171@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-21 08:01:31.158 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 out
<iq type='set' id='68308a870c971576786d1fe4e9c83948'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 08:01:31.159 ***🔗
alicE_befriend_and_alienate_auto_3171@localhost/res1 in
<iq id='68308a870c971576786d1fe4e9c83948' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3171@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 08:01:31.159 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 out
<iq type='set' id='47a7273acc11982390246887cb32a453'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:01:31.160 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='47a7273acc11982390246887cb32a453' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:01:31.160 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 out
<presence/>



*** User 2024-03-21 08:01:31.163 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost/res1' to='alice_befriend_and_alienate_auto_3171@localhost/res1'/>



*** User 2024-03-21 08:01:31.163 ***🔗
bOb_befriend_and_alienate_auto_3171@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-21 08:01:31.163 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='087923ec2cd42f95' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 08:01:31.164 ***🔗
bOb_befriend_and_alienate_auto_3171@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-21 08:01:31.164 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTcxAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-21 08:01:31.165 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 08:01:31.165 ***🔗
bOb_befriend_and_alienate_auto_3171@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-21 08:01:31.165 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edc9161e073129a2' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3171@localhost'>

*** User 2024-03-21 08:01:31.165 ***🔗
bOb_befriend_and_alienate_auto_3171@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-21 08:01:31.166 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 out
<iq type='set' id='2fc21852313fe7b884a4d08cd83b4fd7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 08:01:31.166 ***🔗
bOb_befriend_and_alienate_auto_3171@localhost/res1 in
<iq id='2fc21852313fe7b884a4d08cd83b4fd7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3171@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 08:01:31.166 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 out
<iq type='set' id='44ed3094a25d7131a6ebf7d71f70f82a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:01:31.167 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='44ed3094a25d7131a6ebf7d71f70f82a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:01:31.167 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 out
<presence/>



*** User 2024-03-21 08:01:31.169 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3171@localhost/res1' to='bob_befriend_and_alienate_auto_3171@localhost/res1'/>



*** User 2024-03-21 08:01:31.172 ***🔗
REST request:
Code: 200
Req: {<0.81530.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d483f1c7fc79b647">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2370}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.175 ***🔗
REST request:
Code: 200
Req: {<0.81540.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"169bedf979f7808f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1359}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.199 ***🔗
REST request:
Code: 204
Req: {<0.81548.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost/bob_befriend_and_alienate_auto_3171@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7543184e1da0a999">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>}],
         <<>>,80,22526}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost/bob_befriend_and_alienate_auto_3171@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"connect\"}">>,return_headers => true}


*** User 2024-03-21 08:01:31.202 ***🔗
REST request:
Code: 200
Req: {<0.81568.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"55ebb06af26c36d3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3171@localhost\"}]">>,
         216,1489}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.205 ***🔗
REST request:
Code: 200
Req: {<0.81572.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"49b16823cd2aa7c4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3171@localhost\"}]">>,
         218,2400}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.216 ***🔗
REST request:
Code: 204
Req: {<0.81574.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost/bob_befriend_and_alienate_auto_3171@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"afc7a9c930111375">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>}],
         <<>>,80,9563}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost/bob_befriend_and_alienate_auto_3171@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}


*** User 2024-03-21 08:01:31.262 ***🔗
REST request:
Code: 200
Req: {<0.81582.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c2f7b2864ac12e69">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1702}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.265 ***🔗
REST request:
Code: 200
Req: {<0.81588.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b085b9c3b9432001">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 08:01:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1442}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3171@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='pushfd84070f6394fd7d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='push59ee6de4c3828b06' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='push928171df8483278c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' type='subscribe'/>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='push1816fa7c8cc0ee9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3171@localhost/res1' to='alice_befriend_and_alienate_auto_3171@localhost/res1'/>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='push5b2a4a2800ad4123' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' type='subscribed'/>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3171@localhost' to='alice_befriend_and_alienate_auto_3171@localhost/res1' id='pushb697748f4c6cbd30' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3171@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-21 08:01:31.265 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3171@localhost/res1' to='alice_befriend_and_alienate_auto_3171@localhost/res1' type='unavailable'/>



*** User 2024-03-21 08:01:36.266 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"pushfd84070f6394fd7d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push59ee6de4c3828b06">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push928171df8483278c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push1816fa7c8cc0ee9e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push5b2a4a2800ad4123">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"pushb697748f4c6cbd30">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='pushb4d95f3b95e4d2b5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' type='subscribe'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='push3694250d4c423dcc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost/res1' to='bob_befriend_and_alienate_auto_3171@localhost/res1'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='push9f203bb8b492bd2c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' type='subscribed'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='push00bf3b2c3f216594' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost/res1' to='bob_befriend_and_alienate_auto_3171@localhost/res1' type='unavailable'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='pusha2cbd558f4ddc06b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' type='unsubscribe'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='push822b3008ea707601' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' type='unsubscribed'/>



*** User 2024-03-21 08:01:36.266 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3171@localhost' to='bob_befriend_and_alienate_auto_3171@localhost/res1' id='push22b29ee03196f34d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3171@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-21 08:01:41.267 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"pushb4d95f3b95e4d2b5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push3694250d4c423dcc">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push9f203bb8b492bd2c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push00bf3b2c3f216594">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"pusha2cbd558f4ddc06b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push822b3008ea707601">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3171@localhost/res1">>},
                  {<<"id">>,<<"push22b29ee03196f34d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3171@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-21 08:01:41.267 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 out
</stream:stream>

*** User 2024-03-21 08:01:41.269 ***🔗
bob_befriend_and_alienate_auto_3171@localhost/res1 in
</stream:stream>

*** User 2024-03-21 08:01:41.269 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 out
</stream:stream>

*** User 2024-03-21 08:01:41.270 ***🔗
alice_befriend_and_alienate_auto_3171@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 08:01:41.274 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5656.html



=== Ended at 2024-03-21 08:01:41
=== successfully completed test case
=== === Returned value: ok