=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11112.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.subscribe_relog.43139.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/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@22b4515d438b.2022-04-05_07.43.19"
=== Started at 2022-04-05 07:54:58
*** User 2022-04-05 07:54:58.171 ***
alicE_subscribe_relog_1233@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-04-05 07:54:58.174 ***
alicE_subscribe_relog_1233@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a69b669bf8bfc081' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.174 ***
alicE_subscribe_relog_1233@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-04-05 07:54:58.174 ***
alicE_subscribe_relog_1233@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMjMzAG1hdHlncnlzYQ==</auth>
*** User 2022-04-05 07:54:58.183 ***
alicE_subscribe_relog_1233@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:54:58.183 ***
alicE_subscribe_relog_1233@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-04-05 07:54:58.184 ***
alicE_subscribe_relog_1233@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c99e8fd7369add61' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.184 ***
alicE_subscribe_relog_1233@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-04-05 07:54:58.184 ***
alicE_subscribe_relog_1233@localhost/res1 out
<iq type='set' id='c2de2903d5706c819002af47b5b68765'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:54:58.184 ***
alicE_subscribe_relog_1233@localhost/res1 in
<iq id='c2de2903d5706c819002af47b5b68765' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1233@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:54:58.185 ***
alicE_subscribe_relog_1233@localhost/res1 out
<iq type='set' id='55329bfb8070c2b3b09b6fc2f0384044'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.185 ***
alicE_subscribe_relog_1233@localhost/res1 in
<iq type='result' id='55329bfb8070c2b3b09b6fc2f0384044'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.185 ***
alicE_subscribe_relog_1233@localhost/res1 out
<presence/>
*** User 2022-04-05 07:54:58.215 ***
alicE_subscribe_relog_1233@localhost/res1 in
<presence from='alicE_subscribe_relog_1233@localhost/res1' to='alice_subscribe_relog_1233@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:54:58.216 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.217 ***
bOb_subscribe_relog_1233@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c810f865610caa97' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.217 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.217 ***
bOb_subscribe_relog_1233@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTIzMwBtYWtyb2xpa2E=</auth>
*** User 2022-04-05 07:54:58.219 ***
bOb_subscribe_relog_1233@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:54:58.219 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.220 ***
bOb_subscribe_relog_1233@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06b1f56f924b2df9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.220 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.220 ***
bOb_subscribe_relog_1233@localhost/res1 out
<iq type='set' id='44b851f04616a0ba866968d1c2c0bbe3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:54:58.221 ***
bOb_subscribe_relog_1233@localhost/res1 in
<iq id='44b851f04616a0ba866968d1c2c0bbe3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1233@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:54:58.221 ***
bOb_subscribe_relog_1233@localhost/res1 out
<iq type='set' id='d5a0ebe4b933ef52878da4062b066300'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.221 ***
bOb_subscribe_relog_1233@localhost/res1 in
<iq type='result' id='d5a0ebe4b933ef52878da4062b066300'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.221 ***
bOb_subscribe_relog_1233@localhost/res1 out
<presence/>
*** User 2022-04-05 07:54:58.262 ***
bOb_subscribe_relog_1233@localhost/res1 in
<presence from='bOb_subscribe_relog_1233@localhost/res1' to='bob_subscribe_relog_1233@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:54:58.262 ***
alicE_subscribe_relog_1233@localhost/res1 out
<iq type='set' id='49d07554687ca6420603c442190570c8'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1233@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-05 07:54:58.285 ***
alicE_subscribe_relog_1233@localhost/res1 in
<iq from='alicE_subscribe_relog_1233@localhost' to='alicE_subscribe_relog_1233@localhost/res1' id='push394cf0e50675298c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1233@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-05 07:54:58.285 ***
alicE_subscribe_relog_1233@localhost/res1 in
<iq from='alicE_subscribe_relog_1233@localhost' to='alicE_subscribe_relog_1233@localhost/res1' id='49d07554687ca6420603c442190570c8' type='result'/>
*** User 2022-04-05 07:54:58.285 ***
alicE_subscribe_relog_1233@localhost/res1 out
<iq to='alicE_subscribe_relog_1233@localhost' id='push394cf0e50675298c' type='result'/>
*** User 2022-04-05 07:54:58.285 ***
alicE_subscribe_relog_1233@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1233@localhost'/>
*** User 2022-04-05 07:54:58.358 ***
alicE_subscribe_relog_1233@localhost/res1 in
<iq from='alicE_subscribe_relog_1233@localhost' to='alicE_subscribe_relog_1233@localhost/res1' id='push8115daede1847158' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1233@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-05 07:54:58.358 ***
alicE_subscribe_relog_1233@localhost/res1 out
<iq to='alicE_subscribe_relog_1233@localhost' id='push8115daede1847158' type='result'/>
*** User 2022-04-05 07:54:58.358 ***
bOb_subscribe_relog_1233@localhost/res1 in
<presence from='alicE_subscribe_relog_1233@localhost' to='bOb_subscribe_relog_1233@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-04-05 07:54:58.359 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.360 ***
bOb_subscribe_relog_1233@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0185cf47a8c926a9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.360 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.360 ***
bOb_subscribe_relog_1233@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTIzMwBtYWtyb2xpa2E=</auth>
*** User 2022-04-05 07:54:58.365 ***
bOb_subscribe_relog_1233@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:54:58.365 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.368 ***
bOb_subscribe_relog_1233@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1d3192fde61e576' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:54:58.368 ***
bOb_subscribe_relog_1233@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-04-05 07:54:58.369 ***
bOb_subscribe_relog_1233@localhost/newbob out
<iq type='set' id='0f172e35d0d213c2bcae59a4b3bebf70'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-04-05 07:54:58.369 ***
bOb_subscribe_relog_1233@localhost/newbob in
<iq id='0f172e35d0d213c2bcae59a4b3bebf70' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1233@localhost/newbob</jid>
</bind>
</iq>
*** User 2022-04-05 07:54:58.370 ***
bOb_subscribe_relog_1233@localhost/newbob out
<iq type='set' id='0870c40cda3d1b50f0cd2275e2e7d000'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.370 ***
bOb_subscribe_relog_1233@localhost/newbob in
<iq type='result' id='0870c40cda3d1b50f0cd2275e2e7d000'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:54:58.370 ***
bOb_subscribe_relog_1233@localhost/newbob out
<presence/>
*** User 2022-04-05 07:54:58.383 ***
bOb_subscribe_relog_1233@localhost/res1 in
<presence from='bOb_subscribe_relog_1233@localhost/newbob' to='bob_subscribe_relog_1233@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:54:58.383 ***
bOb_subscribe_relog_1233@localhost/newbob in
<presence from='alice_subscribe_relog_1233@localhost' to='bOb_subscribe_relog_1233@localhost' type='subscribe'>
<status/>
</presence>
*** User 2022-04-05 07:54:58.383 ***
bOb_subscribe_relog_1233@localhost/newbob in
<presence from='bob_subscribe_relog_1233@localhost/res1' to='bOb_subscribe_relog_1233@localhost/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-05T07:54:58Z' from='bob_subscribe_relog_1233@localhost/res1'/>
</presence>
*** User 2022-04-05 07:54:58.383 ***
bOb_subscribe_relog_1233@localhost/newbob in
<presence from='bOb_subscribe_relog_1233@localhost/newbob' to='bob_subscribe_relog_1233@localhost/newbob' xml:lang='en'/>
*** User 2022-04-05 07:54:58.383 ***
bOb_subscribe_relog_1233@localhost/newbob out
</stream:stream>
*** User 2022-04-05 07:54:58.387 ***
bOb_subscribe_relog_1233@localhost/newbob in
</stream:stream>
*** User 2022-04-05 07:54:58.388 ***
bOb_subscribe_relog_1233@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1233@localhost'/>
*** User 2022-04-05 07:54:58.388 ***
bOb_subscribe_relog_1233@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:54:58.407 ***
bOb_subscribe_relog_1233@localhost/res1 in
</stream:stream>
*** User 2022-04-05 07:54:58.408 ***
alicE_subscribe_relog_1233@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:54:58.413 ***
alicE_subscribe_relog_1233@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-05 07:54:58
=== successfully completed test case
=== === Returned value: ok