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

=== Config value:

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

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35"

=== Started at 2024-04-26 12:53:58


*** CT 2024-04-26 12:53:58.999 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4909.html

*** User 2024-04-26 12:53:59.017 ***🔗
alicE_befriend_and_alienate_auto_3301@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-26 12:53:59.018 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b800393e2d02ebb2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:53:59.018 ***🔗
alicE_befriend_and_alienate_auto_3301@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-26 12:53:59.018 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMzMDEAbWF0eWdyeXNh</auth>



*** User 2024-04-26 12:53:59.019 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:53:59.019 ***🔗
alicE_befriend_and_alienate_auto_3301@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-26 12:53:59.019 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb90442cce5fa0d5' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3301@localhost'>

*** User 2024-04-26 12:53:59.020 ***🔗
alicE_befriend_and_alienate_auto_3301@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-26 12:53:59.020 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 out
<iq type='set' id='e40ee1c51700caa252f57744151dc28c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:53:59.020 ***🔗
alicE_befriend_and_alienate_auto_3301@localhost/res1 in
<iq id='e40ee1c51700caa252f57744151dc28c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_3301@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:53:59.020 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 out
<iq type='set' id='d952c37c3070973838fb732a709e8dfa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:53:59.021 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='d952c37c3070973838fb732a709e8dfa' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:53:59.021 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 out
<presence/>



*** User 2024-04-26 12:53:59.022 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost/res1' to='alice_befriend_and_alienate_auto_3301@localhost/res1'/>



*** User 2024-04-26 12:53:59.023 ***🔗
bOb_befriend_and_alienate_auto_3301@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-26 12:53:59.023 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12e1b20e5f63556e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:53:59.024 ***🔗
bOb_befriend_and_alienate_auto_3301@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-26 12:53:59.024 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMzAxAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-26 12:53:59.025 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:53:59.025 ***🔗
bOb_befriend_and_alienate_auto_3301@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-26 12:53:59.025 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d50b987796e72d05' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3301@localhost'>

*** User 2024-04-26 12:53:59.026 ***🔗
bOb_befriend_and_alienate_auto_3301@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-26 12:53:59.026 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 out
<iq type='set' id='a590db87cdcf26285a91af7449cbdc91'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:53:59.026 ***🔗
bOb_befriend_and_alienate_auto_3301@localhost/res1 in
<iq id='a590db87cdcf26285a91af7449cbdc91' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_3301@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:53:59.026 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 out
<iq type='set' id='b1d85cd053199411fb44527ac4486a20'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:53:59.027 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='b1d85cd053199411fb44527ac4486a20' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:53:59.027 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 out
<presence/>



*** User 2024-04-26 12:53:59.029 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3301@localhost/res1' to='bob_befriend_and_alienate_auto_3301@localhost/res1'/>



*** User 2024-04-26 12:53:59.032 ***🔗
REST request:
Code: 200
Req: {<0.21958.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2c07945aa024a543">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1849}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.035 ***🔗
REST request:
Code: 200
Req: {<0.21969.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6360e280f4b3c7ef">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1957}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.077 ***🔗
REST request:
Code: 204
Req: {<0.21979.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost/bob_befriend_and_alienate_auto_3301@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bd2be37fddb88ed3">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>}],
         <<>>,80,40711}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost/bob_befriend_and_alienate_auto_3301@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.079 ***🔗
REST request:
Code: 200
Req: {<0.22001.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"44362b1548f3535a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3301@localhost\",\"ask\":\"none\"}]">>,
         216,1416}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.082 ***🔗
REST request:
Code: 200
Req: {<0.22005.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d470d6030cacc015">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3301@localhost\",\"ask\":\"none\"}]">>,
         218,1333}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.094 ***🔗
REST request:
Code: 204
Req: {<0.22009.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost/bob_befriend_and_alienate_auto_3301@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96ab2fa616a31a48">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>}],
         <<>>,80,10953}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost/bob_befriend_and_alienate_auto_3301@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.097 ***🔗
REST request:
Code: 200
Req: {<0.22015.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6210f6a1f383cc63">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1328}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.100 ***🔗
REST request:
Code: 200
Req: {<0.22019.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d651371c5d958dbe">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:53:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2311}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_3301@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='push870cea08f30ed8f5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='pushf357be309e23ce40' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='pusha521e15fa73e0cb5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='push0b605dba9e8213bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3301@localhost/res1' to='alice_befriend_and_alienate_auto_3301@localhost/res1'/>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='push4fa7103a49f4605e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' type='subscribed'/>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3301@localhost' to='alice_befriend_and_alienate_auto_3301@localhost/res1' id='push4ee6d7a0251f9b96' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_3301@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 12:53:59.101 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3301@localhost/res1' to='alice_befriend_and_alienate_auto_3301@localhost/res1' type='unavailable'/>



*** User 2024-04-26 12:54:04.102 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push870cea08f30ed8f5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"pushf357be309e23ce40">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"pusha521e15fa73e0cb5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push0b605dba9e8213bb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push4fa7103a49f4605e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push4ee6d7a0251f9b96">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-26 12:54:04.102 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='push7c61d4cd839f0b97' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.102 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='push7bd8dfe62a385c85' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost/res1' to='bob_befriend_and_alienate_auto_3301@localhost/res1'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='pushffaa950f60d1ebd5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' type='subscribed'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='pushb8e31b09d62043fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost/res1' to='bob_befriend_and_alienate_auto_3301@localhost/res1' type='unavailable'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='push8de5f102c9c5bd64' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' type='unsubscribe'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='push838cc253e8304431' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' type='unsubscribed'/>



*** User 2024-04-26 12:54:04.103 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3301@localhost' to='bob_befriend_and_alienate_auto_3301@localhost/res1' id='push2293d7f9a3cc99c4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_3301@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 12:54:09.104 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push7c61d4cd839f0b97">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push7bd8dfe62a385c85">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"pushffaa950f60d1ebd5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"pushb8e31b09d62043fe">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push8de5f102c9c5bd64">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push838cc253e8304431">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_3301@localhost/res1">>},
                  {<<"id">>,<<"push2293d7f9a3cc99c4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_3301@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-26 12:54:09.104 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:09.105 ***🔗
bob_befriend_and_alienate_auto_3301@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:09.105 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:09.105 ***🔗
alice_befriend_and_alienate_auto_3301@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:54:09.108 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4928.html



=== Ended at 2024-04-26 12:54:09
=== successfully completed test case
=== === Returned value: ok