=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.1360.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/presence_suite.subscribe_relog.129538.html"},
{tc_group_properties,[{name,subscribe_group},
{repeat_until_all_ok,3},
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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_09.39.48/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@b90e3713176e.2022-03-07_09.29.55"
=== Started at 2022-03-07 09:39:50
*** User 2022-03-07 09:39:50.653 ***
alicE_subscribe_relog_1779@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.654 ***
alicE_subscribe_relog_1779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04edb3d0d6c7742f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.654 ***
alicE_subscribe_relog_1779@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.654 ***
alicE_subscribe_relog_1779@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNzc5AG1hdHlncnlzYQ==</auth>
*** User 2022-03-07 09:39:50.655 ***
alicE_subscribe_relog_1779@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:50.655 ***
alicE_subscribe_relog_1779@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.655 ***
alicE_subscribe_relog_1779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77d8443ad1c38b7e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.655 ***
alicE_subscribe_relog_1779@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.655 ***
alicE_subscribe_relog_1779@localhost/res1 out
<iq type='set' id='eec81334789fbfc7b432c9903d64eaa9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_subscribe_relog_1779@localhost/res1 in
<iq id='eec81334789fbfc7b432c9903d64eaa9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1779@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_subscribe_relog_1779@localhost/res1 out
<iq type='set' id='a1545c5a4b75d9ecadbf76f8962c9f23'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_subscribe_relog_1779@localhost/res1 in
<iq type='result' id='a1545c5a4b75d9ecadbf76f8962c9f23'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.656 ***
alicE_subscribe_relog_1779@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:50.657 ***
alicE_subscribe_relog_1779@localhost/res1 in
<presence from='alicE_subscribe_relog_1779@localhost/res1' to='alice_subscribe_relog_1779@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.658 ***
bOb_subscribe_relog_1779@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.663 ***
bOb_subscribe_relog_1779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a8ce4c12600ff23' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.663 ***
bOb_subscribe_relog_1779@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.663 ***
bOb_subscribe_relog_1779@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTc3OQBtYWtyb2xpa2E=</auth>
*** User 2022-03-07 09:39:50.664 ***
bOb_subscribe_relog_1779@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:50.664 ***
bOb_subscribe_relog_1779@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.665 ***
bOb_subscribe_relog_1779@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa70ad51154f9cac' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.665 ***
bOb_subscribe_relog_1779@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.665 ***
bOb_subscribe_relog_1779@localhost/res1 out
<iq type='set' id='fd3a44124da16e95b9712aef9da3d3df'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:50.671 ***
bOb_subscribe_relog_1779@localhost/res1 in
<iq id='fd3a44124da16e95b9712aef9da3d3df' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1779@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:50.671 ***
bOb_subscribe_relog_1779@localhost/res1 out
<iq type='set' id='1b3b0fd662a7c048295102b90759a5de'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_subscribe_relog_1779@localhost/res1 in
<iq type='result' id='1b3b0fd662a7c048295102b90759a5de'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.672 ***
bOb_subscribe_relog_1779@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:50.677 ***
bOb_subscribe_relog_1779@localhost/res1 in
<presence from='bOb_subscribe_relog_1779@localhost/res1' to='bob_subscribe_relog_1779@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.678 ***
alicE_subscribe_relog_1779@localhost/res1 out
<iq type='set' id='bb03c235855772f10881c4ad376a7507'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1779@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.708 ***
alicE_subscribe_relog_1779@localhost/res1 in
<iq from='alicE_subscribe_relog_1779@localhost' to='alicE_subscribe_relog_1779@localhost/res1' id='push354cd523d1a24b3d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1779@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.708 ***
alicE_subscribe_relog_1779@localhost/res1 in
<iq from='alicE_subscribe_relog_1779@localhost' to='alicE_subscribe_relog_1779@localhost/res1' id='bb03c235855772f10881c4ad376a7507' type='result'/>
*** User 2022-03-07 09:39:50.708 ***
alicE_subscribe_relog_1779@localhost/res1 out
<iq to='alicE_subscribe_relog_1779@localhost' id='push354cd523d1a24b3d' type='result'/>
*** User 2022-03-07 09:39:50.708 ***
alicE_subscribe_relog_1779@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1779@localhost'/>
*** User 2022-03-07 09:39:50.715 ***
alicE_subscribe_relog_1779@localhost/res1 in
<iq from='alicE_subscribe_relog_1779@localhost' to='alicE_subscribe_relog_1779@localhost/res1' id='push53a881b0d3a24a2b' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1779@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-07 09:39:50.715 ***
alicE_subscribe_relog_1779@localhost/res1 out
<iq to='alicE_subscribe_relog_1779@localhost' id='push53a881b0d3a24a2b' type='result'/>
*** User 2022-03-07 09:39:50.715 ***
bOb_subscribe_relog_1779@localhost/res1 in
<presence from='alicE_subscribe_relog_1779@localhost' to='bOb_subscribe_relog_1779@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-07 09:39:50.715 ***
bOb_subscribe_relog_1779@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.716 ***
bOb_subscribe_relog_1779@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcab1599b753eacb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.716 ***
bOb_subscribe_relog_1779@localhost/newbob in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.716 ***
bOb_subscribe_relog_1779@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTc3OQBtYWtyb2xpa2E=</auth>
*** User 2022-03-07 09:39:50.717 ***
bOb_subscribe_relog_1779@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43e8fbfae381030b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob out
<iq type='set' id='7d30d4bb8fb3a3d7c1994d89f0d8da53'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob in
<iq id='7d30d4bb8fb3a3d7c1994d89f0d8da53' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1779@localhost/newbob</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:50.718 ***
bOb_subscribe_relog_1779@localhost/newbob out
<iq type='set' id='367221d4097529ca174eb5b69a498a1a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.719 ***
bOb_subscribe_relog_1779@localhost/newbob in
<iq type='result' id='367221d4097529ca174eb5b69a498a1a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:50.719 ***
bOb_subscribe_relog_1779@localhost/newbob out
<presence/>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/res1 in
<presence from='bOb_subscribe_relog_1779@localhost/newbob' to='bob_subscribe_relog_1779@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/newbob in
<presence from='alice_subscribe_relog_1779@localhost' to='bOb_subscribe_relog_1779@localhost' type='subscribe'>
<status/>
</presence>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/newbob in
<presence from='bOb_subscribe_relog_1779@localhost/newbob' to='bob_subscribe_relog_1779@localhost/newbob' xml:lang='en'/>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/newbob in
<presence from='bob_subscribe_relog_1779@localhost/res1' to='bOb_subscribe_relog_1779@localhost/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T09:39:50Z' from='bob_subscribe_relog_1779@localhost/res1'/>
</presence>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/newbob out
</stream:stream>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/newbob in
</stream:stream>
*** User 2022-03-07 09:39:50.720 ***
bOb_subscribe_relog_1779@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1779@localhost'/>
*** User 2022-03-07 09:39:50.721 ***
bOb_subscribe_relog_1779@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.725 ***
bOb_subscribe_relog_1779@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:39:50.725 ***
alicE_subscribe_relog_1779@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:50.725 ***
alicE_subscribe_relog_1779@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 09:39:50
=== successfully completed test case
=== === Returned value: ok