=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.72498.0>},
{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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/presence_suite.subscribe_relog.147587.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.04/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@82e417e9e7f3.2024-04-15_15.52.32"
=== Started at 2024-04-15 16:05:06
*** User 2024-04-15 16:05:06.834 ***🔗
alicE_subscribe_relog_2871@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 2024-04-15 16:05:06.834 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d824adc4e1a9c56' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:06.834 ***🔗
alicE_subscribe_relog_2871@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 2024-04-15 16:05:06.835 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODcxAG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 16:05:06.835 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:06.835 ***🔗
alicE_subscribe_relog_2871@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 2024-04-15 16:05:06.836 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5471e6bc59042641' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2871@domain.example.com'>
*** User 2024-04-15 16:05:06.836 ***🔗
alicE_subscribe_relog_2871@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 2024-04-15 16:05:06.836 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 out
<iq type='set' id='df9d4c37e784ac512f644b9b9fc4583f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:06.836 ***🔗
alicE_subscribe_relog_2871@domain.example.com/res1 in
<iq id='df9d4c37e784ac512f644b9b9fc4583f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2871@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:06.836 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<iq type='set' id='6fb974aa980a8e1a9cb29f3150fecb1d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.837 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2871@domain.example.com/res1' id='6fb974aa980a8e1a9cb29f3150fecb1d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.837 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:06.838 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2871@domain.example.com/res1' to='alice_subscribe_relog_2871@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.839 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.839 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2c2b0375cc05185' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:06.840 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.840 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3MQBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06281687a2ea9fb4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2871@domain.example.com'>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 out
<iq type='set' id='2c8d41e948bea605a2fa65f4908412dd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:06.841 ***🔗
bOb_subscribe_relog_2871@domain.example.com/res1 in
<iq id='2c8d41e948bea605a2fa65f4908412dd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2871@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:06.841 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 out
<iq type='set' id='e6bca7f23f401b981202e1ea4dc59932'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.842 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2871@domain.example.com/res1' id='e6bca7f23f401b981202e1ea4dc59932' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.842 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 16:05:06.844 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2871@domain.example.com/res1' to='bob_subscribe_relog_2871@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.844 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<iq type='set' id='c1a6a55539d8f5ba92ac94ed63783430'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2871@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.871 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2871@domain.example.com' to='alice_subscribe_relog_2871@domain.example.com/res1' id='pushc937f2157648ef1f' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2871@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.871 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2871@domain.example.com' to='alice_subscribe_relog_2871@domain.example.com/res1' id='c1a6a55539d8f5ba92ac94ed63783430' type='result'/>
*** User 2024-04-15 16:05:06.871 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2871@domain.example.com' id='pushc937f2157648ef1f' type='result'/>
*** User 2024-04-15 16:05:06.871 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2871@domain.example.com'/>
*** User 2024-04-15 16:05:06.875 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2871@domain.example.com' to='alice_subscribe_relog_2871@domain.example.com/res1' id='pusha812520e7b85b7c4' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2871@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 16:05:06.875 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2871@domain.example.com' id='pusha812520e7b85b7c4' type='result'/>
*** User 2024-04-15 16:05:06.875 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2871@domain.example.com' to='bob_subscribe_relog_2871@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-15 16:05:06.876 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.876 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c1c32e26c4474a2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:06.877 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.877 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3MQBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 16:05:06.878 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:06.879 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.879 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f85ce1e5374c58e1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2871@domain.example.com'>
*** User 2024-04-15 16:05:06.879 ***🔗
bOb_subscribe_relog_2871@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 2024-04-15 16:05:06.879 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob out
<iq type='set' id='5ea1bec29217a96bf522987891f904c8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:06.880 ***🔗
bOb_subscribe_relog_2871@domain.example.com/newbob in
<iq id='5ea1bec29217a96bf522987891f904c8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2871@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:06.880 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob out
<iq type='set' id='92c823b50df548740fc0ea281d96c285'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.881 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2871@domain.example.com/newbob' id='92c823b50df548740fc0ea281d96c285' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:06.881 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob out
<presence/>
*** User 2024-04-15 16:05:06.882 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2871@domain.example.com/newbob' to='bob_subscribe_relog_2871@domain.example.com/res1'/>
*** User 2024-04-15 16:05:06.882 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2871@domain.example.com' to='bob_subscribe_relog_2871@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2871@domain.example.com/newbob' to='bob_subscribe_relog_2871@domain.example.com/newbob'/>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2871@domain.example.com/res1' to='bob_subscribe_relog_2871@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-15T16:05:06.843803Z' from='bob_subscribe_relog_2871@domain.example.com/res1'/>
</presence>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2871@domain.example.com'/>
*** User 2024-04-15 16:05:06.883 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.889 ***🔗
bob_subscribe_relog_2871@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-15 16:05:06.889 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 16:05:06.889 ***🔗
alice_subscribe_relog_2871@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:05:06
=== successfully completed test case
=== === Returned value: ok