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

=== Config value:

    [{watchdog,<0.5534.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/presence_suite.subscribe_relog.57858.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/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@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:37:31


*** CT 2022-03-03 10:37:31.568 *** View log from node mongooseim@localhost when started mongooseim@localhost_4524.html
*** CT 2022-03-03 10:37:31.569 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-03-03 10:37:31.583 ***
alicE_subscribe_relog_877@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-03 10:37:31.583 ***
alicE_subscribe_relog_877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e92de776d0964a9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.583 ***
alicE_subscribe_relog_877@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-03-03 10:37:31.584 ***
alicE_subscribe_relog_877@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ184NzcAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:37:31.585 ***
alicE_subscribe_relog_877@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:31.585 ***
alicE_subscribe_relog_877@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-03 10:37:31.586 ***
alicE_subscribe_relog_877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='709a5d83077c61a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.586 ***
alicE_subscribe_relog_877@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-03 10:37:31.586 ***
alicE_subscribe_relog_877@localhost/res1 out
<iq type='set' id='cda49d6efa13bfe70ec9fd6d1c1ea293'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.586 ***
alicE_subscribe_relog_877@localhost/res1 in
<iq id='cda49d6efa13bfe70ec9fd6d1c1ea293' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_877@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.586 ***
alicE_subscribe_relog_877@localhost/res1 out
<iq type='set' id='c8b9857fe9b246787f4682e0446b28db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.587 ***
alicE_subscribe_relog_877@localhost/res1 in
<iq type='result' id='c8b9857fe9b246787f4682e0446b28db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.587 ***
alicE_subscribe_relog_877@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:31.588 ***
alicE_subscribe_relog_877@localhost/res1 in
<presence from='alicE_subscribe_relog_877@localhost/res1' to='alice_subscribe_relog_877@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:31.589 ***
bOb_subscribe_relog_877@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-03 10:37:31.589 ***
bOb_subscribe_relog_877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b748bb098b6ac31f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.589 ***
bOb_subscribe_relog_877@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-03-03 10:37:31.589 ***
bOb_subscribe_relog_877@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfODc3AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:37:31.591 ***
bOb_subscribe_relog_877@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:31.591 ***
bOb_subscribe_relog_877@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-03 10:37:31.591 ***
bOb_subscribe_relog_877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f220ed84917aba73' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.591 ***
bOb_subscribe_relog_877@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-03 10:37:31.591 ***
bOb_subscribe_relog_877@localhost/res1 out
<iq type='set' id='8067054d1028bed398a04af76a81d4e3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.592 ***
bOb_subscribe_relog_877@localhost/res1 in
<iq id='8067054d1028bed398a04af76a81d4e3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_877@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.592 ***
bOb_subscribe_relog_877@localhost/res1 out
<iq type='set' id='2719097886db54f1a3ff1d315477c57b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.592 ***
bOb_subscribe_relog_877@localhost/res1 in
<iq type='result' id='2719097886db54f1a3ff1d315477c57b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.592 ***
bOb_subscribe_relog_877@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:31.593 ***
bOb_subscribe_relog_877@localhost/res1 in
<presence from='bOb_subscribe_relog_877@localhost/res1' to='bob_subscribe_relog_877@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:31.594 ***
alicE_subscribe_relog_877@localhost/res1 out
<iq type='set' id='56a343f050a82d2391dcb66bef31154c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_877@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:31.595 ***
alicE_subscribe_relog_877@localhost/res1 in
<iq from='alicE_subscribe_relog_877@localhost' to='alicE_subscribe_relog_877@localhost/res1' id='push334180d962dc407b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_877@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:31.595 ***
alicE_subscribe_relog_877@localhost/res1 in
<iq from='alicE_subscribe_relog_877@localhost' to='alicE_subscribe_relog_877@localhost/res1' id='56a343f050a82d2391dcb66bef31154c' type='result'/>



*** User 2022-03-03 10:37:31.595 ***
alicE_subscribe_relog_877@localhost/res1 out
<iq to='alicE_subscribe_relog_877@localhost' id='push334180d962dc407b' type='result'/>



*** User 2022-03-03 10:37:31.595 ***
alicE_subscribe_relog_877@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_877@localhost'/>



*** User 2022-03-03 10:37:31.597 ***
alicE_subscribe_relog_877@localhost/res1 in
<iq from='alicE_subscribe_relog_877@localhost' to='alicE_subscribe_relog_877@localhost/res1' id='push451d54fadd03a07d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_877@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:31.597 ***
alicE_subscribe_relog_877@localhost/res1 out
<iq to='alicE_subscribe_relog_877@localhost' id='push451d54fadd03a07d' type='result'/>



*** User 2022-03-03 10:37:31.597 ***
bOb_subscribe_relog_877@localhost/res1 in
<presence from='alicE_subscribe_relog_877@localhost' to='bOb_subscribe_relog_877@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:37:31.598 ***
bOb_subscribe_relog_877@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-03 10:37:31.598 ***
bOb_subscribe_relog_877@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='824e417e17181f40' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.598 ***
bOb_subscribe_relog_877@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-03-03 10:37:31.599 ***
bOb_subscribe_relog_877@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfODc3AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:37:31.600 ***
bOb_subscribe_relog_877@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:31.601 ***
bOb_subscribe_relog_877@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-03 10:37:31.601 ***
bOb_subscribe_relog_877@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81938c633bbbeb4f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:31.601 ***
bOb_subscribe_relog_877@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-03 10:37:31.601 ***
bOb_subscribe_relog_877@localhost/newbob out
<iq type='set' id='117b3d39172b994f29e8c68b6bd217e9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.602 ***
bOb_subscribe_relog_877@localhost/newbob in
<iq id='117b3d39172b994f29e8c68b6bd217e9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_877@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:31.602 ***
bOb_subscribe_relog_877@localhost/newbob out
<iq type='set' id='52a58557f3b65b7a55e4531ab7cb9817'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.602 ***
bOb_subscribe_relog_877@localhost/newbob in
<iq type='result' id='52a58557f3b65b7a55e4531ab7cb9817'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:31.602 ***
bOb_subscribe_relog_877@localhost/newbob out
<presence/>



*** User 2022-03-03 10:37:31.603 ***
bOb_subscribe_relog_877@localhost/res1 in
<presence from='bOb_subscribe_relog_877@localhost/newbob' to='bob_subscribe_relog_877@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:31.603 ***
bOb_subscribe_relog_877@localhost/newbob in
<presence from='alice_subscribe_relog_877@localhost' to='bOb_subscribe_relog_877@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-03-03 10:37:31.603 ***
bOb_subscribe_relog_877@localhost/newbob in
<presence from='bOb_subscribe_relog_877@localhost/newbob' to='bob_subscribe_relog_877@localhost/newbob' xml:lang='en'/>



*** User 2022-03-03 10:37:31.603 ***
bOb_subscribe_relog_877@localhost/newbob in
<presence from='bob_subscribe_relog_877@localhost/res1' to='bOb_subscribe_relog_877@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:37:31Z' from='bob_subscribe_relog_877@localhost/res1'/>
</presence>



*** User 2022-03-03 10:37:31.604 ***
bOb_subscribe_relog_877@localhost/newbob out
</stream:stream>

*** User 2022-03-03 10:37:31.604 ***
bOb_subscribe_relog_877@localhost/newbob in
</stream:stream>

*** User 2022-03-03 10:37:31.604 ***
bOb_subscribe_relog_877@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_877@localhost'/>



*** User 2022-03-03 10:37:31.604 ***
bOb_subscribe_relog_877@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:31.606 ***
bOb_subscribe_relog_877@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:31.606 ***
alicE_subscribe_relog_877@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:31.606 ***
alicE_subscribe_relog_877@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:31.608 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-03-03 10:37:31.609 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:37:31
=== successfully completed test case
=== === Returned value: ok