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

=== Config value:

    [{watchdog,<0.54620.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,disabled},
     {preset,"internal_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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.rest_SUITE.logs/run.2024-03-29_09.29.29/rest_suite.befriend_and_alienate_auto.114946.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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.rest_SUITE.logs/run.2024-03-29_09.29.29/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => mnesia,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        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@8dadd8a9c704.2024-03-29_09.14.50"

=== Started at 2024-03-29 09:29:29


*** CT 2024-03-29 09:29:29.747 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4756.html

*** User 2024-03-29 09:29:29.754 ***🔗
alicE_befriend_and_alienate_auto_1827@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-29 09:29:29.755 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ad1b6c2accbd9d2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-29 09:29:29.755 ***🔗
alicE_befriend_and_alienate_auto_1827@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-29 09:29:29.755 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE4MjcAbWF0eWdyeXNh</auth>



*** User 2024-03-29 09:29:29.755 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-29 09:29:29.756 ***🔗
alicE_befriend_and_alienate_auto_1827@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-29 09:29:29.756 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a4b23996ab47a42' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_1827@localhost'>

*** User 2024-03-29 09:29:29.756 ***🔗
alicE_befriend_and_alienate_auto_1827@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-29 09:29:29.756 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 out
<iq type='set' id='2fb4743f399ccd069c8e5b80d5956134'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-29 09:29:29.757 ***🔗
alicE_befriend_and_alienate_auto_1827@localhost/res1 in
<iq id='2fb4743f399ccd069c8e5b80d5956134' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_1827@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-29 09:29:29.757 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 out
<iq type='set' id='709e6bac1ac3bba0364f1cbb6d8651e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:29:29.757 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='709e6bac1ac3bba0364f1cbb6d8651e4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:29:29.758 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 out
<presence/>



*** User 2024-03-29 09:29:29.758 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost/res1' to='alice_befriend_and_alienate_auto_1827@localhost/res1'/>



*** User 2024-03-29 09:29:29.758 ***🔗
bOb_befriend_and_alienate_auto_1827@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-29 09:29:29.759 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='84657587ce3a9054' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-29 09:29:29.759 ***🔗
bOb_befriend_and_alienate_auto_1827@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-29 09:29:29.759 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xODI3AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@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-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a2c6af21b927f25' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_1827@localhost'>

*** User 2024-03-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@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-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 out
<iq type='set' id='5524670f811168261200645453b9e0a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-29 09:29:29.760 ***🔗
bOb_befriend_and_alienate_auto_1827@localhost/res1 in
<iq id='5524670f811168261200645453b9e0a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_1827@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-29 09:29:29.760 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 out
<iq type='set' id='917c1b140406d5d20e02cec23e008500'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:29:29.761 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='917c1b140406d5d20e02cec23e008500' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:29:29.761 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 out
<presence/>



*** User 2024-03-29 09:29:29.761 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1827@localhost/res1' to='bob_befriend_and_alienate_auto_1827@localhost/res1'/>



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


*** User 2024-03-29 09:29:29.765 ***🔗
REST request:
Code: 200
Req: {<0.54731.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"16a374dc1c838410">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,324}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-03-29 09:29:29.769 ***🔗
REST request:
Code: 204
Req: {<0.54739.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost/bob_befriend_and_alienate_auto_1827@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7a63bf910995e06a">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>}],
         <<>>,80,3592}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost/bob_befriend_and_alienate_auto_1827@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"connect\"}">>,
          method => <<"PUT">>,return_headers => true}


*** User 2024-03-29 09:29:29.771 ***🔗
REST request:
Code: 200
Req: {<0.54754.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"01f392f5ca36a796">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1827@localhost\"}]">>,
         216,336}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-03-29 09:29:29.772 ***🔗
REST request:
Code: 200
Req: {<0.54758.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7d59528caf5f26ea">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1827@localhost\"}]">>,
         218,331}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-03-29 09:29:29.775 ***🔗
REST request:
Code: 204
Req: {<0.54762.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost/bob_befriend_and_alienate_auto_1827@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"733d757f98b18790">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>}],
         <<>>,80,1501}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1827@localhost/bob_befriend_and_alienate_auto_1827@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"disconnect\"}">>,
          method => <<"PUT">>,return_headers => true}


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


*** User 2024-03-29 09:29:29.777 ***🔗
REST request:
Code: 200
Req: {<0.54777.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"431cd1cadba9af82">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 29 Mar 2024 09:29:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,339}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1827@localhost">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='push06355beed6ea3d3e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='push74f7489d902e759d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='push6a00dee855e09ac3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' type='subscribe'/>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='push816291e33a0a67ba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1827@localhost/res1' to='alice_befriend_and_alienate_auto_1827@localhost/res1'/>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='pushce87c148c4f595fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' type='subscribed'/>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1827@localhost' to='alice_befriend_and_alienate_auto_1827@localhost/res1' id='pushc354b9d419db49ba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_1827@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-29 09:29:29.778 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1827@localhost/res1' to='alice_befriend_and_alienate_auto_1827@localhost/res1' type='unavailable'/>



*** User 2024-03-29 09:29:34.779 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push06355beed6ea3d3e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push74f7489d902e759d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push6a00dee855e09ac3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push816291e33a0a67ba">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushce87c148c4f595fe">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushc354b9d419db49ba">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='push26b5c37c3110bbd9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' type='subscribe'/>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='pushb993d86901bd0f7c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost/res1' to='bob_befriend_and_alienate_auto_1827@localhost/res1'/>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='pushacb4e62d2037f7b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' type='subscribed'/>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='push754192f20a9f8343' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost/res1' to='bob_befriend_and_alienate_auto_1827@localhost/res1' type='unavailable'/>



*** User 2024-03-29 09:29:34.779 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='pushf065b5af514dd311' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.780 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' type='unsubscribe'/>



*** User 2024-03-29 09:29:34.780 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='pushfe84e1b2077f0baa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-29 09:29:34.780 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' type='unsubscribed'/>



*** User 2024-03-29 09:29:34.780 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1827@localhost' to='bob_befriend_and_alienate_auto_1827@localhost/res1' id='pushea98579959583e57' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_1827@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-29 09:29:39.780 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push26b5c37c3110bbd9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushb993d86901bd0f7c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushacb4e62d2037f7b8">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"push754192f20a9f8343">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushf065b5af514dd311">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushfe84e1b2077f0baa">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1827@localhost/res1">>},
                  {<<"id">>,<<"pushea98579959583e57">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1827@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-29 09:29:39.780 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 out
</stream:stream>

*** User 2024-03-29 09:29:39.781 ***🔗
bob_befriend_and_alienate_auto_1827@localhost/res1 in
</stream:stream>

*** User 2024-03-29 09:29:39.781 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 out
</stream:stream>

*** User 2024-03-29 09:29:39.781 ***🔗
alice_befriend_and_alienate_auto_1827@localhost/res1 in
</stream:stream>
*** CT 2024-03-29 09:29:39.783 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4775.html



=== Ended at 2024-03-29 09:29:39
=== successfully completed test case
=== === Returned value: ok