=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.78423.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@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.00/presence_suite.subscribe_relog.159619.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@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.00/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@eb6fc23ce6f4.2024-04-23_08.56.42"
=== Started at 2024-04-23 09:10:02
*** User 2024-04-23 09:10:02.711 ***🔗
alicE_subscribe_relog_2839@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-23 09:10:02.711 ***🔗
alicE_subscribe_relog_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41871b6c83fad925' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:10:02.712 ***🔗
alicE_subscribe_relog_2839@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-23 09:10:02.712 ***🔗
alicE_subscribe_relog_2839@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODM5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_subscribe_relog_2839@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_subscribe_relog_2839@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-23 09:10:02.713 ***🔗
alicE_subscribe_relog_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a8b246758a7f233' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2839@localhost'>
*** User 2024-04-23 09:10:02.713 ***🔗
alicE_subscribe_relog_2839@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-23 09:10:02.713 ***🔗
alicE_subscribe_relog_2839@localhost/res1 out
<iq type='set' id='3f0052dade05fdf357229b4d75d26556'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:10:02.714 ***🔗
alicE_subscribe_relog_2839@localhost/res1 in
<iq id='3f0052dade05fdf357229b4d75d26556' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2839@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:10:02.714 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<iq type='set' id='491f6be6b330f10bdf43e1f0e2306d50'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.715 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2839@localhost/res1' id='491f6be6b330f10bdf43e1f0e2306d50' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.715 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<presence/>
*** User 2024-04-23 09:10:02.716 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
<presence from='alice_subscribe_relog_2839@localhost/res1' to='alice_subscribe_relog_2839@localhost/res1'/>
*** User 2024-04-23 09:10:02.717 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.717 ***🔗
bOb_subscribe_relog_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3faa37a194316e7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:10:02.718 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.718 ***🔗
bOb_subscribe_relog_2839@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgzOQBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc2591c1f88d37f0' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2839@localhost'>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@localhost/res1 out
<iq type='set' id='5c695c9e59406cafd3edcee0953016f8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:10:02.719 ***🔗
bOb_subscribe_relog_2839@localhost/res1 in
<iq id='5c695c9e59406cafd3edcee0953016f8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2839@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:10:02.719 ***🔗
bob_subscribe_relog_2839@localhost/res1 out
<iq type='set' id='679a1f17643668120c838e19d6fe5ee4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.720 ***🔗
bob_subscribe_relog_2839@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2839@localhost/res1' id='679a1f17643668120c838e19d6fe5ee4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.720 ***🔗
bob_subscribe_relog_2839@localhost/res1 out
<presence/>
*** User 2024-04-23 09:10:02.722 ***🔗
bob_subscribe_relog_2839@localhost/res1 in
<presence from='bob_subscribe_relog_2839@localhost/res1' to='bob_subscribe_relog_2839@localhost/res1'/>
*** User 2024-04-23 09:10:02.722 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<iq type='set' id='a97eee3fcf3a717aff65b95329b0f7f5'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2839@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.725 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
<iq from='alice_subscribe_relog_2839@localhost' to='alice_subscribe_relog_2839@localhost/res1' id='push33691fba3922bac4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2839@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.726 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
<iq from='alice_subscribe_relog_2839@localhost' to='alice_subscribe_relog_2839@localhost/res1' id='a97eee3fcf3a717aff65b95329b0f7f5' type='result'/>
*** User 2024-04-23 09:10:02.726 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<iq to='alice_subscribe_relog_2839@localhost' id='push33691fba3922bac4' type='result'/>
*** User 2024-04-23 09:10:02.726 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2839@localhost'/>
*** User 2024-04-23 09:10:02.730 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
<iq from='alice_subscribe_relog_2839@localhost' to='alice_subscribe_relog_2839@localhost/res1' id='pushd7226b8804e3365b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2839@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 09:10:02.730 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
<iq to='alice_subscribe_relog_2839@localhost' id='pushd7226b8804e3365b' type='result'/>
*** User 2024-04-23 09:10:02.730 ***🔗
bob_subscribe_relog_2839@localhost/res1 in
<presence from='alice_subscribe_relog_2839@localhost' to='bob_subscribe_relog_2839@localhost/res1' type='subscribe'/>
*** User 2024-04-23 09:10:02.731 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.731 ***🔗
bOb_subscribe_relog_2839@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='934f955178e28d96' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:10:02.731 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.732 ***🔗
bOb_subscribe_relog_2839@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgzOQBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 09:10:02.732 ***🔗
bOb_subscribe_relog_2839@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:10:02.733 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.733 ***🔗
bOb_subscribe_relog_2839@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a6c938ddee92128' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2839@localhost'>
*** User 2024-04-23 09:10:02.733 ***🔗
bOb_subscribe_relog_2839@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-23 09:10:02.733 ***🔗
bOb_subscribe_relog_2839@localhost/newbob out
<iq type='set' id='7a6e8a55a3db45be63912047deaf14d1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-23 09:10:02.733 ***🔗
bOb_subscribe_relog_2839@localhost/newbob in
<iq id='7a6e8a55a3db45be63912047deaf14d1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2839@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-23 09:10:02.733 ***🔗
bob_subscribe_relog_2839@localhost/newbob out
<iq type='set' id='b63a83802293e4d42ab15645835d09ba'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.734 ***🔗
bob_subscribe_relog_2839@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2839@localhost/newbob' id='b63a83802293e4d42ab15645835d09ba' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:10:02.734 ***🔗
bob_subscribe_relog_2839@localhost/newbob out
<presence/>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/res1 in
<presence from='bob_subscribe_relog_2839@localhost/newbob' to='bob_subscribe_relog_2839@localhost/res1'/>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/newbob in
<presence from='alice_subscribe_relog_2839@localhost' to='bob_subscribe_relog_2839@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/newbob in
<presence from='bob_subscribe_relog_2839@localhost/newbob' to='bob_subscribe_relog_2839@localhost/newbob'/>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/newbob in
<presence from='bob_subscribe_relog_2839@localhost/res1' to='bob_subscribe_relog_2839@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T09:10:02.721953Z' from='bob_subscribe_relog_2839@localhost/res1'/>
</presence>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/newbob out
</stream:stream>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/newbob in
</stream:stream>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2839@localhost'/>
*** User 2024-04-23 09:10:02.736 ***🔗
bob_subscribe_relog_2839@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:10:02.745 ***🔗
bob_subscribe_relog_2839@localhost/res1 in
</stream:stream>
*** User 2024-04-23 09:10:02.745 ***🔗
alice_subscribe_relog_2839@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:10:02.745 ***🔗
alice_subscribe_relog_2839@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 09:10:02
=== successfully completed test case
=== === Returned value: ok