=== Test case: presence_SUITE:add_contact/1 (click for source code)
=== Config value:
[{watchdog,<0.74564.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/presence_suite.add_contact.187906.html"},
{tc_group_properties,[{name,roster},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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/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@e5832022abeb.2023-11-13_18.57.12"
=== Started at 2023-11-13 19:09:37
*** User 2023-11-13 19:09:37.511 ***🔗
alicE_add_contact_2653@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:09:37.512 ***🔗
alicE_add_contact_2653@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6324530c489b887' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:09:37.512 ***🔗
alicE_add_contact_2653@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 19:09:37.512 ***🔗
alicE_add_contact_2653@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzI2NTMAbWF0eWdyeXNh</auth>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='721c86fd3673a4a9' from='localhost' version='1.0' xml:lang='en' to='alice_add_contact_2653@localhost'>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 out
<iq type='set' id='e050e2225f6f0820b491ebfaf0e8e75a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:09:37.513 ***🔗
alicE_add_contact_2653@localhost/res1 in
<iq id='e050e2225f6f0820b491ebfaf0e8e75a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_contact_2653@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:09:37.513 ***🔗
alice_add_contact_2653@localhost/res1 out
<iq type='set' id='a81f215650301350d413a6c2be1edb1e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.514 ***🔗
alice_add_contact_2653@localhost/res1 in
<iq from='localhost' to='alice_add_contact_2653@localhost/res1' id='a81f215650301350d413a6c2be1edb1e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.514 ***🔗
alice_add_contact_2653@localhost/res1 out
<presence/>
*** User 2023-11-13 19:09:37.515 ***🔗
alice_add_contact_2653@localhost/res1 in
<presence from='alice_add_contact_2653@localhost/res1' to='alice_add_contact_2653@localhost/res1'/>
*** User 2023-11-13 19:09:37.516 ***🔗
bOb_add_contact_2653@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:09:37.516 ***🔗
bOb_add_contact_2653@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c31ce15c8f9b2282' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:09:37.516 ***🔗
bOb_add_contact_2653@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 19:09:37.516 ***🔗
bOb_add_contact_2653@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8yNjUzAG1ha3JvbGlrYQ==</auth>
*** User 2023-11-13 19:09:37.517 ***🔗
bOb_add_contact_2653@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:09:37.517 ***🔗
bOb_add_contact_2653@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:09:37.517 ***🔗
bOb_add_contact_2653@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b0d090cea3dbe4a' from='localhost' version='1.0' xml:lang='en' to='bob_add_contact_2653@localhost'>
*** User 2023-11-13 19:09:37.517 ***🔗
bOb_add_contact_2653@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 19:09:37.517 ***🔗
bOb_add_contact_2653@localhost/res1 out
<iq type='set' id='b60ab5b66af745964fd693786d0e5c6b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:09:37.518 ***🔗
bOb_add_contact_2653@localhost/res1 in
<iq id='b60ab5b66af745964fd693786d0e5c6b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_contact_2653@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:09:37.518 ***🔗
bob_add_contact_2653@localhost/res1 out
<iq type='set' id='39acf003f04b63bd739dba959eaee01c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.518 ***🔗
bob_add_contact_2653@localhost/res1 in
<iq from='localhost' to='bob_add_contact_2653@localhost/res1' id='39acf003f04b63bd739dba959eaee01c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.518 ***🔗
bob_add_contact_2653@localhost/res1 out
<presence/>
*** User 2023-11-13 19:09:37.519 ***🔗
bob_add_contact_2653@localhost/res1 in
<presence from='bob_add_contact_2653@localhost/res1' to='bob_add_contact_2653@localhost/res1'/>
*** User 2023-11-13 19:09:37.519 ***🔗
alice_add_contact_2653@localhost/res1 out
<iq type='set' id='8559d1abd461a4d8e09c3fe784b8ea9e'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_add_contact_2653@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.522 ***🔗
alice_add_contact_2653@localhost/res1 in
<iq from='alice_add_contact_2653@localhost' to='alice_add_contact_2653@localhost/res1' id='pushf9608a46467eba04' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2653@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.523 ***🔗
alice_add_contact_2653@localhost/res1 in
<iq from='alice_add_contact_2653@localhost' to='alice_add_contact_2653@localhost/res1' id='8559d1abd461a4d8e09c3fe784b8ea9e' type='result'/>
*** User 2023-11-13 19:09:37.523 ***🔗
alice_add_contact_2653@localhost/res1 out
<iq to='alice_add_contact_2653@localhost' id='pushf9608a46467eba04' type='result'/>
*** User 2023-11-13 19:09:37.523 ***🔗
alice_add_contact_2653@localhost/res1 out
<iq type='get' id='2c30ec3b5aa33df5c477ee1cd90723a9'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2023-11-13 19:09:37.524 ***🔗
alice_add_contact_2653@localhost/res1 in
<iq from='alice_add_contact_2653@localhost' to='alice_add_contact_2653@localhost/res1' id='2c30ec3b5aa33df5c477ee1cd90723a9' type='result'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2653@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.524 ***🔗
bob_add_contact_2653@localhost/res1 out
</stream:stream>
*** User 2023-11-13 19:09:37.524 ***🔗
bob_add_contact_2653@localhost/res1 in
</stream:stream>
*** User 2023-11-13 19:09:37.524 ***🔗
alice_add_contact_2653@localhost/res1 out
</stream:stream>
*** User 2023-11-13 19:09:37.525 ***🔗
alice_add_contact_2653@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-13 19:09:37
=== successfully completed test case
=== === Returned value: ok