=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.68302.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/presence_suite.subscribe_relog.162563.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/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@d3b7dd7159a8.2023-12-07_07.46.41"
=== Started at 2023-12-07 07:57:32
*** User 2023-12-07 07:57:32.132 ***🔗
alicE_subscribe_relog_2503@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-12-07 07:57:32.132 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edc942b7013a8585' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:57:32.132 ***🔗
alicE_subscribe_relog_2503@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-12-07 07:57:32.132 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNTAzAG1hdHlncnlzYQ==</auth>
*** User 2023-12-07 07:57:32.133 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:57:32.133 ***🔗
alicE_subscribe_relog_2503@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-12-07 07:57:32.134 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0feff0ab0d5fdbc2' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2503@domain.example.com'>
*** User 2023-12-07 07:57:32.134 ***🔗
alicE_subscribe_relog_2503@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-12-07 07:57:32.134 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 out
<iq type='set' id='ba0bc878d9e06bd5f2b7ba3bd17d8393'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:57:32.134 ***🔗
alicE_subscribe_relog_2503@domain.example.com/res1 in
<iq id='ba0bc878d9e06bd5f2b7ba3bd17d8393' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2503@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:57:32.134 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<iq type='set' id='f8f5924967b65154a69ab456ff20d9b1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.135 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2503@domain.example.com/res1' id='f8f5924967b65154a69ab456ff20d9b1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.135 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:57:32.136 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2503@domain.example.com/res1' to='alice_subscribe_relog_2503@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.137 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.137 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef970496ba2c2e71' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:57:32.137 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.137 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjUwMwBtYWtyb2xpa2E=</auth>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.138 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e895210a79ac6d4a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2503@domain.example.com'>
*** User 2023-12-07 07:57:32.138 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.139 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 out
<iq type='set' id='a89ae4757170c079baf335d2c145b18f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bOb_subscribe_relog_2503@domain.example.com/res1 in
<iq id='a89ae4757170c079baf335d2c145b18f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2503@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:57:32.139 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 out
<iq type='set' id='44508e275bc7180833958412aa0d2afb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.140 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2503@domain.example.com/res1' id='44508e275bc7180833958412aa0d2afb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.140 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:57:32.141 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2503@domain.example.com/res1' to='bob_subscribe_relog_2503@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.141 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<iq type='set' id='9d3f2ef11e2a05453e5a6db88d717343'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2503@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.152 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2503@domain.example.com' to='alice_subscribe_relog_2503@domain.example.com/res1' id='push61bf6e5990d5b365' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2503@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.152 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2503@domain.example.com' to='alice_subscribe_relog_2503@domain.example.com/res1' id='9d3f2ef11e2a05453e5a6db88d717343' type='result'/>
*** User 2023-12-07 07:57:32.152 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2503@domain.example.com' id='push61bf6e5990d5b365' type='result'/>
*** User 2023-12-07 07:57:32.152 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2503@domain.example.com'/>
*** User 2023-12-07 07:57:32.158 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2503@domain.example.com' to='alice_subscribe_relog_2503@domain.example.com/res1' id='pushbe465268fc727073' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2503@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-12-07 07:57:32.159 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2503@domain.example.com' id='pushbe465268fc727073' type='result'/>
*** User 2023-12-07 07:57:32.159 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2503@domain.example.com' to='bob_subscribe_relog_2503@domain.example.com/res1' type='subscribe'/>
*** User 2023-12-07 07:57:32.159 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.159 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42e04c26a5fd1a66' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:57:32.160 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.160 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjUwMwBtYWtyb2xpa2E=</auth>
*** User 2023-12-07 07:57:32.160 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:57:32.161 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.161 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='93244c586b4f195a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2503@domain.example.com'>
*** User 2023-12-07 07:57:32.161 ***🔗
bOb_subscribe_relog_2503@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-12-07 07:57:32.161 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob out
<iq type='set' id='80391ecb2891d3cb4eb4c8c9c6e7562c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-12-07 07:57:32.162 ***🔗
bOb_subscribe_relog_2503@domain.example.com/newbob in
<iq id='80391ecb2891d3cb4eb4c8c9c6e7562c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2503@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2023-12-07 07:57:32.162 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob out
<iq type='set' id='b1c38d00ebd75da138121bc37b92cf59'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.163 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2503@domain.example.com/newbob' id='b1c38d00ebd75da138121bc37b92cf59' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:57:32.163 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob out
<presence/>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2503@domain.example.com/newbob' to='bob_subscribe_relog_2503@domain.example.com/res1'/>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2503@domain.example.com' to='bob_subscribe_relog_2503@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2503@domain.example.com/res1' to='bob_subscribe_relog_2503@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:57:32.140824Z' from='bob_subscribe_relog_2503@domain.example.com/res1'/>
</presence>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2503@domain.example.com/newbob' to='bob_subscribe_relog_2503@domain.example.com/newbob'/>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob out
</stream:stream>
*** User 2023-12-07 07:57:32.164 ***🔗
bob_subscribe_relog_2503@domain.example.com/newbob in
</stream:stream>
*** User 2023-12-07 07:57:32.165 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2503@domain.example.com'/>
*** User 2023-12-07 07:57:32.165 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 out
</stream:stream>
*** User 2023-12-07 07:57:32.171 ***🔗
bob_subscribe_relog_2503@domain.example.com/res1 in
</stream:stream>
*** User 2023-12-07 07:57:32.171 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 out
</stream:stream>
*** User 2023-12-07 07:57:32.171 ***🔗
alice_subscribe_relog_2503@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-12-07 07:57:32
=== successfully completed test case
=== === Returned value: ok