=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.6774.2>},
{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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.04/presence_suite.subscribe_relog.92804.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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.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@64fc573c30dd.2024-04-25_16.15.31"
=== Started at 2024-04-25 16:29:06
*** User 2024-04-25 16:29:06.244 ***🔗
alicE_subscribe_relog_2918@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-25 16:29:06.244 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96d6533616503349' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:29:06.244 ***🔗
alicE_subscribe_relog_2918@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-25 16:29:06.244 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTE4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 16:29:06.245 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:29:06.245 ***🔗
alicE_subscribe_relog_2918@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-25 16:29:06.246 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68a3eed5eb7d80f8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2918@domain.example.com'>
*** User 2024-04-25 16:29:06.246 ***🔗
alicE_subscribe_relog_2918@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-25 16:29:06.246 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 out
<iq type='set' id='1c854916ac8dda50d1ecd68006f694bb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:29:06.246 ***🔗
alicE_subscribe_relog_2918@domain.example.com/res1 in
<iq id='1c854916ac8dda50d1ecd68006f694bb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2918@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:29:06.246 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<iq type='set' id='d00997bb03b34a036f6a41668773bdc2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.247 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2918@domain.example.com/res1' id='d00997bb03b34a036f6a41668773bdc2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.247 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:29:06.248 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2918@domain.example.com/res1' to='alice_subscribe_relog_2918@domain.example.com/res1'/>
*** User 2024-04-25 16:29:06.249 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.249 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8342372d79680a9f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:29:06.249 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.249 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxOABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:29:06.250 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:29:06.250 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.251 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2ad230586a14ade' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2918@domain.example.com'>
*** User 2024-04-25 16:29:06.251 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.251 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 out
<iq type='set' id='3bbf7092a1b6a5fcfa1b4bcd4122da6c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 16:29:06.251 ***🔗
bOb_subscribe_relog_2918@domain.example.com/res1 in
<iq id='3bbf7092a1b6a5fcfa1b4bcd4122da6c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2918@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 16:29:06.251 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 out
<iq type='set' id='1f2afdf8d73b96b60d9abe3941055dab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.252 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2918@domain.example.com/res1' id='1f2afdf8d73b96b60d9abe3941055dab' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.252 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 16:29:06.252 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2918@domain.example.com/res1' to='bob_subscribe_relog_2918@domain.example.com/res1'/>
*** User 2024-04-25 16:29:06.253 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<iq type='set' id='072df4384427dad331d367f0ee5ae822'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2918@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:06.273 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2918@domain.example.com' to='alice_subscribe_relog_2918@domain.example.com/res1' id='push35086ec73351f088' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2918@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:06.273 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2918@domain.example.com' to='alice_subscribe_relog_2918@domain.example.com/res1' id='072df4384427dad331d367f0ee5ae822' type='result'/>
*** User 2024-04-25 16:29:06.273 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2918@domain.example.com' id='push35086ec73351f088' type='result'/>
*** User 2024-04-25 16:29:06.273 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2918@domain.example.com'/>
*** User 2024-04-25 16:29:06.277 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2918@domain.example.com' to='alice_subscribe_relog_2918@domain.example.com/res1' id='push9cd987e332bdd09a' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2918@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-25 16:29:06.277 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2918@domain.example.com' id='push9cd987e332bdd09a' type='result'/>
*** User 2024-04-25 16:29:06.277 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2918@domain.example.com' to='bob_subscribe_relog_2918@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-25 16:29:06.278 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.278 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ac8a72639c4af90' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:29:06.278 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.278 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxOABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:29:06.280 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:29:06.281 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.281 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1fa42c7c9784ba0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2918@domain.example.com'>
*** User 2024-04-25 16:29:06.281 ***🔗
bOb_subscribe_relog_2918@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-25 16:29:06.281 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob out
<iq type='set' id='f510a8d0f1613a191a932f778c245f71'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-25 16:29:06.282 ***🔗
bOb_subscribe_relog_2918@domain.example.com/newbob in
<iq id='f510a8d0f1613a191a932f778c245f71' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2918@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-25 16:29:06.282 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob out
<iq type='set' id='5774b64e06ee397a59df6afaa7b57b45'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.282 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2918@domain.example.com/newbob' id='5774b64e06ee397a59df6afaa7b57b45' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 16:29:06.282 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob out
<presence/>
*** User 2024-04-25 16:29:06.286 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2918@domain.example.com/newbob' to='bob_subscribe_relog_2918@domain.example.com/res1'/>
*** User 2024-04-25 16:29:06.286 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2918@domain.example.com' to='bob_subscribe_relog_2918@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-25 16:29:06.286 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2918@domain.example.com/newbob' to='bob_subscribe_relog_2918@domain.example.com/newbob'/>
*** User 2024-04-25 16:29:06.286 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2918@domain.example.com/res1' to='bob_subscribe_relog_2918@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T16:29:06.252679Z' from='bob_subscribe_relog_2918@domain.example.com/res1'/>
</presence>
*** User 2024-04-25 16:29:06.287 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-25 16:29:06.287 ***🔗
bob_subscribe_relog_2918@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-25 16:29:06.287 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2918@domain.example.com'/>
*** User 2024-04-25 16:29:06.287 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:29:06.292 ***🔗
bob_subscribe_relog_2918@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 16:29:06.292 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 16:29:06.292 ***🔗
alice_subscribe_relog_2918@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 16:29:06
=== successfully completed test case
=== === Returned value: ok