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

=== Config value:

    [{watchdog,<0.24802.1>},
     {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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/presence_suite.add_contact.145410.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:49


*** CT 2022-03-04 11:24:49.747 *** View log from node mongooseim@localhost when started mongooseim@localhost_2400.html
*** CT 2022-03-04 11:24:49.748 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:24:49.759 ***
alicE_add_contact_1740@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-03-04 11:24:49.760 ***
alicE_add_contact_1740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b77e8c7a1c8c81f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:49.760 ***
alicE_add_contact_1740@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-03-04 11:24:49.760 ***
alicE_add_contact_1740@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzE3NDAAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:24:49.771 ***
alicE_add_contact_1740@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:49.771 ***
alicE_add_contact_1740@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-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a2560e7dc965ed7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:49.772 ***
alicE_add_contact_1740@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-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 out
<iq type='set' id='0347cdf6a4cdde2af5361073389520aa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 in
<iq id='0347cdf6a4cdde2af5361073389520aa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_contact_1740@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 out
<iq type='set' id='8390d6e0f8bbda9ce9d773e4fa2bf3cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 in
<iq type='result' id='8390d6e0f8bbda9ce9d773e4fa2bf3cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:49.772 ***
alicE_add_contact_1740@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:49.773 ***
alicE_add_contact_1740@domain.example.com/res1 in
<presence from='alicE_add_contact_1740@domain.example.com/res1' to='alice_add_contact_1740@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:49.774 ***
bOb_add_contact_1740@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-03-04 11:24:49.774 ***
bOb_add_contact_1740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f756ba30a75a047f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:49.774 ***
bOb_add_contact_1740@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-03-04 11:24:49.774 ***
bOb_add_contact_1740@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xNzQwAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:24:49.775 ***
bOb_add_contact_1740@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:49.775 ***
bOb_add_contact_1740@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-03-04 11:24:49.775 ***
bOb_add_contact_1740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86ed6643e5fef208' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:49.775 ***
bOb_add_contact_1740@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-03-04 11:24:49.775 ***
bOb_add_contact_1740@domain.example.com/res1 out
<iq type='set' id='856c08c099cb148e51b4a7cbae908d42'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:49.776 ***
bOb_add_contact_1740@domain.example.com/res1 in
<iq id='856c08c099cb148e51b4a7cbae908d42' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_contact_1740@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:49.776 ***
bOb_add_contact_1740@domain.example.com/res1 out
<iq type='set' id='50a1bcb848995311a5e94792c84bd0fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:49.776 ***
bOb_add_contact_1740@domain.example.com/res1 in
<iq type='result' id='50a1bcb848995311a5e94792c84bd0fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:49.776 ***
bOb_add_contact_1740@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:49.779 ***
bOb_add_contact_1740@domain.example.com/res1 in
<presence from='bOb_add_contact_1740@domain.example.com/res1' to='bob_add_contact_1740@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:49.779 ***
alicE_add_contact_1740@domain.example.com/res1 out
<iq type='set' id='a0e8bf6749f9e861fe5ba6708b5b214b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_add_contact_1740@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:49.782 ***
alicE_add_contact_1740@domain.example.com/res1 in
<iq from='alicE_add_contact_1740@domain.example.com' to='alicE_add_contact_1740@domain.example.com/res1' id='push27e4edf1b2ff9b55' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1740@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:49.782 ***
alicE_add_contact_1740@domain.example.com/res1 in
<iq from='alicE_add_contact_1740@domain.example.com' to='alicE_add_contact_1740@domain.example.com/res1' id='a0e8bf6749f9e861fe5ba6708b5b214b' type='result'/>



*** User 2022-03-04 11:24:49.782 ***
alicE_add_contact_1740@domain.example.com/res1 out
<iq to='alicE_add_contact_1740@domain.example.com' id='push27e4edf1b2ff9b55' type='result'/>



*** User 2022-03-04 11:24:49.782 ***
alicE_add_contact_1740@domain.example.com/res1 out
<iq type='get' id='5b73d7f29fbe4058530dbf7767caacc1'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-04 11:24:49.783 ***
alicE_add_contact_1740@domain.example.com/res1 in
<iq from='alicE_add_contact_1740@domain.example.com' to='alicE_add_contact_1740@domain.example.com/res1' id='5b73d7f29fbe4058530dbf7767caacc1' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1740@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:49.783 ***
bOb_add_contact_1740@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:49.784 ***
bOb_add_contact_1740@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:49.784 ***
alicE_add_contact_1740@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:49.785 ***
alicE_add_contact_1740@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:49.791 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:49.791 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2400.html



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