=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.70723.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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.presence_SUITE.logs/run.2024-02-20_07.50.30/presence_suite.subscribe_relog.211074.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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.presence_SUITE.logs/run.2024-02-20_07.50.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@647ed17fbff4.2024-02-20_07.34.51"
=== Started at 2024-02-20 07:50:32
*** User 2024-02-20 07:50:32.634 ***🔗
alicE_subscribe_relog_2903@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-02-20 07:50:32.635 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='979a321785a602d8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-20 07:50:32.635 ***🔗
alicE_subscribe_relog_2903@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-02-20 07:50:32.635 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTAzAG1hdHlncnlzYQ==</auth>
*** User 2024-02-20 07:50:32.636 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 07:50:32.636 ***🔗
alicE_subscribe_relog_2903@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-02-20 07:50:32.636 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6dae7a2796d379f7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2903@domain.example.com'>
*** User 2024-02-20 07:50:32.636 ***🔗
alicE_subscribe_relog_2903@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-02-20 07:50:32.637 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 out
<iq type='set' id='db7435b6ee31d4f6486d0b6e8ce3fa3c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 07:50:32.637 ***🔗
alicE_subscribe_relog_2903@domain.example.com/res1 in
<iq id='db7435b6ee31d4f6486d0b6e8ce3fa3c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2903@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-20 07:50:32.637 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<iq type='set' id='dbb97ca1a9e8e3ed1dcb39b12d8d6352'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.638 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2903@domain.example.com/res1' id='dbb97ca1a9e8e3ed1dcb39b12d8d6352' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.638 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<presence/>
*** User 2024-02-20 07:50:32.639 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2903@domain.example.com/res1' to='alice_subscribe_relog_2903@domain.example.com/res1'/>
*** User 2024-02-20 07:50:32.639 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.640 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c75679164349201' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-20 07:50:32.640 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.640 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwMwBtYWtyb2xpa2E=</auth>
*** User 2024-02-20 07:50:32.641 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 07:50:32.641 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.641 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69fda2ad7558fa53' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2903@domain.example.com'>
*** User 2024-02-20 07:50:32.641 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.641 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 out
<iq type='set' id='a9386368afa1e2ca89f7f8311ee0c9c7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 07:50:32.642 ***🔗
bOb_subscribe_relog_2903@domain.example.com/res1 in
<iq id='a9386368afa1e2ca89f7f8311ee0c9c7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2903@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-20 07:50:32.642 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 out
<iq type='set' id='96d13a71c8bca81ba2ba926fc62cd71b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.642 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2903@domain.example.com/res1' id='96d13a71c8bca81ba2ba926fc62cd71b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.642 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 out
<presence/>
*** User 2024-02-20 07:50:32.643 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2903@domain.example.com/res1' to='bob_subscribe_relog_2903@domain.example.com/res1'/>
*** User 2024-02-20 07:50:32.643 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<iq type='set' id='205c087e3715f8d1668871a661209864'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2903@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-20 07:50:32.710 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2903@domain.example.com' to='alice_subscribe_relog_2903@domain.example.com/res1' id='pushd6f47f02ad1010a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2903@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-20 07:50:32.710 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2903@domain.example.com' to='alice_subscribe_relog_2903@domain.example.com/res1' id='205c087e3715f8d1668871a661209864' type='result'/>
*** User 2024-02-20 07:50:32.710 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2903@domain.example.com' id='pushd6f47f02ad1010a3' type='result'/>
*** User 2024-02-20 07:50:32.710 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2903@domain.example.com'/>
*** User 2024-02-20 07:50:32.716 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2903@domain.example.com' to='alice_subscribe_relog_2903@domain.example.com/res1' id='push670b12ff54bb3a57' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2903@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-02-20 07:50:32.716 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2903@domain.example.com' id='push670b12ff54bb3a57' type='result'/>
*** User 2024-02-20 07:50:32.716 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2903@domain.example.com' to='bob_subscribe_relog_2903@domain.example.com/res1' type='subscribe'/>
*** User 2024-02-20 07:50:32.716 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.717 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97dd618bebbcbbdb' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-20 07:50:32.717 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.717 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwMwBtYWtyb2xpa2E=</auth>
*** User 2024-02-20 07:50:32.718 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 07:50:32.718 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.718 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='acd9ac761e6320b0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2903@domain.example.com'>
*** User 2024-02-20 07:50:32.719 ***🔗
bOb_subscribe_relog_2903@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-02-20 07:50:32.719 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob out
<iq type='set' id='eb3eb49d820fba63e27f95c9f44ab87b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-02-20 07:50:32.719 ***🔗
bOb_subscribe_relog_2903@domain.example.com/newbob in
<iq id='eb3eb49d820fba63e27f95c9f44ab87b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2903@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-02-20 07:50:32.719 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob out
<iq type='set' id='e8148466a62b61f4ead33b8a182485fc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.719 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2903@domain.example.com/newbob' id='e8148466a62b61f4ead33b8a182485fc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 07:50:32.720 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob out
<presence/>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2903@domain.example.com/newbob' to='bob_subscribe_relog_2903@domain.example.com/res1'/>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2903@domain.example.com' to='bob_subscribe_relog_2903@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2903@domain.example.com/newbob' to='bob_subscribe_relog_2903@domain.example.com/newbob'/>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2903@domain.example.com/res1' to='bob_subscribe_relog_2903@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-02-20T07:50:32.643403Z' from='bob_subscribe_relog_2903@domain.example.com/res1'/>
</presence>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob out
</stream:stream>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/newbob in
</stream:stream>
*** User 2024-02-20 07:50:32.721 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2903@domain.example.com'/>
*** User 2024-02-20 07:50:32.722 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-20 07:50:32.729 ***🔗
bob_subscribe_relog_2903@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-20 07:50:32.729 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-20 07:50:32.730 ***🔗
alice_subscribe_relog_2903@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-20 07:50:32
=== successfully completed test case
=== === Returned value: ok