=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.72419.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/presence_suite.subscribe_relog.138627.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/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@528a5a4ce401.2024-04-09_11.36.09"
=== Started at 2024-04-09 11:49:22
*** User 2024-04-09 11:49:22.435 ***🔗
alicE_subscribe_relog_3040@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-09 11:49:22.436 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d193e4b8df78548' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:22.436 ***🔗
alicE_subscribe_relog_3040@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-09 11:49:22.436 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDQwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-09 11:49:22.441 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:22.441 ***🔗
alicE_subscribe_relog_3040@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-09 11:49:22.442 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a681ae9fba40700' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_3040@domain.example.com'>
*** User 2024-04-09 11:49:22.442 ***🔗
alicE_subscribe_relog_3040@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-09 11:49:22.442 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 out
<iq type='set' id='61817dd241ec06c41418bad919d84c74'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:22.442 ***🔗
alicE_subscribe_relog_3040@domain.example.com/res1 in
<iq id='61817dd241ec06c41418bad919d84c74' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_3040@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:22.442 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<iq type='set' id='c8abf74c430962dc2f0117dc08fe2510'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.443 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_3040@domain.example.com/res1' id='c8abf74c430962dc2f0117dc08fe2510' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.443 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<presence/>
*** User 2024-04-09 11:49:22.444 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3040@domain.example.com/res1' to='alice_subscribe_relog_3040@domain.example.com/res1'/>
*** User 2024-04-09 11:49:22.445 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.445 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='111eb1bb2875de9a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:22.446 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.446 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA0MABtYWtyb2xpa2E=</auth>
*** User 2024-04-09 11:49:22.447 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:22.447 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.448 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d213494d5bc8acee' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3040@domain.example.com'>
*** User 2024-04-09 11:49:22.448 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.448 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 out
<iq type='set' id='12f7ccd53a1cdb2a73cace032b536eb1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:22.448 ***🔗
bOb_subscribe_relog_3040@domain.example.com/res1 in
<iq id='12f7ccd53a1cdb2a73cace032b536eb1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3040@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:22.448 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 out
<iq type='set' id='564e93e89e74502093eca5397a53ef44'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.449 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_3040@domain.example.com/res1' id='564e93e89e74502093eca5397a53ef44' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.449 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 out
<presence/>
*** User 2024-04-09 11:49:22.450 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3040@domain.example.com/res1' to='bob_subscribe_relog_3040@domain.example.com/res1'/>
*** User 2024-04-09 11:49:22.450 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<iq type='set' id='a97a0438685182de06c0775338018c8d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_3040@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-09 11:49:22.457 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3040@domain.example.com' to='alice_subscribe_relog_3040@domain.example.com/res1' id='push8c71395e8ce247b9' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_3040@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-09 11:49:22.457 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3040@domain.example.com' to='alice_subscribe_relog_3040@domain.example.com/res1' id='a97a0438685182de06c0775338018c8d' type='result'/>
*** User 2024-04-09 11:49:22.457 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3040@domain.example.com' id='push8c71395e8ce247b9' type='result'/>
*** User 2024-04-09 11:49:22.458 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3040@domain.example.com'/>
*** User 2024-04-09 11:49:22.469 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3040@domain.example.com' to='alice_subscribe_relog_3040@domain.example.com/res1' id='push8993c962e7e322f3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3040@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-09 11:49:22.469 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3040@domain.example.com' id='push8993c962e7e322f3' type='result'/>
*** User 2024-04-09 11:49:22.470 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3040@domain.example.com' to='bob_subscribe_relog_3040@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-09 11:49:22.470 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.472 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='826b57ac3427102b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:49:22.472 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.472 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA0MABtYWtyb2xpa2E=</auth>
*** User 2024-04-09 11:49:22.474 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:49:22.474 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.474 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14928684f3ee32d0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3040@domain.example.com'>
*** User 2024-04-09 11:49:22.474 ***🔗
bOb_subscribe_relog_3040@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-09 11:49:22.475 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob out
<iq type='set' id='6554d476f507058cefba37a83eba3d66'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-09 11:49:22.475 ***🔗
bOb_subscribe_relog_3040@domain.example.com/newbob in
<iq id='6554d476f507058cefba37a83eba3d66' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3040@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-09 11:49:22.475 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob out
<iq type='set' id='c3173ed91ef4392fe4993ea1e9362cc3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.476 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_3040@domain.example.com/newbob' id='c3173ed91ef4392fe4993ea1e9362cc3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:49:22.476 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob out
<presence/>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3040@domain.example.com/newbob' to='bob_subscribe_relog_3040@domain.example.com/res1'/>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob in
<presence from='alice_subscribe_relog_3040@domain.example.com' to='bob_subscribe_relog_3040@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3040@domain.example.com/newbob' to='bob_subscribe_relog_3040@domain.example.com/newbob'/>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3040@domain.example.com/res1' to='bob_subscribe_relog_3040@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-09T11:49:22.450018Z' from='bob_subscribe_relog_3040@domain.example.com/res1'/>
</presence>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-09 11:49:22.478 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3040@domain.example.com'/>
*** User 2024-04-09 11:49:22.479 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-09 11:49:22.485 ***🔗
bob_subscribe_relog_3040@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-09 11:49:22.485 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-09 11:49:22.485 ***🔗
alice_subscribe_relog_3040@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-09 11:49:22
=== successfully completed test case
=== === Returned value: ok