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

=== Config value:

    [{watchdog,<0.74754.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.51/presence_suite.subscribe_relog.151555.html"},
     {tc_group_properties,[{name,subscribe_group},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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.51/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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:22:53


*** CT 2023-11-17 15:22:53.485 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4553.html

*** User 2023-11-17 15:22:53.498 ***🔗
alicE_subscribe_relog_2616@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.498 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ddab1c6f6abf9af' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:53.498 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.498 ***🔗
alicE_subscribe_relog_2616@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjE2AG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:22:53.499 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:53.499 ***🔗
alicE_subscribe_relog_2616@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.499 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0c763a57735f0a3' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2616@localhost'>

*** User 2023-11-17 15:22:53.499 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.500 ***🔗
alicE_subscribe_relog_2616@localhost/res1 out
<iq type='set' id='601b26af7ea9ec9fb04f453edd5c5c51'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alicE_subscribe_relog_2616@localhost/res1 in
<iq id='601b26af7ea9ec9fb04f453edd5c5c51' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2616@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<iq type='set' id='bfb894b887003eb0373b9e22f8988fdc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2616@localhost/res1' id='bfb894b887003eb0373b9e22f8988fdc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:53.501 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
<presence from='alice_subscribe_relog_2616@localhost/res1' to='alice_subscribe_relog_2616@localhost/res1'/>



*** User 2023-11-17 15:22:53.502 ***🔗
bOb_subscribe_relog_2616@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.502 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83c4cd6625707b4b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:53.502 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.502 ***🔗
bOb_subscribe_relog_2616@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYxNgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_subscribe_relog_2616@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.503 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='995e328d036f7d8c' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2616@localhost'>

*** User 2023-11-17 15:22:53.503 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_subscribe_relog_2616@localhost/res1 out
<iq type='set' id='8287e9be1d9a78c2a20ad1367fb06d62'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bOb_subscribe_relog_2616@localhost/res1 in
<iq id='8287e9be1d9a78c2a20ad1367fb06d62' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2616@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bob_subscribe_relog_2616@localhost/res1 out
<iq type='set' id='56efdbc38d6631771d78e1a70c529b58'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bob_subscribe_relog_2616@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2616@localhost/res1' id='56efdbc38d6631771d78e1a70c529b58' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bob_subscribe_relog_2616@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:53.505 ***🔗
bob_subscribe_relog_2616@localhost/res1 in
<presence from='bob_subscribe_relog_2616@localhost/res1' to='bob_subscribe_relog_2616@localhost/res1'/>



*** User 2023-11-17 15:22:53.505 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<iq type='set' id='7664ba8f250ee2884a7c103fd99859e9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2616@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.512 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
<iq from='alice_subscribe_relog_2616@localhost' to='alice_subscribe_relog_2616@localhost/res1' id='pushc168dc23e912754e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2616@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.512 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
<iq from='alice_subscribe_relog_2616@localhost' to='alice_subscribe_relog_2616@localhost/res1' id='7664ba8f250ee2884a7c103fd99859e9' type='result'/>



*** User 2023-11-17 15:22:53.512 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<iq to='alice_subscribe_relog_2616@localhost' id='pushc168dc23e912754e' type='result'/>



*** User 2023-11-17 15:22:53.512 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2616@localhost'/>



*** User 2023-11-17 15:22:53.516 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
<iq from='alice_subscribe_relog_2616@localhost' to='alice_subscribe_relog_2616@localhost/res1' id='push77cf4eef9c510353' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2616@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.516 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
<iq to='alice_subscribe_relog_2616@localhost' id='push77cf4eef9c510353' type='result'/>



*** User 2023-11-17 15:22:53.516 ***🔗
bob_subscribe_relog_2616@localhost/res1 in
<presence from='alice_subscribe_relog_2616@localhost' to='bob_subscribe_relog_2616@localhost/res1' type='subscribe'/>



*** User 2023-11-17 15:22:53.516 ***🔗
bOb_subscribe_relog_2616@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.517 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83aa9138f2f5e4cf' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:53.517 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.517 ***🔗
bOb_subscribe_relog_2616@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYxNgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c3ddcb7f26a5ba1' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2616@localhost'>

*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob out
<iq type='set' id='c4eb3649ab9a2e1fd53ac73a4bb7e64f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.518 ***🔗
bOb_subscribe_relog_2616@localhost/newbob in
<iq id='c4eb3649ab9a2e1fd53ac73a4bb7e64f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2616@localhost/newbob</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.519 ***🔗
bob_subscribe_relog_2616@localhost/newbob out
<iq type='set' id='ee2ae037bd7ad295fcc88dc2ed19a0a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.519 ***🔗
bob_subscribe_relog_2616@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2616@localhost/newbob' id='ee2ae037bd7ad295fcc88dc2ed19a0a7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.519 ***🔗
bob_subscribe_relog_2616@localhost/newbob out
<presence/>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_subscribe_relog_2616@localhost/res1 in
<presence from='bob_subscribe_relog_2616@localhost/newbob' to='bob_subscribe_relog_2616@localhost/res1'/>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_subscribe_relog_2616@localhost/newbob in
<presence from='alice_subscribe_relog_2616@localhost' to='bob_subscribe_relog_2616@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_subscribe_relog_2616@localhost/newbob in
<presence from='bob_subscribe_relog_2616@localhost/newbob' to='bob_subscribe_relog_2616@localhost/newbob'/>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_subscribe_relog_2616@localhost/newbob in
<presence from='bob_subscribe_relog_2616@localhost/res1' to='bob_subscribe_relog_2616@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:22:53.505141Z' from='bob_subscribe_relog_2616@localhost/res1'/>
</presence>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_subscribe_relog_2616@localhost/newbob out
</stream:stream>

*** User 2023-11-17 15:22:53.521 ***🔗
bob_subscribe_relog_2616@localhost/newbob in
</stream:stream>

*** User 2023-11-17 15:22:53.521 ***🔗
bob_subscribe_relog_2616@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2616@localhost'/>



*** User 2023-11-17 15:22:53.521 ***🔗
bob_subscribe_relog_2616@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.524 ***🔗
bob_subscribe_relog_2616@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:22:53.524 ***🔗
alice_subscribe_relog_2616@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.524 ***🔗
alice_subscribe_relog_2616@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:53.526 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4553.html



=== Ended at 2023-11-17 15:22:53
=== successfully completed test case
=== === Returned value: ok