=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.71755.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/presence_suite.subscribe_relog.132867.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/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@204f21db9bdd.2024-04-10_16.27.55"
=== Started at 2024-04-10 16:39:15
*** User 2024-04-10 16:39:15.383 ***🔗
alicE_subscribe_relog_2726@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-10 16:39:15.383 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8d7faeda5049eba' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 16:39:15.384 ***🔗
alicE_subscribe_relog_2726@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-10 16:39:15.384 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzI2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@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-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2215807d65bcca67' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2726@domain.example.com'>
*** User 2024-04-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@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-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 out
<iq type='set' id='7456f975c026af1e3fff3944ef4f6455'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 16:39:15.385 ***🔗
alicE_subscribe_relog_2726@domain.example.com/res1 in
<iq id='7456f975c026af1e3fff3944ef4f6455' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2726@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 16:39:15.385 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<iq type='set' id='9110278841b7fb95a87109c0fc93af16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.386 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2726@domain.example.com/res1' id='9110278841b7fb95a87109c0fc93af16' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.386 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 16:39:15.388 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2726@domain.example.com/res1' to='alice_subscribe_relog_2726@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.388 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.389 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c01134148c277c5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 16:39:15.389 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.389 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjcyNgBtYWtyb2xpa2E=</auth>
*** User 2024-04-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66f164a40debd8fb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2726@domain.example.com'>
*** User 2024-04-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 out
<iq type='set' id='9c3e9865a3e03605d35ab30e86a6cde2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 16:39:15.390 ***🔗
bOb_subscribe_relog_2726@domain.example.com/res1 in
<iq id='9c3e9865a3e03605d35ab30e86a6cde2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2726@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 16:39:15.390 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 out
<iq type='set' id='f3af0c4847ee93e5ada39102da7345ab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.391 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2726@domain.example.com/res1' id='f3af0c4847ee93e5ada39102da7345ab' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.391 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 16:39:15.393 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2726@domain.example.com/res1' to='bob_subscribe_relog_2726@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.393 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<iq type='set' id='a6c9535ea24d63797d447e7455b410a4'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2726@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.412 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2726@domain.example.com' to='alice_subscribe_relog_2726@domain.example.com/res1' id='push7377d76ddfa4e19a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2726@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.412 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2726@domain.example.com' to='alice_subscribe_relog_2726@domain.example.com/res1' id='a6c9535ea24d63797d447e7455b410a4' type='result'/>
*** User 2024-04-10 16:39:15.412 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2726@domain.example.com' id='push7377d76ddfa4e19a' type='result'/>
*** User 2024-04-10 16:39:15.412 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2726@domain.example.com'/>
*** User 2024-04-10 16:39:15.425 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2726@domain.example.com' to='alice_subscribe_relog_2726@domain.example.com/res1' id='push86dc785c90752875' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2726@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-10 16:39:15.425 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2726@domain.example.com' id='push86dc785c90752875' type='result'/>
*** User 2024-04-10 16:39:15.425 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2726@domain.example.com' to='bob_subscribe_relog_2726@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-10 16:39:15.425 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.426 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3e3dd9f04a30417' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 16:39:15.426 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.426 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjcyNgBtYWtyb2xpa2E=</auth>
*** User 2024-04-10 16:39:15.427 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 16:39:15.427 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.427 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a7e0c4e25149b74' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2726@domain.example.com'>
*** User 2024-04-10 16:39:15.427 ***🔗
bOb_subscribe_relog_2726@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-10 16:39:15.427 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob out
<iq type='set' id='d8a269d22c59ba139cb8523904866893'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-10 16:39:15.428 ***🔗
bOb_subscribe_relog_2726@domain.example.com/newbob in
<iq id='d8a269d22c59ba139cb8523904866893' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2726@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-10 16:39:15.428 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob out
<iq type='set' id='8edc90b6643b34512129780f49e7d149'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.429 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2726@domain.example.com/newbob' id='8edc90b6643b34512129780f49e7d149' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 16:39:15.429 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob out
<presence/>
*** User 2024-04-10 16:39:15.430 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2726@domain.example.com/newbob' to='bob_subscribe_relog_2726@domain.example.com/res1'/>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2726@domain.example.com' to='bob_subscribe_relog_2726@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2726@domain.example.com/newbob' to='bob_subscribe_relog_2726@domain.example.com/newbob'/>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2726@domain.example.com/res1' to='bob_subscribe_relog_2726@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-10T16:39:15.392771Z' from='bob_subscribe_relog_2726@domain.example.com/res1'/>
</presence>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2726@domain.example.com'/>
*** User 2024-04-10 16:39:15.431 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 16:39:15.438 ***🔗
bob_subscribe_relog_2726@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-10 16:39:15.438 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 16:39:15.438 ***🔗
alice_subscribe_relog_2726@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-10 16:39:15
=== successfully completed test case
=== === Returned value: ok