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

=== Config value:

    [{watchdog,<0.87239.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@05a0d4bca1b4.2024-03-12_09.16.25/big_tests.tests.rest_SUITE.logs/run.2024-03-12_09.32.15/rest_suite.befriend_and_alienate_auto.116868.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@05a0d4bca1b4.2024-03-12_09.16.25/big_tests.tests.rest_SUITE.logs/run.2024-03-12_09.32.15/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_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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@05a0d4bca1b4.2024-03-12_09.16.25"

=== Started at 2024-03-12 09:32:16


*** CT 2024-03-12 09:32:16.740 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4977.html

*** User 2024-03-12 09:32:16.772 ***🔗
alicE_befriend_and_alienate_auto_3205@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-12 09:32:16.772 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19f90a8742f5c8e3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-12 09:32:16.772 ***🔗
alicE_befriend_and_alienate_auto_3205@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-12 09:32:16.772 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMyMDUAbWF0eWdyeXNh</auth>



*** User 2024-03-12 09:32:16.779 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-12 09:32:16.779 ***🔗
alicE_befriend_and_alienate_auto_3205@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-12 09:32:16.780 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='660ea6bcbf99df23' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3205@localhost'>

*** User 2024-03-12 09:32:16.780 ***🔗
alicE_befriend_and_alienate_auto_3205@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-12 09:32:16.780 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 out
<iq type='set' id='6c7b0440212a989b372ac3e027c00f18'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-12 09:32:16.780 ***🔗
alicE_befriend_and_alienate_auto_3205@localhost/res1 in
<iq id='6c7b0440212a989b372ac3e027c00f18' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-12 09:32:16.780 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 out
<iq type='set' id='9614713ee1666b46d0861b282f21791c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 09:32:16.781 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='9614713ee1666b46d0861b282f21791c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 09:32:16.781 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 out
<presence/>



*** User 2024-03-12 09:32:16.783 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost/res1' to='alice_befriend_and_alienate_auto_3205@localhost/res1'/>



*** User 2024-03-12 09:32:16.784 ***🔗
bOb_befriend_and_alienate_auto_3205@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-12 09:32:16.784 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22fec79d3517a6cf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-12 09:32:16.784 ***🔗
bOb_befriend_and_alienate_auto_3205@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-12 09:32:16.784 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMjA1AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-12 09:32:16.785 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-12 09:32:16.785 ***🔗
bOb_befriend_and_alienate_auto_3205@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-12 09:32:16.786 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4f4960c21a4e127' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3205@localhost'>

*** User 2024-03-12 09:32:16.786 ***🔗
bOb_befriend_and_alienate_auto_3205@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-12 09:32:16.786 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 out
<iq type='set' id='e807266f6181620e2489e77fb8a072ac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-12 09:32:16.786 ***🔗
bOb_befriend_and_alienate_auto_3205@localhost/res1 in
<iq id='e807266f6181620e2489e77fb8a072ac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-12 09:32:16.786 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 out
<iq type='set' id='975f845d84b55deae790a83785b4994b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 09:32:16.787 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='975f845d84b55deae790a83785b4994b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-12 09:32:16.788 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 out
<presence/>



*** User 2024-03-12 09:32:16.792 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3205@localhost/res1' to='bob_befriend_and_alienate_auto_3205@localhost/res1'/>



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


*** User 2024-03-12 09:32:16.797 ***🔗
REST request:
Code: 200
Req: {<0.87364.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"505a37d4b729e85a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1451}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-12 09:32:16.895 ***🔗
REST request:
Code: 204
Req: {<0.87370.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost/bob_befriend_and_alienate_auto_3205@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fb9c1c954db6c0c5">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>}],
         <<>>,80,97585}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost/bob_befriend_and_alienate_auto_3205@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-03-12 09:32:16.898 ***🔗
REST request:
Code: 200
Req: {<0.87394.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ff04df836d6ba306">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3205@localhost\"}]">>,
         216,1550}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-12 09:32:16.901 ***🔗
REST request:
Code: 200
Req: {<0.87398.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ca84ce45c7a8a028">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3205@localhost\"}]">>,
         218,1397}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-12 09:32:16.932 ***🔗
REST request:
Code: 204
Req: {<0.87400.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost/bob_befriend_and_alienate_auto_3205@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"576987e880522802">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>}],
         <<>>,80,30289}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost/bob_befriend_and_alienate_auto_3205@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-03-12 09:32:16.934 ***🔗
REST request:
Code: 200
Req: {<0.87412.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"92e13b0d8ed71081">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1612}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3205@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-12 09:32:16.937 ***🔗
REST request:
Code: 200
Req: {<0.87414.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"72b03939e8077793">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 09:32:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1467}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3205@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push9e7f0b81f308d3b4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push3b1f05f2d23f4fd4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push80c934391be9dc82' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' type='subscribe'/>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push5ebb24380dd1cc7e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3205@localhost/res1' to='alice_befriend_and_alienate_auto_3205@localhost/res1'/>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push7874a591c0e46477' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' type='subscribed'/>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3205@localhost' to='alice_befriend_and_alienate_auto_3205@localhost/res1' id='push6825b8b1f32bd726' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3205@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-12 09:32:16.937 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3205@localhost/res1' to='alice_befriend_and_alienate_auto_3205@localhost/res1' type='unavailable'/>



*** User 2024-03-12 09:32:21.938 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push9e7f0b81f308d3b4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push3b1f05f2d23f4fd4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push80c934391be9dc82">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push5ebb24380dd1cc7e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push7874a591c0e46477">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push6825b8b1f32bd726">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='pushd0998a28f2dd0d0d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' type='subscribe'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='pushfec6d1441dbb33c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost/res1' to='bob_befriend_and_alienate_auto_3205@localhost/res1'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='pushb100d92f64834d82' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' type='subscribed'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='push409dc426043caa58' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost/res1' to='bob_befriend_and_alienate_auto_3205@localhost/res1' type='unavailable'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='push3b112f774fc18e3d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' type='unsubscribe'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='push7c9c210b73283d84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' type='unsubscribed'/>



*** User 2024-03-12 09:32:21.938 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3205@localhost' to='bob_befriend_and_alienate_auto_3205@localhost/res1' id='pushe26ce2ba944a4995' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3205@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-12 09:32:26.939 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"pushd0998a28f2dd0d0d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"pushfec6d1441dbb33c3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"pushb100d92f64834d82">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push409dc426043caa58">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push3b112f774fc18e3d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"push7c9c210b73283d84">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3205@localhost/res1">>},
                  {<<"id">>,<<"pushe26ce2ba944a4995">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3205@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-12 09:32:26.939 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 out
</stream:stream>

*** User 2024-03-12 09:32:26.939 ***🔗
bob_befriend_and_alienate_auto_3205@localhost/res1 in
</stream:stream>

*** User 2024-03-12 09:32:26.939 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 out
</stream:stream>

*** User 2024-03-12 09:32:26.940 ***🔗
alice_befriend_and_alienate_auto_3205@localhost/res1 in
</stream:stream>
*** CT 2024-03-12 09:32:26.942 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4996.html



=== Ended at 2024-03-12 09:32:26
=== successfully completed test case
=== === Returned value: ok