=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)

=== Config value:

    [{watchdog,<0.1435.2>},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.25.49/presence_suite.subscribe_relog.68484.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.25.49/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:25:51


*** CT 2022-03-04 11:25:51.382 *** View log from node mongooseim@localhost when started mongooseim@localhost_5543.html
*** CT 2022-03-04 11:25:51.382 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:25:51.393 ***
alicE_subscribe_relog_1716@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-03-04 11:25:51.394 ***
alicE_subscribe_relog_1716@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17dba2921effca33' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.394 ***
alicE_subscribe_relog_1716@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-03-04 11:25:51.394 ***
alicE_subscribe_relog_1716@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNzE2AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:25:51.395 ***
alicE_subscribe_relog_1716@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:51.395 ***
alicE_subscribe_relog_1716@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-03-04 11:25:51.395 ***
alicE_subscribe_relog_1716@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdbc8f7a541a7d21' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.395 ***
alicE_subscribe_relog_1716@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-03-04 11:25:51.395 ***
alicE_subscribe_relog_1716@localhost/res1 out
<iq type='set' id='793a8393106fdfa019380205e5600351'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_subscribe_relog_1716@localhost/res1 in
<iq id='793a8393106fdfa019380205e5600351' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_1716@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_subscribe_relog_1716@localhost/res1 out
<iq type='set' id='197b8554d3a236e1088b60c4de640cee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_subscribe_relog_1716@localhost/res1 in
<iq type='result' id='197b8554d3a236e1088b60c4de640cee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.397 ***
alicE_subscribe_relog_1716@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.399 ***
alicE_subscribe_relog_1716@localhost/res1 in
<presence from='alicE_subscribe_relog_1716@localhost/res1' to='alice_subscribe_relog_1716@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.400 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.401 ***
bOb_subscribe_relog_1716@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43928979d67b20dc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.401 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.401 ***
bOb_subscribe_relog_1716@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTcxNgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:25:51.402 ***
bOb_subscribe_relog_1716@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:51.402 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.402 ***
bOb_subscribe_relog_1716@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa4de6ccd787b26a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.402 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.402 ***
bOb_subscribe_relog_1716@localhost/res1 out
<iq type='set' id='f7eef8fde0241fcf6116a184d0c5e108'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.403 ***
bOb_subscribe_relog_1716@localhost/res1 in
<iq id='f7eef8fde0241fcf6116a184d0c5e108' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1716@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.403 ***
bOb_subscribe_relog_1716@localhost/res1 out
<iq type='set' id='25c965d40aea9e1483271aee8c225a2d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.403 ***
bOb_subscribe_relog_1716@localhost/res1 in
<iq type='result' id='25c965d40aea9e1483271aee8c225a2d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.403 ***
bOb_subscribe_relog_1716@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.405 ***
bOb_subscribe_relog_1716@localhost/res1 in
<presence from='bOb_subscribe_relog_1716@localhost/res1' to='bob_subscribe_relog_1716@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.405 ***
alicE_subscribe_relog_1716@localhost/res1 out
<iq type='set' id='67dfefe768a35a14deaf2329c5b363b7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_1716@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.419 ***
alicE_subscribe_relog_1716@localhost/res1 in
<iq from='alicE_subscribe_relog_1716@localhost' to='alicE_subscribe_relog_1716@localhost/res1' id='push094c619f1667264c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1716@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.419 ***
alicE_subscribe_relog_1716@localhost/res1 in
<iq from='alicE_subscribe_relog_1716@localhost' to='alicE_subscribe_relog_1716@localhost/res1' id='67dfefe768a35a14deaf2329c5b363b7' type='result'/>



*** User 2022-03-04 11:25:51.419 ***
alicE_subscribe_relog_1716@localhost/res1 out
<iq to='alicE_subscribe_relog_1716@localhost' id='push094c619f1667264c' type='result'/>



*** User 2022-03-04 11:25:51.419 ***
alicE_subscribe_relog_1716@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1716@localhost'/>



*** User 2022-03-04 11:25:51.425 ***
alicE_subscribe_relog_1716@localhost/res1 in
<iq from='alicE_subscribe_relog_1716@localhost' to='alicE_subscribe_relog_1716@localhost/res1' id='pushf0eeb7395b28da1e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1716@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.425 ***
alicE_subscribe_relog_1716@localhost/res1 out
<iq to='alicE_subscribe_relog_1716@localhost' id='pushf0eeb7395b28da1e' type='result'/>



*** User 2022-03-04 11:25:51.425 ***
bOb_subscribe_relog_1716@localhost/res1 in
<presence from='alicE_subscribe_relog_1716@localhost' to='bOb_subscribe_relog_1716@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:25:51.426 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.426 ***
bOb_subscribe_relog_1716@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff2587de735c280a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.426 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.426 ***
bOb_subscribe_relog_1716@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTcxNgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:25:51.428 ***
bOb_subscribe_relog_1716@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:51.428 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.429 ***
bOb_subscribe_relog_1716@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10793dc74c898d74' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.429 ***
bOb_subscribe_relog_1716@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-03-04 11:25:51.429 ***
bOb_subscribe_relog_1716@localhost/newbob out
<iq type='set' id='1f1a95bb5244b0b95a584122ff34a74a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.429 ***
bOb_subscribe_relog_1716@localhost/newbob in
<iq id='1f1a95bb5244b0b95a584122ff34a74a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1716@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.429 ***
bOb_subscribe_relog_1716@localhost/newbob out
<iq type='set' id='f07d0ecd8057314b91d54d9e1006ff33'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.430 ***
bOb_subscribe_relog_1716@localhost/newbob in
<iq type='result' id='f07d0ecd8057314b91d54d9e1006ff33'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.430 ***
bOb_subscribe_relog_1716@localhost/newbob out
<presence/>



*** User 2022-03-04 11:25:51.452 ***
bOb_subscribe_relog_1716@localhost/res1 in
<presence from='bOb_subscribe_relog_1716@localhost/newbob' to='bob_subscribe_relog_1716@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.452 ***
bOb_subscribe_relog_1716@localhost/newbob in
<presence from='alice_subscribe_relog_1716@localhost' to='bOb_subscribe_relog_1716@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-03-04 11:25:51.452 ***
bOb_subscribe_relog_1716@localhost/newbob in
<presence from='bOb_subscribe_relog_1716@localhost/newbob' to='bob_subscribe_relog_1716@localhost/newbob' xml:lang='en'/>



*** User 2022-03-04 11:25:51.453 ***
bOb_subscribe_relog_1716@localhost/newbob in
<presence from='bob_subscribe_relog_1716@localhost/res1' to='bOb_subscribe_relog_1716@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:25:51Z' from='bob_subscribe_relog_1716@localhost/res1'/>
</presence>



*** User 2022-03-04 11:25:51.453 ***
bOb_subscribe_relog_1716@localhost/newbob out
</stream:stream>

*** User 2022-03-04 11:25:51.453 ***
bOb_subscribe_relog_1716@localhost/newbob in
</stream:stream>

*** User 2022-03-04 11:25:51.453 ***
bOb_subscribe_relog_1716@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1716@localhost'/>



*** User 2022-03-04 11:25:51.453 ***
bOb_subscribe_relog_1716@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.458 ***
bOb_subscribe_relog_1716@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:51.459 ***
alicE_subscribe_relog_1716@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.459 ***
alicE_subscribe_relog_1716@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:51.461 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:25:51.462 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5543.html



=== Ended at 2022-03-04 11:25:51
=== successfully completed test case
=== === Returned value: ok