=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.26892.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.57.59/presence_suite.subscribe_relog.102019.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.57.59/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@a072b68d2bee.2022-03-18_10.50.04"
=== Started at 2022-03-18 10:58:01
*** User 2022-03-18 10:58:01.211 ***
alicE_subscribe_relog_1933@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-18 10:58:01.211 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5968ee144bd532c9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.212 ***
alicE_subscribe_relog_1933@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-18 10:58:01.212 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xOTMzAG1hdHlncnlzYQ==</auth>
*** User 2022-03-18 10:58:01.213 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:58:01.213 ***
alicE_subscribe_relog_1933@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-18 10:58:01.213 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d58186f187b0ad2c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.213 ***
alicE_subscribe_relog_1933@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-18 10:58:01.213 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<iq type='set' id='d5da5702c7d00563b67fc8fc59b2d7a1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:58:01.214 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<iq id='d5da5702c7d00563b67fc8fc59b2d7a1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:58:01.214 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<iq type='set' id='732b1e0967dc5b2ae5e491b6b6df9a7b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.214 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<iq type='result' id='732b1e0967dc5b2ae5e491b6b6df9a7b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.214 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:58:01.218 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1933@domain.example.com/res1' to='alice_subscribe_relog_1933@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:58:01.219 ***
bOb_subscribe_relog_1933@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-18 10:58:01.220 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0faa75bb75251a76' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.220 ***
bOb_subscribe_relog_1933@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-18 10:58:01.220 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkzMwBtYWtyb2xpa2E=</auth>
*** User 2022-03-18 10:58:01.221 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:58:01.221 ***
bOb_subscribe_relog_1933@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-18 10:58:01.222 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='612edd579f8122c1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.222 ***
bOb_subscribe_relog_1933@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-18 10:58:01.222 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
<iq type='set' id='208ade4b252235c445be8e7d6a8ddc91'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:58:01.222 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<iq id='208ade4b252235c445be8e7d6a8ddc91' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:58:01.222 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
<iq type='set' id='fd552c546fd9668f9eceb0ff4030fff3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.223 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<iq type='result' id='fd552c546fd9668f9eceb0ff4030fff3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.223 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:58:01.224 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1933@domain.example.com/res1' to='bob_subscribe_relog_1933@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:58:01.224 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<iq type='set' id='918d736ae2c814ffdabbadff418fcc29'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1933@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-18 10:58:01.232 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1933@domain.example.com' to='alicE_subscribe_relog_1933@domain.example.com/res1' id='pushb5368d44b2ed0967' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1933@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-18 10:58:01.232 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1933@domain.example.com' to='alicE_subscribe_relog_1933@domain.example.com/res1' id='918d736ae2c814ffdabbadff418fcc29' type='result'/>
*** User 2022-03-18 10:58:01.232 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1933@domain.example.com' id='pushb5368d44b2ed0967' type='result'/>
*** User 2022-03-18 10:58:01.232 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1933@domain.example.com'/>
*** User 2022-03-18 10:58:01.240 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1933@domain.example.com' to='alicE_subscribe_relog_1933@domain.example.com/res1' id='pushb1f4a4757eac7e77' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1933@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-03-18 10:58:01.240 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1933@domain.example.com' id='pushb1f4a4757eac7e77' type='result'/>
*** User 2022-03-18 10:58:01.240 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1933@domain.example.com' to='bOb_subscribe_relog_1933@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-03-18 10:58:01.241 ***
bOb_subscribe_relog_1933@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-18 10:58:01.241 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09ff5f7356477f63' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.242 ***
bOb_subscribe_relog_1933@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-18 10:58:01.242 ***
bOb_subscribe_relog_1933@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkzMwBtYWtyb2xpa2E=</auth>
*** User 2022-03-18 10:58:01.242 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:58:01.242 ***
bOb_subscribe_relog_1933@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-18 10:58:01.243 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40709ffc6bc3de69' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:58:01.243 ***
bOb_subscribe_relog_1933@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-18 10:58:01.243 ***
bOb_subscribe_relog_1933@domain.example.com/newbob out
<iq type='set' id='e5518248344b683e3509331fa453539f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-03-18 10:58:01.243 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<iq id='e5518248344b683e3509331fa453539f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1933@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2022-03-18 10:58:01.243 ***
bOb_subscribe_relog_1933@domain.example.com/newbob out
<iq type='set' id='f06cbd7371e0f6e488bf364bdabbd143'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.243 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<iq type='result' id='f06cbd7371e0f6e488bf364bdabbd143'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:58:01.244 ***
bOb_subscribe_relog_1933@domain.example.com/newbob out
<presence/>
*** User 2022-03-18 10:58:01.246 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1933@domain.example.com/newbob' to='bob_subscribe_relog_1933@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:58:01.246 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<presence from='alice_subscribe_relog_1933@domain.example.com' to='bOb_subscribe_relog_1933@domain.example.com' type='subscribe'>
<status/>
</presence>
*** User 2022-03-18 10:58:01.246 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<presence from='bOb_subscribe_relog_1933@domain.example.com/newbob' to='bob_subscribe_relog_1933@domain.example.com/newbob' xml:lang='en'/>
*** User 2022-03-18 10:58:01.246 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
<presence from='bob_subscribe_relog_1933@domain.example.com/res1' to='bOb_subscribe_relog_1933@domain.example.com/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:58:01Z' from='bob_subscribe_relog_1933@domain.example.com/res1'/>
</presence>
*** User 2022-03-18 10:58:01.246 ***
bOb_subscribe_relog_1933@domain.example.com/newbob out
</stream:stream>
*** User 2022-03-18 10:58:01.247 ***
bOb_subscribe_relog_1933@domain.example.com/newbob in
</stream:stream>
*** User 2022-03-18 10:58:01.247 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1933@domain.example.com'/>
*** User 2022-03-18 10:58:01.247 ***
bOb_subscribe_relog_1933@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:58:01.269 ***
bOb_subscribe_relog_1933@domain.example.com/res1 in
</stream:stream>
*** User 2022-03-18 10:58:01.269 ***
alicE_subscribe_relog_1933@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:58:01.272 ***
alicE_subscribe_relog_1933@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:58:01
=== successfully completed test case
=== === Returned value: ok