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

=== Config value:

    [{watchdog,<0.83479.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.48.57/rest_suite.befriend_and_alienate_auto.204674.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.48.57/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:48:58


*** CT 2023-11-16 09:48:58.345 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4877.html

*** User 2023-11-16 09:48:58.361 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:48:58.361 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6db4fc4e3047fcb2' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:48:58.361 ***🔗
alicE_befriend_and_alienate_auto_3060@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 2023-11-16 09:48:58.362 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMwNjAAbWF0eWdyeXNh</auth>



*** User 2023-11-16 09:48:58.363 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:48:58.363 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:48:58.363 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f922e5291a4ab803' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3060@localhost'>

*** User 2023-11-16 09:48:58.363 ***🔗
alicE_befriend_and_alienate_auto_3060@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 2023-11-16 09:48:58.363 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 out
<iq type='set' id='5dd2f5f10ab38892a298e07b4dd83ecd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:48:58.364 ***🔗
alicE_befriend_and_alienate_auto_3060@localhost/res1 in
<iq id='5dd2f5f10ab38892a298e07b4dd83ecd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3060@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:48:58.364 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 out
<iq type='set' id='471ab8d756c27308bd8c082a9e0e3c31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:48:58.364 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='471ab8d756c27308bd8c082a9e0e3c31' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:48:58.364 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 out
<presence/>



*** User 2023-11-16 09:48:58.366 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost/res1' to='alice_befriend_and_alienate_auto_3060@localhost/res1'/>



*** User 2023-11-16 09:48:58.367 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:48:58.367 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb8f4f58e1509695' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:48:58.368 ***🔗
bOb_befriend_and_alienate_auto_3060@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 2023-11-16 09:48:58.368 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMDYwAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-16 09:48:58.368 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:48:58.369 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:48:58.369 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b159f14dc932ef0b' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3060@localhost'>

*** User 2023-11-16 09:48:58.369 ***🔗
bOb_befriend_and_alienate_auto_3060@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 2023-11-16 09:48:58.369 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 out
<iq type='set' id='14ff1faefbe2538486334c327ef72730'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:48:58.370 ***🔗
bOb_befriend_and_alienate_auto_3060@localhost/res1 in
<iq id='14ff1faefbe2538486334c327ef72730' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3060@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:48:58.370 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 out
<iq type='set' id='9d9bed2be5f39a5af9975c8b9daeca7b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:48:58.370 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='9d9bed2be5f39a5af9975c8b9daeca7b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:48:58.370 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 out
<presence/>



*** User 2023-11-16 09:48:58.372 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3060@localhost/res1' to='bob_befriend_and_alienate_auto_3060@localhost/res1'/>



*** User 2023-11-16 09:48:58.374 ***🔗
REST request:
Code: 200
Req: {<0.83585.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f8d06d90edb13d14">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1372}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.376 ***🔗
REST request:
Code: 200
Req: {<0.83596.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2f3372fa19160b4f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1461}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.416 ***🔗
REST request:
Code: 204
Req: {<0.83606.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost/bob_befriend_and_alienate_auto_3060@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6fa8ecb1ec39a593">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>}],
         <<>>,80,38528}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost/bob_befriend_and_alienate_auto_3060@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-16 09:48:58.418 ***🔗
REST request:
Code: 200
Req: {<0.83626.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d1d8f8401b18c4d7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3060@localhost\"}]">>,
         216,1161}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.420 ***🔗
REST request:
Code: 200
Req: {<0.83630.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f6f53238c5b1c0be">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3060@localhost\"}]">>,
         218,1029}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.430 ***🔗
REST request:
Code: 204
Req: {<0.83634.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost/bob_befriend_and_alienate_auto_3060@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ffcd49419817944c">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>}],
         <<>>,80,8771}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost/bob_befriend_and_alienate_auto_3060@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-16 09:48:58.434 ***🔗
REST request:
Code: 200
Req: {<0.83640.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4f592ac41f2d8eb9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2353}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.436 ***🔗
REST request:
Code: 200
Req: {<0.83644.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4b4e768427fd8af9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:48:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1158}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3060@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push020e9dfed16064c5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push9b6186220e784c1f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push0759377f062d9ccb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' type='subscribe'/>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push551edd31e63c5bd6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3060@localhost/res1' to='alice_befriend_and_alienate_auto_3060@localhost/res1'/>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push316b04087db4cf7e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' type='subscribed'/>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3060@localhost' to='alice_befriend_and_alienate_auto_3060@localhost/res1' id='push3acfda9a2c386b80' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:48:58.436 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3060@localhost/res1' to='alice_befriend_and_alienate_auto_3060@localhost/res1' type='unavailable'/>



*** User 2023-11-16 09:49:03.437 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push020e9dfed16064c5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push9b6186220e784c1f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push0759377f062d9ccb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push551edd31e63c5bd6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push316b04087db4cf7e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push3acfda9a2c386b80">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]}]

*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='push72c30c726e923b1b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' type='subscribe'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='pushada477aa9bed9915' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost/res1' to='bob_befriend_and_alienate_auto_3060@localhost/res1'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='pushe72e6eb93391b075' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' type='subscribed'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='push0a3a38a4cda177c4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost/res1' to='bob_befriend_and_alienate_auto_3060@localhost/res1' type='unavailable'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='push61749359624a2542' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' type='unsubscribe'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='pushfacfabd274cb0cf2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' type='unsubscribed'/>



*** User 2023-11-16 09:49:03.438 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3060@localhost' to='bob_befriend_and_alienate_auto_3060@localhost/res1' id='pushbff4aaac28ffb7de' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_3060@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:08.438 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push72c30c726e923b1b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"pushada477aa9bed9915">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"pushe72e6eb93391b075">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push0a3a38a4cda177c4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"push61749359624a2542">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"pushfacfabd274cb0cf2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3060@localhost/res1">>},
                  {<<"id">>,<<"pushbff4aaac28ffb7de">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3060@localhost">>}],
                                 []}]}]}]

*** User 2023-11-16 09:49:08.439 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:08.439 ***🔗
bob_befriend_and_alienate_auto_3060@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:49:08.439 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:08.440 ***🔗
alice_befriend_and_alienate_auto_3060@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:49:08.442 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4896.html



=== Ended at 2023-11-16 09:49:08
=== successfully completed test case
=== === Returned value: ok