=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.68288.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/presence_suite.subscribe_relog.117252.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/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@a2fc54846062.2023-11-14_11.38.11"
=== Started at 2023-11-14 11:54:08
*** User 2023-11-14 11:54:08.930 ***🔗
alicE_subscribe_relog_3183@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-11-14 11:54:08.931 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3baaaaac2b182ae1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:08.931 ***🔗
alicE_subscribe_relog_3183@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-11-14 11:54:08.931 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMTgzAG1hdHlncnlzYQ==</auth>
*** User 2023-11-14 11:54:08.932 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:08.932 ***🔗
alicE_subscribe_relog_3183@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-11-14 11:54:08.932 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e3e33a121f4b09d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_3183@domain.example.com'>
*** User 2023-11-14 11:54:08.932 ***🔗
alicE_subscribe_relog_3183@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-11-14 11:54:08.932 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 out
<iq type='set' id='5c5655ca8b8da85e9b6299023cce4442'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:08.933 ***🔗
alicE_subscribe_relog_3183@domain.example.com/res1 in
<iq id='5c5655ca8b8da85e9b6299023cce4442' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_3183@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:08.933 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<iq type='set' id='81a1cb6c431a9034f8a7a46126f8971c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.933 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_3183@domain.example.com/res1' id='81a1cb6c431a9034f8a7a46126f8971c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.933 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:08.934 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3183@domain.example.com/res1' to='alice_subscribe_relog_3183@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.935 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.935 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cb1c133b9e7235e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:08.936 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.936 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzE4MwBtYWtyb2xpa2E=</auth>
*** User 2023-11-14 11:54:08.937 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:08.937 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.939 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66a00d6118ed3631' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3183@domain.example.com'>
*** User 2023-11-14 11:54:08.939 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.939 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 out
<iq type='set' id='bf7f95d7ce59d63c2339adb5d8dff104'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:08.939 ***🔗
bOb_subscribe_relog_3183@domain.example.com/res1 in
<iq id='bf7f95d7ce59d63c2339adb5d8dff104' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3183@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:08.939 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 out
<iq type='set' id='a8dfa61ce10ebde2bf82492073c6a5b1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.940 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_3183@domain.example.com/res1' id='a8dfa61ce10ebde2bf82492073c6a5b1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.940 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:54:08.941 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3183@domain.example.com/res1' to='bob_subscribe_relog_3183@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.941 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<iq type='set' id='6c9d3ea1ea096b31e46f6a3c6fc8b1c8'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_3183@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.946 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3183@domain.example.com' to='alice_subscribe_relog_3183@domain.example.com/res1' id='push010f1d0d33fe01ed' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_3183@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.946 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3183@domain.example.com' to='alice_subscribe_relog_3183@domain.example.com/res1' id='6c9d3ea1ea096b31e46f6a3c6fc8b1c8' type='result'/>
*** User 2023-11-14 11:54:08.946 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3183@domain.example.com' id='push010f1d0d33fe01ed' type='result'/>
*** User 2023-11-14 11:54:08.946 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3183@domain.example.com'/>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3183@domain.example.com' to='alice_subscribe_relog_3183@domain.example.com/res1' id='push09ec1bc3f2bc2c7c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_3183@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-14 11:54:08.950 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3183@domain.example.com' id='push09ec1bc3f2bc2c7c' type='result'/>
*** User 2023-11-14 11:54:08.950 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3183@domain.example.com' to='bob_subscribe_relog_3183@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-14 11:54:08.951 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.951 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fdbb0018b9c11a5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:54:08.951 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.951 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzE4MwBtYWtyb2xpa2E=</auth>
*** User 2023-11-14 11:54:08.955 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:54:08.955 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.955 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c870c5552bf4cb1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3183@domain.example.com'>
*** User 2023-11-14 11:54:08.955 ***🔗
bOb_subscribe_relog_3183@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-11-14 11:54:08.956 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob out
<iq type='set' id='59079461a70ae3375823b5203bcdc75d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-14 11:54:08.956 ***🔗
bOb_subscribe_relog_3183@domain.example.com/newbob in
<iq id='59079461a70ae3375823b5203bcdc75d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3183@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2023-11-14 11:54:08.956 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob out
<iq type='set' id='147a900b59323cc5815cc46539f415d8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.968 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_3183@domain.example.com/newbob' id='147a900b59323cc5815cc46539f415d8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:54:08.968 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob out
<presence/>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3183@domain.example.com/newbob' to='bob_subscribe_relog_3183@domain.example.com/res1'/>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob in
<presence from='alice_subscribe_relog_3183@domain.example.com' to='bob_subscribe_relog_3183@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3183@domain.example.com/newbob' to='bob_subscribe_relog_3183@domain.example.com/newbob'/>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3183@domain.example.com/res1' to='bob_subscribe_relog_3183@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-14T11:54:08.941000Z' from='bob_subscribe_relog_3183@domain.example.com/res1'/>
</presence>
*** User 2023-11-14 11:54:08.969 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob out
</stream:stream>
*** User 2023-11-14 11:54:08.970 ***🔗
bob_subscribe_relog_3183@domain.example.com/newbob in
</stream:stream>
*** User 2023-11-14 11:54:08.970 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3183@domain.example.com'/>
*** User 2023-11-14 11:54:08.970 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.974 ***🔗
bob_subscribe_relog_3183@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-14 11:54:08.975 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:54:08.975 ***🔗
alice_subscribe_relog_3183@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-14 11:54:08
=== successfully completed test case
=== === Returned value: ok