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

=== Config value:

    [{watchdog,<0.29738.0>},
     {ctl_auth_mods,[ejabberd_auth_internal,ejabberd_auth_anonymous,
                     ejabberd_auth_internal]},
     {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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:31:51


*** CT 2022-01-27 15:31:51.492 *** View log from node mongooseim@localhost when started mongooseim@localhost_4346.html
*** CT 2022-01-27 15:31:51.492 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2320.html

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

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



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



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

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



*** User 2022-01-27 15:31:51.495 ***
alicE@localhost/res1 in
<iq id='0b14752985d742709989e074dcf943d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:51.495 ***
alicE@localhost/res1 out
<iq type='set' id='3dd018eeb3231330856c224e660131f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:51.495 ***
alicE@localhost/res1 in
<iq type='result' id='3dd018eeb3231330856c224e660131f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



*** User 2022-01-27 15:31:51.501 ***
mike@localhost/res1 in
<iq id='29a3cb9a5b46d6227622798c91da8b25' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-01-27 15:31:51.840 ***
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:31:52.182 ***
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:31:52.536 ***
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:31:52.536 ***
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:31:52.536 ***
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:31:52.536 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:57.537 ***
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:32:02.884 ***
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:32:03.245 ***
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:32:03.590 ***
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:32:03.928 ***
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:32:03.928 ***
kate@localhost/res1 out
</stream:stream>

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

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

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

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

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

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

*** User 2022-01-27 15:32:03.929 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:03.931 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2320.html
*** CT 2022-01-27 15:32:03.932 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4346.html



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


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