=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.46696.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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.presence_SUITE.logs/run.2024-02-27_12.13.13/presence_suite.subscribe_relog.86658.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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.presence_SUITE.logs/run.2024-02-27_12.13.13/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@2cc1cb2b4b9c.2024-02-27_12.00.42"
=== Started at 2024-02-27 12:13:15
*** User 2024-02-27 12:13:15.295 ***🔗
alicE_subscribe_relog_1509@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-02-27 12:13:15.295 ***🔗
alicE_subscribe_relog_1509@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88046f883dfe85d8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:15.295 ***🔗
alicE_subscribe_relog_1509@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-02-27 12:13:15.295 ***🔗
alicE_subscribe_relog_1509@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTA5AG1hdHlncnlzYQ==</auth>
*** User 2024-02-27 12:13:15.296 ***🔗
alicE_subscribe_relog_1509@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:15.296 ***🔗
alicE_subscribe_relog_1509@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-02-27 12:13:15.297 ***🔗
alicE_subscribe_relog_1509@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b4b53147a4c71b9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1509@localhost'>
*** User 2024-02-27 12:13:15.297 ***🔗
alicE_subscribe_relog_1509@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-02-27 12:13:15.297 ***🔗
alicE_subscribe_relog_1509@localhost/res1 out
<iq type='set' id='8e07e12b783aed08f2f524d1038dde55'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:15.297 ***🔗
alicE_subscribe_relog_1509@localhost/res1 in
<iq id='8e07e12b783aed08f2f524d1038dde55' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1509@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:15.297 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<iq type='set' id='c4acf4bf1bf5f1628ea973f8ae38eecf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.298 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1509@localhost/res1' id='c4acf4bf1bf5f1628ea973f8ae38eecf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.298 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<presence/>
*** User 2024-02-27 12:13:15.299 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
<presence from='alice_subscribe_relog_1509@localhost/res1' to='alice_subscribe_relog_1509@localhost/res1'/>
*** User 2024-02-27 12:13:15.299 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.300 ***🔗
bOb_subscribe_relog_1509@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5fdaea37ce3ac6f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:15.300 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.300 ***🔗
bOb_subscribe_relog_1509@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUwOQBtYWtyb2xpa2E=</auth>
*** User 2024-02-27 12:13:15.301 ***🔗
bOb_subscribe_relog_1509@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:15.301 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.301 ***🔗
bOb_subscribe_relog_1509@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df3a9046542bf4b3' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1509@localhost'>
*** User 2024-02-27 12:13:15.302 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.302 ***🔗
bOb_subscribe_relog_1509@localhost/res1 out
<iq type='set' id='be99955974571ed6fda184dff4d71571'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:15.302 ***🔗
bOb_subscribe_relog_1509@localhost/res1 in
<iq id='be99955974571ed6fda184dff4d71571' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1509@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:15.302 ***🔗
bob_subscribe_relog_1509@localhost/res1 out
<iq type='set' id='d9ad50de08339b0dcff1cd24e5d6c8c4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.303 ***🔗
bob_subscribe_relog_1509@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1509@localhost/res1' id='d9ad50de08339b0dcff1cd24e5d6c8c4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.303 ***🔗
bob_subscribe_relog_1509@localhost/res1 out
<presence/>
*** User 2024-02-27 12:13:15.304 ***🔗
bob_subscribe_relog_1509@localhost/res1 in
<presence from='bob_subscribe_relog_1509@localhost/res1' to='bob_subscribe_relog_1509@localhost/res1'/>
*** User 2024-02-27 12:13:15.304 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<iq type='set' id='a180f38fbaa0e664b7e4ccb6ff865ba2'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1509@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-27 12:13:15.308 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
<iq from='alice_subscribe_relog_1509@localhost' to='alice_subscribe_relog_1509@localhost/res1' id='push37b4556c49bf44b1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1509@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-27 12:13:15.308 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
<iq from='alice_subscribe_relog_1509@localhost' to='alice_subscribe_relog_1509@localhost/res1' id='a180f38fbaa0e664b7e4ccb6ff865ba2' type='result'/>
*** User 2024-02-27 12:13:15.308 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<iq to='alice_subscribe_relog_1509@localhost' id='push37b4556c49bf44b1' type='result'/>
*** User 2024-02-27 12:13:15.308 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1509@localhost'/>
*** User 2024-02-27 12:13:15.310 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
<iq from='alice_subscribe_relog_1509@localhost' to='alice_subscribe_relog_1509@localhost/res1' id='pushfdb2e1add7df4341' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1509@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-27 12:13:15.310 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
<iq to='alice_subscribe_relog_1509@localhost' id='pushfdb2e1add7df4341' type='result'/>
*** User 2024-02-27 12:13:15.310 ***🔗
bob_subscribe_relog_1509@localhost/res1 in
<presence from='alice_subscribe_relog_1509@localhost' to='bob_subscribe_relog_1509@localhost/res1' type='subscribe'/>
*** User 2024-02-27 12:13:15.311 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.312 ***🔗
bOb_subscribe_relog_1509@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ebaa6fe06e34022' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:15.312 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.312 ***🔗
bOb_subscribe_relog_1509@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUwOQBtYWtyb2xpa2E=</auth>
*** User 2024-02-27 12:13:15.313 ***🔗
bOb_subscribe_relog_1509@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:15.313 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.313 ***🔗
bOb_subscribe_relog_1509@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7c58f599f5d33da' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1509@localhost'>
*** User 2024-02-27 12:13:15.313 ***🔗
bOb_subscribe_relog_1509@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-02-27 12:13:15.314 ***🔗
bOb_subscribe_relog_1509@localhost/newbob out
<iq type='set' id='3a922e4099a91f9278271955e636078f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:15.314 ***🔗
bOb_subscribe_relog_1509@localhost/newbob in
<iq id='3a922e4099a91f9278271955e636078f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1509@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:15.314 ***🔗
bob_subscribe_relog_1509@localhost/newbob out
<iq type='set' id='ec837b140251035f6da7a48fd589d0e4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.315 ***🔗
bob_subscribe_relog_1509@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1509@localhost/newbob' id='ec837b140251035f6da7a48fd589d0e4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:15.315 ***🔗
bob_subscribe_relog_1509@localhost/newbob out
<presence/>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/res1 in
<presence from='bob_subscribe_relog_1509@localhost/newbob' to='bob_subscribe_relog_1509@localhost/res1'/>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/newbob in
<presence from='alice_subscribe_relog_1509@localhost' to='bob_subscribe_relog_1509@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/newbob in
<presence from='bob_subscribe_relog_1509@localhost/newbob' to='bob_subscribe_relog_1509@localhost/newbob'/>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/newbob in
<presence from='bob_subscribe_relog_1509@localhost/res1' to='bob_subscribe_relog_1509@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-02-27T12:13:15.303726Z' from='bob_subscribe_relog_1509@localhost/res1'/>
</presence>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/newbob out
</stream:stream>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/newbob in
</stream:stream>
*** User 2024-02-27 12:13:15.316 ***🔗
bob_subscribe_relog_1509@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1509@localhost'/>
*** User 2024-02-27 12:13:15.317 ***🔗
bob_subscribe_relog_1509@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:13:15.318 ***🔗
bob_subscribe_relog_1509@localhost/res1 in
</stream:stream>
*** User 2024-02-27 12:13:15.318 ***🔗
alice_subscribe_relog_1509@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:13:15.318 ***🔗
alice_subscribe_relog_1509@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-27 12:13:15
=== successfully completed test case
=== === Returned value: ok