=== Test case: presence_SUITE:add_contact/1 (click for source code)
=== Config value:
[{watchdog,<0.9467.2>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/presence_suite.add_contact.148099.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.53.48/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@cdcecdf9c9e0.2023-12-04_15.40.23"
=== Started at 2023-12-04 15:53:49
*** User 2023-12-04 15:53:49.523 ***🔗
alicE_add_contact_2724@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-12-04 15:53:49.524 ***🔗
alicE_add_contact_2724@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f74d251982ba692' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.524 ***🔗
alicE_add_contact_2724@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-12-04 15:53:49.524 ***🔗
alicE_add_contact_2724@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzI3MjQAbWF0eWdyeXNh</auth>
*** User 2023-12-04 15:53:49.525 ***🔗
alicE_add_contact_2724@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.525 ***🔗
alicE_add_contact_2724@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-12-04 15:53:49.525 ***🔗
alicE_add_contact_2724@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9bd4c19a7f0e3bad' from='localhost' version='1.0' xml:lang='en' to='alice_add_contact_2724@localhost'>
*** User 2023-12-04 15:53:49.525 ***🔗
alicE_add_contact_2724@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-12-04 15:53:49.525 ***🔗
alicE_add_contact_2724@localhost/res1 out
<iq type='set' id='bb59e1b1cac126dd08d600ea16db5c85'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.526 ***🔗
alicE_add_contact_2724@localhost/res1 in
<iq id='bb59e1b1cac126dd08d600ea16db5c85' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_contact_2724@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.526 ***🔗
alice_add_contact_2724@localhost/res1 out
<iq type='set' id='b1621d70af0f2f65d6d9e926f255767a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.526 ***🔗
alice_add_contact_2724@localhost/res1 in
<iq from='localhost' to='alice_add_contact_2724@localhost/res1' id='b1621d70af0f2f65d6d9e926f255767a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.526 ***🔗
alice_add_contact_2724@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.527 ***🔗
alice_add_contact_2724@localhost/res1 in
<presence from='alice_add_contact_2724@localhost/res1' to='alice_add_contact_2724@localhost/res1'/>
*** User 2023-12-04 15:53:49.528 ***🔗
bOb_add_contact_2724@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-12-04 15:53:49.528 ***🔗
bOb_add_contact_2724@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1954c19aa7237c1c' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-04 15:53:49.528 ***🔗
bOb_add_contact_2724@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-12-04 15:53:49.528 ***🔗
bOb_add_contact_2724@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8yNzI0AG1ha3JvbGlrYQ==</auth>
*** User 2023-12-04 15:53:49.529 ***🔗
bOb_add_contact_2724@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-04 15:53:49.529 ***🔗
bOb_add_contact_2724@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-12-04 15:53:49.529 ***🔗
bOb_add_contact_2724@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7c312f0f8ea024a' from='localhost' version='1.0' xml:lang='en' to='bob_add_contact_2724@localhost'>
*** User 2023-12-04 15:53:49.529 ***🔗
bOb_add_contact_2724@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-12-04 15:53:49.529 ***🔗
bOb_add_contact_2724@localhost/res1 out
<iq type='set' id='116ba2a69c50ab2007194aa999e8e867'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-04 15:53:49.530 ***🔗
bOb_add_contact_2724@localhost/res1 in
<iq id='116ba2a69c50ab2007194aa999e8e867' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_contact_2724@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-04 15:53:49.530 ***🔗
bob_add_contact_2724@localhost/res1 out
<iq type='set' id='3389966bdf0e8f675852af8e120372ee'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.530 ***🔗
bob_add_contact_2724@localhost/res1 in
<iq from='localhost' to='bob_add_contact_2724@localhost/res1' id='3389966bdf0e8f675852af8e120372ee' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-04 15:53:49.530 ***🔗
bob_add_contact_2724@localhost/res1 out
<presence/>
*** User 2023-12-04 15:53:49.531 ***🔗
bob_add_contact_2724@localhost/res1 in
<presence from='bob_add_contact_2724@localhost/res1' to='bob_add_contact_2724@localhost/res1'/>
*** User 2023-12-04 15:53:49.531 ***🔗
alice_add_contact_2724@localhost/res1 out
<iq type='set' id='2cdf974e81613c88c1e455125b2d1bdc'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_add_contact_2724@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.541 ***🔗
alice_add_contact_2724@localhost/res1 in
<iq from='alice_add_contact_2724@localhost' to='alice_add_contact_2724@localhost/res1' id='pushd205c19be0c653aa' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2724@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.541 ***🔗
alice_add_contact_2724@localhost/res1 in
<iq from='alice_add_contact_2724@localhost' to='alice_add_contact_2724@localhost/res1' id='2cdf974e81613c88c1e455125b2d1bdc' type='result'/>
*** User 2023-12-04 15:53:49.541 ***🔗
alice_add_contact_2724@localhost/res1 out
<iq to='alice_add_contact_2724@localhost' id='pushd205c19be0c653aa' type='result'/>
*** User 2023-12-04 15:53:49.542 ***🔗
alice_add_contact_2724@localhost/res1 out
<iq type='get' id='71b62ade20ee55e179791a7fe6306bb9'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2023-12-04 15:53:49.548 ***🔗
alice_add_contact_2724@localhost/res1 in
<iq from='alice_add_contact_2724@localhost' to='alice_add_contact_2724@localhost/res1' id='71b62ade20ee55e179791a7fe6306bb9' type='result'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2724@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-04 15:53:49.548 ***🔗
bob_add_contact_2724@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.549 ***🔗
bob_add_contact_2724@localhost/res1 in
</stream:stream>
*** User 2023-12-04 15:53:49.549 ***🔗
alice_add_contact_2724@localhost/res1 out
</stream:stream>
*** User 2023-12-04 15:53:49.550 ***🔗
alice_add_contact_2724@localhost/res1 in
</stream:stream>
=== Ended at 2023-12-04 15:53:49
=== successfully completed test case
=== === Returned value: ok