=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11614.1>},
{preset,"ldap_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@3cf9df7a6501.2024-04-16_10.54.58/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.01/presence_suite.subscribe_relog.21509.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@3cf9df7a6501.2024-04-16_10.54.58/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.05.01/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@3cf9df7a6501.2024-04-16_10.54.58"
=== Started at 2024-04-16 11:05:02
*** User 2024-04-16 11:05:02.969 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:02.970 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f31ee46e1dd3f788' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:05:02.970 ***🔗
alicE_subscribe_relog_1403@localhost/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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.970 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNDAzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 11:05:02.972 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:05:02.972 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:02.973 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3eb542f10e97453' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1403@localhost'>
*** User 2024-04-16 11:05:02.973 ***🔗
alicE_subscribe_relog_1403@localhost/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-16 11:05:02.973 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='c1d8fa8e6ef06706e51874d9e0607aa3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:05:02.974 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<iq id='c1d8fa8e6ef06706e51874d9e0607aa3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1403@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:05:02.974 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='7ce94b51da8eb09c848b3b30296a8569'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.974 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1403@localhost/res1' id='7ce94b51da8eb09c848b3b30296a8569' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.974 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<presence/>
*** User 2024-04-16 11:05:02.975 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<presence from='alice_subscribe_relog_1403@localhost/res1' to='alice_subscribe_relog_1403@localhost/res1'/>
*** User 2024-04-16 11:05:02.976 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:02.976 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c4de11b57e3bd5d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:05:02.976 ***🔗
bOb_subscribe_relog_1403@localhost/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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:02.976 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQwMwBtYWtyb2xpa2E=</auth>
*** User 2024-04-16 11:05:02.977 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:05:02.977 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:02.978 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6797431adf4fd763' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1403@localhost'>
*** User 2024-04-16 11:05:02.978 ***🔗
bOb_subscribe_relog_1403@localhost/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-16 11:05:02.978 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='2386201c5c4af425aac4109670b20cf7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 11:05:02.978 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<iq id='2386201c5c4af425aac4109670b20cf7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1403@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 11:05:02.978 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='96190f00bad97c10a893f53324ff6d16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.979 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1403@localhost/res1' id='96190f00bad97c10a893f53324ff6d16' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:02.979 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<presence/>
*** User 2024-04-16 11:05:02.980 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<presence from='bob_subscribe_relog_1403@localhost/res1' to='bob_subscribe_relog_1403@localhost/res1'/>
*** User 2024-04-16 11:05:02.980 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='62327baf3aacb6b82832cd76d1f18fd7'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1403@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 11:05:02.996 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='pushd11b5b23b08b41e0' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_1403@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 11:05:02.997 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='62327baf3aacb6b82832cd76d1f18fd7' type='result'/>
*** User 2024-04-16 11:05:02.997 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq to='alice_subscribe_relog_1403@localhost' id='pushd11b5b23b08b41e0' type='result'/>
*** User 2024-04-16 11:05:02.997 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1403@localhost'/>
*** User 2024-04-16 11:05:03.009 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='push5aadbfa4353046f1' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1403@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-16 11:05:03.009 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq to='alice_subscribe_relog_1403@localhost' id='push5aadbfa4353046f1' type='result'/>
*** User 2024-04-16 11:05:03.009 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<presence from='alice_subscribe_relog_1403@localhost' to='bob_subscribe_relog_1403@localhost/res1' type='subscribe'/>
*** User 2024-04-16 11:05:03.010 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:03.011 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3504347f17d9d5f4' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 11:05:03.011 ***🔗
bOb_subscribe_relog_1403@localhost/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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 11:05:03.011 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQwMwBtYWtyb2xpa2E=</auth>
*** User 2024-04-16 11:05:03.013 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 11:05:03.013 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 11:05:03.013 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c02e775281002f40' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1403@localhost'>
*** User 2024-04-16 11:05:03.014 ***🔗
bOb_subscribe_relog_1403@localhost/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-16 11:05:03.014 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<iq type='set' id='c00e09d3e3fd5265cfbbc0b2fde8aba8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-16 11:05:03.014 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<iq id='c00e09d3e3fd5265cfbbc0b2fde8aba8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1403@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-16 11:05:03.014 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
<iq type='set' id='6cd32abca6217a12aab1a07610e02281'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:03.015 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1403@localhost/newbob' id='6cd32abca6217a12aab1a07610e02281' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 11:05:03.015 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
<presence/>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<presence from='bob_subscribe_relog_1403@localhost/newbob' to='bob_subscribe_relog_1403@localhost/res1'/>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<presence from='alice_subscribe_relog_1403@localhost' to='bob_subscribe_relog_1403@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<presence from='bob_subscribe_relog_1403@localhost/newbob' to='bob_subscribe_relog_1403@localhost/newbob'/>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<presence from='bob_subscribe_relog_1403@localhost/res1' to='bob_subscribe_relog_1403@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T11:05:02.980089Z' from='bob_subscribe_relog_1403@localhost/res1'/>
</presence>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
</stream:stream>
*** User 2024-04-16 11:05:03.016 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
</stream:stream>
*** User 2024-04-16 11:05:03.017 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1403@localhost'/>
*** User 2024-04-16 11:05:03.017 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:05:03.019 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
</stream:stream>
*** User 2024-04-16 11:05:03.019 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
</stream:stream>
*** User 2024-04-16 11:05:03.020 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 11:05:03
=== successfully completed test case
=== === Returned value: ok