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

=== Config value:

    [{watchdog,<0.76562.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e9cd84e19dff.2024-04-23_06.47.01/big_tests.tests.rest_SUITE.logs/run.2024-04-23_06.59.51/rest_suite.befriend_and_alienate_auto.151299.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@e9cd84e19dff.2024-04-23_06.47.01/big_tests.tests.rest_SUITE.logs/run.2024-04-23_06.59.51/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_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 => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e9cd84e19dff.2024-04-23_06.47.01"

=== Started at 2024-04-23 06:59:52


*** CT 2024-04-23 06:59:52.367 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3426.html

*** User 2024-04-23 06:59:52.392 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:59:52.392 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='592068fbe62f6101' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:59:52.393 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 06:59:52.393 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI4MjMAbWF0eWdyeXNh</auth>



*** User 2024-04-23 06:59:52.394 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:59:52.394 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:59:52.394 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0342c7658bbe2373' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2823@domain.example.com'>

*** User 2024-04-23 06:59:52.394 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 06:59:52.394 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<iq type='set' id='9b7b23ec095e7c94c6948e5541292508'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:59:52.395 ***🔗
alicE_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq id='9b7b23ec095e7c94c6948e5541292508' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2823@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:59:52.395 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<iq type='set' id='393c718b10c093bfcfc28974b6199de8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:59:52.396 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='393c718b10c093bfcfc28974b6199de8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:59:52.397 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 06:59:52.400 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1'/>



*** User 2024-04-23 06:59:52.401 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:59:52.401 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfa69f6f5905710e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:59:52.402 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 06:59:52.402 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yODIzAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 06:59:52.403 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:59:52.403 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:59:52.403 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc3008a28c46358f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2823@domain.example.com'>

*** User 2024-04-23 06:59:52.403 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 06:59:52.403 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<iq type='set' id='fdbda156a6584764eb2b0c541a42d40a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:59:52.404 ***🔗
bOb_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq id='fdbda156a6584764eb2b0c541a42d40a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2823@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:59:52.404 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<iq type='set' id='07dd8f30148f49129f303ed1923b0220'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:59:52.406 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='07dd8f30148f49129f303ed1923b0220' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:59:52.406 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 06:59:52.409 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1'/>



*** User 2024-04-23 06:59:52.412 ***🔗
REST request:
Code: 200
Req: {<0.76679.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8c7c4382884b915f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1980}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.416 ***🔗
REST request:
Code: 200
Req: {<0.76687.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3b4a8f17c24f4047">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2173}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.496 ***🔗
REST request:
Code: 204
Req: {<0.76689.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com/bob_befriend_and_alienate_auto_2823@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e3160e6065bde2d">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>}],
         <<>>,80,76562}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com/bob_befriend_and_alienate_auto_2823@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-23 06:59:52.502 ***🔗
REST request:
Code: 200
Req: {<0.76713.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"35a4e06991e41a5a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2823@domain.example.com\"}]">>,
         226,5185}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.507 ***🔗
REST request:
Code: 200
Req: {<0.76717.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c174b195a12e306d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2823@domain.example.com\"}]">>,
         228,1996}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.534 ***🔗
REST request:
Code: 204
Req: {<0.76721.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com/bob_befriend_and_alienate_auto_2823@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3d718d1e818d6c91">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>}],
         <<>>,80,25587}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com/bob_befriend_and_alienate_auto_2823@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-23 06:59:52.541 ***🔗
REST request:
Code: 200
Req: {<0.76727.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e15e12e7d0c48133">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,4616}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.544 ***🔗
REST request:
Code: 200
Req: {<0.76731.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"957bb43a23463f72">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 06:59:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1819}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2823@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-23 06:59:52.544 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push9b322342eab25d5d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.544 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='pushc52806b17ef0029c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push9dbdb6626d12b290' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='pusheb68f781a242d02f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1'/>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='pushefd216d561c97242' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push46293865802e56f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2823@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 06:59:52.545 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-23 06:59:57.545 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push9b322342eab25d5d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc52806b17ef0029c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push9dbdb6626d12b290">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"pusheb68f781a242d02f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"pushefd216d561c97242">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push46293865802e56f2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push6e9e09e6a1bf1f41' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push3e80640b9bc69913' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push027c59f2bbd8d2dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push0f76b1feeeb64a4f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='pushfff6222dbdda31a9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push90bd29abdfcf9f54' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-04-23 06:59:57.546 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2823@domain.example.com' to='bob_befriend_and_alienate_auto_2823@domain.example.com/res1' id='push5c1e40e5fc742979' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2823@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 07:00:02.547 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push6e9e09e6a1bf1f41">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push3e80640b9bc69913">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push027c59f2bbd8d2dd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push0f76b1feeeb64a4f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"pushfff6222dbdda31a9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push90bd29abdfcf9f54">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2823@domain.example.com/res1">>},
                  {<<"id">>,<<"push5c1e40e5fc742979">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2823@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-23 07:00:02.548 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 07:00:02.548 ***🔗
bob_befriend_and_alienate_auto_2823@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 07:00:02.548 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 07:00:02.549 ***🔗
alice_befriend_and_alienate_auto_2823@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 07:00:02.552 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3445.html



=== Ended at 2024-04-23 07:00:02
=== successfully completed test case
=== === Returned value: ok