=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.11430.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@2f4c04baa058.2024-03-11_11.24.19/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.34.29/presence_suite.subscribe_relog.52867.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@2f4c04baa058.2024-03-11_11.24.19/big_tests.tests.presence_SUITE.logs/run.2024-03-11_11.34.29/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@2f4c04baa058.2024-03-11_11.24.19"
=== Started at 2024-03-11 11:34:31
*** User 2024-03-11 11:34:31.119 ***🔗
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-03-11 11:34:31.119 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='292c2b6fac20dc86' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:34:31.120 ***🔗
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-03-11 11:34:31.120 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNDAzAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:34:31.121 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:34:31.121 ***🔗
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-03-11 11:34:31.122 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99e4e3fbfb70691e' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1403@localhost'>
*** User 2024-03-11 11:34:31.122 ***🔗
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-03-11 11:34:31.122 ***🔗
alicE_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='722ae6c7a2b7a54d5234ad1a4362940b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:34:31.122 ***🔗
alicE_subscribe_relog_1403@localhost/res1 in
<iq id='722ae6c7a2b7a54d5234ad1a4362940b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_1403@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:34:31.122 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='6ba4ad36e37ac35a2791cc4a3ee63635'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.123 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1403@localhost/res1' id='6ba4ad36e37ac35a2791cc4a3ee63635' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.123 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<presence/>
*** User 2024-03-11 11:34:31.124 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<presence from='alice_subscribe_relog_1403@localhost/res1' to='alice_subscribe_relog_1403@localhost/res1'/>
*** User 2024-03-11 11:34:31.124 ***🔗
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-03-11 11:34:31.125 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a24ab8dcd4ead4ad' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:34:31.125 ***🔗
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-03-11 11:34:31.125 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQwMwBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:34:31.128 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:34:31.128 ***🔗
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-03-11 11:34:31.128 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aba5872547b8f8a5' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1403@localhost'>
*** User 2024-03-11 11:34:31.128 ***🔗
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-03-11 11:34:31.128 ***🔗
bOb_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='fb47149ad584424004f7d7d9720bf278'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:34:31.129 ***🔗
bOb_subscribe_relog_1403@localhost/res1 in
<iq id='fb47149ad584424004f7d7d9720bf278' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1403@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:34:31.129 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='8004fb16127500282866c2d39690c16d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.129 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1403@localhost/res1' id='8004fb16127500282866c2d39690c16d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.129 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<presence/>
*** User 2024-03-11 11:34:31.130 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<presence from='bob_subscribe_relog_1403@localhost/res1' to='bob_subscribe_relog_1403@localhost/res1'/>
*** User 2024-03-11 11:34:31.130 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq type='set' id='4cd08f65835e05a8efc697860cb64338'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_1403@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-11 11:34:31.131 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='push6f0bed6c88b5b470' 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-03-11 11:34:31.131 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='4cd08f65835e05a8efc697860cb64338' type='result'/>
*** User 2024-03-11 11:34:31.131 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq to='alice_subscribe_relog_1403@localhost' id='push6f0bed6c88b5b470' type='result'/>
*** User 2024-03-11 11:34:31.132 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1403@localhost'/>
*** User 2024-03-11 11:34:31.136 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
<iq from='alice_subscribe_relog_1403@localhost' to='alice_subscribe_relog_1403@localhost/res1' id='push203a336423275d6d' 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-03-11 11:34:31.136 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
<iq to='alice_subscribe_relog_1403@localhost' id='push203a336423275d6d' type='result'/>
*** User 2024-03-11 11:34:31.136 ***🔗
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-03-11 11:34:31.136 ***🔗
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-03-11 11:34:31.137 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5866567878b2f239' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:34:31.138 ***🔗
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-03-11 11:34:31.138 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQwMwBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:34:31.140 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:34:31.140 ***🔗
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-03-11 11:34:31.141 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fceda878c9c89757' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1403@localhost'>
*** User 2024-03-11 11:34:31.141 ***🔗
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-03-11 11:34:31.141 ***🔗
bOb_subscribe_relog_1403@localhost/newbob out
<iq type='set' id='91e9cceedf31191311b16d536703653b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-11 11:34:31.141 ***🔗
bOb_subscribe_relog_1403@localhost/newbob in
<iq id='91e9cceedf31191311b16d536703653b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_1403@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-03-11 11:34:31.141 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
<iq type='set' id='b19399639c3b9b24c2ed6f904c9f6af9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.142 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1403@localhost/newbob' id='b19399639c3b9b24c2ed6f904c9f6af9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:34:31.142 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
<presence/>
*** User 2024-03-11 11:34:31.143 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
<presence from='bob_subscribe_relog_1403@localhost/newbob' to='bob_subscribe_relog_1403@localhost/res1'/>
*** User 2024-03-11 11:34:31.143 ***🔗
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-03-11 11:34:31.143 ***🔗
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-03-11T11:34:31.130144Z' from='bob_subscribe_relog_1403@localhost/res1'/>
</presence>
*** User 2024-03-11 11:34:31.143 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
<presence from='bob_subscribe_relog_1403@localhost/newbob' to='bob_subscribe_relog_1403@localhost/newbob'/>
*** User 2024-03-11 11:34:31.143 ***🔗
bob_subscribe_relog_1403@localhost/newbob out
</stream:stream>
*** User 2024-03-11 11:34:31.144 ***🔗
bob_subscribe_relog_1403@localhost/newbob in
</stream:stream>
*** User 2024-03-11 11:34:31.144 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1403@localhost'/>
*** User 2024-03-11 11:34:31.144 ***🔗
bob_subscribe_relog_1403@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:34:31.147 ***🔗
bob_subscribe_relog_1403@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:34:31.147 ***🔗
alice_subscribe_relog_1403@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:34:31.147 ***🔗
alice_subscribe_relog_1403@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:34:31
=== successfully completed test case
=== === Returned value: ok