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

=== Config value:

    [{watchdog,<0.30423.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/mongooseimctl_suite.presence_after_add_rosteritem.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:55:47


*** CT 2022-03-18 10:55:47.662 *** View log from node mongooseim@localhost when started mongooseim@localhost_3837.html
*** CT 2022-03-18 10:55:47.663 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1973.html

*** User 2022-03-18 10:55:47.664 ***
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-03-18 10:55:47.665 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd6fc7379afcbaa3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:47.665 ***
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-03-18 10:55:47.665 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:55:47.666 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:47.666 ***
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-03-18 10:55:47.666 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0960684147e981a2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:47.666 ***
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-03-18 10:55:47.667 ***
alicE@localhost/res1 out
<iq type='set' id='476612e3e4eadfddffa80db9f460a38b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:47.667 ***
alicE@localhost/res1 in
<iq id='476612e3e4eadfddffa80db9f460a38b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:47.667 ***
alicE@localhost/res1 out
<iq type='set' id='d1d72947ee7ed633897945d841e330e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:47.667 ***
alicE@localhost/res1 in
<iq type='result' id='d1d72947ee7ed633897945d841e330e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:47.667 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:47.668 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:47.668 ***
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-03-18 10:55:47.668 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce4ae2285860c8b0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:47.669 ***
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-03-18 10:55:47.669 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:55:47.670 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:47.670 ***
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-03-18 10:55:47.670 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d7e4a9bdd469f2d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:47.670 ***
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-03-18 10:55:47.670 ***
bOb@localhost/res1 out
<iq type='set' id='887a063218e1b9b473e7730dcdeeaa0b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:47.671 ***
bOb@localhost/res1 in
<iq id='887a063218e1b9b473e7730dcdeeaa0b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:47.671 ***
bOb@localhost/res1 out
<iq type='set' id='541b7892de2d9749b398c8dade3e886f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:47.671 ***
bOb@localhost/res1 in
<iq type='result' id='541b7892de2d9749b398c8dade3e886f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:47.671 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:47.673 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:48.064 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE localhost bOb localhost MyBob MyGroup both
Result "Added the item to the roster of alicE@localhost\n"
ExitStatus 0

*** User 2022-03-18 10:55:48.065 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:48.065 ***
bOb@localhost/res1 in
<presence from='alicE@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:48.065 ***
alicE@localhost/res1 out
<iq type='set' id='f614b30c1ce12732fc8474aaa08b83fe'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-03-18 10:55:48.065 ***
alicE@localhost/res1 in
<iq from='alicE@localhost/res1' to='alicE@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='MyBob' subscription='both'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:55:48.065 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:48.066 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push39d2d126e6d6f677' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='MyBob' jid='bob@localhost'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:55:48.066 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:55:48.066 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:55:48.066 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:55:48.067 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:55:48.068 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1973.html
*** CT 2022-03-18 10:55:48.069 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3837.html



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


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