=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.71832.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.presence_SUITE.logs/run.2024-04-26_13.21.54/presence_suite.subscribe_relog.128003.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@699c7e574a5d.2024-04-26_13.09.59/big_tests.tests.presence_SUITE.logs/run.2024-04-26_13.21.54/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@699c7e574a5d.2024-04-26_13.09.59"
=== Started at 2024-04-26 13:21:56
*** User 2024-04-26 13:21:56.701 ***🔗
alicE_subscribe_relog_2734@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-26 13:21:56.701 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79498679b0f7b19d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:21:56.701 ***🔗
alicE_subscribe_relog_2734@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-26 13:21:56.701 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzM0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-26 13:21:56.702 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:21:56.702 ***🔗
alicE_subscribe_relog_2734@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-26 13:21:56.702 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b8fd6d5adf8586e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2734@domain.example.com'>
*** User 2024-04-26 13:21:56.702 ***🔗
alicE_subscribe_relog_2734@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-26 13:21:56.702 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 out
<iq type='set' id='fe4b92a02bc8a40289d1c0e62487b591'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:21:56.703 ***🔗
alicE_subscribe_relog_2734@domain.example.com/res1 in
<iq id='fe4b92a02bc8a40289d1c0e62487b591' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2734@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:21:56.703 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<iq type='set' id='64ba4cf458b07c6d53dfaaf654615bb3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.703 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2734@domain.example.com/res1' id='64ba4cf458b07c6d53dfaaf654615bb3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.703 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:21:56.704 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2734@domain.example.com/res1' to='alice_subscribe_relog_2734@domain.example.com/res1'/>
*** User 2024-04-26 13:21:56.705 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.705 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7bb990b83f865912' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:21:56.705 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.705 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjczNABtYWtyb2xpa2E=</auth>
*** User 2024-04-26 13:21:56.706 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:21:56.706 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.706 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc5f653fb2013127' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2734@domain.example.com'>
*** User 2024-04-26 13:21:56.706 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.706 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 out
<iq type='set' id='12721ae8a33f5738584d46bb2eb64993'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:21:56.707 ***🔗
bOb_subscribe_relog_2734@domain.example.com/res1 in
<iq id='12721ae8a33f5738584d46bb2eb64993' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2734@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:21:56.707 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 out
<iq type='set' id='eafefe60084d0ede1eb9ed27f1b4f096'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.707 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2734@domain.example.com/res1' id='eafefe60084d0ede1eb9ed27f1b4f096' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.708 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:21:56.709 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2734@domain.example.com/res1' to='bob_subscribe_relog_2734@domain.example.com/res1'/>
*** User 2024-04-26 13:21:56.709 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<iq type='set' id='d71f45a226405dd4a80fd9a99374482b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2734@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-26 13:21:56.717 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2734@domain.example.com' to='alice_subscribe_relog_2734@domain.example.com/res1' id='pushd32eba1bfa50b266' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2734@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-26 13:21:56.717 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2734@domain.example.com' to='alice_subscribe_relog_2734@domain.example.com/res1' id='d71f45a226405dd4a80fd9a99374482b' type='result'/>
*** User 2024-04-26 13:21:56.717 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2734@domain.example.com' id='pushd32eba1bfa50b266' type='result'/>
*** User 2024-04-26 13:21:56.717 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2734@domain.example.com'/>
*** User 2024-04-26 13:21:56.720 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2734@domain.example.com' to='alice_subscribe_relog_2734@domain.example.com/res1' id='pushe8b89909ea0ee142' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2734@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-26 13:21:56.720 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2734@domain.example.com' id='pushe8b89909ea0ee142' type='result'/>
*** User 2024-04-26 13:21:56.720 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2734@domain.example.com' to='bob_subscribe_relog_2734@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-26 13:21:56.721 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.721 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fac9370cadbc3baf' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:21:56.721 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.721 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjczNABtYWtyb2xpa2E=</auth>
*** User 2024-04-26 13:21:56.722 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:21:56.722 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.722 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07aa43d367dd8589' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2734@domain.example.com'>
*** User 2024-04-26 13:21:56.723 ***🔗
bOb_subscribe_relog_2734@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-26 13:21:56.723 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob out
<iq type='set' id='57ae160076bad892ccd0f05f347ad009'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-26 13:21:56.723 ***🔗
bOb_subscribe_relog_2734@domain.example.com/newbob in
<iq id='57ae160076bad892ccd0f05f347ad009' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2734@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-26 13:21:56.723 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob out
<iq type='set' id='72cae00567e395493dc107e5a9e1bfd5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.724 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2734@domain.example.com/newbob' id='72cae00567e395493dc107e5a9e1bfd5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:21:56.724 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob out
<presence/>
*** User 2024-04-26 13:21:56.726 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2734@domain.example.com/newbob' to='bob_subscribe_relog_2734@domain.example.com/res1'/>
*** User 2024-04-26 13:21:56.726 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2734@domain.example.com' to='bob_subscribe_relog_2734@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-26 13:21:56.726 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2734@domain.example.com/newbob' to='bob_subscribe_relog_2734@domain.example.com/newbob'/>
*** User 2024-04-26 13:21:56.726 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2734@domain.example.com/res1' to='bob_subscribe_relog_2734@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T13:21:56.708705Z' from='bob_subscribe_relog_2734@domain.example.com/res1'/>
</presence>
*** User 2024-04-26 13:21:56.726 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-26 13:21:56.727 ***🔗
bob_subscribe_relog_2734@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-26 13:21:56.727 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2734@domain.example.com'/>
*** User 2024-04-26 13:21:56.727 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:21:56.731 ***🔗
bob_subscribe_relog_2734@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-26 13:21:56.731 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:21:56.731 ***🔗
alice_subscribe_relog_2734@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-26 13:21:56
=== successfully completed test case
=== === Returned value: ok