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

=== Config value:

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

=== Started at 2023-11-13 19:32:42


*** CT 2023-11-13 19:32:42.489 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2570.html

*** User 2023-11-13 19:32:42.499 ***🔗
alicE_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.500 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae9d4857b947fc5a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:32:42.500 ***🔗
alicE_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.500 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI2NjEAbWF0eWdyeXNh</auth>



*** User 2023-11-13 19:32:42.501 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:32:42.501 ***🔗
alicE_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.501 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75d6e2a76aba2a4b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2661@domain.example.com'>

*** User 2023-11-13 19:32:42.501 ***🔗
alicE_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.501 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<iq type='set' id='3288b3a22929d2c7e7dcf6f6258b650f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:32:42.502 ***🔗
alicE_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq id='3288b3a22929d2c7e7dcf6f6258b650f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2661@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:32:42.502 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<iq type='set' id='ee3078a5780ee47b7fde219a7819ed71'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:42.502 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='ee3078a5780ee47b7fde219a7819ed71' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:42.502 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:32:42.503 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1'/>



*** User 2023-11-13 19:32:42.504 ***🔗
bOb_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.504 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='611c2ebce0e7ec5a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:32:42.505 ***🔗
bOb_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.505 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNjYxAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-13 19:32:42.505 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:32:42.505 ***🔗
bOb_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.506 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99c06b00b4cabf78' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2661@domain.example.com'>

*** User 2023-11-13 19:32:42.506 ***🔗
bOb_befriend_and_alienate_auto_2661@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 2023-11-13 19:32:42.506 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<iq type='set' id='80193a3b14962daa5d048f21e1da19dc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:32:42.506 ***🔗
bOb_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq id='80193a3b14962daa5d048f21e1da19dc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2661@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:32:42.506 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<iq type='set' id='95b6198cbbabf1dec4306591150edec2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:42.507 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='95b6198cbbabf1dec4306591150edec2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:32:42.507 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:32:42.508 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1'/>



*** User 2023-11-13 19:32:42.510 ***🔗
REST request:
Code: 200
Req: {<0.5641.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"143201e50705e511">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1355}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.512 ***🔗
REST request:
Code: 200
Req: {<0.5651.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"39837c8fbc5cc74d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1016}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.527 ***🔗
REST request:
Code: 204
Req: {<0.5653.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com/bob_befriend_and_alienate_auto_2661@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"faa34eedd0ff5433">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>}],
         <<>>,80,14548}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com/bob_befriend_and_alienate_auto_2661@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.529 ***🔗
REST request:
Code: 200
Req: {<0.5673.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1bba1911077e8c17">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2661@domain.example.com\",\"ask\":\"none\"}]">>,
         226,1053}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.531 ***🔗
REST request:
Code: 200
Req: {<0.5677.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c2f976e95514355f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2661@domain.example.com\",\"ask\":\"none\"}]">>,
         228,721}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.538 ***🔗
REST request:
Code: 204
Req: {<0.5679.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com/bob_befriend_and_alienate_auto_2661@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b7cf464040fbb651">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>}],
         <<>>,80,5801}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com/bob_befriend_and_alienate_auto_2661@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.539 ***🔗
REST request:
Code: 200
Req: {<0.5687.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96930490f009e1e4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,947}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.541 ***🔗
REST request:
Code: 200
Req: {<0.5691.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1733e20a0a257c68">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:32:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,940}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2661@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:32:42.541 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='pushe549868ae5832096' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.541 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push4f6308de9fafc371' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.541 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push8b4033ecb31444bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.541 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='pushd2894d2d382c4f8e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1'/>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push80c4d1b5da1734f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push0e046c60ff5451fa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:42.542 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-13 19:32:47.542 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe549868ae5832096">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push4f6308de9fafc371">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push8b4033ecb31444bb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd2894d2d382c4f8e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push80c4d1b5da1734f8">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push0e046c60ff5451fa">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push8564489222e119d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push4c90edb148d6dcf2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1'/>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='pushc0dda377b70fafe7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='pushaaa99a54e44ca54e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.542 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-13 19:32:47.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push1bae53dd8aa01bfd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-13 19:32:47.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='push06ed3b54a07c4056' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:47.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' type='unsubscribed'/>



*** User 2023-11-13 19:32:47.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2661@domain.example.com' to='bob_befriend_and_alienate_auto_2661@domain.example.com/res1' id='pushd82c8e13100c9d81' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2661@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-13 19:32:52.543 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push8564489222e119d1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push4c90edb148d6dcf2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc0dda377b70fafe7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"pushaaa99a54e44ca54e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push1bae53dd8aa01bfd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"push06ed3b54a07c4056">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2661@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd82c8e13100c9d81">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2661@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-13 19:32:52.543 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:32:52.544 ***🔗
bob_befriend_and_alienate_auto_2661@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-13 19:32:52.544 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:32:52.544 ***🔗
alice_befriend_and_alienate_auto_2661@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-13 19:32:52.547 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2589.html



=== Ended at 2023-11-13 19:32:52
=== successfully completed test case
=== === Returned value: ok