=== Test case: mongooseimctl_SUITE:process_rosteritems_delete_advanced2/1 (click for source code)

=== Config value:

    [{watchdog,<0.28440.0>},
     {ctl_auth_mods,[ejabberd_auth_ldap,ejabberd_auth_anonymous,
                     ejabberd_auth_ldap]},
     {roster_template,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data/roster.template"},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.29.38/mongooseimctl_suite.process_rosteritems_delete_advanced2.html"},
     {tc_group_properties,[{name,roster_advanced},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mongooseimctl_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.29.38/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:30:12


*** CT 2022-01-27 15:30:12.787 *** View log from node mongooseim@localhost when started mongooseim@localhost_4087.html
*** CT 2022-01-27 15:30:12.787 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2287.html

*** User 2022-01-27 15:30:12.788 ***
alicE@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-01-27 15:30:12.789 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6d54ee361b126e3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.789 ***
alicE@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>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-01-27 15:30:12.789 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:30:12.791 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:30:12.791 ***
alicE@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-01-27 15:30:12.791 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85ec4afd557b1bfa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.791 ***
alicE@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-01-27 15:30:12.791 ***
alicE@localhost/res1 out
<iq type='set' id='2b31648d7fed2781d584d4fb7aa92519'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.791 ***
alicE@localhost/res1 in
<iq id='2b31648d7fed2781d584d4fb7aa92519' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.792 ***
alicE@localhost/res1 out
<iq type='set' id='2305d0d21b055d43f8994fd2b45afc60'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.792 ***
alicE@localhost/res1 in
<iq type='result' id='2305d0d21b055d43f8994fd2b45afc60'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.792 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:30:12.793 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:30:12.793 ***
bOb@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-01-27 15:30:12.793 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da574daeaa842671' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.794 ***
bOb@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>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-01-27 15:30:12.794 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:30:12.795 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:30:12.795 ***
bOb@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-01-27 15:30:12.795 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2445ac197e2afa7e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.795 ***
bOb@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-01-27 15:30:12.795 ***
bOb@localhost/res1 out
<iq type='set' id='0eb442bcf1d7e8ddd16c790e3a69317c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.795 ***
bOb@localhost/res1 in
<iq id='0eb442bcf1d7e8ddd16c790e3a69317c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.795 ***
bOb@localhost/res1 out
<iq type='set' id='1c9bcad66fefe0ac08aa295bb243dd5e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.796 ***
bOb@localhost/res1 in
<iq type='result' id='1c9bcad66fefe0ac08aa295bb243dd5e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.796 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:30:12.796 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:30:12.797 ***
mike@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-01-27 15:30:12.797 ***
mike@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c9ed9301cbcb0ae' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.797 ***
mike@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>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-01-27 15:30:12.797 ***
mike@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2UAbmljbmllbWE=</auth>



*** User 2022-01-27 15:30:12.798 ***
mike@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:30:12.798 ***
mike@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-01-27 15:30:12.798 ***
mike@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd2d937cd252a180' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.799 ***
mike@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-01-27 15:30:12.799 ***
mike@localhost/res1 out
<iq type='set' id='7ab4db781611ad8a6f4404b67a690a25'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.799 ***
mike@localhost/res1 in
<iq id='7ab4db781611ad8a6f4404b67a690a25' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.799 ***
mike@localhost/res1 out
<iq type='set' id='87a8856c4804ca0a23ca8d545511acc6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.799 ***
mike@localhost/res1 in
<iq type='result' id='87a8856c4804ca0a23ca8d545511acc6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.799 ***
mike@localhost/res1 out
<presence/>



*** User 2022-01-27 15:30:12.800 ***
mike@localhost/res1 in
<presence from='mike@localhost/res1' to='mike@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:30:12.801 ***
kate@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-01-27 15:30:12.801 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9e82c18539290f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.801 ***
kate@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>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-01-27 15:30:12.801 ***
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-01-27 15:30:12.802 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:30:12.802 ***
kate@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-01-27 15:30:12.802 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c197f8c9e03d045' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:12.802 ***
kate@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-01-27 15:30:12.802 ***
kate@localhost/res1 out
<iq type='set' id='7bae7ec61ee59aeca4b01f024ff5db29'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.803 ***
kate@localhost/res1 in
<iq id='7bae7ec61ee59aeca4b01f024ff5db29' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:12.803 ***
kate@localhost/res1 out
<iq type='set' id='c9a03287bb9333bdc37156b82e823590'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.803 ***
kate@localhost/res1 in
<iq type='result' id='c9a03287bb9333bdc37156b82e823590'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:12.803 ***
kate@localhost/res1 out
<presence/>



*** User 2022-01-27 15:30:12.804 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:30:12.956 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE localhost mike localhost DearMike MyGroup to
Result "Added the item to the roster of alicE@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:13.101 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE localhost kate localhost HateHerSheHasSoNiceLegs MyGroup to
Result "Added the item to the roster of alicE@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:13.247 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem bOb localhost alicE localhost Girlfriend MyGroup from
Result "Added the item to the roster of bOb@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:13.247 ***
alicE@localhost/res1 in
<iq from='alicE@localhost/res1' to='alicE@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@localhost' name='DearMike' subscription='to'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:30:13.247 ***
alicE@localhost/res1 in
<iq from='alicE@localhost/res1' to='alicE@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate@localhost' name='HateHerSheHasSoNiceLegs' subscription='to'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:30:13.247 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:30:18.248 ***
bOb@localhost/res1 in
<iq from='bOb@localhost/res1' to='bOb@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Girlfriend' subscription='from'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:30:23.397 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  process_rosteritems delete to:from any al.c[e]@.*host:((b[o]b)|(mike))@loc.*t2 .ik[ea]@localho+.*:k@loc.*st:(alice)+@.*:no
Result "There are 7 roster items in total.\nMatches: alice@localhost mike@localhost\n\n"
ExitStatus 0

*** User 2022-01-27 15:30:23.544 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem alicE localhost mike localhost
Result "The item removed from roster of alicE@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:23.687 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem alicE localhost kate localhost
Result "The item removed from roster of alicE@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:23.823 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem bOb localhost alicE localhost
Result "The item removed from roster of bOb@localhost\n"
ExitStatus 0

*** User 2022-01-27 15:30:23.823 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:23.823 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:30:23.823 ***
mike@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:23.824 ***
mike@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:30:23.824 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:23.824 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:30:23.824 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:23.824 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:30:23.826 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2287.html
*** CT 2022-01-27 15:30:23.826 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4087.html



=== Ended at 2022-01-27 15:30:23
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result