=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11040.1>},
{preset,"ldap_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@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.presence_SUITE.logs/run.2023-11-13_20.13.08/presence_suite.subscribe_relog.88962.html"},
{tc_group_properties,[{name,subscribe_group},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@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.presence_SUITE.logs/run.2023-11-13_20.13.08/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@94ef96fe7e6f.2023-11-13_20.03.17"
=== Started at 2023-11-13 20:13:10
*** User 2023-11-13 20:13:10.627 ***🔗
alicE_subscribe_relog_1527@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 20:13:10.628 ***🔗
alicE_subscribe_relog_1527@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e268daa7140cdce8' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:13:10.628 ***🔗
alicE_subscribe_relog_1527@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 20:13:10.628 ***🔗
alicE_subscribe_relog_1527@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTI3AG1hdHlncnlzYQ==</auth>
*** User 2023-11-13 20:13:10.629 ***🔗
alicE_subscribe_relog_1527@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:13:10.629 ***🔗
alicE_subscribe_relog_1527@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 20:13:10.629 ***🔗
alicE_subscribe_relog_1527@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ddd2b80a32d36cd' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1527@localhost'>
*** User 2023-11-13 20:13:10.629 ***🔗
alicE_subscribe_relog_1527@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 20:13:10.629 ***🔗
alicE_subscribe_relog_1527@localhost/res1 out
<iq type='set' id='14ca22c2b013d61e4539ca96edd7195f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 20:13:10.630 ***🔗
alicE_subscribe_relog_1527@localhost/res1 in
<iq id='14ca22c2b013d61e4539ca96edd7195f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1527@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 20:13:10.630 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<iq type='set' id='88a59530b66f981044e2666f2e068dda'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.630 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1527@localhost/res1' id='88a59530b66f981044e2666f2e068dda' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.630 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<presence/>
*** User 2023-11-13 20:13:10.631 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
<presence from='alice_subscribe_relog_1527@localhost/res1' to='alice_subscribe_relog_1527@localhost/res1'/>
*** User 2023-11-13 20:13:10.632 ***🔗
bOb_subscribe_relog_1527@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 20:13:10.632 ***🔗
bOb_subscribe_relog_1527@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbd73ae4f9f00bc6' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:13:10.632 ***🔗
bOb_subscribe_relog_1527@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 20:13:10.632 ***🔗
bOb_subscribe_relog_1527@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUyNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 20:13:10.633 ***🔗
bOb_subscribe_relog_1527@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:13:10.633 ***🔗
bOb_subscribe_relog_1527@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 20:13:10.634 ***🔗
bOb_subscribe_relog_1527@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe0528dc7a053ae0' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1527@localhost'>
*** User 2023-11-13 20:13:10.634 ***🔗
bOb_subscribe_relog_1527@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 20:13:10.634 ***🔗
bOb_subscribe_relog_1527@localhost/res1 out
<iq type='set' id='46ed0abf623e21f7c309f4ce583271a5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 20:13:10.634 ***🔗
bOb_subscribe_relog_1527@localhost/res1 in
<iq id='46ed0abf623e21f7c309f4ce583271a5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1527@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 20:13:10.634 ***🔗
bob_subscribe_relog_1527@localhost/res1 out
<iq type='set' id='d649b0e2c1c541ef59344c72f1543427'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.635 ***🔗
bob_subscribe_relog_1527@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1527@localhost/res1' id='d649b0e2c1c541ef59344c72f1543427' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.635 ***🔗
bob_subscribe_relog_1527@localhost/res1 out
<presence/>
*** User 2023-11-13 20:13:10.635 ***🔗
bob_subscribe_relog_1527@localhost/res1 in
<presence from='bob_subscribe_relog_1527@localhost/res1' to='bob_subscribe_relog_1527@localhost/res1'/>
*** User 2023-11-13 20:13:10.635 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<iq type='set' id='378a9ea849fb04afac22dbfed6be60a3'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1527@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 20:13:10.636 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
<iq from='alice_subscribe_relog_1527@localhost' to='alice_subscribe_relog_1527@localhost/res1' id='pushacb7949bda8aa265' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1527@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 20:13:10.636 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
<iq from='alice_subscribe_relog_1527@localhost' to='alice_subscribe_relog_1527@localhost/res1' id='378a9ea849fb04afac22dbfed6be60a3' type='result'/>
*** User 2023-11-13 20:13:10.636 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<iq to='alice_subscribe_relog_1527@localhost' id='pushacb7949bda8aa265' type='result'/>
*** User 2023-11-13 20:13:10.636 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1527@localhost'/>
*** User 2023-11-13 20:13:10.638 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
<iq from='alice_subscribe_relog_1527@localhost' to='alice_subscribe_relog_1527@localhost/res1' id='pushc7c2b67ddaf6ddcc' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1527@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 20:13:10.638 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
<iq to='alice_subscribe_relog_1527@localhost' id='pushc7c2b67ddaf6ddcc' type='result'/>
*** User 2023-11-13 20:13:10.638 ***🔗
bob_subscribe_relog_1527@localhost/res1 in
<presence from='alice_subscribe_relog_1527@localhost' to='bob_subscribe_relog_1527@localhost/res1' type='subscribe'/>
*** User 2023-11-13 20:13:10.638 ***🔗
bOb_subscribe_relog_1527@localhost/newbob 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 20:13:10.639 ***🔗
bOb_subscribe_relog_1527@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ffe1c166eb7b07e' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:13:10.639 ***🔗
bOb_subscribe_relog_1527@localhost/newbob 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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-13 20:13:10.639 ***🔗
bOb_subscribe_relog_1527@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUyNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 20:13:10.671 ***🔗
bOb_subscribe_relog_1527@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:13:10.671 ***🔗
bOb_subscribe_relog_1527@localhost/newbob 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 20:13:10.671 ***🔗
bOb_subscribe_relog_1527@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a0aa62c566e085f' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1527@localhost'>
*** User 2023-11-13 20:13:10.671 ***🔗
bOb_subscribe_relog_1527@localhost/newbob 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 20:13:10.672 ***🔗
bOb_subscribe_relog_1527@localhost/newbob out
<iq type='set' id='823ca23e5c9c51ea4a6015f2daa16c93'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-13 20:13:10.672 ***🔗
bOb_subscribe_relog_1527@localhost/newbob in
<iq id='823ca23e5c9c51ea4a6015f2daa16c93' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1527@localhost/newbob</jid>
</bind>
</iq>
*** User 2023-11-13 20:13:10.672 ***🔗
bob_subscribe_relog_1527@localhost/newbob out
<iq type='set' id='5b8331256c50172220d622342c7ee466'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.673 ***🔗
bob_subscribe_relog_1527@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1527@localhost/newbob' id='5b8331256c50172220d622342c7ee466' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 20:13:10.673 ***🔗
bob_subscribe_relog_1527@localhost/newbob out
<presence/>
*** User 2023-11-13 20:13:10.673 ***🔗
bob_subscribe_relog_1527@localhost/res1 in
<presence from='bob_subscribe_relog_1527@localhost/newbob' to='bob_subscribe_relog_1527@localhost/res1'/>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/newbob in
<presence from='alice_subscribe_relog_1527@localhost' to='bob_subscribe_relog_1527@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/newbob in
<presence from='bob_subscribe_relog_1527@localhost/newbob' to='bob_subscribe_relog_1527@localhost/newbob'/>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/newbob in
<presence from='bob_subscribe_relog_1527@localhost/res1' to='bob_subscribe_relog_1527@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-13T20:13:10.635462Z' from='bob_subscribe_relog_1527@localhost/res1'/>
</presence>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/newbob out
</stream:stream>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/newbob in
</stream:stream>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1527@localhost'/>
*** User 2023-11-13 20:13:10.674 ***🔗
bob_subscribe_relog_1527@localhost/res1 out
</stream:stream>
*** User 2023-11-13 20:13:10.676 ***🔗
bob_subscribe_relog_1527@localhost/res1 in
</stream:stream>
*** User 2023-11-13 20:13:10.676 ***🔗
alice_subscribe_relog_1527@localhost/res1 out
</stream:stream>
*** User 2023-11-13 20:13:10.676 ***🔗
alice_subscribe_relog_1527@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-13 20:13:10
=== successfully completed test case
=== === Returned value: ok