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

=== Config value:

    [{watchdog,<0.83299.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.24.16/rest_suite.befriend_and_alienate_auto.163843.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.24.16/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_amp => #{},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:24:17


*** CT 2023-11-17 15:24:17.214 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4698.html

*** User 2023-11-17 15:24:17.227 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:17.228 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d4ef26aa67a5e8e' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:17.228 ***🔗
alicE_befriend_and_alienate_auto_2922@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 2023-11-17 15:24:17.228 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5MjIAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:24:17.229 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:17.229 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:17.229 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='575b4467f91ed900' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2922@localhost'>

*** User 2023-11-17 15:24:17.229 ***🔗
alicE_befriend_and_alienate_auto_2922@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 2023-11-17 15:24:17.229 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 out
<iq type='set' id='0a0e8d7e5f9cdf934bf73eb62c9bf7f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:17.230 ***🔗
alicE_befriend_and_alienate_auto_2922@localhost/res1 in
<iq id='0a0e8d7e5f9cdf934bf73eb62c9bf7f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2922@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:17.230 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 out
<iq type='set' id='0bd5f606a390b2eb2023a648930f4c5b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:17.230 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='0bd5f606a390b2eb2023a648930f4c5b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:17.230 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:17.232 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost/res1' to='alice_befriend_and_alienate_auto_2922@localhost/res1'/>



*** User 2023-11-17 15:24:17.232 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:17.233 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b99d38302848367' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:17.233 ***🔗
bOb_befriend_and_alienate_auto_2922@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 2023-11-17 15:24:17.233 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTIyAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='789da74796e93c58' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2922@localhost'>

*** User 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@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 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 out
<iq type='set' id='539221a0ac5f199b1d241ab174a52888'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:17.234 ***🔗
bOb_befriend_and_alienate_auto_2922@localhost/res1 in
<iq id='539221a0ac5f199b1d241ab174a52888' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2922@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:17.234 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 out
<iq type='set' id='e01ef6e6f3c44c2a56460e8007d41d15'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:17.235 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='e01ef6e6f3c44c2a56460e8007d41d15' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:17.235 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:17.236 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2922@localhost/res1' to='bob_befriend_and_alienate_auto_2922@localhost/res1'/>



*** User 2023-11-17 15:24:17.239 ***🔗
REST request:
Code: 200
Req: {<0.83401.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"16b84b9fe253f4df">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1257}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.240 ***🔗
REST request:
Code: 200
Req: {<0.83412.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b2ee18a52a130b31">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,896}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.255 ***🔗
REST request:
Code: 204
Req: {<0.83418.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost/bob_befriend_and_alienate_auto_2922@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4ecff700abaf5009">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>}],
         <<>>,80,13437}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost/bob_befriend_and_alienate_auto_2922@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-17 15:24:17.257 ***🔗
REST request:
Code: 200
Req: {<0.83446.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"30ec9cc30d3457a3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2922@localhost\"}]">>,
         216,1196}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.259 ***🔗
REST request:
Code: 200
Req: {<0.83450.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b7ca8773585453e7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2922@localhost\"}]">>,
         218,1075}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.300 ***🔗
REST request:
Code: 204
Req: {<0.83454.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost/bob_befriend_and_alienate_auto_2922@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bdba3fa94d9d792c">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>}],
         <<>>,80,40291}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost/bob_befriend_and_alienate_auto_2922@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-17 15:24:17.301 ***🔗
REST request:
Code: 200
Req: {<0.83462.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5a8bcdea5eedd688">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,904}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.303 ***🔗
REST request:
Code: 200
Req: {<0.83464.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d0b289203d6d99e2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,935}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2922@localhost">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-17 15:24:17.303 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='push1c6a192b450464f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.303 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='push2870bc075d86fccd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.303 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='pushaedef7adfda28a68' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.303 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' type='subscribe'/>



*** User 2023-11-17 15:24:17.303 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='push28c72554c4345f92' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.304 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2922@localhost/res1' to='alice_befriend_and_alienate_auto_2922@localhost/res1'/>



*** User 2023-11-17 15:24:17.304 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='push2dec37f2f068a9c5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.304 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' type='subscribed'/>



*** User 2023-11-17 15:24:17.304 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2922@localhost' to='alice_befriend_and_alienate_auto_2922@localhost/res1' id='push5ace54f637564cff' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:17.304 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2922@localhost/res1' to='alice_befriend_and_alienate_auto_2922@localhost/res1' type='unavailable'/>



*** User 2023-11-17 15:24:22.304 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push1c6a192b450464f9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push2870bc075d86fccd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"pushaedef7adfda28a68">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push28c72554c4345f92">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push2dec37f2f068a9c5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push5ace54f637564cff">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]}]

*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push65885d93f53558dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' type='subscribe'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push06edbf3e5555b784' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost/res1' to='bob_befriend_and_alienate_auto_2922@localhost/res1'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push3a8e417ebbf1a1d5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' type='subscribed'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='pushc378fa37007cec59' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost/res1' to='bob_befriend_and_alienate_auto_2922@localhost/res1' type='unavailable'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push2131470f9f79fa77' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' type='unsubscribe'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push2893157db3c93bad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' type='unsubscribed'/>



*** User 2023-11-17 15:24:22.305 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2922@localhost' to='bob_befriend_and_alienate_auto_2922@localhost/res1' id='push9f934a329d766dc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2922@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:27.305 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push65885d93f53558dd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push06edbf3e5555b784">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push3a8e417ebbf1a1d5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"pushc378fa37007cec59">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push2131470f9f79fa77">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push2893157db3c93bad">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2922@localhost/res1">>},
                  {<<"id">>,<<"push9f934a329d766dc9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2922@localhost">>}],
                                 []}]}]}]

*** User 2023-11-17 15:24:27.306 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:27.306 ***🔗
bob_befriend_and_alienate_auto_2922@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:24:27.306 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:27.306 ***🔗
alice_befriend_and_alienate_auto_2922@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:24:27.309 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4717.html



=== Ended at 2023-11-17 15:24:27
=== successfully completed test case
=== === Returned value: ok