=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.24942.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/presence_suite.subscribe_relog.145922.html"},
{tc_group_properties,[{name,subscribe_group},
{repeat_until_all_ok,3},
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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/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@88d84ff17c71.2022-03-04_11.16.52"
=== Started at 2022-03-04 11:24:50
*** User 2022-03-04 11:24:50.092 ***
alicE_subscribe_relog_1750@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 2022-03-04 11:24:50.092 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e8c427a9b972193' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.092 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.092 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNzUwAG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@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 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='100a623ba8aaed1a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<iq type='set' id='dda4f9de10cef02f45f4e6f6859fb199'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<iq id='dda4f9de10cef02f45f4e6f6859fb199' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1750@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<iq type='set' id='ba836e4eb32dbc2025f1806a84ee2253'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.093 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<iq type='result' id='ba836e4eb32dbc2025f1806a84ee2253'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.094 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<presence/>
*** User 2022-03-04 11:24:50.095 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1750@domain.example.com/res1' to='alice_subscribe_relog_1750@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:24:50.095 ***
bOb_subscribe_relog_1750@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 2022-03-04 11:24:50.096 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='422f2941b2b0ff01' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.096 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.096 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTc1MABtYWtyb2xpa2E=</auth>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@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 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d968681d0b45acd9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
<iq type='set' id='1ea63c29681e07499f1eb446871f7601'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<iq id='1ea63c29681e07499f1eb446871f7601' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1750@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:24:50.097 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
<iq type='set' id='a0f2f6f8adda2ab6472b51a74b34dd03'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.098 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<iq type='result' id='a0f2f6f8adda2ab6472b51a74b34dd03'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.098 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
<presence/>
*** User 2022-03-04 11:24:50.099 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1750@domain.example.com/res1' to='bob_subscribe_relog_1750@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:24:50.099 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<iq type='set' id='0f9d25fcbd5262518e026a0f3ba234ff'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1750@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-04 11:24:50.118 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1750@domain.example.com' to='alicE_subscribe_relog_1750@domain.example.com/res1' id='push0cfb7230410f0323' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1750@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-04 11:24:50.118 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1750@domain.example.com' to='alicE_subscribe_relog_1750@domain.example.com/res1' id='0f9d25fcbd5262518e026a0f3ba234ff' type='result'/>
*** User 2022-03-04 11:24:50.118 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1750@domain.example.com' id='push0cfb7230410f0323' type='result'/>
*** User 2022-03-04 11:24:50.118 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1750@domain.example.com'/>
*** User 2022-03-04 11:24:50.138 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1750@domain.example.com' to='alicE_subscribe_relog_1750@domain.example.com/res1' id='push262dabd0403b3ae2' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1750@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-04 11:24:50.139 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1750@domain.example.com' id='push262dabd0403b3ae2' type='result'/>
*** User 2022-03-04 11:24:50.139 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1750@domain.example.com' to='bOb_subscribe_relog_1750@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-04 11:24:50.139 ***
bOb_subscribe_relog_1750@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 2022-03-04 11:24:50.140 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7a9e445922ecbea' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.140 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.140 ***
bOb_subscribe_relog_1750@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTc1MABtYWtyb2xpa2E=</auth>
*** User 2022-03-04 11:24:50.142 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:24:50.142 ***
bOb_subscribe_relog_1750@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 2022-03-04 11:24:50.142 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45bc207d784d844b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:50.142 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-04 11:24:50.142 ***
bOb_subscribe_relog_1750@domain.example.com/newbob out
<iq type='set' id='affdbe370870faa4eb6daa9d7431b9aa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-03-04 11:24:50.143 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<iq id='affdbe370870faa4eb6daa9d7431b9aa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1750@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2022-03-04 11:24:50.143 ***
bOb_subscribe_relog_1750@domain.example.com/newbob out
<iq type='set' id='40d861968d3747a55357990857f4d717'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.143 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<iq type='result' id='40d861968d3747a55357990857f4d717'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:50.143 ***
bOb_subscribe_relog_1750@domain.example.com/newbob out
<presence/>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1750@domain.example.com/newbob' to='bob_subscribe_relog_1750@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<presence from='alice_subscribe_relog_1750@domain.example.com' to='bOb_subscribe_relog_1750@domain.example.com' type='subscribe'>
<status/>
</presence>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<presence from='bOb_subscribe_relog_1750@domain.example.com/newbob' to='bob_subscribe_relog_1750@domain.example.com/newbob' xml:lang='en'/>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
<presence from='bob_subscribe_relog_1750@domain.example.com/res1' to='bOb_subscribe_relog_1750@domain.example.com/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:24:50Z' from='bob_subscribe_relog_1750@domain.example.com/res1'/>
</presence>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/newbob out
</stream:stream>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/newbob in
</stream:stream>
*** User 2022-03-04 11:24:50.147 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1750@domain.example.com'/>
*** User 2022-03-04 11:24:50.148 ***
bOb_subscribe_relog_1750@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-04 11:24:50.154 ***
bOb_subscribe_relog_1750@domain.example.com/res1 in
</stream:stream>
*** User 2022-03-04 11:24:50.155 ***
alicE_subscribe_relog_1750@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-04 11:24:50.155 ***
alicE_subscribe_relog_1750@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:24:50
=== successfully completed test case
=== === Returned value: ok