=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.22756.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/presence_suite.subscribe_relog.103555.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/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@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:36:17
*** User 2022-01-27 12:36:17.248 ***
alicE_subscribe_relog_1687@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-01-27 12:36:17.251 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82e1259bd728b139' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.251 ***
alicE_subscribe_relog_1687@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-01-27 12:36:17.251 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNjg3AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 12:36:17.253 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:17.253 ***
alicE_subscribe_relog_1687@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-01-27 12:36:17.253 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9548802872f8338d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.253 ***
alicE_subscribe_relog_1687@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-01-27 12:36:17.253 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<iq type='set' id='47227e75f77d7c83306ebb2cafa8bca1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:17.254 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<iq id='47227e75f77d7c83306ebb2cafa8bca1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_1687@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:17.254 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<iq type='set' id='164c999471db0096823a016af9f21e6c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.254 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<iq type='result' id='164c999471db0096823a016af9f21e6c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.255 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:17.257 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1687@domain.example.com/res1' to='alice_subscribe_relog_1687@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:17.257 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.258 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14956c9b3839186f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.258 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.258 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTY4NwBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 12:36:17.259 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:17.259 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.260 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca677744e7175653' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.260 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.260 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
<iq type='set' id='728da6f7899c5c17f4503b5030b1ebfb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:17.260 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<iq id='728da6f7899c5c17f4503b5030b1ebfb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1687@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:17.260 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
<iq type='set' id='066a34b1ae5517a97ef44d4c9a3d76cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.261 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<iq type='result' id='066a34b1ae5517a97ef44d4c9a3d76cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.261 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:17.266 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1687@domain.example.com/res1' to='bob_subscribe_relog_1687@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:17.267 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<iq type='set' id='1645be11d20ff2cfcc097ccd1b19f310'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_1687@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 12:36:17.293 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1687@domain.example.com' to='alicE_subscribe_relog_1687@domain.example.com/res1' id='push5bdf88279a8d593f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1687@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 12:36:17.293 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1687@domain.example.com' to='alicE_subscribe_relog_1687@domain.example.com/res1' id='1645be11d20ff2cfcc097ccd1b19f310' type='result'/>
*** User 2022-01-27 12:36:17.293 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1687@domain.example.com' id='push5bdf88279a8d593f' type='result'/>
*** User 2022-01-27 12:36:17.293 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1687@domain.example.com'/>
*** User 2022-01-27 12:36:17.348 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
<iq from='alicE_subscribe_relog_1687@domain.example.com' to='alicE_subscribe_relog_1687@domain.example.com/res1' id='pushb514d0f7d019c05a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1687@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-01-27 12:36:17.348 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
<iq to='alicE_subscribe_relog_1687@domain.example.com' id='pushb514d0f7d019c05a' type='result'/>
*** User 2022-01-27 12:36:17.348 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<presence from='alicE_subscribe_relog_1687@domain.example.com' to='bOb_subscribe_relog_1687@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 12:36:17.349 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.350 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83cae1c496e5ea13' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.350 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.351 ***
bOb_subscribe_relog_1687@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTY4NwBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 12:36:17.355 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:17.355 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.355 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d59e824837fee1f3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:17.355 ***
bOb_subscribe_relog_1687@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-01-27 12:36:17.355 ***
bOb_subscribe_relog_1687@domain.example.com/newbob out
<iq type='set' id='d92d67ad5f46f066ff2abc293a02782b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:17.356 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<iq id='d92d67ad5f46f066ff2abc293a02782b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_1687@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:17.356 ***
bOb_subscribe_relog_1687@domain.example.com/newbob out
<iq type='set' id='5bccc6292e2af2141a4bbaea5aa5c945'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.356 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<iq type='result' id='5bccc6292e2af2141a4bbaea5aa5c945'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:17.356 ***
bOb_subscribe_relog_1687@domain.example.com/newbob out
<presence/>
*** User 2022-01-27 12:36:17.366 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
<presence from='bOb_subscribe_relog_1687@domain.example.com/newbob' to='bob_subscribe_relog_1687@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<presence from='alice_subscribe_relog_1687@domain.example.com' to='bOb_subscribe_relog_1687@domain.example.com' type='subscribe'>
<status/>
</presence>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<presence from='bOb_subscribe_relog_1687@domain.example.com/newbob' to='bob_subscribe_relog_1687@domain.example.com/newbob' xml:lang='en'/>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
<presence from='bob_subscribe_relog_1687@domain.example.com/res1' to='bOb_subscribe_relog_1687@domain.example.com/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:36:17Z' from='bob_subscribe_relog_1687@domain.example.com/res1'/>
</presence>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/newbob out
</stream:stream>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/newbob in
</stream:stream>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1687@domain.example.com'/>
*** User 2022-01-27 12:36:17.367 ***
bOb_subscribe_relog_1687@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:17.398 ***
bOb_subscribe_relog_1687@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:36:17.398 ***
alicE_subscribe_relog_1687@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:17.398 ***
alicE_subscribe_relog_1687@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:36:17
=== successfully completed test case
=== === Returned value: ok