=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.7643.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/presence_suite.subscribe_relog.158083.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.presence_SUITE.logs/run.2024-03-20_18.21.09/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@893c79bb0538.2024-03-20_18.07.18"
=== Started at 2024-03-20 18:21:11
*** User 2024-03-20 18:21:11.167 ***🔗
alicE_subscribe_relog_2911@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-03-20 18:21:11.168 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ed0e9e848aa48ee' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:11.168 ***🔗
alicE_subscribe_relog_2911@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-03-20 18:21:11.168 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTExAG1hdHlncnlzYQ==</auth>
*** User 2024-03-20 18:21:11.170 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:11.170 ***🔗
alicE_subscribe_relog_2911@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-03-20 18:21:11.170 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73a45f3f7099d556' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2911@domain.example.com'>
*** User 2024-03-20 18:21:11.170 ***🔗
alicE_subscribe_relog_2911@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-03-20 18:21:11.170 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 out
<iq type='set' id='2494dc37a0f53045cbc4cb6ff7058572'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:11.171 ***🔗
alicE_subscribe_relog_2911@domain.example.com/res1 in
<iq id='2494dc37a0f53045cbc4cb6ff7058572' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2911@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:11.171 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<iq type='set' id='44f8565e4e10360ac2aa9a9e16afb036'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.172 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2911@domain.example.com/res1' id='44f8565e4e10360ac2aa9a9e16afb036' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.172 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:11.173 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2911@domain.example.com/res1' to='alice_subscribe_relog_2911@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.173 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.174 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c3df2d5fe88315c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:11.174 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.174 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxMQBtYWtyb2xpa2E=</auth>
*** User 2024-03-20 18:21:11.175 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:11.175 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.176 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b4ffa1165a1d487' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2911@domain.example.com'>
*** User 2024-03-20 18:21:11.176 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.176 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 out
<iq type='set' id='9ac04896ae4ba7597ad7df8e26ab4349'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:11.176 ***🔗
bOb_subscribe_relog_2911@domain.example.com/res1 in
<iq id='9ac04896ae4ba7597ad7df8e26ab4349' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2911@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:11.176 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 out
<iq type='set' id='c56e76372ad553246675b70539336427'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.177 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2911@domain.example.com/res1' id='c56e76372ad553246675b70539336427' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.177 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 out
<presence/>
*** User 2024-03-20 18:21:11.178 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2911@domain.example.com/res1' to='bob_subscribe_relog_2911@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.178 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<iq type='set' id='2ac4712cae0d015bd89bbb35668e152d'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2911@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.186 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2911@domain.example.com' to='alice_subscribe_relog_2911@domain.example.com/res1' id='pushfd9fe4235d53aefb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_2911@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.187 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2911@domain.example.com' to='alice_subscribe_relog_2911@domain.example.com/res1' id='2ac4712cae0d015bd89bbb35668e152d' type='result'/>
*** User 2024-03-20 18:21:11.187 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2911@domain.example.com' id='pushfd9fe4235d53aefb' type='result'/>
*** User 2024-03-20 18:21:11.187 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2911@domain.example.com'/>
*** User 2024-03-20 18:21:11.193 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2911@domain.example.com' to='alice_subscribe_relog_2911@domain.example.com/res1' id='pushd97faa4f589498d0' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2911@domain.example.com' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-03-20 18:21:11.194 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2911@domain.example.com' id='pushd97faa4f589498d0' type='result'/>
*** User 2024-03-20 18:21:11.194 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2911@domain.example.com' to='bob_subscribe_relog_2911@domain.example.com/res1' type='subscribe'/>
*** User 2024-03-20 18:21:11.195 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.195 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fc131fcbdb2d258' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-20 18:21:11.195 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.195 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkxMQBtYWtyb2xpa2E=</auth>
*** User 2024-03-20 18:21:11.197 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-20 18:21:11.197 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.197 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a75403b3a02d850a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2911@domain.example.com'>
*** User 2024-03-20 18:21:11.197 ***🔗
bOb_subscribe_relog_2911@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-03-20 18:21:11.197 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob out
<iq type='set' id='0886336152707d44a441d0d607f32fce'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-03-20 18:21:11.198 ***🔗
bOb_subscribe_relog_2911@domain.example.com/newbob in
<iq id='0886336152707d44a441d0d607f32fce' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2911@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-03-20 18:21:11.198 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob out
<iq type='set' id='b6e6951e14dd7a8564dceb32aec6468e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.198 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2911@domain.example.com/newbob' id='b6e6951e14dd7a8564dceb32aec6468e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-20 18:21:11.199 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob out
<presence/>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2911@domain.example.com/newbob' to='bob_subscribe_relog_2911@domain.example.com/res1'/>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2911@domain.example.com' to='bob_subscribe_relog_2911@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2911@domain.example.com/newbob' to='bob_subscribe_relog_2911@domain.example.com/newbob'/>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2911@domain.example.com/res1' to='bob_subscribe_relog_2911@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-03-20T18:21:11.178123Z' from='bob_subscribe_relog_2911@domain.example.com/res1'/>
</presence>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob out
</stream:stream>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/newbob in
</stream:stream>
*** User 2024-03-20 18:21:11.201 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2911@domain.example.com'/>
*** User 2024-03-20 18:21:11.202 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:11.238 ***🔗
bob_subscribe_relog_2911@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-20 18:21:11.238 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-20 18:21:11.238 ***🔗
alice_subscribe_relog_2911@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-20 18:21:11
=== successfully completed test case
=== === Returned value: ok