=== Test case: presence_SUITE:add_contact/1 (click for source code)
=== Config value:
[{watchdog,<0.6669.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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.04/presence_suite.add_contact.207234.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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.04/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@64fc573c30dd.2024-04-25_16.15.31"
=== Started at 2024-04-25 16:29:05
*** User 2024-04-25 16:29:05.846 ***🔗
alicE_add_contact_2908@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 2024-04-25 16:29:05.847 ***🔗
alicE_add_contact_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a636e57bd9d0aeb' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:29:05.847 ***🔗
alicE_add_contact_2908@domain.example.com/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 2024-04-25 16:29:05.847 ***🔗
alicE_add_contact_2908@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0XzI5MDgAbWF0eWdyeXNh</auth>
*** User 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@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 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a7186319396eaccb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_contact_2908@domain.example.com'>
*** User 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@domain.example.com/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 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@domain.example.com/res1 out
<iq type='set' id='335cbeb84107e0c9c8d70752a791aef0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:29:05.848 ***🔗
alicE_add_contact_2908@domain.example.com/res1 in
<iq id='335cbeb84107e0c9c8d70752a791aef0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_contact_2908@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:29:05.849 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
<iq type='set' id='1d133029d853f26a5efc50bcb6a0912f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:05.849 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_contact_2908@domain.example.com/res1' id='1d133029d853f26a5efc50bcb6a0912f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:05.849 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:29:05.850 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
<presence from='alice_add_contact_2908@domain.example.com/res1' to='alice_add_contact_2908@domain.example.com/res1'/>
*** User 2024-04-25 16:29:05.850 ***🔗
bOb_add_contact_2908@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 2024-04-25 16:29:05.851 ***🔗
bOb_add_contact_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4f74fd587c7a80d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:29:05.851 ***🔗
bOb_add_contact_2908@domain.example.com/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 2024-04-25 16:29:05.851 ***🔗
bOb_add_contact_2908@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF8yOTA4AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-25 16:29:05.852 ***🔗
bOb_add_contact_2908@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:29:05.852 ***🔗
bOb_add_contact_2908@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 2024-04-25 16:29:05.852 ***🔗
bOb_add_contact_2908@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f1c10c9ac30c2c2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_contact_2908@domain.example.com'>
*** User 2024-04-25 16:29:05.852 ***🔗
bOb_add_contact_2908@domain.example.com/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 2024-04-25 16:29:05.853 ***🔗
bOb_add_contact_2908@domain.example.com/res1 out
<iq type='set' id='47827d92183081e13fb3a8bd804905c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:29:05.853 ***🔗
bOb_add_contact_2908@domain.example.com/res1 in
<iq id='47827d92183081e13fb3a8bd804905c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_contact_2908@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:29:05.853 ***🔗
bob_add_contact_2908@domain.example.com/res1 out
<iq type='set' id='71a8b65a72ae5e30a25d109f6648872f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:05.854 ***🔗
bob_add_contact_2908@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_contact_2908@domain.example.com/res1' id='71a8b65a72ae5e30a25d109f6648872f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:05.854 ***🔗
bob_add_contact_2908@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:29:05.855 ***🔗
bob_add_contact_2908@domain.example.com/res1 in
<presence from='bob_add_contact_2908@domain.example.com/res1' to='bob_add_contact_2908@domain.example.com/res1'/>
*** User 2024-04-25 16:29:05.855 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
<iq type='set' id='73316229e976ab61bbbc28c27b39f44e'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_add_contact_2908@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:05.859 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
<iq from='alice_add_contact_2908@domain.example.com' to='alice_add_contact_2908@domain.example.com/res1' id='push628665cbdb43859b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_add_contact_2908@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:05.859 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
<iq from='alice_add_contact_2908@domain.example.com' to='alice_add_contact_2908@domain.example.com/res1' id='73316229e976ab61bbbc28c27b39f44e' type='result'/>
*** User 2024-04-25 16:29:05.859 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
<iq to='alice_add_contact_2908@domain.example.com' id='push628665cbdb43859b' type='result'/>
*** User 2024-04-25 16:29:05.859 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
<iq type='get' id='ec974f9c7e1e2b3fe93a9205b7ad152b'>
<query xmlns='jabber:iq:roster'/>
</iq>
*** User 2024-04-25 16:29:05.861 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
<iq from='alice_add_contact_2908@domain.example.com' to='alice_add_contact_2908@domain.example.com/res1' id='ec974f9c7e1e2b3fe93a9205b7ad152b' type='result'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_add_contact_2908@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:05.862 ***🔗
bob_add_contact_2908@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:29:05.862 ***🔗
bob_add_contact_2908@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 16:29:05.862 ***🔗
alice_add_contact_2908@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:29:05.862 ***🔗
alice_add_contact_2908@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:29:05
=== successfully completed test case
=== === Returned value: ok