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

=== Config value:

    [{watchdog,<0.1410.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.subscribe_relog.67204.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:07:27


*** CT 2022-03-07 16:07:27.627 *** View log from node mongooseim@localhost when started mongooseim@localhost_4563.html
*** CT 2022-03-07 16:07:27.628 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:07:27.689 ***
alicE_subscribe_relog_1914@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-07 16:07:27.690 ***
alicE_subscribe_relog_1914@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2918665eddfc7347' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.690 ***
alicE_subscribe_relog_1914@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-07 16:07:27.690 ***
alicE_subscribe_relog_1914@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xOTE0AG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 16:07:27.700 ***
alicE_subscribe_relog_1914@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:27.700 ***
alicE_subscribe_relog_1914@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-07 16:07:27.700 ***
alicE_subscribe_relog_1914@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bb97e0b0ce76d78' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.700 ***
alicE_subscribe_relog_1914@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-07 16:07:27.700 ***
alicE_subscribe_relog_1914@localhost/res1 out
<iq type='set' id='05c5ac9f07064b36a1281f706da4849c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.700 ***
alicE_subscribe_relog_1914@localhost/res1 in
<iq id='05c5ac9f07064b36a1281f706da4849c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_1914@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.701 ***
alicE_subscribe_relog_1914@localhost/res1 out
<iq type='set' id='4b1d2a4316292468f0eb0b7385c8c799'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.701 ***
alicE_subscribe_relog_1914@localhost/res1 in
<iq type='result' id='4b1d2a4316292468f0eb0b7385c8c799'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.701 ***
alicE_subscribe_relog_1914@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:27.704 ***
alicE_subscribe_relog_1914@localhost/res1 in
<presence from='alicE_subscribe_relog_1914@localhost/res1' to='alice_subscribe_relog_1914@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:27.704 ***
bOb_subscribe_relog_1914@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-07 16:07:27.705 ***
bOb_subscribe_relog_1914@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a81d24d4cd607062' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.705 ***
bOb_subscribe_relog_1914@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-07 16:07:27.705 ***
bOb_subscribe_relog_1914@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkxNABtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:07:27.706 ***
bOb_subscribe_relog_1914@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:27.706 ***
bOb_subscribe_relog_1914@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-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43fd47ecc8f807be' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.707 ***
bOb_subscribe_relog_1914@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-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 out
<iq type='set' id='345cea6729dcd3f2bfb4d82a7d312a81'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 in
<iq id='345cea6729dcd3f2bfb4d82a7d312a81' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1914@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 out
<iq type='set' id='74c02bd65b993e26c9376353c35429cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 in
<iq type='result' id='74c02bd65b993e26c9376353c35429cc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.707 ***
bOb_subscribe_relog_1914@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:27.710 ***
bOb_subscribe_relog_1914@localhost/res1 in
<presence from='bOb_subscribe_relog_1914@localhost/res1' to='bob_subscribe_relog_1914@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:27.710 ***
alicE_subscribe_relog_1914@localhost/res1 out
<iq type='set' id='97acf11d20d419e79b153050c466cbf5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_1914@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:27.789 ***
alicE_subscribe_relog_1914@localhost/res1 in
<iq from='alicE_subscribe_relog_1914@localhost' to='alicE_subscribe_relog_1914@localhost/res1' id='pushef7a4e9625035b2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1914@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:27.789 ***
alicE_subscribe_relog_1914@localhost/res1 in
<iq from='alicE_subscribe_relog_1914@localhost' to='alicE_subscribe_relog_1914@localhost/res1' id='97acf11d20d419e79b153050c466cbf5' type='result'/>



*** User 2022-03-07 16:07:27.789 ***
alicE_subscribe_relog_1914@localhost/res1 out
<iq to='alicE_subscribe_relog_1914@localhost' id='pushef7a4e9625035b2d' type='result'/>



*** User 2022-03-07 16:07:27.789 ***
alicE_subscribe_relog_1914@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1914@localhost'/>



*** User 2022-03-07 16:07:27.802 ***
alicE_subscribe_relog_1914@localhost/res1 in
<iq from='alicE_subscribe_relog_1914@localhost' to='alicE_subscribe_relog_1914@localhost/res1' id='push964019255a72c805' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1914@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:27.802 ***
alicE_subscribe_relog_1914@localhost/res1 out
<iq to='alicE_subscribe_relog_1914@localhost' id='push964019255a72c805' type='result'/>



*** User 2022-03-07 16:07:27.802 ***
bOb_subscribe_relog_1914@localhost/res1 in
<presence from='alicE_subscribe_relog_1914@localhost' to='bOb_subscribe_relog_1914@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-07 16:07:27.803 ***
bOb_subscribe_relog_1914@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-07 16:07:27.803 ***
bOb_subscribe_relog_1914@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='822fd381cd9ad8f3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.803 ***
bOb_subscribe_relog_1914@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-07 16:07:27.803 ***
bOb_subscribe_relog_1914@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTkxNABtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:07:27.804 ***
bOb_subscribe_relog_1914@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:27.804 ***
bOb_subscribe_relog_1914@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-07 16:07:27.804 ***
bOb_subscribe_relog_1914@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf0ba87f0cf7101f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:27.804 ***
bOb_subscribe_relog_1914@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-07 16:07:27.804 ***
bOb_subscribe_relog_1914@localhost/newbob out
<iq type='set' id='53d3a8ef10fec2e97dc7feb3a45bb032'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.804 ***
bOb_subscribe_relog_1914@localhost/newbob in
<iq id='53d3a8ef10fec2e97dc7feb3a45bb032' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1914@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:27.805 ***
bOb_subscribe_relog_1914@localhost/newbob out
<iq type='set' id='5dea318e116e86f799aab4ba9f3562ad'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.805 ***
bOb_subscribe_relog_1914@localhost/newbob in
<iq type='result' id='5dea318e116e86f799aab4ba9f3562ad'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:27.805 ***
bOb_subscribe_relog_1914@localhost/newbob out
<presence/>



*** User 2022-03-07 16:07:27.811 ***
bOb_subscribe_relog_1914@localhost/res1 in
<presence from='bOb_subscribe_relog_1914@localhost/newbob' to='bob_subscribe_relog_1914@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:27.811 ***
bOb_subscribe_relog_1914@localhost/newbob in
<presence from='alice_subscribe_relog_1914@localhost' to='bOb_subscribe_relog_1914@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/newbob in
<presence from='bob_subscribe_relog_1914@localhost/res1' to='bOb_subscribe_relog_1914@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:07:27Z' from='bob_subscribe_relog_1914@localhost/res1'/>
</presence>



*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/newbob in
<presence from='bOb_subscribe_relog_1914@localhost/newbob' to='bob_subscribe_relog_1914@localhost/newbob' xml:lang='en'/>



*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/newbob out
</stream:stream>

*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/newbob in
</stream:stream>

*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1914@localhost'/>



*** User 2022-03-07 16:07:27.812 ***
bOb_subscribe_relog_1914@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:27.821 ***
bOb_subscribe_relog_1914@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:07:27.821 ***
alicE_subscribe_relog_1914@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:27.821 ***
alicE_subscribe_relog_1914@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:07:27.823 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:07:27.824 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4563.html



=== Ended at 2022-03-07 16:07:27
=== successfully completed test case
=== === Returned value: ok