=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.6869.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/presence_suite.subscribe_relog.227330.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/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@b3c75cb3c9a2.2024-04-23_10.51.31"
=== Started at 2024-04-23 11:04:28
*** User 2024-04-23 11:04:28.951 ***🔗
alicE_subscribe_relog_3081@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-23 11:04:28.951 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76041045cb128dcd' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.952 ***🔗
alicE_subscribe_relog_3081@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-23 11:04:28.952 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDgxAG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@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-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1c19e94108a1872' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_3081@domain.example.com'>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@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-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 out
<iq type='set' id='9ab5db700d95019e27c7dc12cd3e6309'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.953 ***🔗
alicE_subscribe_relog_3081@domain.example.com/res1 in
<iq id='9ab5db700d95019e27c7dc12cd3e6309' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_3081@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.954 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<iq type='set' id='6a4d5093c55814f200c624475a9cca0b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.954 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_3081@domain.example.com/res1' id='6a4d5093c55814f200c624475a9cca0b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.954 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.955 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3081@domain.example.com/res1' to='alice_subscribe_relog_3081@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.956 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.956 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2375b976b64da99' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.956 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.956 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA4MQBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:04:28.957 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.957 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.957 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da65a4b3c8445e63' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3081@domain.example.com'>
*** User 2024-04-23 11:04:28.958 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.958 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 out
<iq type='set' id='c4c22b98d3f9adb4b4af9f735f9af55f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.958 ***🔗
bOb_subscribe_relog_3081@domain.example.com/res1 in
<iq id='c4c22b98d3f9adb4b4af9f735f9af55f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3081@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.958 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 out
<iq type='set' id='15ff10043f972e9c4f19441464336c4e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_3081@domain.example.com/res1' id='15ff10043f972e9c4f19441464336c4e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.959 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 out
<presence/>
*** User 2024-04-23 11:04:28.960 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3081@domain.example.com/res1' to='bob_subscribe_relog_3081@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.960 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<iq type='set' id='bd01dedc5b0e1a8e17d1d040407b1101'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_3081@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.962 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3081@domain.example.com' to='alice_subscribe_relog_3081@domain.example.com/res1' id='push6e8bac29a12fd6ea' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_3081@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.962 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3081@domain.example.com' to='alice_subscribe_relog_3081@domain.example.com/res1' id='bd01dedc5b0e1a8e17d1d040407b1101' type='result'/>
*** User 2024-04-23 11:04:28.962 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3081@domain.example.com' id='push6e8bac29a12fd6ea' type='result'/>
*** User 2024-04-23 11:04:28.963 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3081@domain.example.com'/>
*** User 2024-04-23 11:04:28.966 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
<iq from='alice_subscribe_relog_3081@domain.example.com' to='alice_subscribe_relog_3081@domain.example.com/res1' id='push8ecc4d316a421b37' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3081@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-23 11:04:28.966 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
<iq to='alice_subscribe_relog_3081@domain.example.com' id='push8ecc4d316a421b37' type='result'/>
*** User 2024-04-23 11:04:28.966 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 in
<presence from='alice_subscribe_relog_3081@domain.example.com' to='bob_subscribe_relog_3081@domain.example.com/res1' type='subscribe'/>
*** User 2024-04-23 11:04:28.966 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.967 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ac7586e206a12f9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:04:28.967 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.967 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA4MQBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:04:28.969 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:04:28.969 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.969 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b25ed13e63af321b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_3081@domain.example.com'>
*** User 2024-04-23 11:04:28.969 ***🔗
bOb_subscribe_relog_3081@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-23 11:04:28.969 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob out
<iq type='set' id='83b6206683c4f18f46a25020944f3b57'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-23 11:04:28.970 ***🔗
bOb_subscribe_relog_3081@domain.example.com/newbob in
<iq id='83b6206683c4f18f46a25020944f3b57' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3081@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-04-23 11:04:28.970 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob out
<iq type='set' id='e99a81ba88ea0e47e60638ddff69754d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.970 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_3081@domain.example.com/newbob' id='e99a81ba88ea0e47e60638ddff69754d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:04:28.970 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob out
<presence/>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 in
<presence from='bob_subscribe_relog_3081@domain.example.com/newbob' to='bob_subscribe_relog_3081@domain.example.com/res1'/>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob in
<presence from='alice_subscribe_relog_3081@domain.example.com' to='bob_subscribe_relog_3081@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3081@domain.example.com/newbob' to='bob_subscribe_relog_3081@domain.example.com/newbob'/>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob in
<presence from='bob_subscribe_relog_3081@domain.example.com/res1' to='bob_subscribe_relog_3081@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:04:28.959860Z' from='bob_subscribe_relog_3081@domain.example.com/res1'/>
</presence>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob out
</stream:stream>
*** User 2024-04-23 11:04:28.971 ***🔗
bob_subscribe_relog_3081@domain.example.com/newbob in
</stream:stream>
*** User 2024-04-23 11:04:28.972 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3081@domain.example.com'/>
*** User 2024-04-23 11:04:28.972 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.978 ***🔗
bob_subscribe_relog_3081@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-23 11:04:28.979 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-23 11:04:28.979 ***🔗
alice_subscribe_relog_3081@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:04:29
=== successfully completed test case
=== === Returned value: ok