=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.72367.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/presence_suite.subscribe_relog.168835.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.30.21/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@a000afa994eb.2024-04-25_16.17.04"
=== Started at 2024-04-25 16:30:23
*** User 2024-04-25 16:30:23.732 ***🔗
alicE_subscribe_relog_2876@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-25 16:30:23.732 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5783210f4bdbb8e6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.733 ***🔗
alicE_subscribe_relog_2876@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-25 16:30:23.733 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODc2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 16:30:23.735 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.735 ***🔗
alicE_subscribe_relog_2876@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-25 16:30:23.735 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eab20b8a7a407ceb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2876@domain.example.com'>
*** User 2024-04-25 16:30:23.735 ***🔗
alicE_subscribe_relog_2876@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-25 16:30:23.735 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 out
<iq type='set' id='5d9199c7388ae9f95684994348b87c92'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.736 ***🔗
alicE_subscribe_relog_2876@domain.example.com/res1 in
<iq id='5d9199c7388ae9f95684994348b87c92' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2876@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.736 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<iq type='set' id='3e5b7fc9989eb61100fc88072d71a485'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.736 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2876@domain.example.com/res1' id='3e5b7fc9989eb61100fc88072d71a485' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.736 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.737 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2876@domain.example.com/res1' to='alice_subscribe_relog_2876@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.738 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.738 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3025c4a34e5c8a1a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.738 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.738 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:30:23.739 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.739 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.739 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cce3b022da8c25e9' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2876@domain.example.com'>
*** User 2024-04-25 16:30:23.739 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.739 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 out
<iq type='set' id='00459223bb470e5c1e7ef91774c6ef26'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
bOb_subscribe_relog_2876@domain.example.com/res1 in
<iq id='00459223bb470e5c1e7ef91774c6ef26' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2876@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 out
<iq type='set' id='3e205aaa91c51a67a4eaa9e62e6af689'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2876@domain.example.com/res1' id='3e205aaa91c51a67a4eaa9e62e6af689' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.740 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:30:23.741 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2876@domain.example.com/res1' to='bob_subscribe_relog_2876@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.741 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<iq type='set' id='e684dc9ad40956a10586a423e851aad5'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2876@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.744 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2876@domain.example.com' to='alice_subscribe_relog_2876@domain.example.com/res1' id='push4c99cbc48d718698' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2876@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.744 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2876@domain.example.com' to='alice_subscribe_relog_2876@domain.example.com/res1' id='e684dc9ad40956a10586a423e851aad5' type='result'/>
*** User 2024-04-25 16:30:23.744 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2876@domain.example.com' id='push4c99cbc48d718698' type='result'/>
*** User 2024-04-25 16:30:23.744 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2876@domain.example.com'/>
*** User 2024-04-25 16:30:23.749 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2876@domain.example.com' to='alice_subscribe_relog_2876@domain.example.com/res1' id='pushf770b55a8db4b78a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2876@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:30:23.749 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2876@domain.example.com' id='pushf770b55a8db4b78a' type='result'/>
*** User 2024-04-25 16:30:23.749 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2876@domain.example.com' to='bob_subscribe_relog_2876@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-25 16:30:23.762 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.762 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1851a3994ab16ba4' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:30:23.762 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.762 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3NgBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:30:23.763 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:30:23.763 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.764 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5c7f82c90279b8f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2876@domain.example.com'>
*** User 2024-04-25 16:30:23.764 ***🔗
bOb_subscribe_relog_2876@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-25 16:30:23.764 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob out
<iq type='set' id='2c525da52f36cd14adb8db72f01beac7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-25 16:30:23.764 ***🔗
bOb_subscribe_relog_2876@domain.example.com/newbob in
<iq id='2c525da52f36cd14adb8db72f01beac7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2876@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-25 16:30:23.764 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob out
<iq type='set' id='aad5bf906fbae1fdfda5f32b6d724bf3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.765 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2876@domain.example.com/newbob' id='aad5bf906fbae1fdfda5f32b6d724bf3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:30:23.765 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob out
<presence/>
*** User 2024-04-25 16:30:23.766 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2876@domain.example.com/newbob' to='bob_subscribe_relog_2876@domain.example.com/res1'/>
*** User 2024-04-25 16:30:23.766 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2876@domain.example.com' to='bob_subscribe_relog_2876@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-25 16:30:23.766 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2876@domain.example.com/newbob' to='bob_subscribe_relog_2876@domain.example.com/newbob'/>
*** User 2024-04-25 16:30:23.766 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2876@domain.example.com/res1' to='bob_subscribe_relog_2876@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T16:30:23.741348Z' from='bob_subscribe_relog_2876@domain.example.com/res1'/>
</presence>
*** User 2024-04-25 16:30:23.766 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-25 16:30:23.767 ***🔗
bob_subscribe_relog_2876@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-25 16:30:23.767 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2876@domain.example.com'/>
*** User 2024-04-25 16:30:23.767 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.778 ***🔗
bob_subscribe_relog_2876@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 16:30:23.778 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:30:23.779 ***🔗
alice_subscribe_relog_2876@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:30:23
=== successfully completed test case
=== === Returned value: ok