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

=== Config value:

    [{watchdog,<0.5498.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/presence_suite.add_contact.48770.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:29


*** CT 2022-03-03 10:36:29.797 *** View log from node mongooseim@localhost when started mongooseim@localhost_4522.html
*** CT 2022-03-03 10:36:29.798 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

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

*** User 2022-03-03 10:36:29.808 ***
alicE_add_contact_994@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-03 10:36:29.808 ***
alicE_add_contact_994@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0Xzk5NABtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:36:29.809 ***
alicE_add_contact_994@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:29.809 ***
alicE_add_contact_994@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-03 10:36:29.809 ***
alicE_add_contact_994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9be1db63e6c36d4b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:29.809 ***
alicE_add_contact_994@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-03 10:36:29.810 ***
alicE_add_contact_994@localhost/res1 out
<iq type='set' id='4070972fe9a4c22d5ce00ad911f19ec4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:29.810 ***
alicE_add_contact_994@localhost/res1 in
<iq id='4070972fe9a4c22d5ce00ad911f19ec4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_994@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:29.810 ***
alicE_add_contact_994@localhost/res1 out
<iq type='set' id='b8b250366d9131e1211a27d524632381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:29.810 ***
alicE_add_contact_994@localhost/res1 in
<iq type='result' id='b8b250366d9131e1211a27d524632381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:29.810 ***
alicE_add_contact_994@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:29.811 ***
alicE_add_contact_994@localhost/res1 in
<presence from='alicE_add_contact_994@localhost/res1' to='alice_add_contact_994@localhost/res1' xml:lang='en'/>



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

*** User 2022-03-03 10:36:29.811 ***
bOb_add_contact_994@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-03 10:36:29.811 ***
bOb_add_contact_994@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF85OTQAbWFrcm9saWth</auth>



*** User 2022-03-03 10:36:29.812 ***
bOb_add_contact_994@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:29.812 ***
bOb_add_contact_994@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-03 10:36:29.813 ***
bOb_add_contact_994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54ac72c451325045' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:29.813 ***
bOb_add_contact_994@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-03 10:36:29.813 ***
bOb_add_contact_994@localhost/res1 out
<iq type='set' id='abd82e46950623056ffa6b989364b5e5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:29.813 ***
bOb_add_contact_994@localhost/res1 in
<iq id='abd82e46950623056ffa6b989364b5e5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_994@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:29.813 ***
bOb_add_contact_994@localhost/res1 out
<iq type='set' id='fa8f13858c361f804267d6b7e2ab4aff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:29.813 ***
bOb_add_contact_994@localhost/res1 in
<iq type='result' id='fa8f13858c361f804267d6b7e2ab4aff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:29.814 ***
bOb_add_contact_994@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:29.814 ***
bOb_add_contact_994@localhost/res1 in
<presence from='bOb_add_contact_994@localhost/res1' to='bob_add_contact_994@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:29.814 ***
alicE_add_contact_994@localhost/res1 out
<iq type='set' id='6dc3e6fb5a15c89f6dba46b8fa498562'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_994@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:29.815 ***
alicE_add_contact_994@localhost/res1 in
<iq from='alicE_add_contact_994@localhost' to='alicE_add_contact_994@localhost/res1' id='pushd2f687d545d83050' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_994@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:29.815 ***
alicE_add_contact_994@localhost/res1 in
<iq from='alicE_add_contact_994@localhost' to='alicE_add_contact_994@localhost/res1' id='6dc3e6fb5a15c89f6dba46b8fa498562' type='result'/>



*** User 2022-03-03 10:36:29.815 ***
alicE_add_contact_994@localhost/res1 out
<iq to='alicE_add_contact_994@localhost' id='pushd2f687d545d83050' type='result'/>



*** User 2022-03-03 10:36:29.815 ***
alicE_add_contact_994@localhost/res1 out
<iq type='get' id='bf1cc079345f5bf00281ca885b3ff559'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-03 10:36:29.816 ***
alicE_add_contact_994@localhost/res1 in
<iq from='alicE_add_contact_994@localhost' to='alicE_add_contact_994@localhost/res1' id='bf1cc079345f5bf00281ca885b3ff559' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_994@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:29.816 ***
bOb_add_contact_994@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:29.816 ***
bOb_add_contact_994@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:29.817 ***
alicE_add_contact_994@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:29.817 ***
alicE_add_contact_994@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:29.821 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:29.821 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4522.html



=== Ended at 2022-03-03 10:36:29
=== successfully completed test case
=== === Returned value: ok