=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.45021.0>},
{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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.40.00/presence_suite.subscribe_relog.98434.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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.presence_SUITE.logs/run.2024-04-12_09.40.00/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@36479f279a1b.2024-04-12_09.30.15"
=== Started at 2024-04-12 09:40:01
*** User 2024-04-12 09:40:01.959 ***🔗
alicE_subscribe_relog_1463@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-12 09:40:01.960 ***🔗
alicE_subscribe_relog_1463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a234db4e3ad717f8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:40:01.960 ***🔗
alicE_subscribe_relog_1463@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-12 09:40:01.960 ***🔗
alicE_subscribe_relog_1463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNDYzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-12 09:40:01.962 ***🔗
alicE_subscribe_relog_1463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:40:01.962 ***🔗
alicE_subscribe_relog_1463@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-12 09:40:01.963 ***🔗
alicE_subscribe_relog_1463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90f50d93e080cdf6' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1463@localhost'>
*** User 2024-04-12 09:40:01.963 ***🔗
alicE_subscribe_relog_1463@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-12 09:40:01.963 ***🔗
alicE_subscribe_relog_1463@localhost/res1 out
<iq type='set' id='4f697216d9054f82d88f1c94dc81acf7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:40:01.963 ***🔗
alicE_subscribe_relog_1463@localhost/res1 in
<iq id='4f697216d9054f82d88f1c94dc81acf7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1463@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:40:01.963 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<iq type='set' id='b1a1ede3fa4868e789a167b1bcc039d9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.964 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1463@localhost/res1' id='b1a1ede3fa4868e789a167b1bcc039d9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.964 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<presence/>
*** User 2024-04-12 09:40:01.964 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
<presence from='alice_subscribe_relog_1463@localhost/res1' to='alice_subscribe_relog_1463@localhost/res1'/>
*** User 2024-04-12 09:40:01.965 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.965 ***🔗
bOb_subscribe_relog_1463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='856eb9d42b8eaa6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:40:01.965 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.965 ***🔗
bOb_subscribe_relog_1463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQ2MwBtYWtyb2xpa2E=</auth>
*** User 2024-04-12 09:40:01.966 ***🔗
bOb_subscribe_relog_1463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:40:01.966 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.966 ***🔗
bOb_subscribe_relog_1463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cf109e90a23fe3f' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1463@localhost'>
*** User 2024-04-12 09:40:01.966 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.967 ***🔗
bOb_subscribe_relog_1463@localhost/res1 out
<iq type='set' id='21465b0ae0fc08ab0414eca5e60bad89'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:40:01.967 ***🔗
bOb_subscribe_relog_1463@localhost/res1 in
<iq id='21465b0ae0fc08ab0414eca5e60bad89' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1463@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:40:01.967 ***🔗
bob_subscribe_relog_1463@localhost/res1 out
<iq type='set' id='67800c372bfeac94fd5d144f9bac25ba'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.967 ***🔗
bob_subscribe_relog_1463@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1463@localhost/res1' id='67800c372bfeac94fd5d144f9bac25ba' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.967 ***🔗
bob_subscribe_relog_1463@localhost/res1 out
<presence/>
*** User 2024-04-12 09:40:01.968 ***🔗
bob_subscribe_relog_1463@localhost/res1 in
<presence from='bob_subscribe_relog_1463@localhost/res1' to='bob_subscribe_relog_1463@localhost/res1'/>
*** User 2024-04-12 09:40:01.968 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<iq type='set' id='0dd496c7aedd14ea00fef346c77de01b'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1463@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:40:01.969 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
<iq from='alice_subscribe_relog_1463@localhost' to='alice_subscribe_relog_1463@localhost/res1' id='push53dacedb445369fe' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_1463@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:40:01.969 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
<iq from='alice_subscribe_relog_1463@localhost' to='alice_subscribe_relog_1463@localhost/res1' id='0dd496c7aedd14ea00fef346c77de01b' type='result'/>
*** User 2024-04-12 09:40:01.969 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<iq to='alice_subscribe_relog_1463@localhost' id='push53dacedb445369fe' type='result'/>
*** User 2024-04-12 09:40:01.969 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1463@localhost'/>
*** User 2024-04-12 09:40:01.970 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
<iq from='alice_subscribe_relog_1463@localhost' to='alice_subscribe_relog_1463@localhost/res1' id='push00b76a4130418f39' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1463@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-12 09:40:01.970 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
<iq to='alice_subscribe_relog_1463@localhost' id='push00b76a4130418f39' type='result'/>
*** User 2024-04-12 09:40:01.970 ***🔗
bob_subscribe_relog_1463@localhost/res1 in
<presence from='alice_subscribe_relog_1463@localhost' to='bob_subscribe_relog_1463@localhost/res1' type='subscribe'/>
*** User 2024-04-12 09:40:01.971 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.971 ***🔗
bOb_subscribe_relog_1463@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81a8a9a5806df54f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:40:01.971 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.971 ***🔗
bOb_subscribe_relog_1463@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQ2MwBtYWtyb2xpa2E=</auth>
*** User 2024-04-12 09:40:01.972 ***🔗
bOb_subscribe_relog_1463@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:40:01.972 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.973 ***🔗
bOb_subscribe_relog_1463@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bedf0e1c2a69f29' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1463@localhost'>
*** User 2024-04-12 09:40:01.973 ***🔗
bOb_subscribe_relog_1463@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-12 09:40:01.973 ***🔗
bOb_subscribe_relog_1463@localhost/newbob out
<iq type='set' id='bedf9815ed824e3ddb1a1d1ba6a2e912'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-12 09:40:01.973 ***🔗
bOb_subscribe_relog_1463@localhost/newbob in
<iq id='bedf9815ed824e3ddb1a1d1ba6a2e912' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1463@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-12 09:40:01.973 ***🔗
bob_subscribe_relog_1463@localhost/newbob out
<iq type='set' id='56e743b80ca536a29cfe72ba27fe6e95'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.973 ***🔗
bob_subscribe_relog_1463@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1463@localhost/newbob' id='56e743b80ca536a29cfe72ba27fe6e95' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:40:01.973 ***🔗
bob_subscribe_relog_1463@localhost/newbob out
<presence/>
*** User 2024-04-12 09:40:01.974 ***🔗
bob_subscribe_relog_1463@localhost/res1 in
<presence from='bob_subscribe_relog_1463@localhost/newbob' to='bob_subscribe_relog_1463@localhost/res1'/>
*** User 2024-04-12 09:40:01.974 ***🔗
bob_subscribe_relog_1463@localhost/newbob in
<presence from='alice_subscribe_relog_1463@localhost' to='bob_subscribe_relog_1463@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-12 09:40:01.974 ***🔗
bob_subscribe_relog_1463@localhost/newbob in
<presence from='bob_subscribe_relog_1463@localhost/newbob' to='bob_subscribe_relog_1463@localhost/newbob'/>
*** User 2024-04-12 09:40:01.974 ***🔗
bob_subscribe_relog_1463@localhost/newbob in
<presence from='bob_subscribe_relog_1463@localhost/res1' to='bob_subscribe_relog_1463@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-12T09:40:01.967945Z' from='bob_subscribe_relog_1463@localhost/res1'/>
</presence>
*** User 2024-04-12 09:40:01.975 ***🔗
bob_subscribe_relog_1463@localhost/newbob out
</stream:stream>
*** User 2024-04-12 09:40:01.975 ***🔗
bob_subscribe_relog_1463@localhost/newbob in
</stream:stream>
*** User 2024-04-12 09:40:01.975 ***🔗
bob_subscribe_relog_1463@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1463@localhost'/>
*** User 2024-04-12 09:40:01.975 ***🔗
bob_subscribe_relog_1463@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:40:01.976 ***🔗
bob_subscribe_relog_1463@localhost/res1 in
</stream:stream>
*** User 2024-04-12 09:40:01.976 ***🔗
alice_subscribe_relog_1463@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:40:01.976 ***🔗
alice_subscribe_relog_1463@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-12 09:40:01
=== successfully completed test case
=== === Returned value: ok