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

=== Config value:

    [{watchdog,<0.23262.1>},
     {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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/presence_suite.add_contact.100099.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:14:45


*** CT 2022-02-02 15:14:45.349 *** View log from node mongooseim@localhost when started mongooseim@localhost_2316.html
*** CT 2022-02-02 15:14:45.349 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_628.html

*** User 2022-02-02 15:14:45.359 ***
alicE_add_contact_1556@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:14:45.359 ***
alicE_add_contact_1556@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb3e1c73bdb5058c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:45.359 ***
alicE_add_contact_1556@domain.example.com/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-02-02 15:14:45.359 ***
alicE_add_contact_1556@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzE1NTYAbWF0eWdyeXNh</auth>



*** User 2022-02-02 15:14:45.360 ***
alicE_add_contact_1556@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:45.361 ***
alicE_add_contact_1556@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:14:45.361 ***
alicE_add_contact_1556@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='171b819638f3dd0a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:45.361 ***
alicE_add_contact_1556@domain.example.com/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-02-02 15:14:45.361 ***
alicE_add_contact_1556@domain.example.com/res1 out
<iq type='set' id='daf0ca83d400a8e3aaa9d485c711707f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:45.362 ***
alicE_add_contact_1556@domain.example.com/res1 in
<iq id='daf0ca83d400a8e3aaa9d485c711707f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1556@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:45.362 ***
alicE_add_contact_1556@domain.example.com/res1 out
<iq type='set' id='ebf9bb52e0d472318ff39615d01fed82'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:45.362 ***
alicE_add_contact_1556@domain.example.com/res1 in
<iq type='result' id='ebf9bb52e0d472318ff39615d01fed82'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:45.362 ***
alicE_add_contact_1556@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:45.363 ***
alicE_add_contact_1556@domain.example.com/res1 in
<presence from='alicE_add_contact_1556@domain.example.com/res1' to='alice_add_contact_1556@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:45.364 ***
bOb_add_contact_1556@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:14:45.364 ***
bOb_add_contact_1556@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d9bf5a871cd620c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:45.364 ***
bOb_add_contact_1556@domain.example.com/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-02-02 15:14:45.365 ***
bOb_add_contact_1556@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xNTU2AG1ha3JvbGlrYQ==</auth>



*** User 2022-02-02 15:14:45.365 ***
bOb_add_contact_1556@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c81f5a71413e01bd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/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-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/res1 out
<iq type='set' id='6220dce096a82da31785a3ecea2f5f70'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/res1 in
<iq id='6220dce096a82da31785a3ecea2f5f70' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1556@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:45.366 ***
bOb_add_contact_1556@domain.example.com/res1 out
<iq type='set' id='c693ea2157b4d1060cea6e49e9722016'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:45.367 ***
bOb_add_contact_1556@domain.example.com/res1 in
<iq type='result' id='c693ea2157b4d1060cea6e49e9722016'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:45.367 ***
bOb_add_contact_1556@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:45.368 ***
bOb_add_contact_1556@domain.example.com/res1 in
<presence from='bOb_add_contact_1556@domain.example.com/res1' to='bob_add_contact_1556@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:45.368 ***
alicE_add_contact_1556@domain.example.com/res1 out
<iq type='set' id='69ccd94a9cb16868f810b003cbfbe4c1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1556@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:45.370 ***
alicE_add_contact_1556@domain.example.com/res1 in
<iq from='alicE_add_contact_1556@domain.example.com' to='alicE_add_contact_1556@domain.example.com/res1' id='push422612711e0b386b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1556@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:45.370 ***
alicE_add_contact_1556@domain.example.com/res1 in
<iq from='alicE_add_contact_1556@domain.example.com' to='alicE_add_contact_1556@domain.example.com/res1' id='69ccd94a9cb16868f810b003cbfbe4c1' type='result'/>



*** User 2022-02-02 15:14:45.370 ***
alicE_add_contact_1556@domain.example.com/res1 out
<iq to='alicE_add_contact_1556@domain.example.com' id='push422612711e0b386b' type='result'/>



*** User 2022-02-02 15:14:45.370 ***
alicE_add_contact_1556@domain.example.com/res1 out
<iq type='get' id='afaf175167198655543532cd90d007d0'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-02-02 15:14:45.371 ***
alicE_add_contact_1556@domain.example.com/res1 in
<iq from='alicE_add_contact_1556@domain.example.com' to='alicE_add_contact_1556@domain.example.com/res1' id='afaf175167198655543532cd90d007d0' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1556@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:45.372 ***
bOb_add_contact_1556@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:45.372 ***
bOb_add_contact_1556@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:14:45.372 ***
alicE_add_contact_1556@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:45.372 ***
alicE_add_contact_1556@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:14:45.378 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_628.html
*** CT 2022-02-02 15:14:45.379 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2316.html



=== Ended at 2022-02-02 15:14:45
=== successfully completed test case
=== === Returned value: ok