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

=== Config value:

    [{watchdog,<0.3112.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.add_contact.36229.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:13:10


*** CT 2022-04-04 15:13:10.081 *** View log from node mongooseim@localhost when started mongooseim@localhost_4741.html
*** CT 2022-04-04 15:13:10.082 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:13:10.116 ***
alicE_add_contact_2017@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-04-04 15:13:10.116 ***
alicE_add_contact_2017@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c33f38d01a84c3ad' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.116 ***
alicE_add_contact_2017@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-04-04 15:13:10.116 ***
alicE_add_contact_2017@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzIwMTcAbWF0eWdyeXNh</auth>



*** User 2022-04-04 15:13:10.118 ***
alicE_add_contact_2017@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:10.118 ***
alicE_add_contact_2017@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-04-04 15:13:10.118 ***
alicE_add_contact_2017@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d0e4564e0c14c97' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.118 ***
alicE_add_contact_2017@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-04-04 15:13:10.118 ***
alicE_add_contact_2017@localhost/res1 out
<iq type='set' id='95da87e158ff5b657368577577b1cd7d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.119 ***
alicE_add_contact_2017@localhost/res1 in
<iq id='95da87e158ff5b657368577577b1cd7d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_2017@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.119 ***
alicE_add_contact_2017@localhost/res1 out
<iq type='set' id='a1834d4559a026b3916c2e43c959e457'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.119 ***
alicE_add_contact_2017@localhost/res1 in
<iq type='result' id='a1834d4559a026b3916c2e43c959e457'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.119 ***
alicE_add_contact_2017@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:10.121 ***
alicE_add_contact_2017@localhost/res1 in
<presence from='alicE_add_contact_2017@localhost/res1' to='alice_add_contact_2017@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:10.121 ***
bOb_add_contact_2017@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-04-04 15:13:10.122 ***
bOb_add_contact_2017@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fc4f4c265ec7cfa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.122 ***
bOb_add_contact_2017@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-04-04 15:13:10.122 ***
bOb_add_contact_2017@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8yMDE3AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-04 15:13:10.123 ***
bOb_add_contact_2017@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:10.123 ***
bOb_add_contact_2017@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-04-04 15:13:10.123 ***
bOb_add_contact_2017@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57afc1a0f5483ff5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.123 ***
bOb_add_contact_2017@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-04-04 15:13:10.123 ***
bOb_add_contact_2017@localhost/res1 out
<iq type='set' id='bb7d80c8d2e221dca7c7f6a31511ae0d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.124 ***
bOb_add_contact_2017@localhost/res1 in
<iq id='bb7d80c8d2e221dca7c7f6a31511ae0d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_2017@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.124 ***
bOb_add_contact_2017@localhost/res1 out
<iq type='set' id='c57787829b0fa2a24b53e365f7e1f851'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.124 ***
bOb_add_contact_2017@localhost/res1 in
<iq type='result' id='c57787829b0fa2a24b53e365f7e1f851'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.125 ***
bOb_add_contact_2017@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:10.126 ***
bOb_add_contact_2017@localhost/res1 in
<presence from='bOb_add_contact_2017@localhost/res1' to='bob_add_contact_2017@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:10.126 ***
alicE_add_contact_2017@localhost/res1 out
<iq type='set' id='f8f0647906af51436f5482867f5899c2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_2017@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.133 ***
alicE_add_contact_2017@localhost/res1 in
<iq from='alicE_add_contact_2017@localhost' to='alicE_add_contact_2017@localhost/res1' id='pushd95f16cb0a1cf35a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_2017@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.133 ***
alicE_add_contact_2017@localhost/res1 in
<iq from='alicE_add_contact_2017@localhost' to='alicE_add_contact_2017@localhost/res1' id='f8f0647906af51436f5482867f5899c2' type='result'/>



*** User 2022-04-04 15:13:10.133 ***
alicE_add_contact_2017@localhost/res1 out
<iq to='alicE_add_contact_2017@localhost' id='pushd95f16cb0a1cf35a' type='result'/>



*** User 2022-04-04 15:13:10.133 ***
alicE_add_contact_2017@localhost/res1 out
<iq type='get' id='a1057fd6d6825a242067b86b188c6ec8'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-04-04 15:13:10.135 ***
alicE_add_contact_2017@localhost/res1 in
<iq from='alicE_add_contact_2017@localhost' to='alicE_add_contact_2017@localhost/res1' id='a1057fd6d6825a242067b86b188c6ec8' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_2017@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.135 ***
bOb_add_contact_2017@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:10.135 ***
bOb_add_contact_2017@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:13:10.135 ***
alicE_add_contact_2017@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:10.135 ***
alicE_add_contact_2017@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:13:10.144 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:13:10.144 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4741.html



=== Ended at 2022-04-04 15:13:10
=== successfully completed test case
=== === Returned value: ok