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

=== Config value:

    [{watchdog,<0.16577.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/presence_suite.subscribe_relog.62211.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:27:20


*** CT 2022-06-22 09:27:20.684 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4510.html
*** CT 2022-06-22 09:27:20.685 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:27:20.693 ***🔗
alicE_subscribe_relog_1373@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-06-22 09:27:20.694 ***🔗
alicE_subscribe_relog_1373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7791213d03b5d496' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.694 ***🔗
alicE_subscribe_relog_1373@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-06-22 09:27:20.694 ***🔗
alicE_subscribe_relog_1373@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMzczAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:27:20.694 ***🔗
alicE_subscribe_relog_1373@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_subscribe_relog_1373@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-06-22 09:27:20.695 ***🔗
alicE_subscribe_relog_1373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8910fbe58054b62' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.695 ***🔗
alicE_subscribe_relog_1373@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-06-22 09:27:20.695 ***🔗
alicE_subscribe_relog_1373@localhost/res1 out
<iq type='set' id='f19ec3473d7d35e3442b8fe5683341b4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_subscribe_relog_1373@localhost/res1 in
<iq id='f19ec3473d7d35e3442b8fe5683341b4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1373@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.695 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<iq type='set' id='7d0f00150d7280f71833362e0cccb99a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
<iq type='result' id='7d0f00150d7280f71833362e0cccb99a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.700 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
<presence from='alice_subscribe_relog_1373@localhost/res1' to='alice_subscribe_relog_1373@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.700 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.701 ***🔗
bOb_subscribe_relog_1373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6445fb69e12efa64' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.701 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.701 ***🔗
bOb_subscribe_relog_1373@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM3MwBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_subscribe_relog_1373@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.702 ***🔗
bOb_subscribe_relog_1373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3732c3f01d9a724' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.703 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.703 ***🔗
bOb_subscribe_relog_1373@localhost/res1 out
<iq type='set' id='7488b57aa29e38638ef76d296b87872d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.703 ***🔗
bOb_subscribe_relog_1373@localhost/res1 in
<iq id='7488b57aa29e38638ef76d296b87872d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1373@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.703 ***🔗
bob_subscribe_relog_1373@localhost/res1 out
<iq type='set' id='eba0d413cc9037e65312280b659c53c5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.703 ***🔗
bob_subscribe_relog_1373@localhost/res1 in
<iq type='result' id='eba0d413cc9037e65312280b659c53c5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_subscribe_relog_1373@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_subscribe_relog_1373@localhost/res1 in
<presence from='bob_subscribe_relog_1373@localhost/res1' to='bob_subscribe_relog_1373@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.704 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<iq type='set' id='ea6cc8451a99f608d481787ca7668ead'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1373@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.705 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
<iq from='alice_subscribe_relog_1373@localhost' to='alice_subscribe_relog_1373@localhost/res1' id='push39147e5ad638732e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1373@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.705 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
<iq from='alice_subscribe_relog_1373@localhost' to='alice_subscribe_relog_1373@localhost/res1' id='ea6cc8451a99f608d481787ca7668ead' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<iq to='alice_subscribe_relog_1373@localhost' id='push39147e5ad638732e' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1373@localhost'/>



*** User 2022-06-22 09:27:20.707 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
<iq from='alice_subscribe_relog_1373@localhost' to='alice_subscribe_relog_1373@localhost/res1' id='push539f6ff00c849cbb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1373@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.707 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
<iq to='alice_subscribe_relog_1373@localhost' id='push539f6ff00c849cbb' type='result'/>



*** User 2022-06-22 09:27:20.707 ***🔗
bob_subscribe_relog_1373@localhost/res1 in
<presence from='alice_subscribe_relog_1373@localhost' to='bob_subscribe_relog_1373@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:27:20.708 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.708 ***🔗
bOb_subscribe_relog_1373@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea0de532556d9a92' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.709 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.709 ***🔗
bOb_subscribe_relog_1373@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM3MwBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:27:20.709 ***🔗
bOb_subscribe_relog_1373@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.710 ***🔗
bOb_subscribe_relog_1373@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66822352503ba528' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.710 ***🔗
bOb_subscribe_relog_1373@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-06-22 09:27:20.710 ***🔗
bOb_subscribe_relog_1373@localhost/newbob out
<iq type='set' id='d0dad13b81dc536f98f15ddd714611bf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.710 ***🔗
bOb_subscribe_relog_1373@localhost/newbob in
<iq id='d0dad13b81dc536f98f15ddd714611bf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1373@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.710 ***🔗
bob_subscribe_relog_1373@localhost/newbob out
<iq type='set' id='4cc6da0129522edd283c81c0fc4f734b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.711 ***🔗
bob_subscribe_relog_1373@localhost/newbob in
<iq type='result' id='4cc6da0129522edd283c81c0fc4f734b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.711 ***🔗
bob_subscribe_relog_1373@localhost/newbob out
<presence/>



*** User 2022-06-22 09:27:20.711 ***🔗
bob_subscribe_relog_1373@localhost/res1 in
<presence from='bob_subscribe_relog_1373@localhost/newbob' to='bob_subscribe_relog_1373@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.711 ***🔗
bob_subscribe_relog_1373@localhost/newbob in
<presence from='alice_subscribe_relog_1373@localhost' to='bob_subscribe_relog_1373@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/newbob in
<presence from='bob_subscribe_relog_1373@localhost/newbob' to='bob_subscribe_relog_1373@localhost/newbob' xml:lang='en'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/newbob in
<presence from='bob_subscribe_relog_1373@localhost/res1' to='bob_subscribe_relog_1373@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T09:27:20Z' from='bob_subscribe_relog_1373@localhost/res1'/>
</presence>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/newbob out
</stream:stream>

*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/newbob in
</stream:stream>

*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1373@localhost'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_subscribe_relog_1373@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
bob_subscribe_relog_1373@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:27:20.714 ***🔗
alice_subscribe_relog_1373@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.714 ***🔗
alice_subscribe_relog_1373@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:27:20.724 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:27:20.725 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4510.html



=== Ended at 2022-06-22 09:27:20
=== successfully completed test case
=== === Returned value: ok