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

=== Config value:

    [{watchdog,<0.79092.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.57/presence_suite.subscribe_relog.122244.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@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.57/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@f2e0a288de76.2024-03-21_07.46.09"

=== Started at 2024-03-21 07:59:59


*** CT 2024-03-21 07:59:59.829 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5553.html

*** User 2024-03-21 07:59:59.841 ***🔗
alicE_subscribe_relog_2879@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.842 ***🔗
alicE_subscribe_relog_2879@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7f72d546ecbd474' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:59.842 ***🔗
alicE_subscribe_relog_2879@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 2024-03-21 07:59:59.842 ***🔗
alicE_subscribe_relog_2879@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODc5AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:59:59.843 ***🔗
alicE_subscribe_relog_2879@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:59.843 ***🔗
alicE_subscribe_relog_2879@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.843 ***🔗
alicE_subscribe_relog_2879@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d92d341e5669966' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2879@localhost'>

*** User 2024-03-21 07:59:59.844 ***🔗
alicE_subscribe_relog_2879@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 2024-03-21 07:59:59.844 ***🔗
alicE_subscribe_relog_2879@localhost/res1 out
<iq type='set' id='cfb5b3754dbac9f415c5cf1caa5501d8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.844 ***🔗
alicE_subscribe_relog_2879@localhost/res1 in
<iq id='cfb5b3754dbac9f415c5cf1caa5501d8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2879@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.844 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<iq type='set' id='0eb4f4e94890414e80f27460e65e1ad4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.845 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2879@localhost/res1' id='0eb4f4e94890414e80f27460e65e1ad4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.845 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<presence/>



*** User 2024-03-21 07:59:59.847 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
<presence from='alice_subscribe_relog_2879@localhost/res1' to='alice_subscribe_relog_2879@localhost/res1'/>



*** User 2024-03-21 07:59:59.847 ***🔗
bOb_subscribe_relog_2879@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.848 ***🔗
bOb_subscribe_relog_2879@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7dcf0393b76a4d96' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:59.848 ***🔗
bOb_subscribe_relog_2879@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 2024-03-21 07:59:59.848 ***🔗
bOb_subscribe_relog_2879@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3OQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:59:59.849 ***🔗
bOb_subscribe_relog_2879@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:59.849 ***🔗
bOb_subscribe_relog_2879@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.849 ***🔗
bOb_subscribe_relog_2879@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2eb7bdcd3f03d99' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2879@localhost'>

*** User 2024-03-21 07:59:59.849 ***🔗
bOb_subscribe_relog_2879@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 2024-03-21 07:59:59.849 ***🔗
bOb_subscribe_relog_2879@localhost/res1 out
<iq type='set' id='2fe17f8d5f363291a1062c06360182b0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.850 ***🔗
bOb_subscribe_relog_2879@localhost/res1 in
<iq id='2fe17f8d5f363291a1062c06360182b0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2879@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.850 ***🔗
bob_subscribe_relog_2879@localhost/res1 out
<iq type='set' id='83d9f89c0ec414d820e8ed553ff51f85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.851 ***🔗
bob_subscribe_relog_2879@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2879@localhost/res1' id='83d9f89c0ec414d820e8ed553ff51f85' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.851 ***🔗
bob_subscribe_relog_2879@localhost/res1 out
<presence/>



*** User 2024-03-21 07:59:59.852 ***🔗
bob_subscribe_relog_2879@localhost/res1 in
<presence from='bob_subscribe_relog_2879@localhost/res1' to='bob_subscribe_relog_2879@localhost/res1'/>



*** User 2024-03-21 07:59:59.852 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<iq type='set' id='80adac9d881a3652a182c0be2504badf'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2879@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.880 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
<iq from='alice_subscribe_relog_2879@localhost' to='alice_subscribe_relog_2879@localhost/res1' id='push10623b24563c45ef' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2879@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.880 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
<iq from='alice_subscribe_relog_2879@localhost' to='alice_subscribe_relog_2879@localhost/res1' id='80adac9d881a3652a182c0be2504badf' type='result'/>



*** User 2024-03-21 07:59:59.880 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<iq to='alice_subscribe_relog_2879@localhost' id='push10623b24563c45ef' type='result'/>



*** User 2024-03-21 07:59:59.881 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2879@localhost'/>



*** User 2024-03-21 07:59:59.888 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
<iq from='alice_subscribe_relog_2879@localhost' to='alice_subscribe_relog_2879@localhost/res1' id='pushc5d6915754368527' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2879@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.888 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
<iq to='alice_subscribe_relog_2879@localhost' id='pushc5d6915754368527' type='result'/>



*** User 2024-03-21 07:59:59.888 ***🔗
bob_subscribe_relog_2879@localhost/res1 in
<presence from='alice_subscribe_relog_2879@localhost' to='bob_subscribe_relog_2879@localhost/res1' type='subscribe'/>



*** User 2024-03-21 07:59:59.889 ***🔗
bOb_subscribe_relog_2879@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.889 ***🔗
bOb_subscribe_relog_2879@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a62cc45a126962ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:59.890 ***🔗
bOb_subscribe_relog_2879@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 2024-03-21 07:59:59.890 ***🔗
bOb_subscribe_relog_2879@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3OQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:59:59.892 ***🔗
bOb_subscribe_relog_2879@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:59.892 ***🔗
bOb_subscribe_relog_2879@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:59:59.893 ***🔗
bOb_subscribe_relog_2879@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc48173709c6c542' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2879@localhost'>

*** User 2024-03-21 07:59:59.893 ***🔗
bOb_subscribe_relog_2879@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 2024-03-21 07:59:59.893 ***🔗
bOb_subscribe_relog_2879@localhost/newbob out
<iq type='set' id='55b09fe053eb44f626ec5e784af011fe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.893 ***🔗
bOb_subscribe_relog_2879@localhost/newbob in
<iq id='55b09fe053eb44f626ec5e784af011fe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2879@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.893 ***🔗
bob_subscribe_relog_2879@localhost/newbob out
<iq type='set' id='2ded39493cbb781fc1a7b294f235f149'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_subscribe_relog_2879@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2879@localhost/newbob' id='2ded39493cbb781fc1a7b294f235f149' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_subscribe_relog_2879@localhost/newbob out
<presence/>



*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/res1 in
<presence from='bob_subscribe_relog_2879@localhost/newbob' to='bob_subscribe_relog_2879@localhost/res1'/>



*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/newbob in
<presence from='alice_subscribe_relog_2879@localhost' to='bob_subscribe_relog_2879@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/newbob in
<presence from='bob_subscribe_relog_2879@localhost/newbob' to='bob_subscribe_relog_2879@localhost/newbob'/>



*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/newbob in
<presence from='bob_subscribe_relog_2879@localhost/res1' to='bob_subscribe_relog_2879@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:59:59.852104Z' from='bob_subscribe_relog_2879@localhost/res1'/>
</presence>



*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/newbob out
</stream:stream>

*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/newbob in
</stream:stream>

*** User 2024-03-21 07:59:59.896 ***🔗
bob_subscribe_relog_2879@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2879@localhost'/>



*** User 2024-03-21 07:59:59.897 ***🔗
bob_subscribe_relog_2879@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:59:59.903 ***🔗
bob_subscribe_relog_2879@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:59:59.903 ***🔗
alice_subscribe_relog_2879@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:59:59.904 ***🔗
alice_subscribe_relog_2879@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:59:59.907 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5553.html



=== Ended at 2024-03-21 07:59:59
=== successfully completed test case
=== === Returned value: ok