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

=== Config value:

    [{watchdog,<0.21608.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@86bdabdb5d0f.2024-04-16_11.58.25/big_tests.tests.rest_SUITE.logs/run.2024-04-16_12.14.06/rest_suite.befriend_and_alienate_auto.68101.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@86bdabdb5d0f.2024-04-16_11.58.25/big_tests.tests.rest_SUITE.logs/run.2024-04-16_12.14.06/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@86bdabdb5d0f.2024-04-16_11.58.25"

=== Started at 2024-04-16 12:14:07


*** CT 2024-04-16 12:14:07.591 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4805.html

*** User 2024-04-16 12:14:07.608 ***🔗
alicE_befriend_and_alienate_auto_3310@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-16 12:14:07.608 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e7964f55a923ee5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:14:07.609 ***🔗
alicE_befriend_and_alienate_auto_3310@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-16 12:14:07.609 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzMTAAbWF0eWdyeXNh</auth>



*** User 2024-04-16 12:14:07.610 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:14:07.610 ***🔗
alicE_befriend_and_alienate_auto_3310@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-16 12:14:07.610 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc8f18364a0ca38a' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3310@localhost'>

*** User 2024-04-16 12:14:07.610 ***🔗
alicE_befriend_and_alienate_auto_3310@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-16 12:14:07.610 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 out
<iq type='set' id='124ac548824094f79b73e9d29bda9cc6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:14:07.611 ***🔗
alicE_befriend_and_alienate_auto_3310@localhost/res1 in
<iq id='124ac548824094f79b73e9d29bda9cc6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3310@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:14:07.611 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 out
<iq type='set' id='88e3b01ece9f099976d786cb3bd7f517'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:14:07.611 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='88e3b01ece9f099976d786cb3bd7f517' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:14:07.611 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 out
<presence/>



*** User 2024-04-16 12:14:07.613 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost/res1' to='alice_befriend_and_alienate_auto_3310@localhost/res1'/>



*** User 2024-04-16 12:14:07.613 ***🔗
bOb_befriend_and_alienate_auto_3310@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-16 12:14:07.614 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7daef5e3484f8611' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:14:07.614 ***🔗
bOb_befriend_and_alienate_auto_3310@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-16 12:14:07.614 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzEwAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 12:14:07.616 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:14:07.616 ***🔗
bOb_befriend_and_alienate_auto_3310@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-16 12:14:07.616 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a1889001cc44439' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3310@localhost'>

*** User 2024-04-16 12:14:07.616 ***🔗
bOb_befriend_and_alienate_auto_3310@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-16 12:14:07.616 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 out
<iq type='set' id='89978635a8a8f1c8623aa85660ffb70a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:14:07.617 ***🔗
bOb_befriend_and_alienate_auto_3310@localhost/res1 in
<iq id='89978635a8a8f1c8623aa85660ffb70a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3310@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:14:07.617 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 out
<iq type='set' id='83e1161a2f5395cb91fdfc8eb8968c18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:14:07.617 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='83e1161a2f5395cb91fdfc8eb8968c18' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:14:07.617 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 out
<presence/>



*** User 2024-04-16 12:14:07.619 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3310@localhost/res1' to='bob_befriend_and_alienate_auto_3310@localhost/res1'/>



*** User 2024-04-16 12:14:07.621 ***🔗
REST request:
Code: 200
Req: {<0.21712.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b246b7af6bb10dc9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1624}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.625 ***🔗
REST request:
Code: 200
Req: {<0.21719.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7f68f589e5433d01">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1985}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.645 ***🔗
REST request:
Code: 204
Req: {<0.21733.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost/bob_befriend_and_alienate_auto_3310@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"05f9e6d21a618642">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:06 GMT">>}],
         <<>>,80,19441}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost/bob_befriend_and_alienate_auto_3310@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.648 ***🔗
REST request:
Code: 200
Req: {<0.21755.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e449ecc75b634360">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3310@localhost\",\"ask\":\"none\"}]">>,
         216,1162}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.650 ***🔗
REST request:
Code: 200
Req: {<0.21759.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"43ccb83c243546d6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3310@localhost\",\"ask\":\"none\"}]">>,
         218,1192}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.706 ***🔗
REST request:
Code: 204
Req: {<0.21763.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost/bob_befriend_and_alienate_auto_3310@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"69d1a65375f18208">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:07 GMT">>}],
         <<>>,80,55075}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost/bob_befriend_and_alienate_auto_3310@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.708 ***🔗
REST request:
Code: 200
Req: {<0.21769.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"403c42cf5a9d5f65">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1491}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.711 ***🔗
REST request:
Code: 200
Req: {<0.21773.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d62757fa9a5e2698">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:14:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1167}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3310@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='push73c7d1da86be5ee1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='push06b25bcc5d0c0fa4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='pushb7dcbceb3c7ba1a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' type='subscribe'/>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='push7bf9a87a3a7a3c8b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3310@localhost/res1' to='alice_befriend_and_alienate_auto_3310@localhost/res1'/>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='pusheb73843ec0b359f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' type='subscribed'/>



*** User 2024-04-16 12:14:07.711 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3310@localhost' to='alice_befriend_and_alienate_auto_3310@localhost/res1' id='pushcd1e42f0a9d0a59a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3310@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:14:07.712 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3310@localhost/res1' to='alice_befriend_and_alienate_auto_3310@localhost/res1' type='unavailable'/>



*** User 2024-04-16 12:14:12.712 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push73c7d1da86be5ee1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push06b25bcc5d0c0fa4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushb7dcbceb3c7ba1a4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push7bf9a87a3a7a3c8b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pusheb73843ec0b359f4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushcd1e42f0a9d0a59a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-16 12:14:12.712 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='push2c14bda2a1d8be28' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.712 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' type='subscribe'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='push5693bb7e2a2c655e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost/res1' to='bob_befriend_and_alienate_auto_3310@localhost/res1'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='push756033ab62a04e66' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' type='subscribed'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='pushd20fd0d60574df07' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost/res1' to='bob_befriend_and_alienate_auto_3310@localhost/res1' type='unavailable'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='pushc72492e2167da04f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' type='unsubscribe'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='pushf2e6ee2a62bb33e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' type='unsubscribed'/>



*** User 2024-04-16 12:14:12.713 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3310@localhost' to='bob_befriend_and_alienate_auto_3310@localhost/res1' id='pushd1b110dd11a6cbec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3310@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:14:17.714 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push2c14bda2a1d8be28">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push5693bb7e2a2c655e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"push756033ab62a04e66">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushd20fd0d60574df07">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushc72492e2167da04f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushf2e6ee2a62bb33e6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3310@localhost/res1">>},
                  {<<"id">>,<<"pushd1b110dd11a6cbec">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3310@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-16 12:14:17.714 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:14:17.715 ***🔗
bob_befriend_and_alienate_auto_3310@localhost/res1 in
</stream:stream>

*** User 2024-04-16 12:14:17.715 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:14:17.715 ***🔗
alice_befriend_and_alienate_auto_3310@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 12:14:17.718 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4824.html



=== Ended at 2024-04-16 12:14:17
=== successfully completed test case
=== === Returned value: ok