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

=== Config value:

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

=== Started at 2024-04-15 17:03:50


*** CT 2024-04-15 17:03:50.699 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4764.html

*** User 2024-04-15 17:03:50.720 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 17:03:50.720 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a784b365f2e0607' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 17:03:50.720 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-15 17:03:50.721 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzNjQAbWF0eWdyeXNh</auth>



*** User 2024-04-15 17:03:50.722 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 17:03:50.722 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 17:03:50.722 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ae43f8237c127b6' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3364@localhost'>

*** User 2024-04-15 17:03:50.722 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-15 17:03:50.723 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 out
<iq type='set' id='6b1af6e61a1dd571576505f6e4dc5aa0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 17:03:50.723 ***🔗
alicE_befriend_and_alienate_auto_3364@localhost/res1 in
<iq id='6b1af6e61a1dd571576505f6e4dc5aa0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 17:03:50.723 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 out
<iq type='set' id='de82bf0eb5ff8d4f662d81af831c4055'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:03:50.723 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='de82bf0eb5ff8d4f662d81af831c4055' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:03:50.723 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 out
<presence/>



*** User 2024-04-15 17:03:50.726 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost/res1' to='alice_befriend_and_alienate_auto_3364@localhost/res1'/>



*** User 2024-04-15 17:03:50.727 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 17:03:50.727 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faaa7f80ec88cbb8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 17:03:50.728 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-15 17:03:50.728 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzY0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-15 17:03:50.729 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 17:03:50.729 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 17:03:50.729 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4be3c4760cca7097' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3364@localhost'>

*** User 2024-04-15 17:03:50.729 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-15 17:03:50.730 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 out
<iq type='set' id='43f0c7ec00a8b276149c2a47a09e5a92'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 17:03:50.730 ***🔗
bOb_befriend_and_alienate_auto_3364@localhost/res1 in
<iq id='43f0c7ec00a8b276149c2a47a09e5a92' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 17:03:50.730 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 out
<iq type='set' id='7473bc9612b862d04304306e16318bfb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:03:50.730 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='7473bc9612b862d04304306e16318bfb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:03:50.730 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 out
<presence/>



*** User 2024-04-15 17:03:50.732 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3364@localhost/res1' to='bob_befriend_and_alienate_auto_3364@localhost/res1'/>



*** User 2024-04-15 17:03:50.735 ***🔗
REST request:
Code: 200
Req: {<0.86994.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3d9a2d901a633b2d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1974}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.738 ***🔗
REST request:
Code: 200
Req: {<0.87000.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"988591d8a9a5f945">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1984}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.827 ***🔗
REST request:
Code: 204
Req: {<0.87013.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost/bob_befriend_and_alienate_auto_3364@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f60c16d5c4ca28c5">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>}],
         <<>>,80,87356}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost/bob_befriend_and_alienate_auto_3364@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-15 17:03:50.830 ***🔗
REST request:
Code: 200
Req: {<0.87035.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"30f7423ab7005858">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3364@localhost\"}]">>,
         216,2326}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.834 ***🔗
REST request:
Code: 200
Req: {<0.87037.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"58b776aa4e6a79f9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3364@localhost\"}]">>,
         218,2292}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.850 ***🔗
REST request:
Code: 204
Req: {<0.87041.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost/bob_befriend_and_alienate_auto_3364@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a327dfd02937f453">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>}],
         <<>>,80,14754}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost/bob_befriend_and_alienate_auto_3364@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-15 17:03:50.855 ***🔗
REST request:
Code: 200
Req: {<0.87049.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4b2fc54b69373d49">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,4018}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.858 ***🔗
REST request:
Code: 200
Req: {<0.87053.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"44ee876810cacf8a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 17:03:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2203}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3364@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push61ab4aba4fb28631' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push5f265e7124216dba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push057a0baa90462533' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' type='subscribe'/>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push69d41f96ef6019ee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3364@localhost/res1' to='alice_befriend_and_alienate_auto_3364@localhost/res1'/>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push85c99e706b64ae72' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' type='subscribed'/>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3364@localhost' to='alice_befriend_and_alienate_auto_3364@localhost/res1' id='push3846ed4ff3b503bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3364@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-15 17:03:50.859 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3364@localhost/res1' to='alice_befriend_and_alienate_auto_3364@localhost/res1' type='unavailable'/>



*** User 2024-04-15 17:03:55.859 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push61ab4aba4fb28631">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push5f265e7124216dba">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push057a0baa90462533">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push69d41f96ef6019ee">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push85c99e706b64ae72">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push3846ed4ff3b503bb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='pushdbed23c906ede58d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' type='subscribe'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='pushef6f343a72dd3b42' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost/res1' to='bob_befriend_and_alienate_auto_3364@localhost/res1'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='push7dd9841ddc26b868' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' type='subscribed'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='push39f03adf11a2b07d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost/res1' to='bob_befriend_and_alienate_auto_3364@localhost/res1' type='unavailable'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='push978e28448a67b8a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' type='unsubscribe'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='push5f03ddfa048a4324' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' type='unsubscribed'/>



*** User 2024-04-15 17:03:55.860 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3364@localhost' to='bob_befriend_and_alienate_auto_3364@localhost/res1' id='pushe828bb9e6f3b8f64' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3364@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-15 17:04:00.861 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"pushdbed23c906ede58d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"pushef6f343a72dd3b42">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push7dd9841ddc26b868">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push39f03adf11a2b07d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push978e28448a67b8a7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"push5f03ddfa048a4324">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3364@localhost/res1">>},
                  {<<"id">>,<<"pushe828bb9e6f3b8f64">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3364@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-15 17:04:00.861 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-15 17:04:00.861 ***🔗
bob_befriend_and_alienate_auto_3364@localhost/res1 in
</stream:stream>

*** User 2024-04-15 17:04:00.861 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-15 17:04:00.862 ***🔗
alice_befriend_and_alienate_auto_3364@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 17:04:00.864 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4764.html



=== Ended at 2024-04-15 17:04:00
=== successfully completed test case
=== === Returned value: ok