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

=== Config value:

    [{watchdog,<0.22162.1>},
     {ctl_auth_mods,[ejabberd_auth_rdbms,ejabberd_auth_anonymous,
                     ejabberd_auth_rdbms]},
     {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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/mongooseimctl_suite.rosteritem_rw.html"},
     {tc_group_properties,[{name,roster},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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:02:22


*** CT 2022-05-11 09:02:22.186 *** View log from node mongooseim@localhost when started mongooseim@localhost_1931.html
*** CT 2022-05-11 09:02:22.187 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

*** User 2022-05-11 09:02:22.189 ***
alicE@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-05-11 09:02:22.189 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2f6b09185b125f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:22.190 ***
alicE@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-05-11 09:02:22.190 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 09:02:22.191 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:22.191 ***
alicE@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-05-11 09:02:22.191 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='261ec55beec95b50' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:22.191 ***
alicE@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-05-11 09:02:22.191 ***
alicE@domain.example.com/res1 out
<iq type='set' id='a8d8c7b53918ca50b6625334259d4e73'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:22.191 ***
alicE@domain.example.com/res1 in
<iq id='a8d8c7b53918ca50b6625334259d4e73' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:22.191 ***
alicE@domain.example.com/res1 out
<iq type='set' id='56362707d4f6035917714e1aa61353a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:22.192 ***
alicE@domain.example.com/res1 in
<iq type='result' id='56362707d4f6035917714e1aa61353a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:22.192 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:02:22.193 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:22.394 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE domain.example.com bOb domain.example.com MyBob MyGroup both
Result "Added the item to the roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-05-11 09:02:22.607 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE domain.example.com mike domain.example.com My Mike My Group both
Result "Added the item to the roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-05-11 09:02:22.608 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='MyBob' subscription='both'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:22.608 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@domain.example.com' name='My Mike' subscription='both'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:22.789 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE domain.example.com
Result "mike@domain.example.com\tMy Mike\tboth\tnone\tMy Group\nbob@domain.example.com\tMyBob\tboth\tnone\tMyGroup\n"
ExitStatus 0

*** User 2022-05-11 09:02:22.790 ***
alicE@domain.example.com/res1 out
<iq type='get' id='ae57ab1e622bc2f68ffe69d9f76ef13b'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-05-11 09:02:22.791 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='ae57ab1e622bc2f68ffe69d9f76ef13b' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' name='MyBob' jid='bob@domain.example.com'>
			<group>MyGroup</group>
		</item>
		<item subscription='both' name='My Mike' jid='mike@domain.example.com'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:22.990 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem alicE domain.example.com bOb domain.example.com
Result "The item removed from roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-05-11 09:02:22.990 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2022-05-11 09:02:23.186 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE domain.example.com
Result "mike@domain.example.com\tMy Mike\tboth\tnone\tMy Group\n"
ExitStatus 0

*** User 2022-05-11 09:02:23.187 ***
alicE@domain.example.com/res1 out
<iq type='set' id='359e11fcfcb7d51fec3175e0b909f288'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2022-05-11 09:02:23.189 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push914c38f3b8818e8b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='My Mike' jid='mike@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-11 09:02:23.190 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='359e11fcfcb7d51fec3175e0b909f288' type='result'/>



*** User 2022-05-11 09:02:23.191 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:23.191 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:02:23.193 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:02:23.194 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1931.html



=== Ended at 2022-05-11 09:02:23
=== successfully completed test case
=== === Returned value: ok


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