=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.68359.0>},
{preset,"odbc_mssql_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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/presence_suite.subscribe_relog.88836.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18"
=== Started at 2023-11-17 15:22:47
*** User 2023-11-17 15:22:47.400 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.401 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='64e5eb3e381413ca' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:47.401 ***🔗
alicE_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.401 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjExAG1hdHlncnlzYQ==</auth>
*** User 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea9b0ef3d364f044' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2611@domain.example.com'>
*** User 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 out
<iq type='set' id='af8276e28b4f91dadec65cc34d2dbbff'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:47.402 ***🔗
alicE_subscribe_relog_2611@domain.example.com/res1 in
<iq id='af8276e28b4f91dadec65cc34d2dbbff' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2611@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:47.403 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<iq type='set' id='aef07893061d4c4c42112ea33d4f7109'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.403 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2611@domain.example.com/res1' id='aef07893061d4c4c42112ea33d4f7109' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.403 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:22:47.404 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2611@domain.example.com/res1' to='alice_subscribe_relog_2611@domain.example.com/res1'/>
*** User 2023-11-17 15:22:47.404 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.405 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfe6326150af76fb' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:47.405 ***🔗
bOb_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.405 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYxMQBtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b25fab6e462c60e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2611@domain.example.com'>
*** User 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 out
<iq type='set' id='24c283ee0c223dcccabc0ba329394003'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:47.406 ***🔗
bOb_subscribe_relog_2611@domain.example.com/res1 in
<iq id='24c283ee0c223dcccabc0ba329394003' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2611@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:47.406 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 out
<iq type='set' id='c58392f8b7bdbe0e7b39c0d015a9d13f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.407 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2611@domain.example.com/res1' id='c58392f8b7bdbe0e7b39c0d015a9d13f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.407 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:22:47.408 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2611@domain.example.com/res1' to='bob_subscribe_relog_2611@domain.example.com/res1'/>
*** User 2023-11-17 15:22:47.408 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<iq type='set' id='d67370a4fc51e4382e89fb3b9c16ca41'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2611@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-17 15:22:47.414 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2611@domain.example.com' to='alice_subscribe_relog_2611@domain.example.com/res1' id='push0b9b103b400aceca' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2611@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-17 15:22:47.414 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2611@domain.example.com' to='alice_subscribe_relog_2611@domain.example.com/res1' id='d67370a4fc51e4382e89fb3b9c16ca41' type='result'/>
*** User 2023-11-17 15:22:47.414 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2611@domain.example.com' id='push0b9b103b400aceca' type='result'/>
*** User 2023-11-17 15:22:47.414 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2611@domain.example.com'/>
*** User 2023-11-17 15:22:47.419 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2611@domain.example.com' to='alice_subscribe_relog_2611@domain.example.com/res1' id='push8fb5c08a6f55e9b0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2611@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-17 15:22:47.419 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2611@domain.example.com' id='push8fb5c08a6f55e9b0' type='result'/>
*** User 2023-11-17 15:22:47.419 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2611@domain.example.com' to='bob_subscribe_relog_2611@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-17 15:22:47.419 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.420 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72cf3b3648a5aa3a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:22:47.420 ***🔗
bOb_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.420 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYxMQBtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:22:47.421 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:22:47.421 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-17 15:22:47.421 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='63c76215a1e0b49a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2611@domain.example.com'>
*** User 2023-11-17 15:22:47.421 ***🔗
bOb_subscribe_relog_2611@domain.example.com/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 2023-11-17 15:22:47.421 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob out
<iq type='set' id='9217f0255ee300b0744a9b1665b44d89'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-17 15:22:47.422 ***🔗
bOb_subscribe_relog_2611@domain.example.com/newbob in
<iq id='9217f0255ee300b0744a9b1665b44d89' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2611@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2023-11-17 15:22:47.422 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob out
<iq type='set' id='133c843b5586491cb10648ca3be59923'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.422 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2611@domain.example.com/newbob' id='133c843b5586491cb10648ca3be59923' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:22:47.422 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob out
<presence/>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2611@domain.example.com/newbob' to='bob_subscribe_relog_2611@domain.example.com/res1'/>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2611@domain.example.com' to='bob_subscribe_relog_2611@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2611@domain.example.com/newbob' to='bob_subscribe_relog_2611@domain.example.com/newbob'/>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2611@domain.example.com/res1' to='bob_subscribe_relog_2611@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:22:47.408270Z' from='bob_subscribe_relog_2611@domain.example.com/res1'/>
</presence>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob out
</stream:stream>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/newbob in
</stream:stream>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2611@domain.example.com'/>
*** User 2023-11-17 15:22:47.425 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:22:47.442 ***🔗
bob_subscribe_relog_2611@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:22:47.442 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:22:47.442 ***🔗
alice_subscribe_relog_2611@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:22:47
=== successfully completed test case
=== === Returned value: ok