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

=== Config value:

    [{watchdog,<0.5638.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/presence_suite.subscribe_relog.21252.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:30


*** CT 2022-03-03 10:36:30.066 *** View log from node mongooseim@localhost when started mongooseim@localhost_4522.html
*** CT 2022-03-03 10:36:30.067 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

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

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



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



*** User 2022-03-03 10:36:30.078 ***
alicE_subscribe_relog_1001@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:36:30.079 ***
alicE_subscribe_relog_1001@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2516431e4b9ae798' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-03 10:36:30.079 ***
alicE_subscribe_relog_1001@localhost/res1 in
<iq id='ca830e1ecdaaf792bc94846ddbe17e28' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_relog_1001@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:30.079 ***
alicE_subscribe_relog_1001@localhost/res1 out
<iq type='set' id='005a4ea95e5f3a97f96a191b11e26871'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.079 ***
alicE_subscribe_relog_1001@localhost/res1 in
<iq type='result' id='005a4ea95e5f3a97f96a191b11e26871'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.080 ***
alicE_subscribe_relog_1001@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:30.080 ***
alicE_subscribe_relog_1001@localhost/res1 in
<presence from='alicE_subscribe_relog_1001@localhost/res1' to='alice_subscribe_relog_1001@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:30.080 ***
bOb_subscribe_relog_1001@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:36:30.081 ***
bOb_subscribe_relog_1001@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49cc52ef412b385c' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-03-03 10:36:30.083 ***
bOb_subscribe_relog_1001@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:36:30.083 ***
bOb_subscribe_relog_1001@localhost/res1 out
<iq type='set' id='33231acc167db13ef284e62f62097bfa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:30.083 ***
bOb_subscribe_relog_1001@localhost/res1 in
<iq id='33231acc167db13ef284e62f62097bfa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1001@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:30.083 ***
bOb_subscribe_relog_1001@localhost/res1 out
<iq type='set' id='3587fd93c8d36247320439b59263ee9f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.084 ***
bOb_subscribe_relog_1001@localhost/res1 in
<iq type='result' id='3587fd93c8d36247320439b59263ee9f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.084 ***
bOb_subscribe_relog_1001@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:30.084 ***
bOb_subscribe_relog_1001@localhost/res1 in
<presence from='bOb_subscribe_relog_1001@localhost/res1' to='bob_subscribe_relog_1001@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:30.084 ***
alicE_subscribe_relog_1001@localhost/res1 out
<iq type='set' id='0e42a1757390ba0e3538a7f695a03b39'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_relog_1001@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:30.085 ***
alicE_subscribe_relog_1001@localhost/res1 in
<iq from='alicE_subscribe_relog_1001@localhost' to='alicE_subscribe_relog_1001@localhost/res1' id='push34e0981a5fd68024' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1001@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:30.085 ***
alicE_subscribe_relog_1001@localhost/res1 in
<iq from='alicE_subscribe_relog_1001@localhost' to='alicE_subscribe_relog_1001@localhost/res1' id='0e42a1757390ba0e3538a7f695a03b39' type='result'/>



*** User 2022-03-03 10:36:30.085 ***
alicE_subscribe_relog_1001@localhost/res1 out
<iq to='alicE_subscribe_relog_1001@localhost' id='push34e0981a5fd68024' type='result'/>



*** User 2022-03-03 10:36:30.085 ***
alicE_subscribe_relog_1001@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_relog_1001@localhost'/>



*** User 2022-03-03 10:36:30.087 ***
alicE_subscribe_relog_1001@localhost/res1 in
<iq from='alicE_subscribe_relog_1001@localhost' to='alicE_subscribe_relog_1001@localhost/res1' id='push6bcd0c462caf0713' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1001@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:30.087 ***
alicE_subscribe_relog_1001@localhost/res1 out
<iq to='alicE_subscribe_relog_1001@localhost' id='push6bcd0c462caf0713' type='result'/>



*** User 2022-03-03 10:36:30.087 ***
bOb_subscribe_relog_1001@localhost/res1 in
<presence from='alicE_subscribe_relog_1001@localhost' to='bOb_subscribe_relog_1001@localhost/res1' xml:lang='en' type='subscribe'/>



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

*** User 2022-03-03 10:36:30.089 ***
bOb_subscribe_relog_1001@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:36:30.089 ***
bOb_subscribe_relog_1001@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTAwMQBtYWtyb2xpa2E=</auth>



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



*** User 2022-03-03 10:36:30.090 ***
bOb_subscribe_relog_1001@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:36:30.090 ***
bOb_subscribe_relog_1001@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c8562f1e69ee7fb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:30.091 ***
bOb_subscribe_relog_1001@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:36:30.091 ***
bOb_subscribe_relog_1001@localhost/newbob out
<iq type='set' id='426af61d7326a181eaabf5b8d40550eb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:30.091 ***
bOb_subscribe_relog_1001@localhost/newbob in
<iq id='426af61d7326a181eaabf5b8d40550eb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_relog_1001@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:30.092 ***
bOb_subscribe_relog_1001@localhost/newbob out
<iq type='set' id='300cabb32b463e2df321e48e4e3c5a0c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.092 ***
bOb_subscribe_relog_1001@localhost/newbob in
<iq type='result' id='300cabb32b463e2df321e48e4e3c5a0c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:30.092 ***
bOb_subscribe_relog_1001@localhost/newbob out
<presence/>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/res1 in
<presence from='bOb_subscribe_relog_1001@localhost/newbob' to='bob_subscribe_relog_1001@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/newbob in
<presence from='alice_subscribe_relog_1001@localhost' to='bOb_subscribe_relog_1001@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/newbob in
<presence from='bOb_subscribe_relog_1001@localhost/newbob' to='bob_subscribe_relog_1001@localhost/newbob' xml:lang='en'/>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/newbob in
<presence from='bob_subscribe_relog_1001@localhost/res1' to='bOb_subscribe_relog_1001@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:36:30Z' from='bob_subscribe_relog_1001@localhost/res1'/>
</presence>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/newbob out
</stream:stream>

*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/newbob in
</stream:stream>

*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/res1 out
<presence type='unsubscribed' to='alicE_subscribe_relog_1001@localhost'/>



*** User 2022-03-03 10:36:30.093 ***
bOb_subscribe_relog_1001@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:30.094 ***
bOb_subscribe_relog_1001@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:30.095 ***
alicE_subscribe_relog_1001@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:30.095 ***
alicE_subscribe_relog_1001@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:30.097 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:30.098 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4522.html



=== Ended at 2022-03-03 10:36:30
=== successfully completed test case
=== === Returned value: ok