=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11517.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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.presence_SUITE.logs/run.2024-01-15_12.08.33/presence_suite.subscribe_relog.37508.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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.presence_SUITE.logs/run.2024-01-15_12.08.33/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@f79facad4ed7.2024-01-15_11.58.37"
=== Started at 2024-01-15 12:08:35
*** User 2024-01-15 12:08:35.847 ***🔗
alicE_subscribe_relog_1396@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-01-15 12:08:35.848 ***🔗
alicE_subscribe_relog_1396@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a486f240a8b20c3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-01-15 12:08:35.848 ***🔗
alicE_subscribe_relog_1396@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-01-15 12:08:35.848 ***🔗
alicE_subscribe_relog_1396@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMzk2AG1hdHlncnlzYQ==</auth>
*** User 2024-01-15 12:08:35.850 ***🔗
alicE_subscribe_relog_1396@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-15 12:08:35.850 ***🔗
alicE_subscribe_relog_1396@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-01-15 12:08:35.851 ***🔗
alicE_subscribe_relog_1396@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3280779b45674df' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1396@localhost'>
*** User 2024-01-15 12:08:35.851 ***🔗
alicE_subscribe_relog_1396@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-01-15 12:08:35.851 ***🔗
alicE_subscribe_relog_1396@localhost/res1 out
<iq type='set' id='25702c0775c2c0d74b1f6b7693e9c698'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-15 12:08:35.851 ***🔗
alicE_subscribe_relog_1396@localhost/res1 in
<iq id='25702c0775c2c0d74b1f6b7693e9c698' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1396@localhost/res1</jid>
</bind>
</iq>
*** User 2024-01-15 12:08:35.851 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<iq type='set' id='8e9c3fc60b40dc0175950cacd787759f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.852 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1396@localhost/res1' id='8e9c3fc60b40dc0175950cacd787759f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.852 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<presence/>
*** User 2024-01-15 12:08:35.853 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
<presence from='alice_subscribe_relog_1396@localhost/res1' to='alice_subscribe_relog_1396@localhost/res1'/>
*** User 2024-01-15 12:08:35.884 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.886 ***🔗
bOb_subscribe_relog_1396@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c60a836f916be36' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-01-15 12:08:35.886 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.886 ***🔗
bOb_subscribe_relog_1396@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM5NgBtYWtyb2xpa2E=</auth>
*** User 2024-01-15 12:08:35.889 ***🔗
bOb_subscribe_relog_1396@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-15 12:08:35.889 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.890 ***🔗
bOb_subscribe_relog_1396@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a02930a3f03ef16' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1396@localhost'>
*** User 2024-01-15 12:08:35.890 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.890 ***🔗
bOb_subscribe_relog_1396@localhost/res1 out
<iq type='set' id='3bddea6a50187315fb0cd253fbcb46c6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-15 12:08:35.891 ***🔗
bOb_subscribe_relog_1396@localhost/res1 in
<iq id='3bddea6a50187315fb0cd253fbcb46c6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1396@localhost/res1</jid>
</bind>
</iq>
*** User 2024-01-15 12:08:35.891 ***🔗
bob_subscribe_relog_1396@localhost/res1 out
<iq type='set' id='d376d04f00f185638d447e7ca56b07ee'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.891 ***🔗
bob_subscribe_relog_1396@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1396@localhost/res1' id='d376d04f00f185638d447e7ca56b07ee' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.891 ***🔗
bob_subscribe_relog_1396@localhost/res1 out
<presence/>
*** User 2024-01-15 12:08:35.892 ***🔗
bob_subscribe_relog_1396@localhost/res1 in
<presence from='bob_subscribe_relog_1396@localhost/res1' to='bob_subscribe_relog_1396@localhost/res1'/>
*** User 2024-01-15 12:08:35.892 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<iq type='set' id='4000178c446ef79683cd25e39efff3bf'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1396@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-15 12:08:35.893 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
<iq from='alice_subscribe_relog_1396@localhost' to='alice_subscribe_relog_1396@localhost/res1' id='push3ceac4fb7e477944' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1396@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-15 12:08:35.893 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
<iq from='alice_subscribe_relog_1396@localhost' to='alice_subscribe_relog_1396@localhost/res1' id='4000178c446ef79683cd25e39efff3bf' type='result'/>
*** User 2024-01-15 12:08:35.893 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<iq to='alice_subscribe_relog_1396@localhost' id='push3ceac4fb7e477944' type='result'/>
*** User 2024-01-15 12:08:35.893 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1396@localhost'/>
*** User 2024-01-15 12:08:35.897 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
<iq from='alice_subscribe_relog_1396@localhost' to='alice_subscribe_relog_1396@localhost/res1' id='push3ee9688da0cf410e' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1396@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-15 12:08:35.897 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
<iq to='alice_subscribe_relog_1396@localhost' id='push3ee9688da0cf410e' type='result'/>
*** User 2024-01-15 12:08:35.897 ***🔗
bob_subscribe_relog_1396@localhost/res1 in
<presence from='alice_subscribe_relog_1396@localhost' to='bob_subscribe_relog_1396@localhost/res1' type='subscribe'/>
*** User 2024-01-15 12:08:35.897 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.898 ***🔗
bOb_subscribe_relog_1396@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2afc0ee4062fbc1' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-01-15 12:08:35.898 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.898 ***🔗
bOb_subscribe_relog_1396@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM5NgBtYWtyb2xpa2E=</auth>
*** User 2024-01-15 12:08:35.899 ***🔗
bOb_subscribe_relog_1396@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-15 12:08:35.899 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.900 ***🔗
bOb_subscribe_relog_1396@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2905e063596a06d' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1396@localhost'>
*** User 2024-01-15 12:08:35.900 ***🔗
bOb_subscribe_relog_1396@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-01-15 12:08:35.900 ***🔗
bOb_subscribe_relog_1396@localhost/newbob out
<iq type='set' id='7b4734ed31761c47ec48a119362668fa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-01-15 12:08:35.900 ***🔗
bOb_subscribe_relog_1396@localhost/newbob in
<iq id='7b4734ed31761c47ec48a119362668fa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1396@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-01-15 12:08:35.900 ***🔗
bob_subscribe_relog_1396@localhost/newbob out
<iq type='set' id='6a1cc02cf95ff91f7d795cdc998177a1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.900 ***🔗
bob_subscribe_relog_1396@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1396@localhost/newbob' id='6a1cc02cf95ff91f7d795cdc998177a1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-15 12:08:35.900 ***🔗
bob_subscribe_relog_1396@localhost/newbob out
<presence/>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/res1 in
<presence from='bob_subscribe_relog_1396@localhost/newbob' to='bob_subscribe_relog_1396@localhost/res1'/>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/newbob in
<presence from='alice_subscribe_relog_1396@localhost' to='bob_subscribe_relog_1396@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/newbob in
<presence from='bob_subscribe_relog_1396@localhost/newbob' to='bob_subscribe_relog_1396@localhost/newbob'/>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/newbob in
<presence from='bob_subscribe_relog_1396@localhost/res1' to='bob_subscribe_relog_1396@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-01-15T12:08:35.892119Z' from='bob_subscribe_relog_1396@localhost/res1'/>
</presence>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/newbob out
</stream:stream>
*** User 2024-01-15 12:08:35.901 ***🔗
bob_subscribe_relog_1396@localhost/newbob in
</stream:stream>
*** User 2024-01-15 12:08:35.902 ***🔗
bob_subscribe_relog_1396@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1396@localhost'/>
*** User 2024-01-15 12:08:35.902 ***🔗
bob_subscribe_relog_1396@localhost/res1 out
</stream:stream>
*** User 2024-01-15 12:08:35.903 ***🔗
bob_subscribe_relog_1396@localhost/res1 in
</stream:stream>
*** User 2024-01-15 12:08:35.903 ***🔗
alice_subscribe_relog_1396@localhost/res1 out
</stream:stream>
*** User 2024-01-15 12:08:35.904 ***🔗
alice_subscribe_relog_1396@localhost/res1 in
</stream:stream>
=== Ended at 2024-01-15 12:08:35
=== successfully completed test case
=== === Returned value: ok