=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.46681.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@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/presence_suite.subscribe_relog.90754.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@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.38.20/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@878f9f8c6d16.2024-03-11_11.25.16"
=== Started at 2024-03-11 11:38:21
*** User 2024-03-11 11:38:21.992 ***🔗
alicE_subscribe_relog_1582@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-03-11 11:38:21.993 ***🔗
alicE_subscribe_relog_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a44d6c42afd3eee6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:38:21.993 ***🔗
alicE_subscribe_relog_1582@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-03-11 11:38:21.993 ***🔗
alicE_subscribe_relog_1582@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTgyAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:38:21.994 ***🔗
alicE_subscribe_relog_1582@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:38:21.994 ***🔗
alicE_subscribe_relog_1582@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-03-11 11:38:21.994 ***🔗
alicE_subscribe_relog_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2380b1ff7d77f8ee' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1582@localhost'>
*** User 2024-03-11 11:38:21.995 ***🔗
alicE_subscribe_relog_1582@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-03-11 11:38:21.995 ***🔗
alicE_subscribe_relog_1582@localhost/res1 out
<iq type='set' id='9e473d82cbfefdb17ede7ebeaa5d7361'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:38:21.995 ***🔗
alicE_subscribe_relog_1582@localhost/res1 in
<iq id='9e473d82cbfefdb17ede7ebeaa5d7361' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1582@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:38:21.995 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<iq type='set' id='b4eba6ffc2c80720d1dd6bcade38e198'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:21.996 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1582@localhost/res1' id='b4eba6ffc2c80720d1dd6bcade38e198' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:21.996 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<presence/>
*** User 2024-03-11 11:38:21.997 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
<presence from='alice_subscribe_relog_1582@localhost/res1' to='alice_subscribe_relog_1582@localhost/res1'/>
*** User 2024-03-11 11:38:21.997 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:21.998 ***🔗
bOb_subscribe_relog_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='399ce7ac641503f0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:38:21.998 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:21.998 ***🔗
bOb_subscribe_relog_1582@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU4MgBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:38:21.999 ***🔗
bOb_subscribe_relog_1582@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:38:21.999 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:21.999 ***🔗
bOb_subscribe_relog_1582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='819c122bb571dfbb' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1582@localhost'>
*** User 2024-03-11 11:38:21.999 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:22.000 ***🔗
bOb_subscribe_relog_1582@localhost/res1 out
<iq type='set' id='16ee33343145cfc2acc052f7cce82a5f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:38:22.000 ***🔗
bOb_subscribe_relog_1582@localhost/res1 in
<iq id='16ee33343145cfc2acc052f7cce82a5f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1582@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:38:22.000 ***🔗
bob_subscribe_relog_1582@localhost/res1 out
<iq type='set' id='7be8be4001aa97e74f133a76470dcec5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:22.001 ***🔗
bob_subscribe_relog_1582@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1582@localhost/res1' id='7be8be4001aa97e74f133a76470dcec5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:22.001 ***🔗
bob_subscribe_relog_1582@localhost/res1 out
<presence/>
*** User 2024-03-11 11:38:22.001 ***🔗
bob_subscribe_relog_1582@localhost/res1 in
<presence from='bob_subscribe_relog_1582@localhost/res1' to='bob_subscribe_relog_1582@localhost/res1'/>
*** User 2024-03-11 11:38:22.002 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<iq type='set' id='bb063e55537777cc624438a32be70553'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1582@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 11:38:22.004 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
<iq from='alice_subscribe_relog_1582@localhost' to='alice_subscribe_relog_1582@localhost/res1' id='push214e4011b47746e4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_1582@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 11:38:22.004 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
<iq from='alice_subscribe_relog_1582@localhost' to='alice_subscribe_relog_1582@localhost/res1' id='bb063e55537777cc624438a32be70553' type='result'/>
*** User 2024-03-11 11:38:22.004 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<iq to='alice_subscribe_relog_1582@localhost' id='push214e4011b47746e4' type='result'/>
*** User 2024-03-11 11:38:22.004 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1582@localhost'/>
*** User 2024-03-11 11:38:22.005 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
<iq from='alice_subscribe_relog_1582@localhost' to='alice_subscribe_relog_1582@localhost/res1' id='pushe8a9e4b1ec56ba75' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1582@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 11:38:22.005 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
<iq to='alice_subscribe_relog_1582@localhost' id='pushe8a9e4b1ec56ba75' type='result'/>
*** User 2024-03-11 11:38:22.005 ***🔗
bob_subscribe_relog_1582@localhost/res1 in
<presence from='alice_subscribe_relog_1582@localhost' to='bob_subscribe_relog_1582@localhost/res1' type='subscribe'/>
*** User 2024-03-11 11:38:22.005 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:22.007 ***🔗
bOb_subscribe_relog_1582@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='195f5c0aa939d5aa' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:38:22.007 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:22.007 ***🔗
bOb_subscribe_relog_1582@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU4MgBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:38:22.008 ***🔗
bOb_subscribe_relog_1582@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:38:22.008 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:22.008 ***🔗
bOb_subscribe_relog_1582@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='112d7b6b90168ca3' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1582@localhost'>
*** User 2024-03-11 11:38:22.008 ***🔗
bOb_subscribe_relog_1582@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-03-11 11:38:22.008 ***🔗
bOb_subscribe_relog_1582@localhost/newbob out
<iq type='set' id='805e0b0d7a21786751934597c6dbeb49'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-11 11:38:22.009 ***🔗
bOb_subscribe_relog_1582@localhost/newbob in
<iq id='805e0b0d7a21786751934597c6dbeb49' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1582@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-03-11 11:38:22.009 ***🔗
bob_subscribe_relog_1582@localhost/newbob out
<iq type='set' id='e116f19ffd60fae9d4679ba3037ec751'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:22.010 ***🔗
bob_subscribe_relog_1582@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1582@localhost/newbob' id='e116f19ffd60fae9d4679ba3037ec751' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:38:22.010 ***🔗
bob_subscribe_relog_1582@localhost/newbob out
<presence/>
*** User 2024-03-11 11:38:22.011 ***🔗
bob_subscribe_relog_1582@localhost/res1 in
<presence from='bob_subscribe_relog_1582@localhost/newbob' to='bob_subscribe_relog_1582@localhost/res1'/>
*** User 2024-03-11 11:38:22.011 ***🔗
bob_subscribe_relog_1582@localhost/newbob in
<presence from='alice_subscribe_relog_1582@localhost' to='bob_subscribe_relog_1582@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-03-11 11:38:22.012 ***🔗
bob_subscribe_relog_1582@localhost/newbob in
<presence from='bob_subscribe_relog_1582@localhost/newbob' to='bob_subscribe_relog_1582@localhost/newbob'/>
*** User 2024-03-11 11:38:22.012 ***🔗
bob_subscribe_relog_1582@localhost/newbob in
<presence from='bob_subscribe_relog_1582@localhost/res1' to='bob_subscribe_relog_1582@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T11:38:22.001521Z' from='bob_subscribe_relog_1582@localhost/res1'/>
</presence>
*** User 2024-03-11 11:38:22.012 ***🔗
bob_subscribe_relog_1582@localhost/newbob out
</stream:stream>
*** User 2024-03-11 11:38:22.013 ***🔗
bob_subscribe_relog_1582@localhost/newbob in
</stream:stream>
*** User 2024-03-11 11:38:22.013 ***🔗
bob_subscribe_relog_1582@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1582@localhost'/>
*** User 2024-03-11 11:38:22.013 ***🔗
bob_subscribe_relog_1582@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:38:22.015 ***🔗
bob_subscribe_relog_1582@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:38:22.016 ***🔗
alice_subscribe_relog_1582@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:38:22.016 ***🔗
alice_subscribe_relog_1582@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:38:22
=== successfully completed test case
=== === Returned value: ok