=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.78594.0>},
{preset,"pgsql_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@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/presence_suite.subscribe_relog.225794.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@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/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@26557528e1a5.2024-04-25_12.01.25"
=== Started at 2024-04-25 12:16:52
*** User 2024-04-25 12:16:52.991 ***🔗
alicE_subscribe_relog_3098@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-25 12:16:52.992 ***🔗
alicE_subscribe_relog_3098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fad5c287c91292a3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:16:52.992 ***🔗
alicE_subscribe_relog_3098@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-25 12:16:52.992 ***🔗
alicE_subscribe_relog_3098@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDk4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 12:16:52.993 ***🔗
alicE_subscribe_relog_3098@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:16:52.993 ***🔗
alicE_subscribe_relog_3098@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-25 12:16:52.993 ***🔗
alicE_subscribe_relog_3098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cea24b4b7e784fb3' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3098@localhost'>
*** User 2024-04-25 12:16:52.993 ***🔗
alicE_subscribe_relog_3098@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-25 12:16:52.993 ***🔗
alicE_subscribe_relog_3098@localhost/res1 out
<iq type='set' id='603b5a323dc93ed7173f54c65f2fa350'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:16:52.994 ***🔗
alicE_subscribe_relog_3098@localhost/res1 in
<iq id='603b5a323dc93ed7173f54c65f2fa350' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_3098@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:16:52.994 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<iq type='set' id='88caa32ce6f8c56e8c9b9d2516f4e899'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:52.994 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3098@localhost/res1' id='88caa32ce6f8c56e8c9b9d2516f4e899' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:52.994 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<presence/>
*** User 2024-04-25 12:16:52.996 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
<presence from='alice_subscribe_relog_3098@localhost/res1' to='alice_subscribe_relog_3098@localhost/res1'/>
*** User 2024-04-25 12:16:52.996 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:52.996 ***🔗
bOb_subscribe_relog_3098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66b1e83d811a0268' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:16:52.996 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:52.996 ***🔗
bOb_subscribe_relog_3098@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA5OABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 12:16:52.997 ***🔗
bOb_subscribe_relog_3098@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:16:52.997 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:52.997 ***🔗
bOb_subscribe_relog_3098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa3d5572034e4fd8' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3098@localhost'>
*** User 2024-04-25 12:16:52.997 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:52.997 ***🔗
bOb_subscribe_relog_3098@localhost/res1 out
<iq type='set' id='34ef7a356182ad0f944797bf2d5cdb00'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:16:52.998 ***🔗
bOb_subscribe_relog_3098@localhost/res1 in
<iq id='34ef7a356182ad0f944797bf2d5cdb00' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3098@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:16:52.998 ***🔗
bob_subscribe_relog_3098@localhost/res1 out
<iq type='set' id='4a168c5fa34c62b152caeee2e3c4ca4b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:52.999 ***🔗
bob_subscribe_relog_3098@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3098@localhost/res1' id='4a168c5fa34c62b152caeee2e3c4ca4b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:52.999 ***🔗
bob_subscribe_relog_3098@localhost/res1 out
<presence/>
*** User 2024-04-25 12:16:52.999 ***🔗
bob_subscribe_relog_3098@localhost/res1 in
<presence from='bob_subscribe_relog_3098@localhost/res1' to='bob_subscribe_relog_3098@localhost/res1'/>
*** User 2024-04-25 12:16:53.000 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<iq type='set' id='141f7d2b0b883afd5af8868f5cf9690b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_3098@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:16:53.007 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
<iq from='alice_subscribe_relog_3098@localhost' to='alice_subscribe_relog_3098@localhost/res1' id='push3039b533869a155b' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_3098@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:16:53.007 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
<iq from='alice_subscribe_relog_3098@localhost' to='alice_subscribe_relog_3098@localhost/res1' id='141f7d2b0b883afd5af8868f5cf9690b' type='result'/>
*** User 2024-04-25 12:16:53.007 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<iq to='alice_subscribe_relog_3098@localhost' id='push3039b533869a155b' type='result'/>
*** User 2024-04-25 12:16:53.007 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3098@localhost'/>
*** User 2024-04-25 12:16:53.010 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
<iq from='alice_subscribe_relog_3098@localhost' to='alice_subscribe_relog_3098@localhost/res1' id='push910a0e7824651f82' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3098@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 12:16:53.010 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
<iq to='alice_subscribe_relog_3098@localhost' id='push910a0e7824651f82' type='result'/>
*** User 2024-04-25 12:16:53.010 ***🔗
bob_subscribe_relog_3098@localhost/res1 in
<presence from='alice_subscribe_relog_3098@localhost' to='bob_subscribe_relog_3098@localhost/res1' type='subscribe'/>
*** User 2024-04-25 12:16:53.011 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:53.011 ***🔗
bOb_subscribe_relog_3098@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83e0e1aaa35bbb0a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:16:53.011 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:53.012 ***🔗
bOb_subscribe_relog_3098@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA5OABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1f20e1d7bfd8e0d' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3098@localhost'>
*** User 2024-04-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@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-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@localhost/newbob out
<iq type='set' id='9e87de373f09df6d4ee03c26996a2bcd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-25 12:16:53.013 ***🔗
bOb_subscribe_relog_3098@localhost/newbob in
<iq id='9e87de373f09df6d4ee03c26996a2bcd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3098@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-25 12:16:53.013 ***🔗
bob_subscribe_relog_3098@localhost/newbob out
<iq type='set' id='a68fced75eb509185623b3379b6b51cf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:53.014 ***🔗
bob_subscribe_relog_3098@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3098@localhost/newbob' id='a68fced75eb509185623b3379b6b51cf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:16:53.014 ***🔗
bob_subscribe_relog_3098@localhost/newbob out
<presence/>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/res1 in
<presence from='bob_subscribe_relog_3098@localhost/newbob' to='bob_subscribe_relog_3098@localhost/res1'/>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/newbob in
<presence from='alice_subscribe_relog_3098@localhost' to='bob_subscribe_relog_3098@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/newbob in
<presence from='bob_subscribe_relog_3098@localhost/newbob' to='bob_subscribe_relog_3098@localhost/newbob'/>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/newbob in
<presence from='bob_subscribe_relog_3098@localhost/res1' to='bob_subscribe_relog_3098@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:16:52.999715Z' from='bob_subscribe_relog_3098@localhost/res1'/>
</presence>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/newbob out
</stream:stream>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/newbob in
</stream:stream>
*** User 2024-04-25 12:16:53.015 ***🔗
bob_subscribe_relog_3098@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3098@localhost'/>
*** User 2024-04-25 12:16:53.016 ***🔗
bob_subscribe_relog_3098@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:16:53.018 ***🔗
bob_subscribe_relog_3098@localhost/res1 in
</stream:stream>
*** User 2024-04-25 12:16:53.018 ***🔗
alice_subscribe_relog_3098@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:16:53.037 ***🔗
alice_subscribe_relog_3098@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 12:16:53
=== successfully completed test case
=== === Returned value: ok