=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.2838.2>},
{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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.32.28/presence_suite.subscribe_relog.209922.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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.32.28/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@1d8001dd39bd.2023-11-13_19.21.09"
=== Started at 2023-11-13 19:32:30
*** User 2023-11-13 19:32:30.113 ***🔗
alicE_subscribe_relog_2607@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-13 19:32:30.113 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ca1c4b45f8dd713' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:32:30.113 ***🔗
alicE_subscribe_relog_2607@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-13 19:32:30.113 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjA3AG1hdHlncnlzYQ==</auth>
*** User 2023-11-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@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-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='397fad1129047b93' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2607@domain.example.com'>
*** User 2023-11-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@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-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 out
<iq type='set' id='2dae7102eed0bbf38397fbdef40a3de8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:32:30.114 ***🔗
alicE_subscribe_relog_2607@domain.example.com/res1 in
<iq id='2dae7102eed0bbf38397fbdef40a3de8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2607@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:32:30.115 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<iq type='set' id='dc1881fcd6839f612ab1d5a13ea86e93'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.115 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2607@domain.example.com/res1' id='dc1881fcd6839f612ab1d5a13ea86e93' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.115 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<presence/>
*** User 2023-11-13 19:32:30.116 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2607@domain.example.com/res1' to='alice_subscribe_relog_2607@domain.example.com/res1'/>
*** User 2023-11-13 19:32:30.116 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.117 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4bca78335e1735a9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:32:30.117 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.117 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYwNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6d5085029546668' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2607@domain.example.com'>
*** User 2023-11-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 out
<iq type='set' id='d022d16c15d72fecfba773b7107e21d1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-13 19:32:30.118 ***🔗
bOb_subscribe_relog_2607@domain.example.com/res1 in
<iq id='d022d16c15d72fecfba773b7107e21d1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2607@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-13 19:32:30.118 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 out
<iq type='set' id='ccd4d5f7918d3b7cd34816e202e1a020'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.119 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2607@domain.example.com/res1' id='ccd4d5f7918d3b7cd34816e202e1a020' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.119 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 out
<presence/>
*** User 2023-11-13 19:32:30.120 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2607@domain.example.com/res1' to='bob_subscribe_relog_2607@domain.example.com/res1'/>
*** User 2023-11-13 19:32:30.120 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<iq type='set' id='865b067b490f46733f3604e09582b317'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2607@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:32:30.123 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2607@domain.example.com' to='alice_subscribe_relog_2607@domain.example.com/res1' id='push3add6c824c111784' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2607@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:32:30.123 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2607@domain.example.com' to='alice_subscribe_relog_2607@domain.example.com/res1' id='865b067b490f46733f3604e09582b317' type='result'/>
*** User 2023-11-13 19:32:30.123 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2607@domain.example.com' id='push3add6c824c111784' type='result'/>
*** User 2023-11-13 19:32:30.123 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2607@domain.example.com'/>
*** User 2023-11-13 19:32:30.126 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2607@domain.example.com' to='alice_subscribe_relog_2607@domain.example.com/res1' id='push344e1eb3d80c8977' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2607@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2023-11-13 19:32:30.126 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2607@domain.example.com' id='push344e1eb3d80c8977' type='result'/>
*** User 2023-11-13 19:32:30.126 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2607@domain.example.com' to='bob_subscribe_relog_2607@domain.example.com/res1' type='subscribe'/>
*** User 2023-11-13 19:32:30.127 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.127 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6efb04ad30bbb46' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:32:30.127 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.127 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYwNwBtYWtyb2xpa2E=</auth>
*** User 2023-11-13 19:32:30.127 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:32:30.128 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.128 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18361ec371d3d885' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2607@domain.example.com'>
*** User 2023-11-13 19:32:30.128 ***🔗
bOb_subscribe_relog_2607@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-13 19:32:30.128 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob out
<iq type='set' id='001639efb061981c0e186eafe47465c4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2023-11-13 19:32:30.128 ***🔗
bOb_subscribe_relog_2607@domain.example.com/newbob in
<iq id='001639efb061981c0e186eafe47465c4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2607@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2023-11-13 19:32:30.128 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob out
<iq type='set' id='b30c468b1746ea48c120ed8447153139'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.128 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2607@domain.example.com/newbob' id='b30c468b1746ea48c120ed8447153139' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-13 19:32:30.128 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob out
<presence/>
*** User 2023-11-13 19:32:30.129 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2607@domain.example.com/newbob' to='bob_subscribe_relog_2607@domain.example.com/res1'/>
*** User 2023-11-13 19:32:30.129 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2607@domain.example.com' to='bob_subscribe_relog_2607@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2023-11-13 19:32:30.129 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2607@domain.example.com/newbob' to='bob_subscribe_relog_2607@domain.example.com/newbob'/>
*** User 2023-11-13 19:32:30.129 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2607@domain.example.com/res1' to='bob_subscribe_relog_2607@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-13T19:32:30.119749Z' from='bob_subscribe_relog_2607@domain.example.com/res1'/>
</presence>
*** User 2023-11-13 19:32:30.130 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob out
</stream:stream>
*** User 2023-11-13 19:32:30.130 ***🔗
bob_subscribe_relog_2607@domain.example.com/newbob in
</stream:stream>
*** User 2023-11-13 19:32:30.130 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2607@domain.example.com'/>
*** User 2023-11-13 19:32:30.130 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-13 19:32:30.134 ***🔗
bob_subscribe_relog_2607@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-13 19:32:30.134 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-13 19:32:30.134 ***🔗
alice_subscribe_relog_2607@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-13 19:32:30
=== successfully completed test case
=== === Returned value: ok