=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.72366.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@a950b60ae868.2024-03-18_09.25.02/big_tests.tests.presence_SUITE.logs/run.2024-03-18_09.38.18/presence_suite.subscribe_relog.154243.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@a950b60ae868.2024-03-18_09.25.02/big_tests.tests.presence_SUITE.logs/run.2024-03-18_09.38.18/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@a950b60ae868.2024-03-18_09.25.02"
=== Started at 2024-03-18 09:38:20
*** User 2024-03-18 09:38:20.155 ***🔗
alicE_subscribe_relog_2905@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-03-18 09:38:20.156 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09f4fb53d3882273' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-18 09:38:20.156 ***🔗
alicE_subscribe_relog_2905@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-03-18 09:38:20.156 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTA1AG1hdHlncnlzYQ==</auth>
*** User 2024-03-18 09:38:20.157 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-18 09:38:20.157 ***🔗
alicE_subscribe_relog_2905@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-03-18 09:38:20.157 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30bae3410d07b997' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2905@domain.example.com'>
*** User 2024-03-18 09:38:20.157 ***🔗
alicE_subscribe_relog_2905@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-03-18 09:38:20.157 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 out
<iq type='set' id='060de58061f6d4b1c54ed8e34d8738e4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-18 09:38:20.158 ***🔗
alicE_subscribe_relog_2905@domain.example.com/res1 in
<iq id='060de58061f6d4b1c54ed8e34d8738e4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2905@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-18 09:38:20.158 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<iq type='set' id='f4e09861faaaa7773d2c5065f1a23bcb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.159 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2905@domain.example.com/res1' id='f4e09861faaaa7773d2c5065f1a23bcb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.159 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<presence/>
*** User 2024-03-18 09:38:20.160 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2905@domain.example.com/res1' to='alice_subscribe_relog_2905@domain.example.com/res1'/>
*** User 2024-03-18 09:38:20.160 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.161 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54dcd3a84909c613' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-18 09:38:20.161 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.161 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwNQBtYWtyb2xpa2E=</auth>
*** User 2024-03-18 09:38:20.162 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-18 09:38:20.162 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.162 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c8cbff4fa08d3ced' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2905@domain.example.com'>
*** User 2024-03-18 09:38:20.162 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.162 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 out
<iq type='set' id='a021359af4e39992938f01e25bd3d7d8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-18 09:38:20.163 ***🔗
bOb_subscribe_relog_2905@domain.example.com/res1 in
<iq id='a021359af4e39992938f01e25bd3d7d8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2905@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-18 09:38:20.163 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 out
<iq type='set' id='ed5369d33165edc1b17eacc35191c1a6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.163 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2905@domain.example.com/res1' id='ed5369d33165edc1b17eacc35191c1a6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.163 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 out
<presence/>
*** User 2024-03-18 09:38:20.164 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2905@domain.example.com/res1' to='bob_subscribe_relog_2905@domain.example.com/res1'/>
*** User 2024-03-18 09:38:20.164 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<iq type='set' id='bff8fa689b9e839d6924d5a198e70c63'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2905@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-18 09:38:20.168 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2905@domain.example.com' to='alice_subscribe_relog_2905@domain.example.com/res1' id='pushb7af9d5f5b366af8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2905@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-18 09:38:20.168 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2905@domain.example.com' to='alice_subscribe_relog_2905@domain.example.com/res1' id='bff8fa689b9e839d6924d5a198e70c63' type='result'/>
*** User 2024-03-18 09:38:20.168 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2905@domain.example.com' id='pushb7af9d5f5b366af8' type='result'/>
*** User 2024-03-18 09:38:20.168 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2905@domain.example.com'/>
*** User 2024-03-18 09:38:20.171 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2905@domain.example.com' to='alice_subscribe_relog_2905@domain.example.com/res1' id='push3cc49ec874485816' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2905@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-18 09:38:20.171 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2905@domain.example.com' id='push3cc49ec874485816' type='result'/>
*** User 2024-03-18 09:38:20.171 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2905@domain.example.com' to='bob_subscribe_relog_2905@domain.example.com/res1' type='subscribe'/>
*** User 2024-03-18 09:38:20.172 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.172 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a72e1c82e421c720' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-18 09:38:20.172 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.173 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwNQBtYWtyb2xpa2E=</auth>
*** User 2024-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06e8a0092d2d5a86' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2905@domain.example.com'>
*** User 2024-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@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-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob out
<iq type='set' id='80cdf7b2898acdf6bda5d164ae6c6815'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-18 09:38:20.174 ***🔗
bOb_subscribe_relog_2905@domain.example.com/newbob in
<iq id='80cdf7b2898acdf6bda5d164ae6c6815' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2905@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-03-18 09:38:20.174 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob out
<iq type='set' id='6213a7191503360fc7677d583d9e2995'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.175 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2905@domain.example.com/newbob' id='6213a7191503360fc7677d583d9e2995' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-18 09:38:20.175 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob out
<presence/>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2905@domain.example.com/newbob' to='bob_subscribe_relog_2905@domain.example.com/res1'/>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2905@domain.example.com' to='bob_subscribe_relog_2905@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2905@domain.example.com/newbob' to='bob_subscribe_relog_2905@domain.example.com/newbob'/>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2905@domain.example.com/res1' to='bob_subscribe_relog_2905@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-03-18T09:38:20.164330Z' from='bob_subscribe_relog_2905@domain.example.com/res1'/>
</presence>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob out
</stream:stream>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/newbob in
</stream:stream>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2905@domain.example.com'/>
*** User 2024-03-18 09:38:20.178 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-18 09:38:20.203 ***🔗
bob_subscribe_relog_2905@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-18 09:38:20.203 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-18 09:38:20.203 ***🔗
alice_subscribe_relog_2905@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-18 09:38:20
=== successfully completed test case
=== === Returned value: ok