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

=== Config value:

    [{watchdog,<0.87939.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@17a96e781220.2024-03-21_22.20.25/big_tests.tests.rest_SUITE.logs/run.2024-03-21_22.34.47/rest_suite.befriend_and_alienate_auto.178307.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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.rest_SUITE.logs/run.2024-03-21_22.34.47/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@17a96e781220.2024-03-21_22.20.25"

=== Started at 2024-03-21 22:34:48


*** CT 2024-03-21 22:34:48.685 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5674.html

*** User 2024-03-21 22:34:48.697 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 22:34:48.697 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1c25d565c7c684a' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2024-03-21 22:34:48.698 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxMjMAbWF0eWdyeXNh</auth>



*** User 2024-03-21 22:34:48.699 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:34:48.699 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 22:34:48.699 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='454ca80ba768c166' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3123@localhost'>

*** User 2024-03-21 22:34:48.699 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:34:48.699 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 out
<iq type='set' id='19c808e478d50017f9ca14ede59b7dfd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:34:48.700 ***🔗
alicE_befriend_and_alienate_auto_3123@localhost/res1 in
<iq id='19c808e478d50017f9ca14ede59b7dfd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3123@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:34:48.700 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 out
<iq type='set' id='a66d1e0d8607645f0dbbfdeec4e62d28'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:34:48.701 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='a66d1e0d8607645f0dbbfdeec4e62d28' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:34:48.701 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 out
<presence/>



*** User 2024-03-21 22:34:48.703 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost/res1' to='alice_befriend_and_alienate_auto_3123@localhost/res1'/>



*** User 2024-03-21 22:34:48.704 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 22:34:48.704 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18a7fd606c86ca87' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2024-03-21 22:34:48.705 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTIzAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-21 22:34:48.705 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:34:48.706 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 22:34:48.706 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdf10f891be16a4e' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3123@localhost'>

*** User 2024-03-21 22:34:48.706 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 22:34:48.706 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 out
<iq type='set' id='947b014f5754734a3dd2896954a37b24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:34:48.706 ***🔗
bOb_befriend_and_alienate_auto_3123@localhost/res1 in
<iq id='947b014f5754734a3dd2896954a37b24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3123@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:34:48.706 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 out
<iq type='set' id='33516c920fd7e8e93f2cbe6c8980d5f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:34:48.707 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='33516c920fd7e8e93f2cbe6c8980d5f6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:34:48.707 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 out
<presence/>



*** User 2024-03-21 22:34:48.709 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3123@localhost/res1' to='bob_befriend_and_alienate_auto_3123@localhost/res1'/>



*** User 2024-03-21 22:34:48.711 ***🔗
REST request:
Code: 200
Req: {<0.88049.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cd12bf14ee835d54">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1263}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.714 ***🔗
REST request:
Code: 200
Req: {<0.88058.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d785d250765ef9ff">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1817}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.783 ***🔗
REST request:
Code: 204
Req: {<0.88068.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost/bob_befriend_and_alienate_auto_3123@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1d10f9e2734522ae">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>}],
         <<>>,80,68601}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost/bob_befriend_and_alienate_auto_3123@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-03-21 22:34:48.786 ***🔗
REST request:
Code: 200
Req: {<0.88090.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"50c3de6a0870ecaa">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3123@localhost\"}]">>,
         216,1557}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.788 ***🔗
REST request:
Code: 200
Req: {<0.88092.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d7089274e4c6e667">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3123@localhost\"}]">>,
         218,1467}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.799 ***🔗
REST request:
Code: 204
Req: {<0.88096.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost/bob_befriend_and_alienate_auto_3123@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"08c3650489c65f2e">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>}],
         <<>>,80,10653}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost/bob_befriend_and_alienate_auto_3123@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-03-21 22:34:48.803 ***🔗
REST request:
Code: 200
Req: {<0.88106.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9d2339311a3ab586">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2713}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.805 ***🔗
REST request:
Code: 200
Req: {<0.88108.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cce3e030912174a6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 21 Mar 2024 22:34:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1330}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3123@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-21 22:34:48.805 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='push795bcc1c204d9bf3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.805 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='push23a09fb52e3f1264' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.805 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='push2320efc1b8cfdb10' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.805 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' type='subscribe'/>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='push2084a1a809393b97' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3123@localhost/res1' to='alice_befriend_and_alienate_auto_3123@localhost/res1'/>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='push923b53008994d381' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' type='subscribed'/>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3123@localhost' to='alice_befriend_and_alienate_auto_3123@localhost/res1' id='pushf600e37a5b388336' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3123@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-21 22:34:48.806 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3123@localhost/res1' to='alice_befriend_and_alienate_auto_3123@localhost/res1' type='unavailable'/>



*** User 2024-03-21 22:34:53.806 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push795bcc1c204d9bf3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push23a09fb52e3f1264">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push2320efc1b8cfdb10">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push2084a1a809393b97">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push923b53008994d381">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"pushf600e37a5b388336">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-21 22:34:53.806 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push22a54b834bd3bf17' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.806 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' type='subscribe'/>



*** User 2024-03-21 22:34:53.806 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='pusha657050e37aab483' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.806 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost/res1' to='bob_befriend_and_alienate_auto_3123@localhost/res1'/>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push5ed79dcc6eab2667' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' type='subscribed'/>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push2e4c093c95e58b0b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost/res1' to='bob_befriend_and_alienate_auto_3123@localhost/res1' type='unavailable'/>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push19510d2d484399f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' type='unsubscribe'/>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push72fc9a11b4a27b1f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' type='unsubscribed'/>



*** User 2024-03-21 22:34:53.807 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3123@localhost' to='bob_befriend_and_alienate_auto_3123@localhost/res1' id='push20aec850c9c1bc78' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3123@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-21 22:34:58.808 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push22a54b834bd3bf17">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"pusha657050e37aab483">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push5ed79dcc6eab2667">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push2e4c093c95e58b0b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push19510d2d484399f4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push72fc9a11b4a27b1f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3123@localhost/res1">>},
                  {<<"id">>,<<"push20aec850c9c1bc78">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3123@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-21 22:34:58.808 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:34:58.808 ***🔗
bob_befriend_and_alienate_auto_3123@localhost/res1 in
</stream:stream>

*** User 2024-03-21 22:34:58.809 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:34:58.809 ***🔗
alice_befriend_and_alienate_auto_3123@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 22:34:58.811 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5693.html



=== Ended at 2024-03-21 22:34:58
=== successfully completed test case
=== === Returned value: ok