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

=== Config value:

    [{watchdog,<0.80600.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f5c08896fdc9.2024-04-09_06.54.24/big_tests.tests.rest_SUITE.logs/run.2024-04-09_07.07.58/rest_suite.befriend_and_alienate_auto.199682.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@f5c08896fdc9.2024-04-09_06.54.24/big_tests.tests.rest_SUITE.logs/run.2024-04-09_07.07.58/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        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@f5c08896fdc9.2024-04-09_06.54.24"

=== Started at 2024-04-09 07:07:58


*** CT 2024-04-09 07:07:58.839 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4561.html

*** User 2024-04-09 07:07:58.852 ***🔗
alicE_befriend_and_alienate_auto_2927@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-09 07:07:58.852 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e15d4cd43c28cf7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-09 07:07:58.852 ***🔗
alicE_befriend_and_alienate_auto_2927@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-09 07:07:58.852 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5MjcAbWF0eWdyeXNh</auth>



*** User 2024-04-09 07:07:58.853 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 07:07:58.853 ***🔗
alicE_befriend_and_alienate_auto_2927@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-09 07:07:58.853 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b6a9fc156f35fb8' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2927@localhost'>

*** User 2024-04-09 07:07:58.854 ***🔗
alicE_befriend_and_alienate_auto_2927@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-09 07:07:58.854 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 out
<iq type='set' id='8ae9fd42315804609f28df3390419936'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 07:07:58.854 ***🔗
alicE_befriend_and_alienate_auto_2927@localhost/res1 in
<iq id='8ae9fd42315804609f28df3390419936' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2927@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 07:07:58.854 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 out
<iq type='set' id='5b6714cc98cf2ac734efa4403c09d1c0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:07:58.855 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='5b6714cc98cf2ac734efa4403c09d1c0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:07:58.855 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 out
<presence/>



*** User 2024-04-09 07:07:58.856 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost/res1' to='alice_befriend_and_alienate_auto_2927@localhost/res1'/>



*** User 2024-04-09 07:07:58.857 ***🔗
bOb_befriend_and_alienate_auto_2927@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-09 07:07:58.857 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ddcda594d9c77983' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-09 07:07:58.857 ***🔗
bOb_befriend_and_alienate_auto_2927@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-09 07:07:58.858 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTI3AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-09 07:07:58.858 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 07:07:58.858 ***🔗
bOb_befriend_and_alienate_auto_2927@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-09 07:07:58.859 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab1cf204bc9ac9e4' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2927@localhost'>

*** User 2024-04-09 07:07:58.859 ***🔗
bOb_befriend_and_alienate_auto_2927@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-09 07:07:58.859 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 out
<iq type='set' id='89e38036136bf36ee80741d6834f23cc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 07:07:58.859 ***🔗
bOb_befriend_and_alienate_auto_2927@localhost/res1 in
<iq id='89e38036136bf36ee80741d6834f23cc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2927@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 07:07:58.859 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 out
<iq type='set' id='0573c2cc97fba4fa924bd7681577724d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:07:58.860 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='0573c2cc97fba4fa924bd7681577724d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:07:58.860 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 out
<presence/>



*** User 2024-04-09 07:07:58.861 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2927@localhost/res1' to='bob_befriend_and_alienate_auto_2927@localhost/res1'/>



*** User 2024-04-09 07:07:58.867 ***🔗
REST request:
Code: 200
Req: {<0.80707.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"db80c454546e0d43">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,4360}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.868 ***🔗
REST request:
Code: 200
Req: {<0.80719.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ce569344aa1e0f6f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,952}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.887 ***🔗
REST request:
Code: 204
Req: {<0.80725.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost/bob_befriend_and_alienate_auto_2927@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9271c21cc802a766">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>}],
         <<>>,80,17770}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost/bob_befriend_and_alienate_auto_2927@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-09 07:07:58.889 ***🔗
REST request:
Code: 200
Req: {<0.80749.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0483ed8c6371eaef">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2927@localhost\"}]">>,
         216,907}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.891 ***🔗
REST request:
Code: 200
Req: {<0.80753.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"62505ba850f57ee7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2927@localhost\"}]">>,
         218,1398}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.942 ***🔗
REST request:
Code: 204
Req: {<0.80757.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost/bob_befriend_and_alienate_auto_2927@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3d33b66c01f15c6d">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>}],
         <<>>,80,49329}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost/bob_befriend_and_alienate_auto_2927@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-09 07:07:58.944 ***🔗
REST request:
Code: 200
Req: {<0.80763.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"da211095eea16bbc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1207}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.945 ***🔗
REST request:
Code: 200
Req: {<0.80767.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e978c9551310ee43">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 07:07:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,929}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2927@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-09 07:07:58.945 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push57cfef371762a1d4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.945 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push3a02154a6e37a0b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.945 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push3b1c2c1aa1732498' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' type='subscribe'/>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push8d4b966a36771842' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2927@localhost/res1' to='alice_befriend_and_alienate_auto_2927@localhost/res1'/>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push5747558592465f30' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' type='subscribed'/>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2927@localhost' to='alice_befriend_and_alienate_auto_2927@localhost/res1' id='push60623c8ef97e5c44' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2927@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-09 07:07:58.946 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2927@localhost/res1' to='alice_befriend_and_alienate_auto_2927@localhost/res1' type='unavailable'/>



*** User 2024-04-09 07:08:03.946 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push57cfef371762a1d4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push3a02154a6e37a0b1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push3b1c2c1aa1732498">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push8d4b966a36771842">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push5747558592465f30">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push60623c8ef97e5c44">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='pushbc66e0bbfa4dcb69' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' type='subscribe'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='push31b8f7d1b5fc3fad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost/res1' to='bob_befriend_and_alienate_auto_2927@localhost/res1'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='push88eb3507ffe31246' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' type='subscribed'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='push24bbca433c9e684b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost/res1' to='bob_befriend_and_alienate_auto_2927@localhost/res1' type='unavailable'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='pushd524fcf385b65eb3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' type='unsubscribe'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='push42bd12c41ac1e36c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' type='unsubscribed'/>



*** User 2024-04-09 07:08:03.947 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2927@localhost' to='bob_befriend_and_alienate_auto_2927@localhost/res1' id='pushd69d7b32b75fe692' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2927@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-09 07:08:08.947 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"pushbc66e0bbfa4dcb69">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push31b8f7d1b5fc3fad">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push88eb3507ffe31246">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push24bbca433c9e684b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"pushd524fcf385b65eb3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"push42bd12c41ac1e36c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2927@localhost/res1">>},
                  {<<"id">>,<<"pushd69d7b32b75fe692">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2927@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-09 07:08:08.948 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 out
</stream:stream>

*** User 2024-04-09 07:08:08.948 ***🔗
bob_befriend_and_alienate_auto_2927@localhost/res1 in
</stream:stream>

*** User 2024-04-09 07:08:08.948 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 out
</stream:stream>

*** User 2024-04-09 07:08:08.948 ***🔗
alice_befriend_and_alienate_auto_2927@localhost/res1 in
</stream:stream>
*** CT 2024-04-09 07:08:08.951 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4580.html



=== Ended at 2024-04-09 07:08:08
=== successfully completed test case
=== === Returned value: ok