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

=== Config value:

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

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@def112168c16.2024-04-23_11.32.54"

=== Started at 2024-04-23 11:46:57


*** CT 2024-04-23 11:46:57.915 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4547.html

*** User 2024-04-23 11:46:57.928 ***🔗
alicE_befriend_and_alienate_auto_2936@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:46:57.929 ***🔗
alicE_befriend_and_alienate_auto_2936@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='813ce0e9793e4d1d' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-23 11:46:57.930 ***🔗
alicE_befriend_and_alienate_auto_2936@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:46:57.930 ***🔗
alicE_befriend_and_alienate_auto_2936@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d0a6a3f14257658' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2936@localhost'>

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



*** User 2024-04-23 11:46:57.931 ***🔗
alicE_befriend_and_alienate_auto_2936@localhost/res1 in
<iq id='cf9e8c12a026f482a64dd9f2f6ab35f0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2936@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:46:57.931 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 out
<iq type='set' id='51d4931c018e6f3368f284bea19cde86'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:57.931 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='51d4931c018e6f3368f284bea19cde86' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:57.932 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 out
<presence/>



*** User 2024-04-23 11:46:57.933 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2936@localhost/res1' to='alice_befriend_and_alienate_auto_2936@localhost/res1'/>



*** User 2024-04-23 11:46:57.934 ***🔗
bOb_befriend_and_alienate_auto_2936@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:46:57.934 ***🔗
bOb_befriend_and_alienate_auto_2936@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed3d902fcb94064c' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2024-04-23 11:46:57.935 ***🔗
bOb_befriend_and_alienate_auto_2936@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:46:57.936 ***🔗
bOb_befriend_and_alienate_auto_2936@localhost/res1 out
<iq type='set' id='3f36a00e5be01a08967aa74c7a2f3efa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:46:57.936 ***🔗
bOb_befriend_and_alienate_auto_2936@localhost/res1 in
<iq id='3f36a00e5be01a08967aa74c7a2f3efa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2936@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:46:57.936 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 out
<iq type='set' id='5fc6e73e7007f3a385906ac230452370'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:57.937 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2936@localhost/res1' id='5fc6e73e7007f3a385906ac230452370' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:46:57.937 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 out
<presence/>



*** User 2024-04-23 11:46:57.939 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2936@localhost/res1' to='bob_befriend_and_alienate_auto_2936@localhost/res1'/>



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


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


*** User 2024-04-23 11:46:57.967 ***🔗
REST request:
Code: 204
Req: {<0.80739.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost/bob_befriend_and_alienate_auto_2936@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"06a3a147d8aa0bfd">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>}],
         <<>>,80,20458}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost/bob_befriend_and_alienate_auto_2936@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2024-04-23 11:46:57.970 ***🔗
REST request:
Code: 200
Req: {<0.80759.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"43cfa08b4a36dd3f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2936@localhost\"}]">>,
         216,1940}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:46:57.972 ***🔗
REST request:
Code: 200
Req: {<0.80763.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2936@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"749f5eec39a9d1db">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2936@localhost\"}]">>,
         218,1138}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2936@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:46:57.982 ***🔗
REST request:
Code: 204
Req: {<0.80767.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost/bob_befriend_and_alienate_auto_2936@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b0ae7f63442a462a">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>}],
         <<>>,80,9174}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost/bob_befriend_and_alienate_auto_2936@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2024-04-23 11:46:57.984 ***🔗
REST request:
Code: 200
Req: {<0.80777.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8cf34e2b86a15503">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,990}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2936@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:46:57.986 ***🔗
REST request:
Code: 200
Req: {<0.80779.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2936@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"888901ca761b9d27">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:46:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,905}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2936@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='push786d54da7217db09' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='push0d57ade03e640d46' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='pushb7c93d73cffad482' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='push6a406ce2e91eb984' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2936@localhost/res1' to='alice_befriend_and_alienate_auto_2936@localhost/res1'/>



*** User 2024-04-23 11:46:57.986 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='push417ad5eb8f0d39c7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.987 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:46:57.987 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2936@localhost' to='alice_befriend_and_alienate_auto_2936@localhost/res1' id='push8d4bf81991aae521' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2936@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:46:57.987 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2936@localhost/res1' to='alice_befriend_and_alienate_auto_2936@localhost/res1' type='unavailable'/>



*** User 2024-04-23 11:47:02.987 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push786d54da7217db09">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push0d57ade03e640d46">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"pushb7c93d73cffad482">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push6a406ce2e91eb984">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push417ad5eb8f0d39c7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push8d4bf81991aae521">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

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



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



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



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



*** User 2024-04-23 11:47:02.988 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2936@localhost' to='bob_befriend_and_alienate_auto_2936@localhost/res1' id='push07376f30b09afe67' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2936@localhost' subscription='to'/>
	</query>
</iq>



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



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



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



*** User 2024-04-23 11:47:02.988 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2936@localhost' to='bob_befriend_and_alienate_auto_2936@localhost/res1' id='pushddb1ffddd3188eca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2936@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:47:02.988 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2936@localhost' to='bob_befriend_and_alienate_auto_2936@localhost/res1' type='unsubscribe'/>



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



*** User 2024-04-23 11:47:02.988 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2936@localhost' to='bob_befriend_and_alienate_auto_2936@localhost/res1' type='unsubscribed'/>



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



*** User 2024-04-23 11:47:07.989 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push69136d8b9ddd0a1c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push125d0472f0500a50">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push07376f30b09afe67">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push0cdc15bae4d47daa">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"pushddb1ffddd3188eca">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"pushe748618342768560">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2936@localhost/res1">>},
                  {<<"id">>,<<"push45eaf8e901637751">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2936@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 11:47:07.989 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:47:07.989 ***🔗
bob_befriend_and_alienate_auto_2936@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:47:07.989 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:47:07.990 ***🔗
alice_befriend_and_alienate_auto_2936@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:47:07.992 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4566.html



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