=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.80030.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.43.03/presence_suite.subscribe_relog.120196.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.43.03/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@cec807ac1e64.2024-04-22_17.28.38"
=== Started at 2024-04-22 17:43:05
*** User 2024-04-22 17:43:05.688 ***🔗
alicE_subscribe_relog_2886@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-22 17:43:05.688 ***🔗
alicE_subscribe_relog_2886@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7de9867b2661083e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:43:05.688 ***🔗
alicE_subscribe_relog_2886@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-04-22 17:43:05.688 ***🔗
alicE_subscribe_relog_2886@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODg2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-22 17:43:05.689 ***🔗
alicE_subscribe_relog_2886@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:43:05.689 ***🔗
alicE_subscribe_relog_2886@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-22 17:43:05.690 ***🔗
alicE_subscribe_relog_2886@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96d5e88b8419a9f0' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2886@localhost'>
*** User 2024-04-22 17:43:05.690 ***🔗
alicE_subscribe_relog_2886@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-22 17:43:05.690 ***🔗
alicE_subscribe_relog_2886@localhost/res1 out
<iq type='set' id='15c04031ced22094e85931c7439eadf1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:43:05.690 ***🔗
alicE_subscribe_relog_2886@localhost/res1 in
<iq id='15c04031ced22094e85931c7439eadf1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2886@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:43:05.690 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<iq type='set' id='9d8aae3b5cdde3b0dda41ceb89067f0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.691 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2886@localhost/res1' id='9d8aae3b5cdde3b0dda41ceb89067f0c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.691 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<presence/>
*** User 2024-04-22 17:43:05.692 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
<presence from='alice_subscribe_relog_2886@localhost/res1' to='alice_subscribe_relog_2886@localhost/res1'/>
*** User 2024-04-22 17:43:05.693 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.693 ***🔗
bOb_subscribe_relog_2886@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b72d6ba085bef591' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:43:05.693 ***🔗
bOb_subscribe_relog_2886@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-04-22 17:43:05.693 ***🔗
bOb_subscribe_relog_2886@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edcfcc8a359acb18' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2886@localhost'>
*** User 2024-04-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@localhost/res1 out
<iq type='set' id='b89bc2d84c95fbe6cc462b279c110e8c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 17:43:05.695 ***🔗
bOb_subscribe_relog_2886@localhost/res1 in
<iq id='b89bc2d84c95fbe6cc462b279c110e8c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2886@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 17:43:05.695 ***🔗
bob_subscribe_relog_2886@localhost/res1 out
<iq type='set' id='cb11e88adc87698802324c2f1d680e56'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.696 ***🔗
bob_subscribe_relog_2886@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2886@localhost/res1' id='cb11e88adc87698802324c2f1d680e56' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.696 ***🔗
bob_subscribe_relog_2886@localhost/res1 out
<presence/>
*** User 2024-04-22 17:43:05.698 ***🔗
bob_subscribe_relog_2886@localhost/res1 in
<presence from='bob_subscribe_relog_2886@localhost/res1' to='bob_subscribe_relog_2886@localhost/res1'/>
*** User 2024-04-22 17:43:05.698 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<iq type='set' id='3efab5e725faea88076d99d524cb199b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2886@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 17:43:05.711 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
<iq from='alice_subscribe_relog_2886@localhost' to='alice_subscribe_relog_2886@localhost/res1' id='push99cadd6568b2a9ce' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2886@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 17:43:05.711 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
<iq from='alice_subscribe_relog_2886@localhost' to='alice_subscribe_relog_2886@localhost/res1' id='3efab5e725faea88076d99d524cb199b' type='result'/>
*** User 2024-04-22 17:43:05.712 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<iq to='alice_subscribe_relog_2886@localhost' id='push99cadd6568b2a9ce' type='result'/>
*** User 2024-04-22 17:43:05.712 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2886@localhost'/>
*** User 2024-04-22 17:43:05.719 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
<iq from='alice_subscribe_relog_2886@localhost' to='alice_subscribe_relog_2886@localhost/res1' id='push023b949521dd5077' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2886@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-22 17:43:05.719 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
<iq to='alice_subscribe_relog_2886@localhost' id='push023b949521dd5077' type='result'/>
*** User 2024-04-22 17:43:05.719 ***🔗
bob_subscribe_relog_2886@localhost/res1 in
<presence from='alice_subscribe_relog_2886@localhost' to='bob_subscribe_relog_2886@localhost/res1' type='subscribe'/>
*** User 2024-04-22 17:43:05.742 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.742 ***🔗
bOb_subscribe_relog_2886@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2df1d00e8a4527c0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:43:05.743 ***🔗
bOb_subscribe_relog_2886@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-04-22 17:43:05.743 ***🔗
bOb_subscribe_relog_2886@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-22 17:43:05.744 ***🔗
bOb_subscribe_relog_2886@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:43:05.744 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.744 ***🔗
bOb_subscribe_relog_2886@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='989bbe294891f029' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2886@localhost'>
*** User 2024-04-22 17:43:05.744 ***🔗
bOb_subscribe_relog_2886@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-22 17:43:05.744 ***🔗
bOb_subscribe_relog_2886@localhost/newbob out
<iq type='set' id='07f25d12d5486301bb50862cf9466bc3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-22 17:43:05.745 ***🔗
bOb_subscribe_relog_2886@localhost/newbob in
<iq id='07f25d12d5486301bb50862cf9466bc3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2886@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-22 17:43:05.745 ***🔗
bob_subscribe_relog_2886@localhost/newbob out
<iq type='set' id='f5c7972e3468b6b3118739580ed45ab9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.746 ***🔗
bob_subscribe_relog_2886@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2886@localhost/newbob' id='f5c7972e3468b6b3118739580ed45ab9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 17:43:05.746 ***🔗
bob_subscribe_relog_2886@localhost/newbob out
<presence/>
*** User 2024-04-22 17:43:05.747 ***🔗
bob_subscribe_relog_2886@localhost/res1 in
<presence from='bob_subscribe_relog_2886@localhost/newbob' to='bob_subscribe_relog_2886@localhost/res1'/>
*** User 2024-04-22 17:43:05.747 ***🔗
bob_subscribe_relog_2886@localhost/newbob in
<presence from='alice_subscribe_relog_2886@localhost' to='bob_subscribe_relog_2886@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-22 17:43:05.747 ***🔗
bob_subscribe_relog_2886@localhost/newbob in
<presence from='bob_subscribe_relog_2886@localhost/res1' to='bob_subscribe_relog_2886@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:43:05.697552Z' from='bob_subscribe_relog_2886@localhost/res1'/>
</presence>
*** User 2024-04-22 17:43:05.747 ***🔗
bob_subscribe_relog_2886@localhost/newbob in
<presence from='bob_subscribe_relog_2886@localhost/newbob' to='bob_subscribe_relog_2886@localhost/newbob'/>
*** User 2024-04-22 17:43:05.748 ***🔗
bob_subscribe_relog_2886@localhost/newbob out
</stream:stream>
*** User 2024-04-22 17:43:05.748 ***🔗
bob_subscribe_relog_2886@localhost/newbob in
</stream:stream>
*** User 2024-04-22 17:43:05.748 ***🔗
bob_subscribe_relog_2886@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2886@localhost'/>
*** User 2024-04-22 17:43:05.748 ***🔗
bob_subscribe_relog_2886@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:43:05.755 ***🔗
bob_subscribe_relog_2886@localhost/res1 in
</stream:stream>
*** User 2024-04-22 17:43:05.755 ***🔗
alice_subscribe_relog_2886@localhost/res1 out
</stream:stream>
*** User 2024-04-22 17:43:05.755 ***🔗
alice_subscribe_relog_2886@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 17:43:05
=== successfully completed test case
=== === Returned value: ok