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

=== Config value:

    [{watchdog,<0.1220.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/presence_suite.add_contact.90500.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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/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@b90e3713176e.2022-03-07_09.29.55"

=== Started at 2022-03-07 09:39:50


*** CT 2022-03-07 09:39:50.252 *** View log from node mongooseim@localhost when started mongooseim@localhost_4591.html
*** CT 2022-03-07 09:39:50.253 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2223.html

*** User 2022-03-07 09:39:50.268 ***
alicE_add_contact_1772@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-07 09:39:50.269 ***
alicE_add_contact_1772@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7adc94c25b9a3675' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:39:50.269 ***
alicE_add_contact_1772@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-03-07 09:39:50.269 ***
alicE_add_contact_1772@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzE3NzIAbWF0eWdyeXNh</auth>



*** User 2022-03-07 09:39:50.272 ***
alicE_add_contact_1772@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:39:50.272 ***
alicE_add_contact_1772@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-07 09:39:50.279 ***
alicE_add_contact_1772@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72d6ab6dd0031e89' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:39:50.279 ***
alicE_add_contact_1772@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-07 09:39:50.279 ***
alicE_add_contact_1772@localhost/res1 out
<iq type='set' id='fd05ccf249ef6e7d23d9a2dd654f87bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:39:50.280 ***
alicE_add_contact_1772@localhost/res1 in
<iq id='fd05ccf249ef6e7d23d9a2dd654f87bc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1772@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:39:50.280 ***
alicE_add_contact_1772@localhost/res1 out
<iq type='set' id='249c93e97202baf287526d0865f93bf9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:39:50.280 ***
alicE_add_contact_1772@localhost/res1 in
<iq type='result' id='249c93e97202baf287526d0865f93bf9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:39:50.280 ***
alicE_add_contact_1772@localhost/res1 out
<presence/>



*** User 2022-03-07 09:39:50.295 ***
alicE_add_contact_1772@localhost/res1 in
<presence from='alicE_add_contact_1772@localhost/res1' to='alice_add_contact_1772@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:39:50.296 ***
bOb_add_contact_1772@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-07 09:39:50.300 ***
bOb_add_contact_1772@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f934b0f5903d8f4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:39:50.300 ***
bOb_add_contact_1772@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-03-07 09:39:50.300 ***
bOb_add_contact_1772@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xNzcyAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 09:39:50.305 ***
bOb_add_contact_1772@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:39:50.305 ***
bOb_add_contact_1772@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-07 09:39:50.311 ***
bOb_add_contact_1772@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5be837d0f2dea3ba' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:39:50.311 ***
bOb_add_contact_1772@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-07 09:39:50.311 ***
bOb_add_contact_1772@localhost/res1 out
<iq type='set' id='efb6d51fca813c217308518a7f092a85'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:39:50.312 ***
bOb_add_contact_1772@localhost/res1 in
<iq id='efb6d51fca813c217308518a7f092a85' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1772@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:39:50.312 ***
bOb_add_contact_1772@localhost/res1 out
<iq type='set' id='356f6f14c27a3382e4b98410a13cf438'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:39:50.312 ***
bOb_add_contact_1772@localhost/res1 in
<iq type='result' id='356f6f14c27a3382e4b98410a13cf438'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:39:50.312 ***
bOb_add_contact_1772@localhost/res1 out
<presence/>



*** User 2022-03-07 09:39:50.313 ***
bOb_add_contact_1772@localhost/res1 in
<presence from='bOb_add_contact_1772@localhost/res1' to='bob_add_contact_1772@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:39:50.313 ***
alicE_add_contact_1772@localhost/res1 out
<iq type='set' id='f392a0ebb5a8baf1d960af2302653c8c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1772@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 09:39:50.316 ***
alicE_add_contact_1772@localhost/res1 in
<iq from='alicE_add_contact_1772@localhost' to='alicE_add_contact_1772@localhost/res1' id='push07549f7e15a1678b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1772@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 09:39:50.316 ***
alicE_add_contact_1772@localhost/res1 in
<iq from='alicE_add_contact_1772@localhost' to='alicE_add_contact_1772@localhost/res1' id='f392a0ebb5a8baf1d960af2302653c8c' type='result'/>



*** User 2022-03-07 09:39:50.316 ***
alicE_add_contact_1772@localhost/res1 out
<iq to='alicE_add_contact_1772@localhost' id='push07549f7e15a1678b' type='result'/>



*** User 2022-03-07 09:39:50.316 ***
alicE_add_contact_1772@localhost/res1 out
<iq type='get' id='953ef7b23f241b1685837e50ed4e4037'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-07 09:39:50.318 ***
alicE_add_contact_1772@localhost/res1 in
<iq from='alicE_add_contact_1772@localhost' to='alicE_add_contact_1772@localhost/res1' id='953ef7b23f241b1685837e50ed4e4037' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1772@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 09:39:50.318 ***
bOb_add_contact_1772@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:39:50.318 ***
bOb_add_contact_1772@localhost/res1 in
</stream:stream>

*** User 2022-03-07 09:39:50.318 ***
alicE_add_contact_1772@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:39:50.318 ***
alicE_add_contact_1772@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 09:39:50.325 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2223.html
*** CT 2022-03-07 09:39:50.326 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4591.html



=== Ended at 2022-03-07 09:39:50
=== successfully completed test case
=== === Returned value: ok