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

=== Config value:

    [{watchdog,<0.87227.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@45dbedf3d0f9.2024-04-23_11.32.52/big_tests.tests.rest_SUITE.logs/run.2024-04-23_11.47.55/rest_suite.befriend_and_alienate_auto.119684.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@45dbedf3d0f9.2024-04-23_11.32.52/big_tests.tests.rest_SUITE.logs/run.2024-04-23_11.47.55/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 =>
            #{server_info => [],iqdisc => one_queue,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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,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@45dbedf3d0f9.2024-04-23_11.32.52"

=== Started at 2024-04-23 11:47:56


*** CT 2024-04-23 11:47:56.959 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4593.html

*** User 2024-04-23 11:47:56.973 ***🔗
alicE_befriend_and_alienate_auto_3150@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 11:47:56.974 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c63e99add87a3c3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:47:56.975 ***🔗
alicE_befriend_and_alienate_auto_3150@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 11:47:56.975 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMxNTAAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:47:56.976 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:47:56.976 ***🔗
alicE_befriend_and_alienate_auto_3150@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 11:47:56.977 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2546a396431a26d' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3150@localhost'>

*** User 2024-04-23 11:47:56.977 ***🔗
alicE_befriend_and_alienate_auto_3150@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 11:47:56.977 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 out
<iq type='set' id='b643ac18b5f1eabe2f47be07ced76679'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:47:56.977 ***🔗
alicE_befriend_and_alienate_auto_3150@localhost/res1 in
<iq id='b643ac18b5f1eabe2f47be07ced76679' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3150@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:47:56.978 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 out
<iq type='set' id='ad981754fae21e857d3392d7e877e100'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:47:56.979 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='ad981754fae21e857d3392d7e877e100' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:47:56.979 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 out
<presence/>



*** User 2024-04-23 11:47:56.981 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost/res1' to='alice_befriend_and_alienate_auto_3150@localhost/res1'/>



*** User 2024-04-23 11:47:56.981 ***🔗
bOb_befriend_and_alienate_auto_3150@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 11:47:56.982 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73876af156f99457' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:47:56.982 ***🔗
bOb_befriend_and_alienate_auto_3150@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 11:47:56.982 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMTUwAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:47:56.983 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:47:56.983 ***🔗
bOb_befriend_and_alienate_auto_3150@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 11:47:56.983 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6cfb109fa72c2e8' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3150@localhost'>

*** User 2024-04-23 11:47:56.984 ***🔗
bOb_befriend_and_alienate_auto_3150@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 11:47:56.984 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 out
<iq type='set' id='8577be9171e6a891c0d77241eb791cc8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:47:56.984 ***🔗
bOb_befriend_and_alienate_auto_3150@localhost/res1 in
<iq id='8577be9171e6a891c0d77241eb791cc8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3150@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:47:56.984 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 out
<iq type='set' id='3d88347a0b48371ee1b80c9ec5e43d44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:47:56.985 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='3d88347a0b48371ee1b80c9ec5e43d44' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:47:56.985 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 out
<presence/>



*** User 2024-04-23 11:47:56.987 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3150@localhost/res1' to='bob_befriend_and_alienate_auto_3150@localhost/res1'/>



*** User 2024-04-23 11:47:56.990 ***🔗
REST request:
Code: 200
Req: {<0.87348.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"37627a4ae69515ed">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1805}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:56.993 ***🔗
REST request:
Code: 200
Req: {<0.87354.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bcfe46fe67eb5118">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1817}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:57.021 ***🔗
REST request:
Code: 204
Req: {<0.87359.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost/bob_befriend_and_alienate_auto_3150@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"59ba075cca8e3456">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>}],
         <<>>,80,27328}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost/bob_befriend_and_alienate_auto_3150@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2024-04-23 11:47:57.024 ***🔗
REST request:
Code: 200
Req: {<0.87376.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"472d872ea8cb0dab">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3150@localhost\"}]">>,
         216,1563}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:57.026 ***🔗
REST request:
Code: 200
Req: {<0.87380.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"502517ac510c538b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3150@localhost\"}]">>,
         218,1670}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:57.039 ***🔗
REST request:
Code: 204
Req: {<0.87382.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost/bob_befriend_and_alienate_auto_3150@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"48fe2cb6693f7e91">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>}],
         <<>>,80,12100}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost/bob_befriend_and_alienate_auto_3150@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2024-04-23 11:47:57.042 ***🔗
REST request:
Code: 200
Req: {<0.87390.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"59f9a6212d87af99">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2010}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:57.045 ***🔗
REST request:
Code: 200
Req: {<0.87392.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a9472544c524669d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:47:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1618}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3150@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='push3ecc55ad72e1b0d5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='push89c8e67d14e79889' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='push30893096ae5ed7b0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='push1f3ab83c450a732c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3150@localhost/res1' to='alice_befriend_and_alienate_auto_3150@localhost/res1'/>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='pushc9f2673f94642fbf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.045 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:47:57.046 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3150@localhost' to='alice_befriend_and_alienate_auto_3150@localhost/res1' id='pushdf971010cbd82cdc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3150@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:47:57.046 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3150@localhost/res1' to='alice_befriend_and_alienate_auto_3150@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:48:02.046 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push3ecc55ad72e1b0d5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push89c8e67d14e79889">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push30893096ae5ed7b0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push1f3ab83c450a732c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"pushc9f2673f94642fbf">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"pushdf971010cbd82cdc">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='pushab74286306a3cd8c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='push31bb5a21f91cbdf4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost/res1' to='bob_befriend_and_alienate_auto_3150@localhost/res1'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='push61c12bf4cb4e4db3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='push179dd66ff339fb37' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost/res1' to='bob_befriend_and_alienate_auto_3150@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='push01fe54ec711d2e57' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='push244e832b942eef16' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' type='unsubscribed'/>



*** User 2024-04-23 11:48:02.046 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3150@localhost' to='bob_befriend_and_alienate_auto_3150@localhost/res1' id='pushe8523b34b7be713d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3150@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:48:07.047 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"pushab74286306a3cd8c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push31bb5a21f91cbdf4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push61c12bf4cb4e4db3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push179dd66ff339fb37">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push01fe54ec711d2e57">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"push244e832b942eef16">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3150@localhost/res1">>},
                  {<<"id">>,<<"pushe8523b34b7be713d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3150@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 11:48:07.047 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:48:07.048 ***🔗
bob_befriend_and_alienate_auto_3150@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:48:07.048 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:48:07.048 ***🔗
alice_befriend_and_alienate_auto_3150@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:48:07.051 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4612.html



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