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

=== Config value:

    [{watchdog,<0.4160.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/presence_suite.subscribe_relog.52354.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:32:05


*** CT 2022-01-27 15:32:05.764 *** View log from node mongooseim@localhost when started mongooseim@localhost_4512.html
*** CT 2022-01-27 15:32:05.765 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:32:05.808 ***
alicE_subscribe_relog_846@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-27 15:32:05.808 ***
alicE_subscribe_relog_846@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9867d31f49fb1d5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.809 ***
alicE_subscribe_relog_846@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>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 15:32:05.809 ***
alicE_subscribe_relog_846@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ184NDYAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:32:05.819 ***
alicE_subscribe_relog_846@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:05.819 ***
alicE_subscribe_relog_846@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-27 15:32:05.819 ***
alicE_subscribe_relog_846@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d61659c9104dde33' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.819 ***
alicE_subscribe_relog_846@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-27 15:32:05.819 ***
alicE_subscribe_relog_846@localhost/res1 out
<iq type='set' id='22153855392d8f162342c3fe5771b24e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.819 ***
alicE_subscribe_relog_846@localhost/res1 in
<iq id='22153855392d8f162342c3fe5771b24e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_846@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.820 ***
alicE_subscribe_relog_846@localhost/res1 out
<iq type='set' id='316b415764c178e9c02f88aa3be16f12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.820 ***
alicE_subscribe_relog_846@localhost/res1 in
<iq type='result' id='316b415764c178e9c02f88aa3be16f12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.820 ***
alicE_subscribe_relog_846@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:05.821 ***
alicE_subscribe_relog_846@localhost/res1 in
<presence from='alicE_subscribe_relog_846@localhost/res1' to='alice_subscribe_relog_846@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.821 ***
bOb_subscribe_relog_846@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-27 15:32:05.821 ***
bOb_subscribe_relog_846@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69e56459c0e57d8f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.822 ***
bOb_subscribe_relog_846@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>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 15:32:05.822 ***
bOb_subscribe_relog_846@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfODQ2AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:32:05.823 ***
bOb_subscribe_relog_846@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:05.823 ***
bOb_subscribe_relog_846@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-27 15:32:05.823 ***
bOb_subscribe_relog_846@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d41dad8803048a3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.823 ***
bOb_subscribe_relog_846@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-27 15:32:05.823 ***
bOb_subscribe_relog_846@localhost/res1 out
<iq type='set' id='3e774cdca3454ca00e138a5778c224fa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.823 ***
bOb_subscribe_relog_846@localhost/res1 in
<iq id='3e774cdca3454ca00e138a5778c224fa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_846@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.824 ***
bOb_subscribe_relog_846@localhost/res1 out
<iq type='set' id='fef8b102ff075531f4f22f61a5262d66'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.824 ***
bOb_subscribe_relog_846@localhost/res1 in
<iq type='result' id='fef8b102ff075531f4f22f61a5262d66'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.824 ***
bOb_subscribe_relog_846@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:05.825 ***
bOb_subscribe_relog_846@localhost/res1 in
<presence from='bOb_subscribe_relog_846@localhost/res1' to='bob_subscribe_relog_846@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.825 ***
alicE_subscribe_relog_846@localhost/res1 out
<iq type='set' id='8d9e23d1da2f49fa89146b533f7e0bb6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_846@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_subscribe_relog_846@localhost/res1 in
<iq from='alicE_subscribe_relog_846@localhost' to='alicE_subscribe_relog_846@localhost/res1' id='push2b5df693e2cdafca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_846@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_subscribe_relog_846@localhost/res1 in
<iq from='alicE_subscribe_relog_846@localhost' to='alicE_subscribe_relog_846@localhost/res1' id='8d9e23d1da2f49fa89146b533f7e0bb6' type='result'/>



*** User 2022-01-27 15:32:05.826 ***
alicE_subscribe_relog_846@localhost/res1 out
<iq to='alicE_subscribe_relog_846@localhost' id='push2b5df693e2cdafca' type='result'/>



*** User 2022-01-27 15:32:05.826 ***
alicE_subscribe_relog_846@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_846@localhost'/>



*** User 2022-01-27 15:32:05.828 ***
alicE_subscribe_relog_846@localhost/res1 in
<iq from='alicE_subscribe_relog_846@localhost' to='alicE_subscribe_relog_846@localhost/res1' id='pushaac837dbece1504e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_846@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.828 ***
alicE_subscribe_relog_846@localhost/res1 out
<iq to='alicE_subscribe_relog_846@localhost' id='pushaac837dbece1504e' type='result'/>



*** User 2022-01-27 15:32:05.828 ***
bOb_subscribe_relog_846@localhost/res1 in
<presence from='alicE_subscribe_relog_846@localhost' to='bOb_subscribe_relog_846@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:32:05.828 ***
bOb_subscribe_relog_846@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-27 15:32:05.829 ***
bOb_subscribe_relog_846@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09bc15621e83e2ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.829 ***
bOb_subscribe_relog_846@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>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 15:32:05.829 ***
bOb_subscribe_relog_846@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfODQ2AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:32:05.830 ***
bOb_subscribe_relog_846@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:05.830 ***
bOb_subscribe_relog_846@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-27 15:32:05.830 ***
bOb_subscribe_relog_846@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c150a1293d08c81c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:05.831 ***
bOb_subscribe_relog_846@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-27 15:32:05.831 ***
bOb_subscribe_relog_846@localhost/newbob out
<iq type='set' id='2e4d7da3e24c8f8a0d91c1b592df106f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.831 ***
bOb_subscribe_relog_846@localhost/newbob in
<iq id='2e4d7da3e24c8f8a0d91c1b592df106f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_846@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.831 ***
bOb_subscribe_relog_846@localhost/newbob out
<iq type='set' id='e905b8cf7fc7d2beb2a13504e9b83dba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.831 ***
bOb_subscribe_relog_846@localhost/newbob in
<iq type='result' id='e905b8cf7fc7d2beb2a13504e9b83dba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.831 ***
bOb_subscribe_relog_846@localhost/newbob out
<presence/>



*** User 2022-01-27 15:32:05.832 ***
bOb_subscribe_relog_846@localhost/res1 in
<presence from='bOb_subscribe_relog_846@localhost/newbob' to='bob_subscribe_relog_846@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.832 ***
bOb_subscribe_relog_846@localhost/newbob in
<presence from='alice_subscribe_relog_846@localhost' to='bOb_subscribe_relog_846@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-01-27 15:32:05.832 ***
bOb_subscribe_relog_846@localhost/newbob in
<presence from='bOb_subscribe_relog_846@localhost/newbob' to='bob_subscribe_relog_846@localhost/newbob' xml:lang='en'/>



*** User 2022-01-27 15:32:05.832 ***
bOb_subscribe_relog_846@localhost/newbob in
<presence from='bob_subscribe_relog_846@localhost/res1' to='bOb_subscribe_relog_846@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:05Z' from='bob_subscribe_relog_846@localhost/res1'/>
</presence>



*** User 2022-01-27 15:32:05.833 ***
bOb_subscribe_relog_846@localhost/newbob out
</stream:stream>

*** User 2022-01-27 15:32:05.833 ***
bOb_subscribe_relog_846@localhost/newbob in
</stream:stream>

*** User 2022-01-27 15:32:05.833 ***
bOb_subscribe_relog_846@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_846@localhost'/>



*** User 2022-01-27 15:32:05.833 ***
bOb_subscribe_relog_846@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.835 ***
bOb_subscribe_relog_846@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:05.835 ***
alicE_subscribe_relog_846@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.835 ***
alicE_subscribe_relog_846@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:05.838 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:32:05.839 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4512.html



=== Ended at 2022-01-27 15:32:05
=== successfully completed test case
=== === Returned value: ok