=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.69012.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/presence_suite.subscribe_relog.187010.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.presence_SUITE.logs/run.2023-11-23_14.27.01/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@7465fd1d5a64.2023-11-23_14.13.58"
=== Started at 2023-11-23 14:27:03
*** User 2023-11-23 14:27:03.400 ***🔗
alicE_subscribe_relog_2652@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-23 14:27:03.401 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='00db591edcb30285' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.401 ***🔗
alicE_subscribe_relog_2652@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-23 14:27:03.401 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjUyAG1hdHlncnlzYQ==</auth>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_subscribe_relog_2652@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-23 14:27:03.402 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='492852af2dc0637d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2652@domain.example.com'>
*** User 2023-11-23 14:27:03.402 ***🔗
alicE_subscribe_relog_2652@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-23 14:27:03.402 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 out
<iq type='set' id='f66eefabea8c986c6a8db16d7cdd7270'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alicE_subscribe_relog_2652@domain.example.com/res1 in
<iq id='f66eefabea8c986c6a8db16d7cdd7270' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2652@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<iq type='set' id='5107808ea1da3f03d80c9651a0d46766'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2652@domain.example.com/res1' id='5107808ea1da3f03d80c9651a0d46766' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.403 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.404 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2652@domain.example.com/res1' to='alice_subscribe_relog_2652@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.405 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.405 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df0763e8db312783' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.405 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.405 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY1MgBtYWtyb2xpa2E=</auth>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.406 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='361cd988db4ba953' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2652@domain.example.com'>
*** User 2023-11-23 14:27:03.406 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.406 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 out
<iq type='set' id='5dd0656f0f691023109c8bd4e7990e3b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bOb_subscribe_relog_2652@domain.example.com/res1 in
<iq id='5dd0656f0f691023109c8bd4e7990e3b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2652@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 out
<iq type='set' id='39693e709e67f032f837cdd1d7b41019'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2652@domain.example.com/res1' id='39693e709e67f032f837cdd1d7b41019' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.407 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 out
<presence/>
*** User 2023-11-23 14:27:03.408 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2652@domain.example.com/res1' to='bob_subscribe_relog_2652@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.408 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<iq type='set' id='b187a5e0dc247df709ff622168572f40'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2652@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.412 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2652@domain.example.com' to='alice_subscribe_relog_2652@domain.example.com/res1' id='pushe63c7adeb3a5a8ad' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2652@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.412 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2652@domain.example.com' to='alice_subscribe_relog_2652@domain.example.com/res1' id='b187a5e0dc247df709ff622168572f40' type='result'/>
*** User 2023-11-23 14:27:03.412 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2652@domain.example.com' id='pushe63c7adeb3a5a8ad' type='result'/>
*** User 2023-11-23 14:27:03.412 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2652@domain.example.com'/>
*** User 2023-11-23 14:27:03.419 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2652@domain.example.com' to='alice_subscribe_relog_2652@domain.example.com/res1' id='push5a6ce69e514cfcc4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2652@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-23 14:27:03.419 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2652@domain.example.com' id='push5a6ce69e514cfcc4' type='result'/>
*** User 2023-11-23 14:27:03.419 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2652@domain.example.com' to='bob_subscribe_relog_2652@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-23 14:27:03.420 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.420 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86cb104cf55dcc60' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:27:03.420 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.420 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY1MgBtYWtyb2xpa2E=</auth>
*** User 2023-11-23 14:27:03.421 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-23 14:27:03.421 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.421 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2e983840578c49a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2652@domain.example.com'>
*** User 2023-11-23 14:27:03.422 ***🔗
bOb_subscribe_relog_2652@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-23 14:27:03.422 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob out
<iq type='set' id='439694c51fc8b848fbf245450a44ccfe'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-23 14:27:03.422 ***🔗
bOb_subscribe_relog_2652@domain.example.com/newbob in
<iq id='439694c51fc8b848fbf245450a44ccfe' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2652@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2023-11-23 14:27:03.422 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob out
<iq type='set' id='9bf412b075352ec306ea277c707cdadc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.422 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2652@domain.example.com/newbob' id='9bf412b075352ec306ea277c707cdadc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-23 14:27:03.423 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob out
<presence/>
*** User 2023-11-23 14:27:03.424 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2652@domain.example.com/newbob' to='bob_subscribe_relog_2652@domain.example.com/res1'/>
*** User 2023-11-23 14:27:03.424 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2652@domain.example.com' to='bob_subscribe_relog_2652@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-23 14:27:03.424 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2652@domain.example.com/newbob' to='bob_subscribe_relog_2652@domain.example.com/newbob'/>
*** User 2023-11-23 14:27:03.425 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2652@domain.example.com/res1' to='bob_subscribe_relog_2652@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-23T14:27:03.408338Z' from='bob_subscribe_relog_2652@domain.example.com/res1'/>
</presence>
*** User 2023-11-23 14:27:03.425 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob out
</stream:stream>
*** User 2023-11-23 14:27:03.425 ***🔗
bob_subscribe_relog_2652@domain.example.com/newbob in
</stream:stream>
*** User 2023-11-23 14:27:03.425 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2652@domain.example.com'/>
*** User 2023-11-23 14:27:03.425 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.431 ***🔗
bob_subscribe_relog_2652@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-23 14:27:03.431 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-23 14:27:03.431 ***🔗
alice_subscribe_relog_2652@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-23 14:27:03
=== successfully completed test case
=== === Returned value: ok