=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.75866.0>},
{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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/presence_suite.subscribe_relog.106756.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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/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@c3f703cbaa20.2024-03-06_10.06.32"
=== Started at 2024-03-06 10:21:23
*** User 2024-03-06 10:21:23.737 ***🔗
alicE_subscribe_relog_2854@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-06 10:21:23.738 ***🔗
alicE_subscribe_relog_2854@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23ffa3d9a0717e70' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:21:23.738 ***🔗
alicE_subscribe_relog_2854@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-06 10:21:23.738 ***🔗
alicE_subscribe_relog_2854@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODU0AG1hdHlncnlzYQ==</auth>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@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-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a9e0fbdb0e4c131' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2854@localhost'>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@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-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@localhost/res1 out
<iq type='set' id='d55b3c5d149c1883b626f3b40bd7460d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 10:21:23.739 ***🔗
alicE_subscribe_relog_2854@localhost/res1 in
<iq id='d55b3c5d149c1883b626f3b40bd7460d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2854@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 10:21:23.740 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<iq type='set' id='09c8770b9a27da95f4b9bafa86cae65d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.740 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2854@localhost/res1' id='09c8770b9a27da95f4b9bafa86cae65d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.740 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<presence/>
*** User 2024-03-06 10:21:23.741 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
<presence from='alice_subscribe_relog_2854@localhost/res1' to='alice_subscribe_relog_2854@localhost/res1'/>
*** User 2024-03-06 10:21:23.741 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61e16b1916a986c7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg1NABtYWtyb2xpa2E=</auth>
*** User 2024-03-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.742 ***🔗
bOb_subscribe_relog_2854@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='687a485533211689' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2854@localhost'>
*** User 2024-03-06 10:21:23.743 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.743 ***🔗
bOb_subscribe_relog_2854@localhost/res1 out
<iq type='set' id='cd7b096fa692bbd6d5b36093ed6e95f3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 10:21:23.743 ***🔗
bOb_subscribe_relog_2854@localhost/res1 in
<iq id='cd7b096fa692bbd6d5b36093ed6e95f3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2854@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 10:21:23.743 ***🔗
bob_subscribe_relog_2854@localhost/res1 out
<iq type='set' id='5b0efdf9e5150486428691560c5cd531'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.743 ***🔗
bob_subscribe_relog_2854@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2854@localhost/res1' id='5b0efdf9e5150486428691560c5cd531' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.743 ***🔗
bob_subscribe_relog_2854@localhost/res1 out
<presence/>
*** User 2024-03-06 10:21:23.744 ***🔗
bob_subscribe_relog_2854@localhost/res1 in
<presence from='bob_subscribe_relog_2854@localhost/res1' to='bob_subscribe_relog_2854@localhost/res1'/>
*** User 2024-03-06 10:21:23.744 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<iq type='set' id='af0935dc177d300596b1be7a930d5c18'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2854@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.746 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
<iq from='alice_subscribe_relog_2854@localhost' to='alice_subscribe_relog_2854@localhost/res1' id='pushc3da75beb917ec24' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2854@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.746 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
<iq from='alice_subscribe_relog_2854@localhost' to='alice_subscribe_relog_2854@localhost/res1' id='af0935dc177d300596b1be7a930d5c18' type='result'/>
*** User 2024-03-06 10:21:23.746 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<iq to='alice_subscribe_relog_2854@localhost' id='pushc3da75beb917ec24' type='result'/>
*** User 2024-03-06 10:21:23.746 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2854@localhost'/>
*** User 2024-03-06 10:21:23.749 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
<iq from='alice_subscribe_relog_2854@localhost' to='alice_subscribe_relog_2854@localhost/res1' id='pushc26ba0ea53d864af' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2854@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-06 10:21:23.749 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
<iq to='alice_subscribe_relog_2854@localhost' id='pushc26ba0ea53d864af' type='result'/>
*** User 2024-03-06 10:21:23.749 ***🔗
bob_subscribe_relog_2854@localhost/res1 in
<presence from='alice_subscribe_relog_2854@localhost' to='bob_subscribe_relog_2854@localhost/res1' type='subscribe'/>
*** User 2024-03-06 10:21:23.750 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.750 ***🔗
bOb_subscribe_relog_2854@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ed918dce0b40eb4' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:21:23.750 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.750 ***🔗
bOb_subscribe_relog_2854@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg1NABtYWtyb2xpa2E=</auth>
*** User 2024-03-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38f26bece26b3bf1' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2854@localhost'>
*** User 2024-03-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@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-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@localhost/newbob out
<iq type='set' id='c1cffe411404523213434f15da39f74c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-06 10:21:23.751 ***🔗
bOb_subscribe_relog_2854@localhost/newbob in
<iq id='c1cffe411404523213434f15da39f74c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2854@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-03-06 10:21:23.751 ***🔗
bob_subscribe_relog_2854@localhost/newbob out
<iq type='set' id='5ad72ffc4cc39aea4706f9b0b93bdc75'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.752 ***🔗
bob_subscribe_relog_2854@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2854@localhost/newbob' id='5ad72ffc4cc39aea4706f9b0b93bdc75' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:21:23.752 ***🔗
bob_subscribe_relog_2854@localhost/newbob out
<presence/>
*** User 2024-03-06 10:21:23.752 ***🔗
bob_subscribe_relog_2854@localhost/res1 in
<presence from='bob_subscribe_relog_2854@localhost/newbob' to='bob_subscribe_relog_2854@localhost/res1'/>
*** User 2024-03-06 10:21:23.752 ***🔗
bob_subscribe_relog_2854@localhost/newbob in
<presence from='alice_subscribe_relog_2854@localhost' to='bob_subscribe_relog_2854@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-03-06 10:21:23.752 ***🔗
bob_subscribe_relog_2854@localhost/newbob in
<presence from='bob_subscribe_relog_2854@localhost/newbob' to='bob_subscribe_relog_2854@localhost/newbob'/>
*** User 2024-03-06 10:21:23.753 ***🔗
bob_subscribe_relog_2854@localhost/newbob in
<presence from='bob_subscribe_relog_2854@localhost/res1' to='bob_subscribe_relog_2854@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-03-06T10:21:23.744226Z' from='bob_subscribe_relog_2854@localhost/res1'/>
</presence>
*** User 2024-03-06 10:21:23.753 ***🔗
bob_subscribe_relog_2854@localhost/newbob out
</stream:stream>
*** User 2024-03-06 10:21:23.753 ***🔗
bob_subscribe_relog_2854@localhost/newbob in
</stream:stream>
*** User 2024-03-06 10:21:23.753 ***🔗
bob_subscribe_relog_2854@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2854@localhost'/>
*** User 2024-03-06 10:21:23.753 ***🔗
bob_subscribe_relog_2854@localhost/res1 out
</stream:stream>
*** User 2024-03-06 10:21:23.757 ***🔗
bob_subscribe_relog_2854@localhost/res1 in
</stream:stream>
*** User 2024-03-06 10:21:23.757 ***🔗
alice_subscribe_relog_2854@localhost/res1 out
</stream:stream>
*** User 2024-03-06 10:21:23.757 ***🔗
alice_subscribe_relog_2854@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-06 10:21:23
=== successfully completed test case
=== === Returned value: ok