=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.69719.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.presence_SUITE.logs/run.2024-03-11_09.18.29/presence_suite.subscribe_relog.115075.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.presence_SUITE.logs/run.2024-03-11_09.18.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@fe524ba9ae35.2024-03-11_09.05.30"
=== Started at 2024-03-11 09:18:31
*** User 2024-03-11 09:18:31.654 ***🔗
alicE_subscribe_relog_2525@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-03-11 09:18:31.655 ***🔗
alicE_subscribe_relog_2525@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7aafa696469407a3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:18:31.655 ***🔗
alicE_subscribe_relog_2525@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 2024-03-11 09:18:31.655 ***🔗
alicE_subscribe_relog_2525@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNTI1AG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@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-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='832f0f03bf09ce6e' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2525@localhost'>
*** User 2024-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@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-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@localhost/res1 out
<iq type='set' id='842d2d57bc08a6dbb422ee8f6fe6463d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:18:31.656 ***🔗
alicE_subscribe_relog_2525@localhost/res1 in
<iq id='842d2d57bc08a6dbb422ee8f6fe6463d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2525@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:18:31.656 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<iq type='set' id='84d306ecc963ee0bb417de5cfc3143b6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.657 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2525@localhost/res1' id='84d306ecc963ee0bb417de5cfc3143b6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.657 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<presence/>
*** User 2024-03-11 09:18:31.658 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
<presence from='alice_subscribe_relog_2525@localhost/res1' to='alice_subscribe_relog_2525@localhost/res1'/>
*** User 2024-03-11 09:18:31.659 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.659 ***🔗
bOb_subscribe_relog_2525@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45b73cd0d4f22503' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:18:31.659 ***🔗
bOb_subscribe_relog_2525@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 2024-03-11 09:18:31.659 ***🔗
bOb_subscribe_relog_2525@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjUyNQBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 09:18:31.660 ***🔗
bOb_subscribe_relog_2525@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:18:31.660 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.660 ***🔗
bOb_subscribe_relog_2525@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73c293be37bf7047' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2525@localhost'>
*** User 2024-03-11 09:18:31.661 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.661 ***🔗
bOb_subscribe_relog_2525@localhost/res1 out
<iq type='set' id='bd91ce2f7ee533c4fc047ef2d0250b1a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:18:31.661 ***🔗
bOb_subscribe_relog_2525@localhost/res1 in
<iq id='bd91ce2f7ee533c4fc047ef2d0250b1a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2525@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:18:31.661 ***🔗
bob_subscribe_relog_2525@localhost/res1 out
<iq type='set' id='514431d8a8f494ae8ce59a336c4fe9f2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.667 ***🔗
bob_subscribe_relog_2525@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2525@localhost/res1' id='514431d8a8f494ae8ce59a336c4fe9f2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.668 ***🔗
bob_subscribe_relog_2525@localhost/res1 out
<presence/>
*** User 2024-03-11 09:18:31.669 ***🔗
bob_subscribe_relog_2525@localhost/res1 in
<presence from='bob_subscribe_relog_2525@localhost/res1' to='bob_subscribe_relog_2525@localhost/res1'/>
*** User 2024-03-11 09:18:31.669 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<iq type='set' id='86372fc46b209af2dad3585bba2bf374'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2525@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 09:18:31.674 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
<iq from='alice_subscribe_relog_2525@localhost' to='alice_subscribe_relog_2525@localhost/res1' id='pusha365e19f06780847' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2525@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 09:18:31.674 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
<iq from='alice_subscribe_relog_2525@localhost' to='alice_subscribe_relog_2525@localhost/res1' id='86372fc46b209af2dad3585bba2bf374' type='result'/>
*** User 2024-03-11 09:18:31.674 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<iq to='alice_subscribe_relog_2525@localhost' id='pusha365e19f06780847' type='result'/>
*** User 2024-03-11 09:18:31.674 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2525@localhost'/>
*** User 2024-03-11 09:18:31.679 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
<iq from='alice_subscribe_relog_2525@localhost' to='alice_subscribe_relog_2525@localhost/res1' id='push78a55b672bdb7c40' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2525@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 09:18:31.679 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
<iq to='alice_subscribe_relog_2525@localhost' id='push78a55b672bdb7c40' type='result'/>
*** User 2024-03-11 09:18:31.679 ***🔗
bob_subscribe_relog_2525@localhost/res1 in
<presence from='alice_subscribe_relog_2525@localhost' to='bob_subscribe_relog_2525@localhost/res1' type='subscribe'/>
*** User 2024-03-11 09:18:31.679 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.680 ***🔗
bOb_subscribe_relog_2525@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57d1232161ca2bbb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:18:31.680 ***🔗
bOb_subscribe_relog_2525@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>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-03-11 09:18:31.680 ***🔗
bOb_subscribe_relog_2525@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjUyNQBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 09:18:31.680 ***🔗
bOb_subscribe_relog_2525@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:18:31.680 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.681 ***🔗
bOb_subscribe_relog_2525@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fdc52a14821f8ce' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2525@localhost'>
*** User 2024-03-11 09:18:31.681 ***🔗
bOb_subscribe_relog_2525@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-03-11 09:18:31.681 ***🔗
bOb_subscribe_relog_2525@localhost/newbob out
<iq type='set' id='3ce369b5462766a332e3220f33e43d46'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-11 09:18:31.681 ***🔗
bOb_subscribe_relog_2525@localhost/newbob in
<iq id='3ce369b5462766a332e3220f33e43d46' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2525@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-03-11 09:18:31.682 ***🔗
bob_subscribe_relog_2525@localhost/newbob out
<iq type='set' id='854838ea17ed7de85f1b8feec9873afb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.682 ***🔗
bob_subscribe_relog_2525@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2525@localhost/newbob' id='854838ea17ed7de85f1b8feec9873afb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:31.682 ***🔗
bob_subscribe_relog_2525@localhost/newbob out
<presence/>
*** User 2024-03-11 09:18:31.683 ***🔗
bob_subscribe_relog_2525@localhost/res1 in
<presence from='bob_subscribe_relog_2525@localhost/newbob' to='bob_subscribe_relog_2525@localhost/res1'/>
*** User 2024-03-11 09:18:31.683 ***🔗
bob_subscribe_relog_2525@localhost/newbob in
<presence from='alice_subscribe_relog_2525@localhost' to='bob_subscribe_relog_2525@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-03-11 09:18:31.683 ***🔗
bob_subscribe_relog_2525@localhost/newbob in
<presence from='bob_subscribe_relog_2525@localhost/newbob' to='bob_subscribe_relog_2525@localhost/newbob'/>
*** User 2024-03-11 09:18:31.684 ***🔗
bob_subscribe_relog_2525@localhost/newbob in
<presence from='bob_subscribe_relog_2525@localhost/res1' to='bob_subscribe_relog_2525@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T09:18:31.668866Z' from='bob_subscribe_relog_2525@localhost/res1'/>
</presence>
*** User 2024-03-11 09:18:31.684 ***🔗
bob_subscribe_relog_2525@localhost/newbob out
</stream:stream>
*** User 2024-03-11 09:18:31.684 ***🔗
bob_subscribe_relog_2525@localhost/newbob in
</stream:stream>
*** User 2024-03-11 09:18:31.684 ***🔗
bob_subscribe_relog_2525@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2525@localhost'/>
*** User 2024-03-11 09:18:31.685 ***🔗
bob_subscribe_relog_2525@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:18:31.689 ***🔗
bob_subscribe_relog_2525@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:18:31.689 ***🔗
alice_subscribe_relog_2525@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:18:31.689 ***🔗
alice_subscribe_relog_2525@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 09:18:31
=== successfully completed test case
=== === Returned value: ok