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

=== Config value:

    [{watchdog,<0.87861.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@171702243e91.2024-04-23_06.47.29/big_tests.tests.rest_SUITE.logs/run.2024-04-23_07.03.15/rest_suite.befriend_and_alienate_auto.240898.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@171702243e91.2024-04-23_06.47.29/big_tests.tests.rest_SUITE.logs/run.2024-04-23_07.03.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_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}},
     {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@171702243e91.2024-04-23_06.47.29"

=== Started at 2024-04-23 07:03:16


*** CT 2024-04-23 07:03:16.254 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5307.html

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

*** User 2024-04-23 07:03:16.267 ***🔗
alicE_befriend_and_alienate_auto_3363@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-23 07:03:16.268 ***🔗
alicE_befriend_and_alienate_auto_3363@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzNjMAbWF0eWdyeXNh</auth>



*** User 2024-04-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@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-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5c9c00b82e76ec8' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3363@localhost'>

*** User 2024-04-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@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-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@localhost/res1 out
<iq type='set' id='c007223dff964603cc2c81cecb4204d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:03:16.269 ***🔗
alicE_befriend_and_alienate_auto_3363@localhost/res1 in
<iq id='c007223dff964603cc2c81cecb4204d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3363@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:03:16.270 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 out
<iq type='set' id='0c23a411b4123a19f2eef7f10f77833d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:03:16.270 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='0c23a411b4123a19f2eef7f10f77833d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:03:16.271 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 out
<presence/>



*** User 2024-04-23 07:03:16.272 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost/res1' to='alice_befriend_and_alienate_auto_3363@localhost/res1'/>



*** User 2024-04-23 07:03:16.273 ***🔗
bOb_befriend_and_alienate_auto_3363@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-23 07:03:16.273 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26de3de8d466c7e2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:03:16.273 ***🔗
bOb_befriend_and_alienate_auto_3363@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-23 07:03:16.274 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzYzAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 07:03:16.274 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:03:16.275 ***🔗
bOb_befriend_and_alienate_auto_3363@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-23 07:03:16.275 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='253dd31b4e570c24' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3363@localhost'>

*** User 2024-04-23 07:03:16.275 ***🔗
bOb_befriend_and_alienate_auto_3363@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-23 07:03:16.275 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 out
<iq type='set' id='d4733618b68c80e043b8c6fc843ad4f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:03:16.275 ***🔗
bOb_befriend_and_alienate_auto_3363@localhost/res1 in
<iq id='d4733618b68c80e043b8c6fc843ad4f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3363@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:03:16.276 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 out
<iq type='set' id='4691a87fd56100639f9a3fff263c416d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:03:16.276 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='4691a87fd56100639f9a3fff263c416d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:03:16.276 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 out
<presence/>



*** User 2024-04-23 07:03:16.280 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3363@localhost/res1' to='bob_befriend_and_alienate_auto_3363@localhost/res1'/>



*** User 2024-04-23 07:03:16.282 ***🔗
REST request:
Code: 200
Req: {<0.87976.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a832c6b5d5d40d00">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1321}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.286 ***🔗
REST request:
Code: 200
Req: {<0.87984.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"620c80caecb23881">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2633}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.354 ***🔗
REST request:
Code: 204
Req: {<0.87995.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost/bob_befriend_and_alienate_auto_3363@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c7c420b13beaf4be">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>}],
         <<>>,80,67534}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost/bob_befriend_and_alienate_auto_3363@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"connect\"}">>,return_headers => true}


*** User 2024-04-23 07:03:16.357 ***🔗
REST request:
Code: 200
Req: {<0.88014.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b1165e505d72fed5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3363@localhost\"}]">>,
         216,1720}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.360 ***🔗
REST request:
Code: 200
Req: {<0.88020.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"23b367589e6daf25">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3363@localhost\"}]">>,
         218,2613}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.370 ***🔗
REST request:
Code: 204
Req: {<0.88022.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost/bob_befriend_and_alienate_auto_3363@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2a19c82192489e57">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>}],
         <<>>,80,8715}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost/bob_befriend_and_alienate_auto_3363@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}


*** User 2024-04-23 07:03:16.372 ***🔗
REST request:
Code: 200
Req: {<0.88028.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"61ebda7d52d386c9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1444}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.374 ***🔗
REST request:
Code: 200
Req: {<0.88032.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6a0c2b4211ffd7fe">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:03:15 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1249}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3363@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='pushe21f0143f1c722a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='push570a905b46209c4f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='pusha3b3501d82d11aa5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' type='subscribe'/>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='push50c4cc5d62040152' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3363@localhost/res1' to='alice_befriend_and_alienate_auto_3363@localhost/res1'/>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='push469444ab5319f794' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' type='subscribed'/>



*** User 2024-04-23 07:03:16.374 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3363@localhost' to='alice_befriend_and_alienate_auto_3363@localhost/res1' id='pushec8189ce8bff4dfd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3363@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 07:03:16.375 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3363@localhost/res1' to='alice_befriend_and_alienate_auto_3363@localhost/res1' type='unavailable'/>



*** User 2024-04-23 07:03:21.376 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pushe21f0143f1c722a7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push570a905b46209c4f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pusha3b3501d82d11aa5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push50c4cc5d62040152">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push469444ab5319f794">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pushec8189ce8bff4dfd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='pushd9ce475c10386db6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' type='subscribe'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='pushcbd91a989de50751' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost/res1' to='bob_befriend_and_alienate_auto_3363@localhost/res1'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='push3c74ab11610ff2d6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' type='subscribed'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='pusha340fb9d078e08fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost/res1' to='bob_befriend_and_alienate_auto_3363@localhost/res1' type='unavailable'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='push6a4577158bbb1092' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='pushe5cd6fa5ba8b6d25' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' type='unsubscribed'/>



*** User 2024-04-23 07:03:21.376 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3363@localhost' to='bob_befriend_and_alienate_auto_3363@localhost/res1' id='push10d4a832a466400a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3363@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 07:03:26.376 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pushd9ce475c10386db6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pushcbd91a989de50751">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push3c74ab11610ff2d6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pusha340fb9d078e08fe">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push6a4577158bbb1092">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"pushe5cd6fa5ba8b6d25">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3363@localhost/res1">>},
                  {<<"id">>,<<"push10d4a832a466400a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3363@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 07:03:26.377 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:03:26.377 ***🔗
bob_befriend_and_alienate_auto_3363@localhost/res1 in
</stream:stream>

*** User 2024-04-23 07:03:26.377 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:03:26.378 ***🔗
alice_befriend_and_alienate_auto_3363@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 07:03:26.380 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5307.html



=== Ended at 2024-04-23 07:03:26
=== successfully completed test case
=== === Returned value: ok