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

=== Config value:

    [{watchdog,<0.28331.1>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.rest_SUITE.logs/run.2022-03-07_16.05.12/rest_suite.befriend_and_alienate_auto.98691.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.rest_SUITE.logs/run.2022-03-07_16.05.12/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},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_search_fields =>
                  [{<<"User">>,<<"%u">>},
                   {<<"Full Name">>,<<"displayName">>},
                   {<<"Given Name">>,<<"givenName">>},
                   {<<"Middle Name">>,<<"initials">>},
                   {<<"Family Name">>,<<"sn">>},
                   {<<"Nickname">>,<<"%u">>},
                   {<<"Birthday">>,<<"birthDay">>},
                   {<<"Country">>,<<"c">>},
                   {<<"City">>,<<"l">>},
                   {<<"Email">>,<<"mail">>},
                   {<<"Organization Name">>,<<"o">>},
                   {<<"Organization Unit">>,<<"ou">>}],
              ldap_search_operator => 'and',
              ldap_search_reported =>
                  [{<<"Full Name">>,<<"FN">>},
                   {<<"Given Name">>,<<"FIRST">>},
                   {<<"Middle Name">>,<<"MIDDLE">>},
                   {<<"Family Name">>,<<"LAST">>},
                   {<<"Nickname">>,<<"NICK">>},
                   {<<"Birthday">>,<<"BDAY">>},
                   {<<"Country">>,<<"CTRY">>},
                   {<<"City">>,<<"LOCALITY">>},
                   {<<"Email">>,<<"EMAIL">>},
                   {<<"Organization Name">>,<<"ORGNAME">>},
                   {<<"Organization Unit">>,<<"ORGUNIT">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_vcard_map =>
                  [{<<"NICKNAME">>,<<"%u">>,[]},
                   {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                   {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                   {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                   {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                   {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                   {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                   {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                   {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                   {<<"STREET">>,<<"%s">>,[<<"street">>]},
                   {<<"REGION">>,<<"%s">>,[<<"st">>]},
                   {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                   {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                   {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                   {<<"DESC">>,<<"%s">>,[<<"description">>]},
                   {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                   {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                   {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                   {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                   {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
              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@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:05:13


*** CT 2022-03-07 16:05:13.635 *** View log from node mongooseim@localhost when started mongooseim@localhost_1553.html
*** CT 2022-03-07 16:05:13.636 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-07 16:05:13.642 ***
alicE_befriend_and_alienate_auto_1748@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 2022-03-07 16:05:13.643 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc3067f13aeb30a8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:13.643 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:13.643 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE3NDgAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:05:13.644 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:13.644 ***
alicE_befriend_and_alienate_auto_1748@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 2022-03-07 16:05:13.645 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9fb2918977b8da3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:13.645 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:13.645 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<iq type='set' id='f8666094c7817aa78fa204a1ece63e78'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:13.645 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq id='f8666094c7817aa78fa204a1ece63e78' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_befriend_and_alienate_auto_1748@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:13.645 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<iq type='set' id='a5e1d1a12dd3630d9aa1b82eb84251eb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:13.646 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq type='result' id='a5e1d1a12dd3630d9aa1b82eb84251eb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:13.646 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:13.647 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1748@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:13.648 ***
bOb_befriend_and_alienate_auto_1748@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 2022-03-07 16:05:13.649 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a2b33eb97104cee' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:13.649 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:13.649 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNzQ4AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 16:05:13.649 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:13.649 ***
bOb_befriend_and_alienate_auto_1748@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 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ec1310dc7a1262a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<iq type='set' id='9d8d9177f12ed91073ae90b551ea28e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq id='9d8d9177f12ed91073ae90b551ea28e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_befriend_and_alienate_auto_1748@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<iq type='set' id='e9f8f36f670301fafcaed62e09cbcba2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:13.650 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq type='result' id='e9f8f36f670301fafcaed62e09cbcba2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:13.651 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:13.652 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1748@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:13.655 ***
REST request:
Code: 200
Req: {<0.28394.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f504a63c04ae497a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1407}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.658 ***
REST request:
Code: 200
Req: {<0.28402.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a97b0cb61e4a2558">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2128}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.679 ***
REST request:
Code: 204
Req: {<0.28408.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com/bob_befriend_and_alienate_auto_1748@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"15e80c36b85b79af">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,19681}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com/bob_befriend_and_alienate_auto_1748@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.681 ***
REST request:
Code: 200
Req: {<0.28438.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"786edc0c8e6ce7dc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1748@domain.example.com\",\"ask\":\"none\"}]">>,
         226,1040}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.683 ***
REST request:
Code: 200
Req: {<0.28445.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d94f0b689a3f8749">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1748@domain.example.com\",\"ask\":\"none\"}]">>,
         228,918}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.693 ***
REST request:
Code: 204
Req: {<0.28452.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com/bob_befriend_and_alienate_auto_1748@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fc554bb73a1b9148">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,9282}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com/bob_befriend_and_alienate_auto_1748@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.695 ***
REST request:
Code: 200
Req: {<0.28460.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c32627d3ff9494b3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1017}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.697 ***
REST request:
Code: 200
Req: {<0.28462.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"85e52e321d532381">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:05:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,942}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1748@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='push8a79760704d432a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushbb1a4f9a95ebe1e0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushe2d84edba726418d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' type='subscribe'/>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1748@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='push9ea0a5df2de06cf2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.697 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' type='subscribed'/>



*** User 2022-03-07 16:05:13.698 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushbdae3d7d19b391e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.698 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushd6280c6fe79fa96e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:13.698 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1748@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1748@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-07 16:05:18.699 ***
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"push8a79760704d432a5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushbb1a4f9a95ebe1e0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe2d84edba726418d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"push9ea0a5df2de06cf2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushbdae3d7d19b391e5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd6280c6fe79fa96e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]}]

*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushf04c442b319166e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' type='subscribe'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='push9bb84634ef47c5de' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushb917f540709149b3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1748@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='push0adc037102f99c84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' type='subscribed'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1748@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='push62d98a30b29d8ade' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' type='unsubscribe'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushd2c6175cf1f2d679' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' type='unsubscribed'/>



*** User 2022-03-07 16:05:18.699 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1748@domain.example.com' to='bob_befriend_and_alienate_auto_1748@domain.example.com/res1' id='pushb198dde0f41af62d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_1748@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:23.700 ***
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushf04c442b319166e3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"push9bb84634ef47c5de">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushb917f540709149b3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"push0adc037102f99c84">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"push62d98a30b29d8ade">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd2c6175cf1f2d679">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1748@domain.example.com/res1">>},
                  {<<"id">>,<<"pushb198dde0f41af62d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1748@domain.example.com">>}],
                                 []}]}]}]

*** User 2022-03-07 16:05:23.700 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:23.700 ***
bOb_befriend_and_alienate_auto_1748@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-07 16:05:23.701 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:23.701 ***
alicE_befriend_and_alienate_auto_1748@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-07 16:05:23.703 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-07 16:05:23.704 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1561.html



=== Ended at 2022-03-07 16:05:23
=== successfully completed test case
=== === Returned value: ok