=== Test case: presence_SUITE:add_contact/1 (click for source code)
=== Config value:
[{watchdog,<0.74829.0>},
{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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/presence_suite.add_contact.108932.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/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@079a843f8d8b.2023-11-16_09.33.39"
=== Started at 2023-11-16 09:47:30
*** User 2023-11-16 09:47:30.568 ***🔗
alicE_add_contact_2746@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-16 09:47:30.569 ***🔗
alicE_add_contact_2746@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22e0d88140991db2' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:30.569 ***🔗
alicE_add_contact_2746@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-16 09:47:30.569 ***🔗
alicE_add_contact_2746@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzI3NDYAbWF0eWdyeXNh</auth>
*** User 2023-11-16 09:47:30.570 ***🔗
alicE_add_contact_2746@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:30.570 ***🔗
alicE_add_contact_2746@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-16 09:47:30.570 ***🔗
alicE_add_contact_2746@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28034ae9a0d36fb1' from='localhost' version='1.0' xml:lang='en' to='alice_add_contact_2746@localhost'>
*** User 2023-11-16 09:47:30.570 ***🔗
alicE_add_contact_2746@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-16 09:47:30.570 ***🔗
alicE_add_contact_2746@localhost/res1 out
<iq type='set' id='6a2a5c73e22f8ac7a2a79c1a10ce9795'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:30.570 ***🔗
alicE_add_contact_2746@localhost/res1 in
<iq id='6a2a5c73e22f8ac7a2a79c1a10ce9795' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_contact_2746@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:30.571 ***🔗
alice_add_contact_2746@localhost/res1 out
<iq type='set' id='2737082d7cd43e3226d103b53dd09c6a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:30.571 ***🔗
alice_add_contact_2746@localhost/res1 in
<iq from='localhost' to='alice_add_contact_2746@localhost/res1' id='2737082d7cd43e3226d103b53dd09c6a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:30.571 ***🔗
alice_add_contact_2746@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:30.572 ***🔗
alice_add_contact_2746@localhost/res1 in
<presence from='alice_add_contact_2746@localhost/res1' to='alice_add_contact_2746@localhost/res1'/>
*** User 2023-11-16 09:47:30.573 ***🔗
bOb_add_contact_2746@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-16 09:47:30.573 ***🔗
bOb_add_contact_2746@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5edd7296f055f9d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:47:30.574 ***🔗
bOb_add_contact_2746@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-16 09:47:30.574 ***🔗
bOb_add_contact_2746@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8yNzQ2AG1ha3JvbGlrYQ==</auth>
*** User 2023-11-16 09:47:30.574 ***🔗
bOb_add_contact_2746@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:47:30.574 ***🔗
bOb_add_contact_2746@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-16 09:47:30.575 ***🔗
bOb_add_contact_2746@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b27540ac9ed8b194' from='localhost' version='1.0' xml:lang='en' to='bob_add_contact_2746@localhost'>
*** User 2023-11-16 09:47:30.575 ***🔗
bOb_add_contact_2746@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-16 09:47:30.575 ***🔗
bOb_add_contact_2746@localhost/res1 out
<iq type='set' id='89b5658bedb5bbaa7b846c80f56256b2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:47:30.575 ***🔗
bOb_add_contact_2746@localhost/res1 in
<iq id='89b5658bedb5bbaa7b846c80f56256b2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_contact_2746@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:47:30.575 ***🔗
bob_add_contact_2746@localhost/res1 out
<iq type='set' id='2860325c0e02cb3a6d2adce6deaab287'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:30.576 ***🔗
bob_add_contact_2746@localhost/res1 in
<iq from='localhost' to='bob_add_contact_2746@localhost/res1' id='2860325c0e02cb3a6d2adce6deaab287' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:47:30.576 ***🔗
bob_add_contact_2746@localhost/res1 out
<presence/>
*** User 2023-11-16 09:47:30.577 ***🔗
bob_add_contact_2746@localhost/res1 in
<presence from='bob_add_contact_2746@localhost/res1' to='bob_add_contact_2746@localhost/res1'/>
*** User 2023-11-16 09:47:30.577 ***🔗
alice_add_contact_2746@localhost/res1 out
<iq type='set' id='a1ffca0d79ef4db1afe81956674031a3'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_add_contact_2746@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:47:30.580 ***🔗
alice_add_contact_2746@localhost/res1 in
<iq from='alice_add_contact_2746@localhost' to='alice_add_contact_2746@localhost/res1' id='push6cc086e6d61fce8b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2746@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:47:30.580 ***🔗
alice_add_contact_2746@localhost/res1 in
<iq from='alice_add_contact_2746@localhost' to='alice_add_contact_2746@localhost/res1' id='a1ffca0d79ef4db1afe81956674031a3' type='result'/>
*** User 2023-11-16 09:47:30.580 ***🔗
alice_add_contact_2746@localhost/res1 out
<iq to='alice_add_contact_2746@localhost' id='push6cc086e6d61fce8b' type='result'/>
*** User 2023-11-16 09:47:30.580 ***🔗
alice_add_contact_2746@localhost/res1 out
<iq type='get' id='728dd84833eca8c6e78610d567bcf3ff'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2023-11-16 09:47:30.583 ***🔗
alice_add_contact_2746@localhost/res1 in
<iq from='alice_add_contact_2746@localhost' to='alice_add_contact_2746@localhost/res1' id='728dd84833eca8c6e78610d567bcf3ff' type='result'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_add_contact_2746@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:47:30.583 ***🔗
bob_add_contact_2746@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:30.583 ***🔗
bob_add_contact_2746@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:47:30.583 ***🔗
alice_add_contact_2746@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:47:30.583 ***🔗
alice_add_contact_2746@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:47:30
=== successfully completed test case
=== === Returned value: ok