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

=== Config value:

    [{watchdog,<0.29611.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_SUITE.logs/run.2022-03-18_10.58.12/rest_suite.befriend_and_alienate_auto.104451.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_SUITE.logs/run.2022-03-18_10.58.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,strategy => fifo,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 =>
            #{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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:58:13


*** CT 2022-03-18 10:58:13.927 *** View log from node mongooseim@localhost when started mongooseim@localhost_1589.html
*** CT 2022-03-18 10:58:13.928 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-18 10:58:13.975 ***
alicE_befriend_and_alienate_auto_1986@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-18 10:58:13.975 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='439264e37e9ed8dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:13.975 ***
alicE_befriend_and_alienate_auto_1986@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-18 10:58:13.975 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE5ODYAbWF0eWdyeXNh</auth>



*** User 2022-03-18 10:58:13.979 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:13.979 ***
alicE_befriend_and_alienate_auto_1986@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-18 10:58:13.979 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f639562de9227b3a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@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-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<iq type='set' id='5fda1188edb56cea61216ae0b686a2f4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq id='5fda1188edb56cea61216ae0b686a2f4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_befriend_and_alienate_auto_1986@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<iq type='set' id='cd13fe3cf0b433921aded60e75c2b9e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq type='result' id='cd13fe3cf0b433921aded60e75c2b9e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:13.980 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:13.983 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1986@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:13.983 ***
bOb_befriend_and_alienate_auto_1986@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-18 10:58:13.984 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b291259e76a7741' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:13.984 ***
bOb_befriend_and_alienate_auto_1986@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-18 10:58:13.984 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xOTg2AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-18 10:58:13.985 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:13.985 ***
bOb_befriend_and_alienate_auto_1986@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-18 10:58:13.985 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b72835073e03f335' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:13.985 ***
bOb_befriend_and_alienate_auto_1986@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-18 10:58:13.985 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<iq type='set' id='03c46746c1c87890cc2e317db6c66096'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:13.986 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq id='03c46746c1c87890cc2e317db6c66096' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_befriend_and_alienate_auto_1986@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:13.986 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<iq type='set' id='2820413006736699a4128246bf6209c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:13.986 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq type='result' id='2820413006736699a4128246bf6209c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:13.987 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:13.988 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1986@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:13.995 ***
REST request:
Code: 200
Req: {<0.29674.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0f61f2ae4f69060b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2134}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.000 ***
REST request:
Code: 200
Req: {<0.29682.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8353e6e3038eaa7c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1524}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.072 ***
REST request:
Code: 204
Req: {<0.29686.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com/bob_befriend_and_alienate_auto_1986@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"092359f0299377ec">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,71180}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com/bob_befriend_and_alienate_auto_1986@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.081 ***
REST request:
Code: 200
Req: {<0.29730.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c8c5c4ba6961d275">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1986@domain.example.com\",\"ask\":\"none\"}]">>,
         226,6837}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.086 ***
REST request:
Code: 200
Req: {<0.29732.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f9e2adb267f7f24e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1986@domain.example.com\",\"ask\":\"none\"}]">>,
         228,1952}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.102 ***
REST request:
Code: 204
Req: {<0.29738.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com/bob_befriend_and_alienate_auto_1986@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7d823ccf1d261059">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,15231}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com/bob_befriend_and_alienate_auto_1986@domain.example.com/manage">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.106 ***
REST request:
Code: 200
Req: {<0.29744.1>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"87bd53114ff6e3de">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2234}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.109 ***
REST request:
Code: 200
Req: {<0.29748.1>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2437bc37bd9f9671">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1573}
Params: #{body => <<>>,method => <<"GET">>,
          path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_1986@domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push121c3bf76580a5b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='pushea7a21dbf1b9e610' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push08a98b69fa7610e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' type='subscribe'/>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push20f62cec009e1b07' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1986@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push38b3701a8fe92acb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' type='subscribed'/>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push1c6208f08aea7fb3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:14.109 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1986@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1986@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-18 10:58:19.110 ***
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push121c3bf76580a5b1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"pushea7a21dbf1b9e610">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push08a98b69fa7610e6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push20f62cec009e1b07">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push38b3701a8fe92acb">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push1c6208f08aea7fb3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]}]

*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push66a0c6b77e88c6af' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' type='subscribe'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push69b583fc54237967' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1986@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push94794e6fb1e50a79' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' type='subscribed'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push70d8af4d3975ae57' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1986@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='pushefb88d07822fbf6f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' type='unsubscribe'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push097d38939cc66ab0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' type='unsubscribed'/>



*** User 2022-03-18 10:58:19.110 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1986@domain.example.com' to='bob_befriend_and_alienate_auto_1986@domain.example.com/res1' id='push8dfd1d5f48b35734' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_1986@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:24.111 ***
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push66a0c6b77e88c6af">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push69b583fc54237967">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push94794e6fb1e50a79">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push70d8af4d3975ae57">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"pushefb88d07822fbf6f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push097d38939cc66ab0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_1986@domain.example.com/res1">>},
                  {<<"id">>,<<"push8dfd1d5f48b35734">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_1986@domain.example.com">>}],
                                 []}]}]}]

*** User 2022-03-18 10:58:24.111 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:24.112 ***
bOb_befriend_and_alienate_auto_1986@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:58:24.112 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:24.112 ***
alicE_befriend_and_alienate_auto_1986@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:24.114 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-18 10:58:24.115 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1597.html



=== Ended at 2022-03-18 10:58:24
=== successfully completed test case
=== === Returned value: ok