=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11892.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@502658a9984c.2024-04-16_12.15.30/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.25.24/presence_suite.subscribe_relog.47363.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@502658a9984c.2024-04-16_12.15.30/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.25.24/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@502658a9984c.2024-04-16_12.15.30"
=== Started at 2024-04-16 12:25:25
*** User 2024-04-16 12:25:25.790 ***🔗
alicE_subscribe_relog_1394@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.791 ***🔗
alicE_subscribe_relog_1394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54e18506ed06f6d8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:25:25.791 ***🔗
alicE_subscribe_relog_1394@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 2024-04-16 12:25:25.791 ***🔗
alicE_subscribe_relog_1394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMzk0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 12:25:25.794 ***🔗
alicE_subscribe_relog_1394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:25:25.794 ***🔗
alicE_subscribe_relog_1394@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.795 ***🔗
alicE_subscribe_relog_1394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b74a551c7e8194f' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1394@localhost'>
*** User 2024-04-16 12:25:25.795 ***🔗
alicE_subscribe_relog_1394@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 2024-04-16 12:25:25.795 ***🔗
alicE_subscribe_relog_1394@localhost/res1 out
<iq type='set' id='9d11f83ee912f60a8dee13aa511fbbca'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:25:25.795 ***🔗
alicE_subscribe_relog_1394@localhost/res1 in
<iq id='9d11f83ee912f60a8dee13aa511fbbca' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:25:25.795 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<iq type='set' id='e1282677f4e5ec1370fcf28b1dad33cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.796 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1394@localhost/res1' id='e1282677f4e5ec1370fcf28b1dad33cd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.796 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<presence/>
*** User 2024-04-16 12:25:25.797 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
<presence from='alice_subscribe_relog_1394@localhost/res1' to='alice_subscribe_relog_1394@localhost/res1'/>
*** User 2024-04-16 12:25:25.798 ***🔗
bOb_subscribe_relog_1394@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.798 ***🔗
bOb_subscribe_relog_1394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a70fb99d67beeb28' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:25:25.798 ***🔗
bOb_subscribe_relog_1394@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 2024-04-16 12:25:25.798 ***🔗
bOb_subscribe_relog_1394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM5NABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 12:25:25.801 ***🔗
bOb_subscribe_relog_1394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:25:25.801 ***🔗
bOb_subscribe_relog_1394@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.801 ***🔗
bOb_subscribe_relog_1394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78f0cac30f5caae4' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1394@localhost'>
*** User 2024-04-16 12:25:25.801 ***🔗
bOb_subscribe_relog_1394@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 2024-04-16 12:25:25.801 ***🔗
bOb_subscribe_relog_1394@localhost/res1 out
<iq type='set' id='92de7f8d8489fcdeedd161a0018a535e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:25:25.802 ***🔗
bOb_subscribe_relog_1394@localhost/res1 in
<iq id='92de7f8d8489fcdeedd161a0018a535e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:25:25.802 ***🔗
bob_subscribe_relog_1394@localhost/res1 out
<iq type='set' id='e2bf7052a4efb8fa16991c1581000768'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.803 ***🔗
bob_subscribe_relog_1394@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1394@localhost/res1' id='e2bf7052a4efb8fa16991c1581000768' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.803 ***🔗
bob_subscribe_relog_1394@localhost/res1 out
<presence/>
*** User 2024-04-16 12:25:25.804 ***🔗
bob_subscribe_relog_1394@localhost/res1 in
<presence from='bob_subscribe_relog_1394@localhost/res1' to='bob_subscribe_relog_1394@localhost/res1'/>
*** User 2024-04-16 12:25:25.804 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<iq type='set' id='222f4eb683dfbf86cab9d04ef918d580'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1394@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:25:25.806 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
<iq from='alice_subscribe_relog_1394@localhost' to='alice_subscribe_relog_1394@localhost/res1' id='push2f94e48491fbe4eb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_1394@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:25:25.806 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
<iq from='alice_subscribe_relog_1394@localhost' to='alice_subscribe_relog_1394@localhost/res1' id='222f4eb683dfbf86cab9d04ef918d580' type='result'/>
*** User 2024-04-16 12:25:25.806 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<iq to='alice_subscribe_relog_1394@localhost' id='push2f94e48491fbe4eb' type='result'/>
*** User 2024-04-16 12:25:25.807 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1394@localhost'/>
*** User 2024-04-16 12:25:25.810 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
<iq from='alice_subscribe_relog_1394@localhost' to='alice_subscribe_relog_1394@localhost/res1' id='pushf51a7d2c6a9d914f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1394@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 12:25:25.810 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
<iq to='alice_subscribe_relog_1394@localhost' id='pushf51a7d2c6a9d914f' type='result'/>
*** User 2024-04-16 12:25:25.810 ***🔗
bob_subscribe_relog_1394@localhost/res1 in
<presence from='alice_subscribe_relog_1394@localhost' to='bob_subscribe_relog_1394@localhost/res1' type='subscribe'/>
*** User 2024-04-16 12:25:25.811 ***🔗
bOb_subscribe_relog_1394@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.811 ***🔗
bOb_subscribe_relog_1394@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fdcdacbd6aa5a8b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:25:25.811 ***🔗
bOb_subscribe_relog_1394@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 2024-04-16 12:25:25.811 ***🔗
bOb_subscribe_relog_1394@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM5NABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 12:25:25.813 ***🔗
bOb_subscribe_relog_1394@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:25:25.814 ***🔗
bOb_subscribe_relog_1394@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 12:25:25.814 ***🔗
bOb_subscribe_relog_1394@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60ee9b98bcc294e7' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1394@localhost'>
*** User 2024-04-16 12:25:25.814 ***🔗
bOb_subscribe_relog_1394@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 2024-04-16 12:25:25.814 ***🔗
bOb_subscribe_relog_1394@localhost/newbob out
<iq type='set' id='4ad82c36bb333b95a6e52c3426c47214'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-16 12:25:25.815 ***🔗
bOb_subscribe_relog_1394@localhost/newbob in
<iq id='4ad82c36bb333b95a6e52c3426c47214' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1394@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-16 12:25:25.815 ***🔗
bob_subscribe_relog_1394@localhost/newbob out
<iq type='set' id='42a3353bfa68570c7f60112a08b6645d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.815 ***🔗
bob_subscribe_relog_1394@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1394@localhost/newbob' id='42a3353bfa68570c7f60112a08b6645d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/newbob out
<presence/>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/res1 in
<presence from='bob_subscribe_relog_1394@localhost/newbob' to='bob_subscribe_relog_1394@localhost/res1'/>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/newbob in
<presence from='alice_subscribe_relog_1394@localhost' to='bob_subscribe_relog_1394@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/newbob in
<presence from='bob_subscribe_relog_1394@localhost/newbob' to='bob_subscribe_relog_1394@localhost/newbob'/>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/newbob in
<presence from='bob_subscribe_relog_1394@localhost/res1' to='bob_subscribe_relog_1394@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:25:25.803828Z' from='bob_subscribe_relog_1394@localhost/res1'/>
</presence>
*** User 2024-04-16 12:25:25.816 ***🔗
bob_subscribe_relog_1394@localhost/newbob out
</stream:stream>
*** User 2024-04-16 12:25:25.817 ***🔗
bob_subscribe_relog_1394@localhost/newbob in
</stream:stream>
*** User 2024-04-16 12:25:25.817 ***🔗
bob_subscribe_relog_1394@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1394@localhost'/>
*** User 2024-04-16 12:25:25.817 ***🔗
bob_subscribe_relog_1394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 12:25:25.819 ***🔗
bob_subscribe_relog_1394@localhost/res1 in
</stream:stream>
*** User 2024-04-16 12:25:25.819 ***🔗
alice_subscribe_relog_1394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 12:25:25.820 ***🔗
alice_subscribe_relog_1394@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 12:25:25
=== successfully completed test case
=== === Returned value: ok