=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.5499.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/presence_suite.subscribe_relog.57474.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/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@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:33:58
*** User 2022-01-27 15:33:58.356 ***
alicE_subscribe_relog_1054@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-01-27 15:33:58.357 ***
alicE_subscribe_relog_1054@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76ed373f8f40cf05' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.357 ***
alicE_subscribe_relog_1054@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-01-27 15:33:58.357 ***
alicE_subscribe_relog_1054@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMDU0AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@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-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2667ca0617611689' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@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-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@localhost/res1 out
<iq type='set' id='a5c860ef1e769fe065ba23735d11db8f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:58.358 ***
alicE_subscribe_relog_1054@localhost/res1 in
<iq id='a5c860ef1e769fe065ba23735d11db8f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1054@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:58.359 ***
alicE_subscribe_relog_1054@localhost/res1 out
<iq type='set' id='37561a087c1128c6a05b14cd43fafb44'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.359 ***
alicE_subscribe_relog_1054@localhost/res1 in
<iq type='result' id='37561a087c1128c6a05b14cd43fafb44'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.359 ***
alicE_subscribe_relog_1054@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:58.360 ***
alicE_subscribe_relog_1054@localhost/res1 in
<presence from='alicE_subscribe_relog_1054@localhost/res1' to='alice_subscribe_relog_1054@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:58.360 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.360 ***
bOb_subscribe_relog_1054@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a09528445c3df8f6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.360 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.360 ***
bOb_subscribe_relog_1054@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTA1NABtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='543769474c23934f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@localhost/res1 out
<iq type='set' id='0ae7b00abd8e03c6d48b041e246c94f7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:58.361 ***
bOb_subscribe_relog_1054@localhost/res1 in
<iq id='0ae7b00abd8e03c6d48b041e246c94f7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1054@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:58.362 ***
bOb_subscribe_relog_1054@localhost/res1 out
<iq type='set' id='1debd78c53e9b84e14b6ea8a83fd77ec'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.362 ***
bOb_subscribe_relog_1054@localhost/res1 in
<iq type='result' id='1debd78c53e9b84e14b6ea8a83fd77ec'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.362 ***
bOb_subscribe_relog_1054@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:58.362 ***
bOb_subscribe_relog_1054@localhost/res1 in
<presence from='bOb_subscribe_relog_1054@localhost/res1' to='bob_subscribe_relog_1054@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:58.362 ***
alicE_subscribe_relog_1054@localhost/res1 out
<iq type='set' id='73307712c7be613ab1b240e69bda66b2'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1054@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:33:58.363 ***
alicE_subscribe_relog_1054@localhost/res1 in
<iq from='alicE_subscribe_relog_1054@localhost' to='alicE_subscribe_relog_1054@localhost/res1' id='push0a1acf2b3569f5e4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1054@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:33:58.363 ***
alicE_subscribe_relog_1054@localhost/res1 in
<iq from='alicE_subscribe_relog_1054@localhost' to='alicE_subscribe_relog_1054@localhost/res1' id='73307712c7be613ab1b240e69bda66b2' type='result'/>
*** User 2022-01-27 15:33:58.363 ***
alicE_subscribe_relog_1054@localhost/res1 out
<iq to='alicE_subscribe_relog_1054@localhost' id='push0a1acf2b3569f5e4' type='result'/>
*** User 2022-01-27 15:33:58.363 ***
alicE_subscribe_relog_1054@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1054@localhost'/>
*** User 2022-01-27 15:33:58.365 ***
alicE_subscribe_relog_1054@localhost/res1 in
<iq from='alicE_subscribe_relog_1054@localhost' to='alicE_subscribe_relog_1054@localhost/res1' id='push030d1776f7e9ccb0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1054@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 15:33:58.365 ***
alicE_subscribe_relog_1054@localhost/res1 out
<iq to='alicE_subscribe_relog_1054@localhost' id='push030d1776f7e9ccb0' type='result'/>
*** User 2022-01-27 15:33:58.365 ***
bOb_subscribe_relog_1054@localhost/res1 in
<presence from='alicE_subscribe_relog_1054@localhost' to='bOb_subscribe_relog_1054@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 15:33:58.365 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.366 ***
bOb_subscribe_relog_1054@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7428ed2fc8de32ce' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.366 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.366 ***
bOb_subscribe_relog_1054@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTA1NABtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:33:58.367 ***
bOb_subscribe_relog_1054@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:58.367 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.367 ***
bOb_subscribe_relog_1054@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='819894c0ec10db75' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:58.367 ***
bOb_subscribe_relog_1054@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-01-27 15:33:58.367 ***
bOb_subscribe_relog_1054@localhost/newbob out
<iq type='set' id='80376a727770902c3f082630ba0a3c3f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:58.368 ***
bOb_subscribe_relog_1054@localhost/newbob in
<iq id='80376a727770902c3f082630ba0a3c3f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1054@localhost/newbob</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:58.368 ***
bOb_subscribe_relog_1054@localhost/newbob out
<iq type='set' id='9a4d7aac1a2380573a749aa7a2091b1f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.368 ***
bOb_subscribe_relog_1054@localhost/newbob in
<iq type='result' id='9a4d7aac1a2380573a749aa7a2091b1f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:58.368 ***
bOb_subscribe_relog_1054@localhost/newbob out
<presence/>
*** User 2022-01-27 15:33:58.369 ***
bOb_subscribe_relog_1054@localhost/res1 in
<presence from='bOb_subscribe_relog_1054@localhost/newbob' to='bob_subscribe_relog_1054@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:58.369 ***
bOb_subscribe_relog_1054@localhost/newbob in
<presence from='alice_subscribe_relog_1054@localhost' to='bOb_subscribe_relog_1054@localhost' type='subscribe'>
<status/>
</presence>
*** User 2022-01-27 15:33:58.369 ***
bOb_subscribe_relog_1054@localhost/newbob in
<presence from='bob_subscribe_relog_1054@localhost/res1' to='bOb_subscribe_relog_1054@localhost/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:33:58Z' from='bob_subscribe_relog_1054@localhost/res1'/>
</presence>
*** User 2022-01-27 15:33:58.369 ***
bOb_subscribe_relog_1054@localhost/newbob in
<presence from='bOb_subscribe_relog_1054@localhost/newbob' to='bob_subscribe_relog_1054@localhost/newbob' xml:lang='en'/>
*** User 2022-01-27 15:33:58.369 ***
bOb_subscribe_relog_1054@localhost/newbob out
</stream:stream>
*** User 2022-01-27 15:33:58.370 ***
bOb_subscribe_relog_1054@localhost/newbob in
</stream:stream>
*** User 2022-01-27 15:33:58.370 ***
bOb_subscribe_relog_1054@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1054@localhost'/>
*** User 2022-01-27 15:33:58.370 ***
bOb_subscribe_relog_1054@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:58.370 ***
bOb_subscribe_relog_1054@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:58.371 ***
alicE_subscribe_relog_1054@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:58.371 ***
alicE_subscribe_relog_1054@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:33:58
=== successfully completed test case
=== === Returned value: ok