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

=== Config value:

    [{watchdog,<0.6116.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_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.presence_SUITE.logs/run.2022-03-18_10.58.22/presence_suite.add_contact.38659.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:58:23


*** CT 2022-03-18 10:58:23.454 *** View log from node mongooseim@localhost when started mongooseim@localhost_4264.html
*** CT 2022-03-18 10:58:23.455 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2002.html

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

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



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



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

*** User 2022-03-18 10:58:23.467 ***
alicE_add_contact_1184@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:58:23.467 ***
alicE_add_contact_1184@localhost/res1 out
<iq type='set' id='267994410abbf34f83c1136ffb947d8d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.467 ***
alicE_add_contact_1184@localhost/res1 in
<iq id='267994410abbf34f83c1136ffb947d8d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1184@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.468 ***
alicE_add_contact_1184@localhost/res1 out
<iq type='set' id='31f6eb6f5e16f4f030308895cc1e830c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.468 ***
alicE_add_contact_1184@localhost/res1 in
<iq type='result' id='31f6eb6f5e16f4f030308895cc1e830c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.468 ***
alicE_add_contact_1184@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:23.469 ***
alicE_add_contact_1184@localhost/res1 in
<presence from='alicE_add_contact_1184@localhost/res1' to='alice_add_contact_1184@localhost/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-03-18 10:58:23.478 ***
bOb_add_contact_1184@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:58:23.478 ***
bOb_add_contact_1184@localhost/res1 out
<iq type='set' id='b42a0b88bb7d65c6a9b4a92236ed7243'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.478 ***
bOb_add_contact_1184@localhost/res1 in
<iq id='b42a0b88bb7d65c6a9b4a92236ed7243' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1184@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.478 ***
bOb_add_contact_1184@localhost/res1 out
<iq type='set' id='d38edffb0a4af437fbcee6a5302d597d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.478 ***
bOb_add_contact_1184@localhost/res1 in
<iq type='result' id='d38edffb0a4af437fbcee6a5302d597d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.479 ***
bOb_add_contact_1184@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:23.479 ***
bOb_add_contact_1184@localhost/res1 in
<presence from='bOb_add_contact_1184@localhost/res1' to='bob_add_contact_1184@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:23.479 ***
alicE_add_contact_1184@localhost/res1 out
<iq type='set' id='ae2e9819a29a8ff3082501ff71cd035f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1184@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.480 ***
alicE_add_contact_1184@localhost/res1 in
<iq from='alicE_add_contact_1184@localhost' to='alicE_add_contact_1184@localhost/res1' id='push5906fddfe1574d90' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1184@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.480 ***
alicE_add_contact_1184@localhost/res1 in
<iq from='alicE_add_contact_1184@localhost' to='alicE_add_contact_1184@localhost/res1' id='ae2e9819a29a8ff3082501ff71cd035f' type='result'/>



*** User 2022-03-18 10:58:23.480 ***
alicE_add_contact_1184@localhost/res1 out
<iq to='alicE_add_contact_1184@localhost' id='push5906fddfe1574d90' type='result'/>



*** User 2022-03-18 10:58:23.480 ***
alicE_add_contact_1184@localhost/res1 out
<iq type='get' id='cd721ddef3ae7ee685ff5c58e61be46f'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-18 10:58:23.481 ***
alicE_add_contact_1184@localhost/res1 in
<iq from='alicE_add_contact_1184@localhost' to='alicE_add_contact_1184@localhost/res1' id='cd721ddef3ae7ee685ff5c58e61be46f' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1184@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.481 ***
bOb_add_contact_1184@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.481 ***
bOb_add_contact_1184@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:58:23.482 ***
alicE_add_contact_1184@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.482 ***
alicE_add_contact_1184@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:23.500 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2002.html
*** CT 2022-03-18 10:58:23.502 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4264.html



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