=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.71896.0>},
{preset,"odbc_mssql_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@e69c7ef90d22.2024-04-12_09.30.33/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.44.05/presence_suite.subscribe_relog.208002.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@e69c7ef90d22.2024-04-12_09.30.33/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.44.05/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@e69c7ef90d22.2024-04-12_09.30.33"
=== Started at 2024-04-12 09:44:07
*** User 2024-04-12 09:44:07.211 ***🔗
alicE_subscribe_relog_2912@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-12 09:44:07.212 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='835d3a17f9d1b87a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:07.212 ***🔗
alicE_subscribe_relog_2912@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-12 09:44:07.212 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTEyAG1hdHlncnlzYQ==</auth>
*** User 2024-04-12 09:44:07.213 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:07.213 ***🔗
alicE_subscribe_relog_2912@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-12 09:44:07.214 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f90cc8bd46038db4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2912@domain.example.com'>
*** User 2024-04-12 09:44:07.214 ***🔗
alicE_subscribe_relog_2912@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-12 09:44:07.214 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 out
<iq type='set' id='a2435a8c28c7343751a8138ad556af87'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:07.214 ***🔗
alicE_subscribe_relog_2912@domain.example.com/res1 in
<iq id='a2435a8c28c7343751a8138ad556af87' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2912@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:07.214 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<iq type='set' id='9e3c88c9bb30a844046c43ac6313936b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.215 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2912@domain.example.com/res1' id='9e3c88c9bb30a844046c43ac6313936b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.215 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:07.225 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2912@domain.example.com/res1' to='alice_subscribe_relog_2912@domain.example.com/res1'/>
*** User 2024-04-12 09:44:07.226 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.226 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46c72a1d85677350' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:07.226 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.226 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxMgBtYWtyb2xpa2E=</auth>
*** User 2024-04-12 09:44:07.231 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:07.232 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.232 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38e999f468bbef81' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2912@domain.example.com'>
*** User 2024-04-12 09:44:07.232 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.232 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 out
<iq type='set' id='6293c473eab11c2ff26b361ac8408a21'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:07.232 ***🔗
bOb_subscribe_relog_2912@domain.example.com/res1 in
<iq id='6293c473eab11c2ff26b361ac8408a21' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2912@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:07.233 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 out
<iq type='set' id='95cec4d4bd1244fddedc6bbe7a586425'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.233 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2912@domain.example.com/res1' id='95cec4d4bd1244fddedc6bbe7a586425' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.233 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:07.235 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2912@domain.example.com/res1' to='bob_subscribe_relog_2912@domain.example.com/res1'/>
*** User 2024-04-12 09:44:07.236 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<iq type='set' id='cc2a731347264ea0c578c6577b49c429'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2912@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:44:07.259 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2912@domain.example.com' to='alice_subscribe_relog_2912@domain.example.com/res1' id='pushad8937392382b4f9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2912@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:44:07.259 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2912@domain.example.com' to='alice_subscribe_relog_2912@domain.example.com/res1' id='cc2a731347264ea0c578c6577b49c429' type='result'/>
*** User 2024-04-12 09:44:07.259 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2912@domain.example.com' id='pushad8937392382b4f9' type='result'/>
*** User 2024-04-12 09:44:07.259 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2912@domain.example.com'/>
*** User 2024-04-12 09:44:07.272 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2912@domain.example.com' to='alice_subscribe_relog_2912@domain.example.com/res1' id='push5f55a0a0e592a9d3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2912@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:44:07.272 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2912@domain.example.com' id='push5f55a0a0e592a9d3' type='result'/>
*** User 2024-04-12 09:44:07.272 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2912@domain.example.com' to='bob_subscribe_relog_2912@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-12 09:44:07.273 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.273 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f465be0b990db49e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:07.274 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.274 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxMgBtYWtyb2xpa2E=</auth>
*** User 2024-04-12 09:44:07.279 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:07.279 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.279 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ef94b17636753a4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2912@domain.example.com'>
*** User 2024-04-12 09:44:07.279 ***🔗
bOb_subscribe_relog_2912@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-12 09:44:07.279 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob out
<iq type='set' id='e544f1bfdfff6c98defef0214957d148'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:07.280 ***🔗
bOb_subscribe_relog_2912@domain.example.com/newbob in
<iq id='e544f1bfdfff6c98defef0214957d148' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2912@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:07.280 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob out
<iq type='set' id='51dae0ae27db3c76b8fab97aec5ae09d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.280 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2912@domain.example.com/newbob' id='51dae0ae27db3c76b8fab97aec5ae09d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:07.281 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob out
<presence/>
*** User 2024-04-12 09:44:07.282 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2912@domain.example.com/newbob' to='bob_subscribe_relog_2912@domain.example.com/res1'/>
*** User 2024-04-12 09:44:07.282 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2912@domain.example.com' to='bob_subscribe_relog_2912@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-12 09:44:07.282 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2912@domain.example.com/newbob' to='bob_subscribe_relog_2912@domain.example.com/newbob'/>
*** User 2024-04-12 09:44:07.282 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2912@domain.example.com/res1' to='bob_subscribe_relog_2912@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-12T09:44:07.235603Z' from='bob_subscribe_relog_2912@domain.example.com/res1'/>
</presence>
*** User 2024-04-12 09:44:07.282 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-12 09:44:07.283 ***🔗
bob_subscribe_relog_2912@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-12 09:44:07.283 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2912@domain.example.com'/>
*** User 2024-04-12 09:44:07.283 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:07.295 ***🔗
bob_subscribe_relog_2912@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 09:44:07.295 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:07.295 ***🔗
alice_subscribe_relog_2912@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-12 09:44:07
=== successfully completed test case
=== === Returned value: ok