=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.9214.2>},
{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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.15/presence_suite.subscribe_relog.192642.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.19.15/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@fca70da71937.2023-11-16_09.05.55"
=== Started at 2023-11-16 09:19:17
*** User 2023-11-16 09:19:17.539 ***🔗
alicE_subscribe_relog_2807@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-16 09:19:17.540 ***🔗
alicE_subscribe_relog_2807@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b606658ce19880e' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:17.540 ***🔗
alicE_subscribe_relog_2807@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-16 09:19:17.540 ***🔗
alicE_subscribe_relog_2807@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODA3AG1hdHlncnlzYQ==</auth>
*** User 2023-11-16 09:19:17.541 ***🔗
alicE_subscribe_relog_2807@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:17.541 ***🔗
alicE_subscribe_relog_2807@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-16 09:19:17.541 ***🔗
alicE_subscribe_relog_2807@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='789f559956ebc2f6' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2807@localhost'>
*** User 2023-11-16 09:19:17.541 ***🔗
alicE_subscribe_relog_2807@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-16 09:19:17.541 ***🔗
alicE_subscribe_relog_2807@localhost/res1 out
<iq type='set' id='ad8315ae3fc42c15eeb047af22b83082'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:17.542 ***🔗
alicE_subscribe_relog_2807@localhost/res1 in
<iq id='ad8315ae3fc42c15eeb047af22b83082' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2807@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:17.542 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<iq type='set' id='a5fca01fd960c628fe289321e9450087'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.542 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2807@localhost/res1' id='a5fca01fd960c628fe289321e9450087' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.542 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<presence/>
*** User 2023-11-16 09:19:17.543 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
<presence from='alice_subscribe_relog_2807@localhost/res1' to='alice_subscribe_relog_2807@localhost/res1'/>
*** User 2023-11-16 09:19:17.544 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.544 ***🔗
bOb_subscribe_relog_2807@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c0e942945d6709d3' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:17.544 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.544 ***🔗
bOb_subscribe_relog_2807@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgwNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:19:17.545 ***🔗
bOb_subscribe_relog_2807@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:17.545 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.545 ***🔗
bOb_subscribe_relog_2807@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8ad8fdf6b039ea8' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2807@localhost'>
*** User 2023-11-16 09:19:17.545 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.545 ***🔗
bOb_subscribe_relog_2807@localhost/res1 out
<iq type='set' id='914f85f114b28f22a4f13d5bb342d9e6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:17.546 ***🔗
bOb_subscribe_relog_2807@localhost/res1 in
<iq id='914f85f114b28f22a4f13d5bb342d9e6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2807@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:17.546 ***🔗
bob_subscribe_relog_2807@localhost/res1 out
<iq type='set' id='e6691c66f8dc4e9c6339b81479ec3d9b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.546 ***🔗
bob_subscribe_relog_2807@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2807@localhost/res1' id='e6691c66f8dc4e9c6339b81479ec3d9b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.547 ***🔗
bob_subscribe_relog_2807@localhost/res1 out
<presence/>
*** User 2023-11-16 09:19:17.547 ***🔗
bob_subscribe_relog_2807@localhost/res1 in
<presence from='bob_subscribe_relog_2807@localhost/res1' to='bob_subscribe_relog_2807@localhost/res1'/>
*** User 2023-11-16 09:19:17.547 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<iq type='set' id='04b1c6c505852ac54ff4a7142127f677'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2807@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:17.553 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
<iq from='alice_subscribe_relog_2807@localhost' to='alice_subscribe_relog_2807@localhost/res1' id='push09517af0d9176022' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2807@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:17.553 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
<iq from='alice_subscribe_relog_2807@localhost' to='alice_subscribe_relog_2807@localhost/res1' id='04b1c6c505852ac54ff4a7142127f677' type='result'/>
*** User 2023-11-16 09:19:17.553 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<iq to='alice_subscribe_relog_2807@localhost' id='push09517af0d9176022' type='result'/>
*** User 2023-11-16 09:19:17.553 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2807@localhost'/>
*** User 2023-11-16 09:19:17.557 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
<iq from='alice_subscribe_relog_2807@localhost' to='alice_subscribe_relog_2807@localhost/res1' id='push3692e64e405f45b1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2807@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-16 09:19:17.557 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
<iq to='alice_subscribe_relog_2807@localhost' id='push3692e64e405f45b1' type='result'/>
*** User 2023-11-16 09:19:17.557 ***🔗
bob_subscribe_relog_2807@localhost/res1 in
<presence from='alice_subscribe_relog_2807@localhost' to='bob_subscribe_relog_2807@localhost/res1' type='subscribe'/>
*** User 2023-11-16 09:19:17.557 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.558 ***🔗
bOb_subscribe_relog_2807@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7939fdf312aeb2f1' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:19:17.558 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.558 ***🔗
bOb_subscribe_relog_2807@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgwNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:19:17.559 ***🔗
bOb_subscribe_relog_2807@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:19:17.559 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.559 ***🔗
bOb_subscribe_relog_2807@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4047824859dfe75' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2807@localhost'>
*** User 2023-11-16 09:19:17.559 ***🔗
bOb_subscribe_relog_2807@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-16 09:19:17.559 ***🔗
bOb_subscribe_relog_2807@localhost/newbob out
<iq type='set' id='2258fbd13a3f7f8e660e52d0f1e11318'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-16 09:19:17.560 ***🔗
bOb_subscribe_relog_2807@localhost/newbob in
<iq id='2258fbd13a3f7f8e660e52d0f1e11318' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2807@localhost/newbob</jid>
</bind>
</iq>
*** User 2023-11-16 09:19:17.560 ***🔗
bob_subscribe_relog_2807@localhost/newbob out
<iq type='set' id='de86d3d4db04b6f7c5ca66134ab52530'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.560 ***🔗
bob_subscribe_relog_2807@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2807@localhost/newbob' id='de86d3d4db04b6f7c5ca66134ab52530' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:19:17.560 ***🔗
bob_subscribe_relog_2807@localhost/newbob out
<presence/>
*** User 2023-11-16 09:19:17.561 ***🔗
bob_subscribe_relog_2807@localhost/res1 in
<presence from='bob_subscribe_relog_2807@localhost/newbob' to='bob_subscribe_relog_2807@localhost/res1'/>
*** User 2023-11-16 09:19:17.561 ***🔗
bob_subscribe_relog_2807@localhost/newbob in
<presence from='alice_subscribe_relog_2807@localhost' to='bob_subscribe_relog_2807@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-16 09:19:17.561 ***🔗
bob_subscribe_relog_2807@localhost/newbob in
<presence from='bob_subscribe_relog_2807@localhost/newbob' to='bob_subscribe_relog_2807@localhost/newbob'/>
*** User 2023-11-16 09:19:17.561 ***🔗
bob_subscribe_relog_2807@localhost/newbob in
<presence from='bob_subscribe_relog_2807@localhost/res1' to='bob_subscribe_relog_2807@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-16T09:19:17.547561Z' from='bob_subscribe_relog_2807@localhost/res1'/>
</presence>
*** User 2023-11-16 09:19:17.562 ***🔗
bob_subscribe_relog_2807@localhost/newbob out
</stream:stream>
*** User 2023-11-16 09:19:17.562 ***🔗
bob_subscribe_relog_2807@localhost/newbob in
</stream:stream>
*** User 2023-11-16 09:19:17.562 ***🔗
bob_subscribe_relog_2807@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2807@localhost'/>
*** User 2023-11-16 09:19:17.562 ***🔗
bob_subscribe_relog_2807@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:19:17.565 ***🔗
bob_subscribe_relog_2807@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:19:17.565 ***🔗
alice_subscribe_relog_2807@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:19:17.565 ***🔗
alice_subscribe_relog_2807@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:19:17
=== successfully completed test case
=== === Returned value: ok