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

=== Config value:

    [{watchdog,<0.6078.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.21.49/rest_suite.befriend_and_alienate_auto.210050.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.rest_SUITE.logs/run.2023-11-17_15.21.49/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@a557e8d70b1c.2023-11-17_15.09.37"

=== Started at 2023-11-17 15:21:50


*** CT 2023-11-17 15:21:50.390 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2676.html

*** User 2023-11-17 15:21:50.409 ***🔗
alicE_befriend_and_alienate_auto_2711@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-17 15:21:50.410 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47c4bc67574c9f7d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:21:50.410 ***🔗
alicE_befriend_and_alienate_auto_2711@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-17 15:21:50.410 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI3MTEAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:21:50.411 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:21:50.411 ***🔗
alicE_befriend_and_alienate_auto_2711@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-17 15:21:50.411 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5504ab8b0b7ca2a0' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2711@domain.example.com'>

*** User 2023-11-17 15:21:50.412 ***🔗
alicE_befriend_and_alienate_auto_2711@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-17 15:21:50.412 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<iq type='set' id='51de69ecb67420e02e43f899004f80d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:50.413 ***🔗
alicE_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq id='51de69ecb67420e02e43f899004f80d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2711@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:50.413 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<iq type='set' id='b50c0b0400ea2ff02466dc7a38480429'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:50.414 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='b50c0b0400ea2ff02466dc7a38480429' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:50.414 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:21:50.415 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1'/>



*** User 2023-11-17 15:21:50.416 ***🔗
bOb_befriend_and_alienate_auto_2711@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-17 15:21:50.416 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c6afb143dcdc3a4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:21:50.416 ***🔗
bOb_befriend_and_alienate_auto_2711@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-17 15:21:50.417 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNzExAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:21:50.417 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:21:50.418 ***🔗
bOb_befriend_and_alienate_auto_2711@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-17 15:21:50.418 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='221cd56eb3661b71' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2711@domain.example.com'>

*** User 2023-11-17 15:21:50.418 ***🔗
bOb_befriend_and_alienate_auto_2711@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-17 15:21:50.418 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<iq type='set' id='6133a31c7bfd3f93e5a8ed2e4a4f45e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:50.418 ***🔗
bOb_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq id='6133a31c7bfd3f93e5a8ed2e4a4f45e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2711@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:50.418 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<iq type='set' id='6905b7484012b3a83aa40192fd6e68d7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:50.419 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='6905b7484012b3a83aa40192fd6e68d7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:50.419 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:21:50.421 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1'/>



*** User 2023-11-17 15:21:50.423 ***🔗
REST request:
Code: 200
Req: {<0.6197.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"64ed7db2b26275d7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,878}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.425 ***🔗
REST request:
Code: 200
Req: {<0.6202.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f467f6c144c9bd6f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,990}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.439 ***🔗
REST request:
Code: 204
Req: {<0.6208.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com/bob_befriend_and_alienate_auto_2711@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"504fe69fb3c1d8c7">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>}],
         <<>>,80,13739}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com/bob_befriend_and_alienate_auto_2711@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.441 ***🔗
REST request:
Code: 200
Req: {<0.6229.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dc726947edfc43bc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2711@domain.example.com\",\"ask\":\"none\"}]">>,
         226,1357}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.443 ***🔗
REST request:
Code: 200
Req: {<0.6231.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3918b83ac03bd5ff">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2711@domain.example.com\",\"ask\":\"none\"}]">>,
         228,939}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.515 ***🔗
REST request:
Code: 204
Req: {<0.6235.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com/bob_befriend_and_alienate_auto_2711@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"469bb0149e294d61">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>}],
         <<>>,80,71142}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com/bob_befriend_and_alienate_auto_2711@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.517 ***🔗
REST request:
Code: 200
Req: {<0.6241.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b65c86ec35a2f949">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1287}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.519 ***🔗
REST request:
Code: 200
Req: {<0.6243.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b457b0c37526199e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:21:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1042}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2711@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push975c9c71ee5127fb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='pushcade50492c1b533f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='pusha4b3f565fb0c09d4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push017f83c378e59317' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1'/>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push617d32db316237b4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' id='pusheb88f2b83c141763' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:50.520 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:21:55.521 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push975c9c71ee5127fb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"pushcade50492c1b533f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"pusha4b3f565fb0c09d4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push017f83c378e59317">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push617d32db316237b4">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"pusheb88f2b83c141763">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push8a6807fa0ef1b2f0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push57735b10583a705f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push44132d2fd1a10c61' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push0ec7033561c8f422' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push16054f44c0b9c242' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push7f6557ea296b7b6a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' type='unsubscribed'/>



*** User 2023-11-17 15:21:55.521 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2711@domain.example.com' to='bob_befriend_and_alienate_auto_2711@domain.example.com/res1' id='push41752a4e03cdbf5c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2711@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:22:00.522 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push8a6807fa0ef1b2f0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push57735b10583a705f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push44132d2fd1a10c61">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push0ec7033561c8f422">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push16054f44c0b9c242">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push7f6557ea296b7b6a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2711@domain.example.com/res1">>},
                  {<<"id">>,<<"push41752a4e03cdbf5c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2711@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-17 15:22:00.522 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:00.522 ***🔗
bob_befriend_and_alienate_auto_2711@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:22:00.522 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:00.523 ***🔗
alice_befriend_and_alienate_auto_2711@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:00.525 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2695.html



=== Ended at 2023-11-17 15:22:00
=== successfully completed test case
=== === Returned value: ok