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

=== Config value:

    [{watchdog,<0.6256.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/presence_suite.subscribe_relog.51586.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:58:23


*** CT 2022-03-18 10:58:23.789 *** View log from node mongooseim@localhost when started mongooseim@localhost_4264.html
*** CT 2022-03-18 10:58:23.789 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2002.html

*** User 2022-03-18 10:58:23.804 ***
alicE_subscribe_relog_1192@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-18 10:58:23.805 ***
alicE_subscribe_relog_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfc35dbdf261691f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.805 ***
alicE_subscribe_relog_1192@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-18 10:58:23.805 ***
alicE_subscribe_relog_1192@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMTkyAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:58:23.806 ***
alicE_subscribe_relog_1192@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:23.806 ***
alicE_subscribe_relog_1192@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-18 10:58:23.807 ***
alicE_subscribe_relog_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c18373e641f94521' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.807 ***
alicE_subscribe_relog_1192@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-18 10:58:23.807 ***
alicE_subscribe_relog_1192@localhost/res1 out
<iq type='set' id='b06efcc2a925b097b8218297ee6789a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.807 ***
alicE_subscribe_relog_1192@localhost/res1 in
<iq id='b06efcc2a925b097b8218297ee6789a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_1192@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.807 ***
alicE_subscribe_relog_1192@localhost/res1 out
<iq type='set' id='ad37a72589eed641912fb420b9f83feb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.808 ***
alicE_subscribe_relog_1192@localhost/res1 in
<iq type='result' id='ad37a72589eed641912fb420b9f83feb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.808 ***
alicE_subscribe_relog_1192@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:23.809 ***
alicE_subscribe_relog_1192@localhost/res1 in
<presence from='alicE_subscribe_relog_1192@localhost/res1' to='alice_subscribe_relog_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:23.809 ***
bOb_subscribe_relog_1192@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-18 10:58:23.810 ***
bOb_subscribe_relog_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e5bf6c28fd58bcb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.810 ***
bOb_subscribe_relog_1192@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-18 10:58:23.810 ***
bOb_subscribe_relog_1192@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTE5MgBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:58:23.811 ***
bOb_subscribe_relog_1192@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:23.812 ***
bOb_subscribe_relog_1192@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-18 10:58:23.815 ***
bOb_subscribe_relog_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbf8170abae79c17' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.815 ***
bOb_subscribe_relog_1192@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-18 10:58:23.815 ***
bOb_subscribe_relog_1192@localhost/res1 out
<iq type='set' id='dbf109165061eee866416685a8304034'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.817 ***
bOb_subscribe_relog_1192@localhost/res1 in
<iq id='dbf109165061eee866416685a8304034' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1192@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.817 ***
bOb_subscribe_relog_1192@localhost/res1 out
<iq type='set' id='5526db70d0d2bf515baaadfbb9ac98a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.818 ***
bOb_subscribe_relog_1192@localhost/res1 in
<iq type='result' id='5526db70d0d2bf515baaadfbb9ac98a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.818 ***
bOb_subscribe_relog_1192@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:23.819 ***
bOb_subscribe_relog_1192@localhost/res1 in
<presence from='bOb_subscribe_relog_1192@localhost/res1' to='bob_subscribe_relog_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:23.819 ***
alicE_subscribe_relog_1192@localhost/res1 out
<iq type='set' id='de959b8544bf45b36bb463368b01902f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_1192@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.821 ***
alicE_subscribe_relog_1192@localhost/res1 in
<iq from='alicE_subscribe_relog_1192@localhost' to='alicE_subscribe_relog_1192@localhost/res1' id='push87e5157919431259' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1192@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.821 ***
alicE_subscribe_relog_1192@localhost/res1 in
<iq from='alicE_subscribe_relog_1192@localhost' to='alicE_subscribe_relog_1192@localhost/res1' id='de959b8544bf45b36bb463368b01902f' type='result'/>



*** User 2022-03-18 10:58:23.821 ***
alicE_subscribe_relog_1192@localhost/res1 out
<iq to='alicE_subscribe_relog_1192@localhost' id='push87e5157919431259' type='result'/>



*** User 2022-03-18 10:58:23.821 ***
alicE_subscribe_relog_1192@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1192@localhost'/>



*** User 2022-03-18 10:58:23.824 ***
alicE_subscribe_relog_1192@localhost/res1 in
<iq from='alicE_subscribe_relog_1192@localhost' to='alicE_subscribe_relog_1192@localhost/res1' id='push9eba6b6a838c0717' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1192@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:23.824 ***
alicE_subscribe_relog_1192@localhost/res1 out
<iq to='alicE_subscribe_relog_1192@localhost' id='push9eba6b6a838c0717' type='result'/>



*** User 2022-03-18 10:58:23.824 ***
bOb_subscribe_relog_1192@localhost/res1 in
<presence from='alicE_subscribe_relog_1192@localhost' to='bOb_subscribe_relog_1192@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 10:58:23.824 ***
bOb_subscribe_relog_1192@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-18 10:58:23.825 ***
bOb_subscribe_relog_1192@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de9a938cf46ed5cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.825 ***
bOb_subscribe_relog_1192@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-18 10:58:23.825 ***
bOb_subscribe_relog_1192@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTE5MgBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:58:23.826 ***
bOb_subscribe_relog_1192@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:23.826 ***
bOb_subscribe_relog_1192@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-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ac9df5dbd438126' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:23.827 ***
bOb_subscribe_relog_1192@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-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob out
<iq type='set' id='390c566ae966fd04a3f3152cc81a826b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob in
<iq id='390c566ae966fd04a3f3152cc81a826b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1192@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob out
<iq type='set' id='3768dba6c56ba88a7ff809604cd4429d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob in
<iq type='result' id='3768dba6c56ba88a7ff809604cd4429d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:23.827 ***
bOb_subscribe_relog_1192@localhost/newbob out
<presence/>



*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/res1 in
<presence from='bOb_subscribe_relog_1192@localhost/newbob' to='bob_subscribe_relog_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/newbob in
<presence from='alice_subscribe_relog_1192@localhost' to='bOb_subscribe_relog_1192@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/newbob in
<presence from='bOb_subscribe_relog_1192@localhost/newbob' to='bob_subscribe_relog_1192@localhost/newbob' xml:lang='en'/>



*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/newbob in
<presence from='bob_subscribe_relog_1192@localhost/res1' to='bOb_subscribe_relog_1192@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:58:23Z' from='bob_subscribe_relog_1192@localhost/res1'/>
</presence>



*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/newbob out
</stream:stream>

*** User 2022-03-18 10:58:23.828 ***
bOb_subscribe_relog_1192@localhost/newbob in
</stream:stream>

*** User 2022-03-18 10:58:23.829 ***
bOb_subscribe_relog_1192@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1192@localhost'/>



*** User 2022-03-18 10:58:23.829 ***
bOb_subscribe_relog_1192@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.830 ***
bOb_subscribe_relog_1192@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:58:23.830 ***
alicE_subscribe_relog_1192@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.831 ***
alicE_subscribe_relog_1192@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:23.833 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2002.html
*** CT 2022-03-18 10:58:23.833 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4264.html



=== Ended at 2022-03-18 10:58:23
=== successfully completed test case
=== === Returned value: ok