=== Test case: presence_SUITE:add_contact/1 (click for source code)

=== Config value:

    [{watchdog,<0.10972.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.add_contact.20613.html"},
     {tc_group_properties,[{name,roster},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:54:57


*** CT 2022-04-05 07:54:57.492 *** View log from node mongooseim@localhost when started mongooseim@localhost_4594.html
*** CT 2022-04-05 07:54:57.492 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

*** User 2022-04-05 07:54:57.533 ***
alicE_add_contact_1224@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-04-05 07:54:57.534 ***
alicE_add_contact_1224@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b92e98051e975da' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:57.534 ***
alicE_add_contact_1224@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-04-05 07:54:57.534 ***
alicE_add_contact_1224@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzEyMjQAbWF0eWdyeXNh</auth>



*** User 2022-04-05 07:54:57.540 ***
alicE_add_contact_1224@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:57.540 ***
alicE_add_contact_1224@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-04-05 07:54:57.541 ***
alicE_add_contact_1224@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2035f88a7307aa1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:57.541 ***
alicE_add_contact_1224@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-04-05 07:54:57.541 ***
alicE_add_contact_1224@localhost/res1 out
<iq type='set' id='4e115be3772a2ed5643807a417f612f0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:57.543 ***
alicE_add_contact_1224@localhost/res1 in
<iq id='4e115be3772a2ed5643807a417f612f0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1224@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:57.543 ***
alicE_add_contact_1224@localhost/res1 out
<iq type='set' id='eba1de1bd4a7f36fe9782fd34676aef6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:57.544 ***
alicE_add_contact_1224@localhost/res1 in
<iq type='result' id='eba1de1bd4a7f36fe9782fd34676aef6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:57.545 ***
alicE_add_contact_1224@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:57.553 ***
alicE_add_contact_1224@localhost/res1 in
<presence from='alicE_add_contact_1224@localhost/res1' to='alice_add_contact_1224@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:57.557 ***
bOb_add_contact_1224@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-04-05 07:54:57.560 ***
bOb_add_contact_1224@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99a9a3b0ff89c732' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:57.560 ***
bOb_add_contact_1224@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-04-05 07:54:57.560 ***
bOb_add_contact_1224@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xMjI0AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-05 07:54:57.567 ***
bOb_add_contact_1224@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:57.567 ***
bOb_add_contact_1224@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-04-05 07:54:57.567 ***
bOb_add_contact_1224@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='729d594f1b058c68' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:57.568 ***
bOb_add_contact_1224@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-04-05 07:54:57.568 ***
bOb_add_contact_1224@localhost/res1 out
<iq type='set' id='c817b65ebddb6bb087a0ac51c186e7ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:57.568 ***
bOb_add_contact_1224@localhost/res1 in
<iq id='c817b65ebddb6bb087a0ac51c186e7ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1224@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:57.568 ***
bOb_add_contact_1224@localhost/res1 out
<iq type='set' id='c855400d54030dda7356f8e9bc8dcd49'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:57.569 ***
bOb_add_contact_1224@localhost/res1 in
<iq type='result' id='c855400d54030dda7356f8e9bc8dcd49'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:57.569 ***
bOb_add_contact_1224@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:57.577 ***
bOb_add_contact_1224@localhost/res1 in
<presence from='bOb_add_contact_1224@localhost/res1' to='bob_add_contact_1224@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:57.577 ***
alicE_add_contact_1224@localhost/res1 out
<iq type='set' id='b4cffc4f0f41490fe8d7d46f87f0b2d0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1224@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:57.596 ***
alicE_add_contact_1224@localhost/res1 in
<iq from='alicE_add_contact_1224@localhost' to='alicE_add_contact_1224@localhost/res1' id='push71f2f3b9fbcb70e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1224@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:57.597 ***
alicE_add_contact_1224@localhost/res1 in
<iq from='alicE_add_contact_1224@localhost' to='alicE_add_contact_1224@localhost/res1' id='b4cffc4f0f41490fe8d7d46f87f0b2d0' type='result'/>



*** User 2022-04-05 07:54:57.597 ***
alicE_add_contact_1224@localhost/res1 out
<iq to='alicE_add_contact_1224@localhost' id='push71f2f3b9fbcb70e1' type='result'/>



*** User 2022-04-05 07:54:57.597 ***
alicE_add_contact_1224@localhost/res1 out
<iq type='get' id='411d0c16e1041177fbc71b1e3ff844b6'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-04-05 07:54:57.604 ***
alicE_add_contact_1224@localhost/res1 in
<iq from='alicE_add_contact_1224@localhost' to='alicE_add_contact_1224@localhost/res1' id='411d0c16e1041177fbc71b1e3ff844b6' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1224@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:57.604 ***
bOb_add_contact_1224@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:57.604 ***
bOb_add_contact_1224@localhost/res1 in
</stream:stream>

*** User 2022-04-05 07:54:57.604 ***
alicE_add_contact_1224@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:57.605 ***
alicE_add_contact_1224@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:57.617 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:57.618 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4594.html



=== Ended at 2022-04-05 07:54:57
=== successfully completed test case
=== === Returned value: ok