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

=== Config value:

    [{watchdog,<0.1295.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.25.49/presence_suite.add_contact.104835.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.25.49/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:25:51


*** CT 2022-03-04 11:25:51.051 *** View log from node mongooseim@localhost when started mongooseim@localhost_5543.html
*** CT 2022-03-04 11:25:51.051 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:25:51.063 ***
alicE_add_contact_1710@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-04 11:25:51.063 ***
alicE_add_contact_1710@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e434f6d8fd2dfe8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.063 ***
alicE_add_contact_1710@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-04 11:25:51.063 ***
alicE_add_contact_1710@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzE3MTAAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:25:51.064 ***
alicE_add_contact_1710@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:51.065 ***
alicE_add_contact_1710@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-04 11:25:51.065 ***
alicE_add_contact_1710@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd9152360979de9f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.065 ***
alicE_add_contact_1710@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-04 11:25:51.065 ***
alicE_add_contact_1710@localhost/res1 out
<iq type='set' id='0057c68ff7ead70f2b38364f0e693b6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.066 ***
alicE_add_contact_1710@localhost/res1 in
<iq id='0057c68ff7ead70f2b38364f0e693b6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1710@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.066 ***
alicE_add_contact_1710@localhost/res1 out
<iq type='set' id='8a97676ad60b1b2d7b5a598addb3d361'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.066 ***
alicE_add_contact_1710@localhost/res1 in
<iq type='result' id='8a97676ad60b1b2d7b5a598addb3d361'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.066 ***
alicE_add_contact_1710@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.067 ***
alicE_add_contact_1710@localhost/res1 in
<presence from='alicE_add_contact_1710@localhost/res1' to='alice_add_contact_1710@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.068 ***
bOb_add_contact_1710@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-04 11:25:51.069 ***
bOb_add_contact_1710@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6afac3e707d3cec5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.069 ***
bOb_add_contact_1710@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-04 11:25:51.069 ***
bOb_add_contact_1710@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xNzEwAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:25:51.070 ***
bOb_add_contact_1710@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:51.070 ***
bOb_add_contact_1710@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-04 11:25:51.071 ***
bOb_add_contact_1710@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6782b5c430bed00c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.071 ***
bOb_add_contact_1710@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-04 11:25:51.071 ***
bOb_add_contact_1710@localhost/res1 out
<iq type='set' id='712dbfad9c7c8fa7a86ba113b0bdfc24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.072 ***
bOb_add_contact_1710@localhost/res1 in
<iq id='712dbfad9c7c8fa7a86ba113b0bdfc24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1710@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.072 ***
bOb_add_contact_1710@localhost/res1 out
<iq type='set' id='12a19af21198162e8961758bc09c0caf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.072 ***
bOb_add_contact_1710@localhost/res1 in
<iq type='result' id='12a19af21198162e8961758bc09c0caf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.072 ***
bOb_add_contact_1710@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.073 ***
bOb_add_contact_1710@localhost/res1 in
<presence from='bOb_add_contact_1710@localhost/res1' to='bob_add_contact_1710@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.074 ***
alicE_add_contact_1710@localhost/res1 out
<iq type='set' id='df8faea3120bfe7074146cb008e0322d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1710@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.076 ***
alicE_add_contact_1710@localhost/res1 in
<iq from='alicE_add_contact_1710@localhost' to='alicE_add_contact_1710@localhost/res1' id='pushec9c03395bd10f50' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1710@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.076 ***
alicE_add_contact_1710@localhost/res1 in
<iq from='alicE_add_contact_1710@localhost' to='alicE_add_contact_1710@localhost/res1' id='df8faea3120bfe7074146cb008e0322d' type='result'/>



*** User 2022-03-04 11:25:51.076 ***
alicE_add_contact_1710@localhost/res1 out
<iq to='alicE_add_contact_1710@localhost' id='pushec9c03395bd10f50' type='result'/>



*** User 2022-03-04 11:25:51.076 ***
alicE_add_contact_1710@localhost/res1 out
<iq type='get' id='74d661a1ad517bc415aa2ca5a3480d4e'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-04 11:25:51.079 ***
alicE_add_contact_1710@localhost/res1 in
<iq from='alicE_add_contact_1710@localhost' to='alicE_add_contact_1710@localhost/res1' id='74d661a1ad517bc415aa2ca5a3480d4e' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1710@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.079 ***
bOb_add_contact_1710@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.079 ***
bOb_add_contact_1710@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:51.079 ***
alicE_add_contact_1710@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.080 ***
alicE_add_contact_1710@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:51.087 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:25:51.088 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5543.html



=== Ended at 2022-03-04 11:25:51
=== successfully completed test case
=== === Returned value: ok