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

=== Config value:

    [{watchdog,<0.30569.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/presence_suite.add_contact.135042.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.presence_SUITE.logs/run.2022-05-25_09.13.01/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:13:03


*** CT 2022-05-25 09:13:03.017 *** View log from node mongooseim@localhost when started mongooseim@localhost_2328.html
*** CT 2022-05-25 09:13:03.017 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_520.html

*** User 2022-05-25 09:13:03.041 ***
alicE_add_contact_1971@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-05-25 09:13:03.042 ***
alicE_add_contact_1971@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b95a8b2e4d0d031' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:03.042 ***
alicE_add_contact_1971@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-05-25 09:13:03.042 ***
alicE_add_contact_1971@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzE5NzEAbWF0eWdyeXNh</auth>



*** User 2022-05-25 09:13:03.043 ***
alicE_add_contact_1971@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:03.043 ***
alicE_add_contact_1971@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-05-25 09:13:03.043 ***
alicE_add_contact_1971@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98ab99e2456ffa7b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:03.043 ***
alicE_add_contact_1971@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-05-25 09:13:03.043 ***
alicE_add_contact_1971@domain.example.com/res1 out
<iq type='set' id='e77556ef54f7ed4417732e83de9d3593'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:03.043 ***
alicE_add_contact_1971@domain.example.com/res1 in
<iq id='e77556ef54f7ed4417732e83de9d3593' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_contact_1971@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:03.043 ***
alice_add_contact_1971@domain.example.com/res1 out
<iq type='set' id='d3d066d9ec216b144936dc220c72ae18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:03.044 ***
alice_add_contact_1971@domain.example.com/res1 in
<iq type='result' id='d3d066d9ec216b144936dc220c72ae18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:03.044 ***
alice_add_contact_1971@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:03.045 ***
alice_add_contact_1971@domain.example.com/res1 in
<presence from='alice_add_contact_1971@domain.example.com/res1' to='alice_add_contact_1971@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:03.045 ***
bOb_add_contact_1971@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-05-25 09:13:03.046 ***
bOb_add_contact_1971@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='818902b053984e2b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:03.046 ***
bOb_add_contact_1971@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-05-25 09:13:03.046 ***
bOb_add_contact_1971@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8xOTcxAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 09:13:03.049 ***
bOb_add_contact_1971@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:03.049 ***
bOb_add_contact_1971@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-05-25 09:13:03.049 ***
bOb_add_contact_1971@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e18f56af209f4d22' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:03.049 ***
bOb_add_contact_1971@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-05-25 09:13:03.049 ***
bOb_add_contact_1971@domain.example.com/res1 out
<iq type='set' id='56f438983cdd05a1f948703dfcb01b43'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:03.050 ***
bOb_add_contact_1971@domain.example.com/res1 in
<iq id='56f438983cdd05a1f948703dfcb01b43' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_contact_1971@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:03.050 ***
bob_add_contact_1971@domain.example.com/res1 out
<iq type='set' id='19a3e5d90330c1391412934ad611f2cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:03.050 ***
bob_add_contact_1971@domain.example.com/res1 in
<iq type='result' id='19a3e5d90330c1391412934ad611f2cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:03.050 ***
bob_add_contact_1971@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:03.051 ***
bob_add_contact_1971@domain.example.com/res1 in
<presence from='bob_add_contact_1971@domain.example.com/res1' to='bob_add_contact_1971@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:03.051 ***
alice_add_contact_1971@domain.example.com/res1 out
<iq type='set' id='4726fa189f9d3b86fa18fcd72c1a695b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_add_contact_1971@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 09:13:03.059 ***
alice_add_contact_1971@domain.example.com/res1 in
<iq from='alice_add_contact_1971@domain.example.com' to='alice_add_contact_1971@domain.example.com/res1' id='pushe9895ee7ca61af9c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1971@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 09:13:03.059 ***
alice_add_contact_1971@domain.example.com/res1 in
<iq from='alice_add_contact_1971@domain.example.com' to='alice_add_contact_1971@domain.example.com/res1' id='4726fa189f9d3b86fa18fcd72c1a695b' type='result'/>



*** User 2022-05-25 09:13:03.060 ***
alice_add_contact_1971@domain.example.com/res1 out
<iq to='alice_add_contact_1971@domain.example.com' id='pushe9895ee7ca61af9c' type='result'/>



*** User 2022-05-25 09:13:03.060 ***
alice_add_contact_1971@domain.example.com/res1 out
<iq type='get' id='fc9f72f6ef102df44d05fcb4afb9da20'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-05-25 09:13:03.062 ***
alice_add_contact_1971@domain.example.com/res1 in
<iq from='alice_add_contact_1971@domain.example.com' to='alice_add_contact_1971@domain.example.com/res1' id='fc9f72f6ef102df44d05fcb4afb9da20' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_add_contact_1971@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 09:13:03.062 ***
bob_add_contact_1971@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:03.063 ***
bob_add_contact_1971@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:03.063 ***
alice_add_contact_1971@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:03.063 ***
alice_add_contact_1971@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:13:03.073 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_520.html
*** CT 2022-05-25 09:13:03.073 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2328.html



=== Ended at 2022-05-25 09:13:03
=== successfully completed test case
=== === Returned value: ok