=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.74670.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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/presence_suite.subscribe_relog.54661.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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/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@e5832022abeb.2023-11-13_18.57.12"
=== Started at 2023-11-13 19:09:37
*** User 2023-11-13 19:09:37.874 ***🔗
alicE_subscribe_relog_2659@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 19:09:37.875 ***🔗
alicE_subscribe_relog_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48f5563169de08aa' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:09:37.875 ***🔗
alicE_subscribe_relog_2659@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 2023-11-13 19:09:37.875 ***🔗
alicE_subscribe_relog_2659@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjU5AG1hdHlncnlzYQ==</auth>
*** User 2023-11-13 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@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 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='570ad886bcb196b4' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2659@localhost'>
*** User 2023-11-13 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@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 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@localhost/res1 out
<iq type='set' id='c585a4529150e26823c32db15da27acc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:09:37.876 ***🔗
alicE_subscribe_relog_2659@localhost/res1 in
<iq id='c585a4529150e26823c32db15da27acc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2659@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:09:37.877 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<iq type='set' id='4d89284c0e0cbc1c36f5e667f2c8c0c8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.881 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2659@localhost/res1' id='4d89284c0e0cbc1c36f5e667f2c8c0c8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.881 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<presence/>
*** User 2023-11-13 19:09:37.882 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
<presence from='alice_subscribe_relog_2659@localhost/res1' to='alice_subscribe_relog_2659@localhost/res1'/>
*** User 2023-11-13 19:09:37.883 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.883 ***🔗
bOb_subscribe_relog_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80e8c7bad5e0d142' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:09:37.883 ***🔗
bOb_subscribe_relog_2659@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 2023-11-13 19:09:37.883 ***🔗
bOb_subscribe_relog_2659@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY1OQBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 19:09:37.884 ***🔗
bOb_subscribe_relog_2659@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:09:37.884 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.884 ***🔗
bOb_subscribe_relog_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cdbee2798f707857' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2659@localhost'>
*** User 2023-11-13 19:09:37.884 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.884 ***🔗
bOb_subscribe_relog_2659@localhost/res1 out
<iq type='set' id='cc1dd7cabe31f613a1eac6b315ebf682'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:09:37.885 ***🔗
bOb_subscribe_relog_2659@localhost/res1 in
<iq id='cc1dd7cabe31f613a1eac6b315ebf682' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2659@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:09:37.885 ***🔗
bob_subscribe_relog_2659@localhost/res1 out
<iq type='set' id='83927ed50a8860bfec204a4245682fd5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.885 ***🔗
bob_subscribe_relog_2659@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2659@localhost/res1' id='83927ed50a8860bfec204a4245682fd5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.885 ***🔗
bob_subscribe_relog_2659@localhost/res1 out
<presence/>
*** User 2023-11-13 19:09:37.886 ***🔗
bob_subscribe_relog_2659@localhost/res1 in
<presence from='bob_subscribe_relog_2659@localhost/res1' to='bob_subscribe_relog_2659@localhost/res1'/>
*** User 2023-11-13 19:09:37.886 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<iq type='set' id='1bb2697b5946798a949a09f8be0d40f2'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2659@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.888 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
<iq from='alice_subscribe_relog_2659@localhost' to='alice_subscribe_relog_2659@localhost/res1' id='pushe155a7ad77193290' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2659@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.888 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
<iq from='alice_subscribe_relog_2659@localhost' to='alice_subscribe_relog_2659@localhost/res1' id='1bb2697b5946798a949a09f8be0d40f2' type='result'/>
*** User 2023-11-13 19:09:37.888 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<iq to='alice_subscribe_relog_2659@localhost' id='pushe155a7ad77193290' type='result'/>
*** User 2023-11-13 19:09:37.888 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2659@localhost'/>
*** User 2023-11-13 19:09:37.891 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
<iq from='alice_subscribe_relog_2659@localhost' to='alice_subscribe_relog_2659@localhost/res1' id='push7730b5198d4c7117' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2659@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:09:37.891 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
<iq to='alice_subscribe_relog_2659@localhost' id='push7730b5198d4c7117' type='result'/>
*** User 2023-11-13 19:09:37.891 ***🔗
bob_subscribe_relog_2659@localhost/res1 in
<presence from='alice_subscribe_relog_2659@localhost' to='bob_subscribe_relog_2659@localhost/res1' type='subscribe'/>
*** User 2023-11-13 19:09:37.892 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.892 ***🔗
bOb_subscribe_relog_2659@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='707812e6dcda42d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:09:37.892 ***🔗
bOb_subscribe_relog_2659@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 2023-11-13 19:09:37.892 ***🔗
bOb_subscribe_relog_2659@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY1OQBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47f8a141006504e1' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2659@localhost'>
*** User 2023-11-13 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@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 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@localhost/newbob out
<iq type='set' id='76b26ee0ec3f7c6ef6bf887aaf92da61'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-13 19:09:37.893 ***🔗
bOb_subscribe_relog_2659@localhost/newbob in
<iq id='76b26ee0ec3f7c6ef6bf887aaf92da61' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2659@localhost/newbob</jid>
</bind>
</iq>
*** User 2023-11-13 19:09:37.893 ***🔗
bob_subscribe_relog_2659@localhost/newbob out
<iq type='set' id='5a4d96174dc447016be804882bce17dc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.894 ***🔗
bob_subscribe_relog_2659@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2659@localhost/newbob' id='5a4d96174dc447016be804882bce17dc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:09:37.894 ***🔗
bob_subscribe_relog_2659@localhost/newbob out
<presence/>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/res1 in
<presence from='bob_subscribe_relog_2659@localhost/newbob' to='bob_subscribe_relog_2659@localhost/res1'/>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/newbob in
<presence from='alice_subscribe_relog_2659@localhost' to='bob_subscribe_relog_2659@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/newbob in
<presence from='bob_subscribe_relog_2659@localhost/newbob' to='bob_subscribe_relog_2659@localhost/newbob'/>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/newbob in
<presence from='bob_subscribe_relog_2659@localhost/res1' to='bob_subscribe_relog_2659@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-13T19:09:37.886035Z' from='bob_subscribe_relog_2659@localhost/res1'/>
</presence>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/newbob out
</stream:stream>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/newbob in
</stream:stream>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2659@localhost'/>
*** User 2023-11-13 19:09:37.895 ***🔗
bob_subscribe_relog_2659@localhost/res1 out
</stream:stream>
*** User 2023-11-13 19:09:37.900 ***🔗
bob_subscribe_relog_2659@localhost/res1 in
</stream:stream>
*** User 2023-11-13 19:09:37.900 ***🔗
alice_subscribe_relog_2659@localhost/res1 out
</stream:stream>
*** User 2023-11-13 19:09:37.900 ***🔗
alice_subscribe_relog_2659@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-13 19:09:37
=== successfully completed test case
=== === Returned value: ok