=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.3252.2>},
{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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.subscribe_relog.156162.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:13:10
*** User 2022-04-04 15:13:10.466 ***
alicE_subscribe_relog_2024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.467 ***
alicE_subscribe_relog_2024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17cccfb879a3385d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.467 ***
alicE_subscribe_relog_2024@localhost/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-04-04 15:13:10.467 ***
alicE_subscribe_relog_2024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yMDI0AG1hdHlncnlzYQ==</auth>
*** User 2022-04-04 15:13:10.468 ***
alicE_subscribe_relog_2024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:10.468 ***
alicE_subscribe_relog_2024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.468 ***
alicE_subscribe_relog_2024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df340bac99c20f69' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.468 ***
alicE_subscribe_relog_2024@localhost/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-04-04 15:13:10.469 ***
alicE_subscribe_relog_2024@localhost/res1 out
<iq type='set' id='886a3c277a78f475e4ef50685d8e6412'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:13:10.469 ***
alicE_subscribe_relog_2024@localhost/res1 in
<iq id='886a3c277a78f475e4ef50685d8e6412' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_relog_2024@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:13:10.469 ***
alicE_subscribe_relog_2024@localhost/res1 out
<iq type='set' id='390a633f4fc28127c4abe3299a77ffb5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.469 ***
alicE_subscribe_relog_2024@localhost/res1 in
<iq type='result' id='390a633f4fc28127c4abe3299a77ffb5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.469 ***
alicE_subscribe_relog_2024@localhost/res1 out
<presence/>
*** User 2022-04-04 15:13:10.471 ***
alicE_subscribe_relog_2024@localhost/res1 in
<presence from='alicE_subscribe_relog_2024@localhost/res1' to='alice_subscribe_relog_2024@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.472 ***
bOb_subscribe_relog_2024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.472 ***
bOb_subscribe_relog_2024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8ca1489438bc85e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.472 ***
bOb_subscribe_relog_2024@localhost/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-04-04 15:13:10.472 ***
bOb_subscribe_relog_2024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjAyNABtYWtyb2xpa2E=</auth>
*** User 2022-04-04 15:13:10.473 ***
bOb_subscribe_relog_2024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:10.473 ***
bOb_subscribe_relog_2024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d366df23f600b012' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/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-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/res1 out
<iq type='set' id='62fdf7395059f5804652c90062d236d9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/res1 in
<iq id='62fdf7395059f5804652c90062d236d9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_2024@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/res1 out
<iq type='set' id='28eef0b9976ce734cc71e3ce071962ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.474 ***
bOb_subscribe_relog_2024@localhost/res1 in
<iq type='result' id='28eef0b9976ce734cc71e3ce071962ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.475 ***
bOb_subscribe_relog_2024@localhost/res1 out
<presence/>
*** User 2022-04-04 15:13:10.476 ***
bOb_subscribe_relog_2024@localhost/res1 in
<presence from='bOb_subscribe_relog_2024@localhost/res1' to='bob_subscribe_relog_2024@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.476 ***
alicE_subscribe_relog_2024@localhost/res1 out
<iq type='set' id='277d197594cd212d38fab7b918549a31'>
<query xmlns='jabber:iq:roster'>
<item jid='bOb_subscribe_relog_2024@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.484 ***
alicE_subscribe_relog_2024@localhost/res1 in
<iq from='alicE_subscribe_relog_2024@localhost' to='alicE_subscribe_relog_2024@localhost/res1' id='pusha78e535ca904f64e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2024@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.484 ***
alicE_subscribe_relog_2024@localhost/res1 in
<iq from='alicE_subscribe_relog_2024@localhost' to='alicE_subscribe_relog_2024@localhost/res1' id='277d197594cd212d38fab7b918549a31' type='result'/>
*** User 2022-04-04 15:13:10.484 ***
alicE_subscribe_relog_2024@localhost/res1 out
<iq to='alicE_subscribe_relog_2024@localhost' id='pusha78e535ca904f64e' type='result'/>
*** User 2022-04-04 15:13:10.484 ***
alicE_subscribe_relog_2024@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_2024@localhost'/>
*** User 2022-04-04 15:13:10.489 ***
alicE_subscribe_relog_2024@localhost/res1 in
<iq from='alicE_subscribe_relog_2024@localhost' to='alicE_subscribe_relog_2024@localhost/res1' id='push1bdd1bfcebb02b78' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2024@localhost'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2022-04-04 15:13:10.489 ***
alicE_subscribe_relog_2024@localhost/res1 out
<iq to='alicE_subscribe_relog_2024@localhost' id='push1bdd1bfcebb02b78' type='result'/>
*** User 2022-04-04 15:13:10.489 ***
bOb_subscribe_relog_2024@localhost/res1 in
<presence from='alicE_subscribe_relog_2024@localhost' to='bOb_subscribe_relog_2024@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-04-04 15:13:10.490 ***
bOb_subscribe_relog_2024@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.490 ***
bOb_subscribe_relog_2024@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a0cf25872f6df2e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.490 ***
bOb_subscribe_relog_2024@localhost/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-04-04 15:13:10.490 ***
bOb_subscribe_relog_2024@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjAyNABtYWtyb2xpa2E=</auth>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08e71f814e9bddbb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/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-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob out
<iq type='set' id='61b8eef0c9a4cd678ed693c7e035f299'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob in
<iq id='61b8eef0c9a4cd678ed693c7e035f299' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_relog_2024@localhost/newbob</jid>
</bind>
</iq>
*** User 2022-04-04 15:13:10.492 ***
bOb_subscribe_relog_2024@localhost/newbob out
<iq type='set' id='df87e7c6d12526f30c0923ef2e0417e1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.493 ***
bOb_subscribe_relog_2024@localhost/newbob in
<iq type='result' id='df87e7c6d12526f30c0923ef2e0417e1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:13:10.493 ***
bOb_subscribe_relog_2024@localhost/newbob out
<presence/>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/res1 in
<presence from='bOb_subscribe_relog_2024@localhost/newbob' to='bob_subscribe_relog_2024@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/newbob in
<presence from='alice_subscribe_relog_2024@localhost' to='bOb_subscribe_relog_2024@localhost' type='subscribe'>
<status/>
</presence>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/newbob in
<presence from='bOb_subscribe_relog_2024@localhost/newbob' to='bob_subscribe_relog_2024@localhost/newbob' xml:lang='en'/>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/newbob in
<presence from='bob_subscribe_relog_2024@localhost/res1' to='bOb_subscribe_relog_2024@localhost/newbob' xml:lang='en'>
<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:13:10Z' from='bob_subscribe_relog_2024@localhost/res1'/>
</presence>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/newbob out
</stream:stream>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/newbob in
</stream:stream>
*** User 2022-04-04 15:13:10.497 ***
bOb_subscribe_relog_2024@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_2024@localhost'/>
*** User 2022-04-04 15:13:10.498 ***
bOb_subscribe_relog_2024@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:13:10.539 ***
bOb_subscribe_relog_2024@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:13:10.539 ***
alicE_subscribe_relog_2024@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:13:10.539 ***
alicE_subscribe_relog_2024@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:13:10
=== successfully completed test case
=== === Returned value: ok