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

=== Config value:

    [{watchdog,<0.31584.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/presence_suite.subscribe_relog.126594.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:29


*** CT 2022-01-25 16:32:29.010 *** View log from node mongooseim@localhost when started mongooseim@localhost_5461.html
*** CT 2022-01-25 16:32:29.010 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:29.058 ***
alicE_subscribe_relog_1911@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-01-25 16:32:29.058 ***
alicE_subscribe_relog_1911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='adb6effef3cea168' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.058 ***
alicE_subscribe_relog_1911@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-01-25 16:32:29.058 ***
alicE_subscribe_relog_1911@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xOTExAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:32:29.065 ***
alicE_subscribe_relog_1911@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:29.065 ***
alicE_subscribe_relog_1911@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-01-25 16:32:29.066 ***
alicE_subscribe_relog_1911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98ef22b1fe9db1cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.066 ***
alicE_subscribe_relog_1911@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-01-25 16:32:29.066 ***
alicE_subscribe_relog_1911@localhost/res1 out
<iq type='set' id='c801ed354e1fede2e670eb6d59067bc2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.066 ***
alicE_subscribe_relog_1911@localhost/res1 in
<iq id='c801ed354e1fede2e670eb6d59067bc2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_1911@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.066 ***
alicE_subscribe_relog_1911@localhost/res1 out
<iq type='set' id='4cefe790851b480941d643a7220982fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.067 ***
alicE_subscribe_relog_1911@localhost/res1 in
<iq type='result' id='4cefe790851b480941d643a7220982fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.067 ***
alicE_subscribe_relog_1911@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:29.068 ***
alicE_subscribe_relog_1911@localhost/res1 in
<presence from='alicE_subscribe_relog_1911@localhost/res1' to='alice_subscribe_relog_1911@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.069 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.070 ***
bOb_subscribe_relog_1911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fceecbf70bc67f51' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.070 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.070 ***
bOb_subscribe_relog_1911@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkxMQBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:29.071 ***
bOb_subscribe_relog_1911@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:29.071 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.072 ***
bOb_subscribe_relog_1911@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='630ac921fa5b0ee1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.072 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.072 ***
bOb_subscribe_relog_1911@localhost/res1 out
<iq type='set' id='87c02680fa1cbe6b8f7f56b4614f0398'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.072 ***
bOb_subscribe_relog_1911@localhost/res1 in
<iq id='87c02680fa1cbe6b8f7f56b4614f0398' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1911@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.073 ***
bOb_subscribe_relog_1911@localhost/res1 out
<iq type='set' id='856d2fb4cfcc98ec774028b2a1cf8591'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.073 ***
bOb_subscribe_relog_1911@localhost/res1 in
<iq type='result' id='856d2fb4cfcc98ec774028b2a1cf8591'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.073 ***
bOb_subscribe_relog_1911@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:29.075 ***
bOb_subscribe_relog_1911@localhost/res1 in
<presence from='bOb_subscribe_relog_1911@localhost/res1' to='bob_subscribe_relog_1911@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.075 ***
alicE_subscribe_relog_1911@localhost/res1 out
<iq type='set' id='bdd64a369bba081596b12e3828afd859'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_1911@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.120 ***
alicE_subscribe_relog_1911@localhost/res1 in
<iq from='alicE_subscribe_relog_1911@localhost' to='alicE_subscribe_relog_1911@localhost/res1' id='push92c86c4229d50e23' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.120 ***
alicE_subscribe_relog_1911@localhost/res1 in
<iq from='alicE_subscribe_relog_1911@localhost' to='alicE_subscribe_relog_1911@localhost/res1' id='bdd64a369bba081596b12e3828afd859' type='result'/>



*** User 2022-01-25 16:32:29.120 ***
alicE_subscribe_relog_1911@localhost/res1 out
<iq to='alicE_subscribe_relog_1911@localhost' id='push92c86c4229d50e23' type='result'/>



*** User 2022-01-25 16:32:29.121 ***
alicE_subscribe_relog_1911@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1911@localhost'/>



*** User 2022-01-25 16:32:29.164 ***
alicE_subscribe_relog_1911@localhost/res1 in
<iq from='alicE_subscribe_relog_1911@localhost' to='alicE_subscribe_relog_1911@localhost/res1' id='push57dfd8b8c51548a3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1911@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.164 ***
alicE_subscribe_relog_1911@localhost/res1 out
<iq to='alicE_subscribe_relog_1911@localhost' id='push57dfd8b8c51548a3' type='result'/>



*** User 2022-01-25 16:32:29.164 ***
bOb_subscribe_relog_1911@localhost/res1 in
<presence from='alicE_subscribe_relog_1911@localhost' to='bOb_subscribe_relog_1911@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-25 16:32:29.165 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.165 ***
bOb_subscribe_relog_1911@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='247e15e8e5e23058' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.165 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.165 ***
bOb_subscribe_relog_1911@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkxMQBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1194a57951633c10' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@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-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob out
<iq type='set' id='ed4cab50f30560996ec708236dfe3099'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob in
<iq id='ed4cab50f30560996ec708236dfe3099' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1911@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob out
<iq type='set' id='a93b6e7475e0280cc6aaf7021f08b406'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.182 ***
bOb_subscribe_relog_1911@localhost/newbob in
<iq type='result' id='a93b6e7475e0280cc6aaf7021f08b406'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.183 ***
bOb_subscribe_relog_1911@localhost/newbob out
<presence/>



*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/res1 in
<presence from='bOb_subscribe_relog_1911@localhost/newbob' to='bob_subscribe_relog_1911@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/newbob in
<presence from='alice_subscribe_relog_1911@localhost' to='bOb_subscribe_relog_1911@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/newbob in
<presence from='bOb_subscribe_relog_1911@localhost/newbob' to='bob_subscribe_relog_1911@localhost/newbob' xml:lang='en'/>



*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/newbob in
<presence from='bob_subscribe_relog_1911@localhost/res1' to='bOb_subscribe_relog_1911@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:32:29Z' from='bob_subscribe_relog_1911@localhost/res1'/>
</presence>



*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/newbob out
</stream:stream>

*** User 2022-01-25 16:32:29.209 ***
bOb_subscribe_relog_1911@localhost/newbob in
</stream:stream>

*** User 2022-01-25 16:32:29.210 ***
bOb_subscribe_relog_1911@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1911@localhost'/>



*** User 2022-01-25 16:32:29.210 ***
bOb_subscribe_relog_1911@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:29.222 ***
bOb_subscribe_relog_1911@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:29.222 ***
alicE_subscribe_relog_1911@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:29.223 ***
alicE_subscribe_relog_1911@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:29.225 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:29.226 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5461.html



=== Ended at 2022-01-25 16:32:29
=== successfully completed test case
=== === Returned value: ok