=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.80169.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c0886cce4528.2024-04-23_06.27.07/big_tests.tests.presence_SUITE.logs/run.2024-04-23_06.42.00/presence_suite.subscribe_relog.221698.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@c0886cce4528.2024-04-23_06.27.07/big_tests.tests.presence_SUITE.logs/run.2024-04-23_06.42.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@c0886cce4528.2024-04-23_06.27.07"
=== Started at 2024-04-23 06:42:02
*** User 2024-04-23 06:42:02.241 ***🔗
alicE_subscribe_relog_2908@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-23 06:42:02.242 ***🔗
alicE_subscribe_relog_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c223f2c4de8fb9ae' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:42:02.242 ***🔗
alicE_subscribe_relog_2908@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>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-23 06:42:02.242 ***🔗
alicE_subscribe_relog_2908@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTA4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 06:42:02.245 ***🔗
alicE_subscribe_relog_2908@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:42:02.245 ***🔗
alicE_subscribe_relog_2908@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-23 06:42:02.245 ***🔗
alicE_subscribe_relog_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2582641f9c61d2e9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2908@localhost'>
*** User 2024-04-23 06:42:02.246 ***🔗
alicE_subscribe_relog_2908@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-23 06:42:02.246 ***🔗
alicE_subscribe_relog_2908@localhost/res1 out
<iq type='set' id='bb32b35e549f6826504e1ba5f04243bf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:42:02.246 ***🔗
alicE_subscribe_relog_2908@localhost/res1 in
<iq id='bb32b35e549f6826504e1ba5f04243bf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2908@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:42:02.246 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<iq type='set' id='b85975bd725c26e2635e7a958012a1a9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.247 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2908@localhost/res1' id='b85975bd725c26e2635e7a958012a1a9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.247 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<presence/>
*** User 2024-04-23 06:42:02.249 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
<presence from='alice_subscribe_relog_2908@localhost/res1' to='alice_subscribe_relog_2908@localhost/res1'/>
*** User 2024-04-23 06:42:02.250 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.250 ***🔗
bOb_subscribe_relog_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffbbb0a9ad48dab8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:42:02.250 ***🔗
bOb_subscribe_relog_2908@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>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-23 06:42:02.250 ***🔗
bOb_subscribe_relog_2908@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwOABtYWtyb2xpa2E=</auth>
*** User 2024-04-23 06:42:02.251 ***🔗
bOb_subscribe_relog_2908@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:42:02.251 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.252 ***🔗
bOb_subscribe_relog_2908@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ee8793212c85fa6' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2908@localhost'>
*** User 2024-04-23 06:42:02.252 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.252 ***🔗
bOb_subscribe_relog_2908@localhost/res1 out
<iq type='set' id='7a63f1a7cbb2459e6a5bb8a7881aec2a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:42:02.252 ***🔗
bOb_subscribe_relog_2908@localhost/res1 in
<iq id='7a63f1a7cbb2459e6a5bb8a7881aec2a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2908@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:42:02.252 ***🔗
bob_subscribe_relog_2908@localhost/res1 out
<iq type='set' id='21fdce9f464b25324d0bdad28e3abf40'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.265 ***🔗
bob_subscribe_relog_2908@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2908@localhost/res1' id='21fdce9f464b25324d0bdad28e3abf40' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.265 ***🔗
bob_subscribe_relog_2908@localhost/res1 out
<presence/>
*** User 2024-04-23 06:42:02.267 ***🔗
bob_subscribe_relog_2908@localhost/res1 in
<presence from='bob_subscribe_relog_2908@localhost/res1' to='bob_subscribe_relog_2908@localhost/res1'/>
*** User 2024-04-23 06:42:02.267 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<iq type='set' id='7a118383ed03e1eb8ced854289fba38f'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2908@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 06:42:02.276 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
<iq from='alice_subscribe_relog_2908@localhost' to='alice_subscribe_relog_2908@localhost/res1' id='pushcdb20b0232e657f3' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2908@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 06:42:02.276 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
<iq from='alice_subscribe_relog_2908@localhost' to='alice_subscribe_relog_2908@localhost/res1' id='7a118383ed03e1eb8ced854289fba38f' type='result'/>
*** User 2024-04-23 06:42:02.276 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<iq to='alice_subscribe_relog_2908@localhost' id='pushcdb20b0232e657f3' type='result'/>
*** User 2024-04-23 06:42:02.277 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2908@localhost'/>
*** User 2024-04-23 06:42:02.282 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
<iq from='alice_subscribe_relog_2908@localhost' to='alice_subscribe_relog_2908@localhost/res1' id='push0980243eafa3c177' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2908@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 06:42:02.282 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
<iq to='alice_subscribe_relog_2908@localhost' id='push0980243eafa3c177' type='result'/>
*** User 2024-04-23 06:42:02.283 ***🔗
bob_subscribe_relog_2908@localhost/res1 in
<presence from='alice_subscribe_relog_2908@localhost' to='bob_subscribe_relog_2908@localhost/res1' type='subscribe'/>
*** User 2024-04-23 06:42:02.283 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.284 ***🔗
bOb_subscribe_relog_2908@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e0213e0299149c9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:42:02.284 ***🔗
bOb_subscribe_relog_2908@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>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-23 06:42:02.284 ***🔗
bOb_subscribe_relog_2908@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwOABtYWtyb2xpa2E=</auth>
*** User 2024-04-23 06:42:02.285 ***🔗
bOb_subscribe_relog_2908@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:42:02.285 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.285 ***🔗
bOb_subscribe_relog_2908@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02bd3edf58edc655' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2908@localhost'>
*** User 2024-04-23 06:42:02.285 ***🔗
bOb_subscribe_relog_2908@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-23 06:42:02.286 ***🔗
bOb_subscribe_relog_2908@localhost/newbob out
<iq type='set' id='484f1d9cb516c488f6f8afd2995e11a9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-23 06:42:02.286 ***🔗
bOb_subscribe_relog_2908@localhost/newbob in
<iq id='484f1d9cb516c488f6f8afd2995e11a9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2908@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-23 06:42:02.286 ***🔗
bob_subscribe_relog_2908@localhost/newbob out
<iq type='set' id='d65336a4d07b78b6609f61e913444e50'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.287 ***🔗
bob_subscribe_relog_2908@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2908@localhost/newbob' id='d65336a4d07b78b6609f61e913444e50' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:42:02.287 ***🔗
bob_subscribe_relog_2908@localhost/newbob out
<presence/>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/res1 in
<presence from='bob_subscribe_relog_2908@localhost/newbob' to='bob_subscribe_relog_2908@localhost/res1'/>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/newbob in
<presence from='alice_subscribe_relog_2908@localhost' to='bob_subscribe_relog_2908@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/newbob in
<presence from='bob_subscribe_relog_2908@localhost/res1' to='bob_subscribe_relog_2908@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T06:42:02.267147Z' from='bob_subscribe_relog_2908@localhost/res1'/>
</presence>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/newbob in
<presence from='bob_subscribe_relog_2908@localhost/newbob' to='bob_subscribe_relog_2908@localhost/newbob'/>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/newbob out
</stream:stream>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/newbob in
</stream:stream>
*** User 2024-04-23 06:42:02.291 ***🔗
bob_subscribe_relog_2908@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2908@localhost'/>
*** User 2024-04-23 06:42:02.292 ***🔗
bob_subscribe_relog_2908@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:42:02.302 ***🔗
bob_subscribe_relog_2908@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:42:02.303 ***🔗
alice_subscribe_relog_2908@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:42:02.303 ***🔗
alice_subscribe_relog_2908@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 06:42:02
=== successfully completed test case
=== === Returned value: ok