=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.46791.0>},
{preset,"internal_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@05435e935dcc.2024-04-23_11.32.33/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.46.06/presence_suite.subscribe_relog.37636.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@05435e935dcc.2024-04-23_11.32.33/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.46.06/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@05435e935dcc.2024-04-23_11.32.33"
=== Started at 2024-04-23 11:46:07
*** User 2024-04-23 11:46:07.830 ***🔗
alicE_subscribe_relog_1556@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 11:46:07.830 ***🔗
alicE_subscribe_relog_1556@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d26a369350643ffd' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:46:07.831 ***🔗
alicE_subscribe_relog_1556@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 11:46:07.831 ***🔗
alicE_subscribe_relog_1556@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTU2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:46:07.831 ***🔗
alicE_subscribe_relog_1556@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:46:07.831 ***🔗
alicE_subscribe_relog_1556@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 11:46:07.831 ***🔗
alicE_subscribe_relog_1556@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd257cccfdfc9a70' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1556@localhost'>
*** User 2024-04-23 11:46:07.832 ***🔗
alicE_subscribe_relog_1556@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 11:46:07.832 ***🔗
alicE_subscribe_relog_1556@localhost/res1 out
<iq type='set' id='667eed41f501b77b43e9cd51b5541906'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:46:07.832 ***🔗
alicE_subscribe_relog_1556@localhost/res1 in
<iq id='667eed41f501b77b43e9cd51b5541906' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1556@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:46:07.832 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<iq type='set' id='a7dccc8e5a8c9e9c8458eff322930fc5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.832 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1556@localhost/res1' id='a7dccc8e5a8c9e9c8458eff322930fc5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.832 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<presence/>
*** User 2024-04-23 11:46:07.836 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
<presence from='alice_subscribe_relog_1556@localhost/res1' to='alice_subscribe_relog_1556@localhost/res1'/>
*** User 2024-04-23 11:46:07.837 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.837 ***🔗
bOb_subscribe_relog_1556@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ef511c90c8daee4' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:46:07.837 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.837 ***🔗
bOb_subscribe_relog_1556@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU1NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:46:07.838 ***🔗
bOb_subscribe_relog_1556@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:46:07.838 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.838 ***🔗
bOb_subscribe_relog_1556@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58b53e3c00af2363' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1556@localhost'>
*** User 2024-04-23 11:46:07.838 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.838 ***🔗
bOb_subscribe_relog_1556@localhost/res1 out
<iq type='set' id='d652d5d1ebfcfe46e8c24225c6058806'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:46:07.839 ***🔗
bOb_subscribe_relog_1556@localhost/res1 in
<iq id='d652d5d1ebfcfe46e8c24225c6058806' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1556@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:46:07.839 ***🔗
bob_subscribe_relog_1556@localhost/res1 out
<iq type='set' id='e72f5cbd07ffb16bb3a984410984b5a8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.839 ***🔗
bob_subscribe_relog_1556@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1556@localhost/res1' id='e72f5cbd07ffb16bb3a984410984b5a8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.839 ***🔗
bob_subscribe_relog_1556@localhost/res1 out
<presence/>
*** User 2024-04-23 11:46:07.840 ***🔗
bob_subscribe_relog_1556@localhost/res1 in
<presence from='bob_subscribe_relog_1556@localhost/res1' to='bob_subscribe_relog_1556@localhost/res1'/>
*** User 2024-04-23 11:46:07.840 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<iq type='set' id='b144ecb722b4e3080764691e1c27629b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1556@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:46:07.841 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
<iq from='alice_subscribe_relog_1556@localhost' to='alice_subscribe_relog_1556@localhost/res1' id='push81b7eec5f98c7ce8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_1556@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:46:07.841 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
<iq from='alice_subscribe_relog_1556@localhost' to='alice_subscribe_relog_1556@localhost/res1' id='b144ecb722b4e3080764691e1c27629b' type='result'/>
*** User 2024-04-23 11:46:07.841 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<iq to='alice_subscribe_relog_1556@localhost' id='push81b7eec5f98c7ce8' type='result'/>
*** User 2024-04-23 11:46:07.841 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1556@localhost'/>
*** User 2024-04-23 11:46:07.842 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
<iq from='alice_subscribe_relog_1556@localhost' to='alice_subscribe_relog_1556@localhost/res1' id='push61ff3c511d785d61' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1556@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:46:07.842 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
<iq to='alice_subscribe_relog_1556@localhost' id='push61ff3c511d785d61' type='result'/>
*** User 2024-04-23 11:46:07.842 ***🔗
bob_subscribe_relog_1556@localhost/res1 in
<presence from='alice_subscribe_relog_1556@localhost' to='bob_subscribe_relog_1556@localhost/res1' type='subscribe'/>
*** User 2024-04-23 11:46:07.843 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.843 ***🔗
bOb_subscribe_relog_1556@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f3186f8cbb98bd0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:46:07.844 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.844 ***🔗
bOb_subscribe_relog_1556@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU1NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:46:07.844 ***🔗
bOb_subscribe_relog_1556@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:46:07.844 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.845 ***🔗
bOb_subscribe_relog_1556@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1667733160e9e146' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1556@localhost'>
*** User 2024-04-23 11:46:07.845 ***🔗
bOb_subscribe_relog_1556@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 11:46:07.845 ***🔗
bOb_subscribe_relog_1556@localhost/newbob out
<iq type='set' id='fa7e7113a2973b2b8c1510384345dff8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-23 11:46:07.845 ***🔗
bOb_subscribe_relog_1556@localhost/newbob in
<iq id='fa7e7113a2973b2b8c1510384345dff8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1556@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-23 11:46:07.846 ***🔗
bob_subscribe_relog_1556@localhost/newbob out
<iq type='set' id='9cc3f9631dc0cc06df3323a66d16b677'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.846 ***🔗
bob_subscribe_relog_1556@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1556@localhost/newbob' id='9cc3f9631dc0cc06df3323a66d16b677' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:46:07.846 ***🔗
bob_subscribe_relog_1556@localhost/newbob out
<presence/>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/res1 in
<presence from='bob_subscribe_relog_1556@localhost/newbob' to='bob_subscribe_relog_1556@localhost/res1'/>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/newbob in
<presence from='alice_subscribe_relog_1556@localhost' to='bob_subscribe_relog_1556@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/newbob in
<presence from='bob_subscribe_relog_1556@localhost/newbob' to='bob_subscribe_relog_1556@localhost/newbob'/>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/newbob in
<presence from='bob_subscribe_relog_1556@localhost/res1' to='bob_subscribe_relog_1556@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:46:07.840061Z' from='bob_subscribe_relog_1556@localhost/res1'/>
</presence>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/newbob out
</stream:stream>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/newbob in
</stream:stream>
*** User 2024-04-23 11:46:07.847 ***🔗
bob_subscribe_relog_1556@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1556@localhost'/>
*** User 2024-04-23 11:46:07.848 ***🔗
bob_subscribe_relog_1556@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:46:07.848 ***🔗
bob_subscribe_relog_1556@localhost/res1 in
</stream:stream>
*** User 2024-04-23 11:46:07.848 ***🔗
alice_subscribe_relog_1556@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:46:07.849 ***🔗
alice_subscribe_relog_1556@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:46:07
=== successfully completed test case
=== === Returned value: ok