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

=== Config value:

    [{watchdog,<0.25133.1>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,disabled},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.rest_SUITE.logs/run.2022-06-22_09.28.56/rest_suite.befriend_and_alienate_auto.42628.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.rest_SUITE.logs/run.2022-06-22_09.28.56/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_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        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 => mnesia,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 => mnesia,
              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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:28:57


*** CT 2022-06-22 09:28:57.700 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4858.html
*** CT 2022-06-22 09:28:57.701 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:28:57.708 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:28:57.708 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c7981ae46b37e0e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:28:57.708 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:28:57.708 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE2NjYAbWF0eWdyeXNh</auth>



*** User 2022-06-22 09:28:57.709 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:28:57.709 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:28:57.709 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db1d2d7da1e1d5e3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:28:57.710 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:28:57.710 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 out
<iq type='set' id='b284994460548f458f2cbb92ce8897bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:28:57.710 ***🔗
alicE_befriend_and_alienate_auto_1666@localhost/res1 in
<iq id='b284994460548f458f2cbb92ce8897bc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_1666@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:28:57.710 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 out
<iq type='set' id='fa8490c8c14585b8bf440465daa6a2f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:28:57.710 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq type='result' id='fa8490c8c14585b8bf440465daa6a2f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:28:57.711 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 out
<presence/>



*** User 2022-06-22 09:28:57.711 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost/res1' to='alice_befriend_and_alienate_auto_1666@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:28:57.712 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:28:57.712 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf045aa2ba3ee181' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:28:57.712 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:28:57.712 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNjY2AG1ha3JvbGlrYQ==</auth>



*** User 2022-06-22 09:28:57.713 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:28:57.713 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:28:57.713 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f7207cda487cb47' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:28:57.713 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:28:57.713 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 out
<iq type='set' id='970a22ca4f06484f91569bb1d89bea2a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:28:57.714 ***🔗
bOb_befriend_and_alienate_auto_1666@localhost/res1 in
<iq id='970a22ca4f06484f91569bb1d89bea2a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_1666@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:28:57.714 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 out
<iq type='set' id='b1d65e0dfc9f9db91f62894c52d14c3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:28:57.714 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq type='result' id='b1d65e0dfc9f9db91f62894c52d14c3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:28:57.714 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 out
<presence/>



*** User 2022-06-22 09:28:57.715 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1666@localhost/res1' to='bob_befriend_and_alienate_auto_1666@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:28:57.717 ***🔗
REST request:
Code: 200
Req: {<0.25186.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"938df31afd34f942">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,742}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.719 ***🔗
REST request:
Code: 200
Req: {<0.25194.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"612a2eb3a9cd50f3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1132}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.725 ***🔗
REST request:
Code: 204
Req: {<0.25200.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost/bob_befriend_and_alienate_auto_1666@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"114ca45565b2f0d6">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,4382}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost/bob_befriend_and_alienate_auto_1666@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.726 ***🔗
REST request:
Code: 200
Req: {<0.25223.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"691c0afd6882221b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1666@localhost\",\"ask\":\"none\"}]">>,
         216,622}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.728 ***🔗
REST request:
Code: 200
Req: {<0.25229.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3734128e4c2b816b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1666@localhost\",\"ask\":\"none\"}]">>,
         218,421}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.731 ***🔗
REST request:
Code: 204
Req: {<0.25235.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost/bob_befriend_and_alienate_auto_1666@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"064ec9b0c4fd48b1">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,2110}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost/bob_befriend_and_alienate_auto_1666@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.732 ***🔗
REST request:
Code: 200
Req: {<0.25245.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7957e7f7bbbb0af2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,401}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.733 ***🔗
REST request:
Code: 200
Req: {<0.25249.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f33f459ce7f7eeb0">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:28:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,436}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1666@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:28:57.733 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='push93158d1337cd792a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.733 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='pushe32fe930e1d7abee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='push51a19f0910088669' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' type='subscribe'/>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='push97babec16f721c36' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1666@localhost/res1' to='alice_befriend_and_alienate_auto_1666@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='push2d8f02afced8d5f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' type='subscribed'/>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1666@localhost' to='alice_befriend_and_alienate_auto_1666@localhost/res1' id='push24d96dbac7ebdd61' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:28:57.734 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1666@localhost/res1' to='alice_befriend_and_alienate_auto_1666@localhost/res1' type='unavailable'/>



*** User 2022-06-22 09:29:02.735 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push93158d1337cd792a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"pushe32fe930e1d7abee">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push51a19f0910088669">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push97babec16f721c36">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push2d8f02afced8d5f9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push24d96dbac7ebdd61">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]}]

*** User 2022-06-22 09:29:02.735 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='pushdf4b81f3fd840515' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.735 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' type='subscribe'/>



*** User 2022-06-22 09:29:02.735 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='pushd8389baa98bbc10e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.735 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost/res1' to='bob_befriend_and_alienate_auto_1666@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:29:02.735 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='push9b830c8518271bfa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' type='subscribed'/>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='pushf868740b0ee0b1a3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost/res1' to='bob_befriend_and_alienate_auto_1666@localhost/res1' type='unavailable'/>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='push7575a020deef9bfa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' type='unsubscribe'/>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='pushd48a39b7ddf53695' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' type='unsubscribed'/>



*** User 2022-06-22 09:29:02.736 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1666@localhost' to='bob_befriend_and_alienate_auto_1666@localhost/res1' id='push8b740efaab39709c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_1666@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:07.737 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"pushdf4b81f3fd840515">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"pushd8389baa98bbc10e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push9b830c8518271bfa">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"pushf868740b0ee0b1a3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push7575a020deef9bfa">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"pushd48a39b7ddf53695">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1666@localhost/res1">>},
                  {<<"id">>,<<"push8b740efaab39709c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1666@localhost">>}],
                                 []}]}]}]

*** User 2022-06-22 09:29:07.738 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:07.738 ***🔗
bob_befriend_and_alienate_auto_1666@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:29:07.738 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:07.738 ***🔗
alice_befriend_and_alienate_auto_1666@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:29:07.740 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:29:07.740 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4874.html



=== Ended at 2022-06-22 09:29:07
=== successfully completed test case
=== === Returned value: ok