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

=== Config value:

    [{watchdog,<0.80756.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@2ea81bf4ccad.2024-04-24_13.09.55/big_tests.tests.rest_SUITE.logs/run.2024-04-24_13.23.48/rest_suite.befriend_and_alienate_auto.209538.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@2ea81bf4ccad.2024-04-24_13.09.55/big_tests.tests.rest_SUITE.logs/run.2024-04-24_13.23.48/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_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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2ea81bf4ccad.2024-04-24_13.09.55"

=== Started at 2024-04-24 13:23:48


*** CT 2024-04-24 13:23:48.822 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4579.html

*** User 2024-04-24 13:23:48.837 ***🔗
alicE_befriend_and_alienate_auto_2966@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-24 13:23:48.837 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f681333fd220a44' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:48.838 ***🔗
alicE_befriend_and_alienate_auto_2966@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-24 13:23:48.838 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5NjYAbWF0eWdyeXNh</auth>



*** User 2024-04-24 13:23:48.839 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:48.839 ***🔗
alicE_befriend_and_alienate_auto_2966@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-24 13:23:48.840 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8cbf36954b48593a' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2966@localhost'>

*** User 2024-04-24 13:23:48.840 ***🔗
alicE_befriend_and_alienate_auto_2966@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-24 13:23:48.840 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 out
<iq type='set' id='b924d7a79da98ad07530eec4b57d02e1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:48.840 ***🔗
alicE_befriend_and_alienate_auto_2966@localhost/res1 in
<iq id='b924d7a79da98ad07530eec4b57d02e1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2966@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:48.840 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 out
<iq type='set' id='8e6e0ea59ae6601c4c6b00f5f1bcd8de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:48.841 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='8e6e0ea59ae6601c4c6b00f5f1bcd8de' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:48.841 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:48.843 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost/res1' to='alice_befriend_and_alienate_auto_2966@localhost/res1'/>



*** User 2024-04-24 13:23:48.845 ***🔗
bOb_befriend_and_alienate_auto_2966@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-24 13:23:48.845 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f492c6b93c816974' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:48.845 ***🔗
bOb_befriend_and_alienate_auto_2966@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-24 13:23:48.845 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTY2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-24 13:23:48.846 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:48.846 ***🔗
bOb_befriend_and_alienate_auto_2966@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-24 13:23:48.847 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='023960e401bb7e7c' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2966@localhost'>

*** User 2024-04-24 13:23:48.847 ***🔗
bOb_befriend_and_alienate_auto_2966@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-24 13:23:48.847 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 out
<iq type='set' id='fcfe14a3d7f6445182392a784654854f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:48.847 ***🔗
bOb_befriend_and_alienate_auto_2966@localhost/res1 in
<iq id='fcfe14a3d7f6445182392a784654854f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2966@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:48.848 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 out
<iq type='set' id='e4a5a6a63ef9f3ad488bebdeff9a883a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:48.848 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='e4a5a6a63ef9f3ad488bebdeff9a883a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:48.849 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:48.850 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2966@localhost/res1' to='bob_befriend_and_alienate_auto_2966@localhost/res1'/>



*** User 2024-04-24 13:23:48.853 ***🔗
REST request:
Code: 200
Req: {<0.80858.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aa4eaaf60c758e66">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1439}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.856 ***🔗
REST request:
Code: 200
Req: {<0.80864.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f01af83ac4b13421">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1818}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.878 ***🔗
REST request:
Code: 204
Req: {<0.80875.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost/bob_befriend_and_alienate_auto_2966@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"268ed61be3fd93ef">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>}],
         <<>>,80,20898}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost/bob_befriend_and_alienate_auto_2966@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-24 13:23:48.924 ***🔗
REST request:
Code: 200
Req: {<0.80901.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0cce10ae7d0c1db3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2966@localhost\"}]">>,
         216,37152}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.927 ***🔗
REST request:
Code: 200
Req: {<0.80905.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7a1ab64565bc408b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2966@localhost\"}]">>,
         218,1760}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.935 ***🔗
REST request:
Code: 204
Req: {<0.80907.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost/bob_befriend_and_alienate_auto_2966@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2b6ff7f3c1c64aaa">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>}],
         <<>>,80,7389}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost/bob_befriend_and_alienate_auto_2966@localhost/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-24 13:23:48.938 ***🔗
REST request:
Code: 200
Req: {<0.80915.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"eef2e5cb099fdc0a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1338}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.941 ***🔗
REST request:
Code: 200
Req: {<0.80919.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a1deb218193e8691">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1825}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2966@localhost">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push1cd9e2c45bd53373' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push1770d1bd046a70ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push6d221f919853d886' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' type='subscribe'/>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push329501815f605078' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2966@localhost/res1' to='alice_befriend_and_alienate_auto_2966@localhost/res1'/>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push1b118b74daa8d558' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' type='subscribed'/>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2966@localhost' to='alice_befriend_and_alienate_auto_2966@localhost/res1' id='push54acffd120c2fc78' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2966@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-24 13:23:48.941 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2966@localhost/res1' to='alice_befriend_and_alienate_auto_2966@localhost/res1' type='unavailable'/>



*** User 2024-04-24 13:23:53.942 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push1cd9e2c45bd53373">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push1770d1bd046a70ad">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push6d221f919853d886">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push329501815f605078">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push1b118b74daa8d558">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push54acffd120c2fc78">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push899c3754b039d02f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' type='subscribe'/>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push53e2ed8f3f46ef3c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost/res1' to='bob_befriend_and_alienate_auto_2966@localhost/res1'/>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push66576b8e42df2d47' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' type='subscribed'/>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push7c74df1c05d813f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='both'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost/res1' to='bob_befriend_and_alienate_auto_2966@localhost/res1' type='unavailable'/>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push27eb7ad27eb6935b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.942 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' type='unsubscribe'/>



*** User 2024-04-24 13:23:53.943 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push617372ad52adc4d5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:53.943 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' type='unsubscribed'/>



*** User 2024-04-24 13:23:53.943 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2966@localhost' to='bob_befriend_and_alienate_auto_2966@localhost/res1' id='push34543269d27352f7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2966@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-24 13:23:58.944 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push899c3754b039d02f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push53e2ed8f3f46ef3c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push66576b8e42df2d47">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push7c74df1c05d813f2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push27eb7ad27eb6935b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push617372ad52adc4d5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2966@localhost/res1">>},
                  {<<"id">>,<<"push34543269d27352f7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2966@localhost">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-24 13:23:58.944 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:58.944 ***🔗
bob_befriend_and_alienate_auto_2966@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:23:58.944 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:58.945 ***🔗
alice_befriend_and_alienate_auto_2966@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:23:58.947 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4598.html



=== Ended at 2024-04-24 13:23:58
=== successfully completed test case
=== === Returned value: ok