=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.6876.2>},
{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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/presence_suite.subscribe_relog.145667.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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/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@c99c1168ae9b.2024-04-23_11.31.47"
=== Started at 2024-04-23 11:44:31
*** User 2024-04-23 11:44:31.526 ***🔗
alicE_subscribe_relog_2886@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 2024-04-23 11:44:31.527 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23c90764156ae374' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:44:31.527 ***🔗
alicE_subscribe_relog_2886@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 2024-04-23 11:44:31.527 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODg2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:44:31.527 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:44:31.528 ***🔗
alicE_subscribe_relog_2886@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 2024-04-23 11:44:31.528 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa674d6cd9d5adaf' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2886@domain.example.com'>
*** User 2024-04-23 11:44:31.528 ***🔗
alicE_subscribe_relog_2886@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 2024-04-23 11:44:31.528 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 out
<iq type='set' id='45a85ac22610c0b49341434837c9d479'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:44:31.528 ***🔗
alicE_subscribe_relog_2886@domain.example.com/res1 in
<iq id='45a85ac22610c0b49341434837c9d479' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2886@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:44:31.529 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<iq type='set' id='7976541841cfef98086bea966f75fd82'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.529 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2886@domain.example.com/res1' id='7976541841cfef98086bea966f75fd82' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.529 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:44:31.530 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2886@domain.example.com/res1' to='alice_subscribe_relog_2886@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.531 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.532 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c94d70b44069da6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:44:31.532 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.532 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:44:31.533 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:44:31.533 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.533 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb0164c3d2488649' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2886@domain.example.com'>
*** User 2024-04-23 11:44:31.533 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.533 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 out
<iq type='set' id='891963ed1855415d060f4d855a7668bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:44:31.534 ***🔗
bOb_subscribe_relog_2886@domain.example.com/res1 in
<iq id='891963ed1855415d060f4d855a7668bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2886@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:44:31.534 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 out
<iq type='set' id='c1b97100385a28882284ffed0533daf2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.534 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2886@domain.example.com/res1' id='c1b97100385a28882284ffed0533daf2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.534 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:44:31.535 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2886@domain.example.com/res1' to='bob_subscribe_relog_2886@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.535 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<iq type='set' id='89822743090016863a2ac968d9c8676b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2886@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.542 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2886@domain.example.com' to='alice_subscribe_relog_2886@domain.example.com/res1' id='pushaf026bdf7fd67443' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2886@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.542 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2886@domain.example.com' to='alice_subscribe_relog_2886@domain.example.com/res1' id='89822743090016863a2ac968d9c8676b' type='result'/>
*** User 2024-04-23 11:44:31.543 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2886@domain.example.com' id='pushaf026bdf7fd67443' type='result'/>
*** User 2024-04-23 11:44:31.543 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2886@domain.example.com'/>
*** User 2024-04-23 11:44:31.547 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2886@domain.example.com' to='alice_subscribe_relog_2886@domain.example.com/res1' id='pushef070ea7e0369dde' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2886@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:44:31.547 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2886@domain.example.com' id='pushef070ea7e0369dde' type='result'/>
*** User 2024-04-23 11:44:31.547 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2886@domain.example.com' to='bob_subscribe_relog_2886@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 11:44:31.548 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.548 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='746d2332d3a3d489' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:44:31.548 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.548 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:44:31.550 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:44:31.550 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.550 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f91cbdc408420641' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2886@domain.example.com'>
*** User 2024-04-23 11:44:31.550 ***🔗
bOb_subscribe_relog_2886@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 2024-04-23 11:44:31.551 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob out
<iq type='set' id='314a0239343b23f41e313550be2be1d2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-23 11:44:31.551 ***🔗
bOb_subscribe_relog_2886@domain.example.com/newbob in
<iq id='314a0239343b23f41e313550be2be1d2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2886@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-23 11:44:31.551 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob out
<iq type='set' id='b507e3171c6a783d27f83eaec8758d3f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.551 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2886@domain.example.com/newbob' id='b507e3171c6a783d27f83eaec8758d3f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:44:31.551 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob out
<presence/>
*** User 2024-04-23 11:44:31.552 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2886@domain.example.com/newbob' to='bob_subscribe_relog_2886@domain.example.com/res1'/>
*** User 2024-04-23 11:44:31.552 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2886@domain.example.com' to='bob_subscribe_relog_2886@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-23 11:44:31.552 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2886@domain.example.com/newbob' to='bob_subscribe_relog_2886@domain.example.com/newbob'/>
*** User 2024-04-23 11:44:31.553 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2886@domain.example.com/res1' to='bob_subscribe_relog_2886@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:44:31.535341Z' from='bob_subscribe_relog_2886@domain.example.com/res1'/>
</presence>
*** User 2024-04-23 11:44:31.553 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-23 11:44:31.553 ***🔗
bob_subscribe_relog_2886@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-23 11:44:31.553 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2886@domain.example.com'/>
*** User 2024-04-23 11:44:31.554 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:44:31.585 ***🔗
bob_subscribe_relog_2886@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 11:44:31.586 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:44:31.586 ***🔗
alice_subscribe_relog_2886@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:44:31
=== successfully completed test case
=== === Returned value: ok