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

=== Config value:

    [{watchdog,<0.10938.2>},
     {{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,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_SUITE.logs/run.2022-03-07_16.09.23/rest_suite.befriend_and_alienate_auto.164482.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_SUITE.logs/run.2022-03-07_16.09.23/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:09:24


*** CT 2022-03-07 16:09:24.927 *** View log from node mongooseim@localhost when started mongooseim@localhost_4907.html
*** CT 2022-03-07 16:09:24.928 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:09:24.937 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:09:24.937 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1d1d0422721f36c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:24.938 ***
alicE_befriend_and_alienate_auto_2216@localhost/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:09:24.938 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzIyMTYAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:09:24.938 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:24.938 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:09:24.938 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a9b6b0434ddaee9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:24.939 ***
alicE_befriend_and_alienate_auto_2216@localhost/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:09:24.939 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<iq type='set' id='f02ec1b70a7f95a44da75ad8a111a5b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:24.939 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq id='f02ec1b70a7f95a44da75ad8a111a5b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_befriend_and_alienate_auto_2216@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:24.939 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<iq type='set' id='8aa3c9c8630e8563c8c7b659a16c2809'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:24.939 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq type='result' id='8aa3c9c8630e8563c8c7b659a16c2809'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:24.940 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:24.942 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2216@localhost/res1' to='alice_befriend_and_alienate_auto_2216@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:24.943 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:09:24.943 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c61707da1f7daa02' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:24.943 ***
bOb_befriend_and_alienate_auto_2216@localhost/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:09:24.943 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yMjE2AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd0f1f5c1b2808f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/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:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<iq type='set' id='b23d99b0d57b0d959ce30298aad0eaf4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq id='b23d99b0d57b0d959ce30298aad0eaf4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_befriend_and_alienate_auto_2216@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:24.944 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<iq type='set' id='673f770bb3ea74bbdc92914af78df678'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:24.945 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq type='result' id='673f770bb3ea74bbdc92914af78df678'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:24.945 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:24.947 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2216@localhost/res1' to='bob_befriend_and_alienate_auto_2216@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:24.951 ***
REST request:
Code: 200
Req: {<0.10999.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"994ca548ce6bb4bb">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2367}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:24.955 ***
REST request:
Code: 200
Req: {<0.11011.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"09438041180d35c9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3796}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:24.981 ***
REST request:
Code: 204
Req: {<0.11025.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost/bob_befriend_and_alienate_auto_2216@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4f3b0104d666ff40">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,24483}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost/bob_befriend_and_alienate_auto_2216@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:24.983 ***
REST request:
Code: 200
Req: {<0.11061.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e4d70dbaed260416">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"92">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2216@localhost\",\"ask\":\"none\"}]">>,
         216,1391}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:24.986 ***
REST request:
Code: 200
Req: {<0.11065.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e941d0953588893d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"94">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2216@localhost\",\"ask\":\"none\"}]">>,
         218,2314}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:25.001 ***
REST request:
Code: 204
Req: {<0.11067.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost/bob_befriend_and_alienate_auto_2216@localhost/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2a46c904a866f17d">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,14206}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost/bob_befriend_and_alienate_auto_2216@localhost/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:25.004 ***
REST request:
Code: 200
Req: {<0.11079.2>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5a19a1681a184d3f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2404}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:25.006 ***
REST request:
Code: 200
Req: {<0.11081.2>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"58ec265b18695b20">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1695}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2216@localhost">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='push3a81a740a905949c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='push5ec44f670775c07f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='push8dd45664d96c0738' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' type='subscribe'/>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2216@localhost/res1' to='alice_befriend_and_alienate_auto_2216@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='push5a01923bd46df4c9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' type='subscribed'/>



*** User 2022-03-07 16:09:25.006 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='pushdbf324d56ae8e158' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.007 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_2216@localhost' to='alice_befriend_and_alienate_auto_2216@localhost/res1' id='pushe48280e7efc576dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:25.007 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_2216@localhost/res1' to='alice_befriend_and_alienate_auto_2216@localhost/res1' type='unavailable'/>



*** User 2022-03-07 16:09:30.007 ***
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push3a81a740a905949c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push5ec44f670775c07f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push8dd45664d96c0738">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push5a01923bd46df4c9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"pushdbf324d56ae8e158">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"pushe48280e7efc576dc">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]}]

*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='push91fa1733f659323a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' type='subscribe'/>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='push37715c5ac067388d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='push53828b10006de2c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2216@localhost/res1' to='bob_befriend_and_alienate_auto_2216@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='push4eefcaf076251881' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.007 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' type='subscribed'/>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_2216@localhost/res1' to='bob_befriend_and_alienate_auto_2216@localhost/res1' type='unavailable'/>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='push01e0255f0d4ad7e9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' type='unsubscribe'/>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='pushc124ac451df9bcce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' type='unsubscribed'/>



*** User 2022-03-07 16:09:30.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_2216@localhost' to='bob_befriend_and_alienate_auto_2216@localhost/res1' id='pushc7eacd72b153a74d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2216@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:35.008 ***
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push91fa1733f659323a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push37715c5ac067388d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push53828b10006de2c3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push4eefcaf076251881">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"push01e0255f0d4ad7e9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"pushc124ac451df9bcce">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2216@localhost/res1">>},
                  {<<"id">>,<<"pushc7eacd72b153a74d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2216@localhost">>}],
                                 []}]}]}]

*** User 2022-03-07 16:09:35.008 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:35.009 ***
bOb_befriend_and_alienate_auto_2216@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:09:35.009 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:35.009 ***
alicE_befriend_and_alienate_auto_2216@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:09:35.011 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:09:35.012 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4915.html



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