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

=== Config value:

    [{watchdog,<0.12961.2>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.24/presence_suite.subscribe_relog.246274.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@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.24/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@08f2d0642cae.2024-04-26_12.38.35"

=== Started at 2024-04-26 12:52:26


*** CT 2024-04-26 12:52:26.717 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4762.html

*** User 2024-04-26 12:52:26.730 ***🔗
alicE_subscribe_relog_2991@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-04-26 12:52:26.730 ***🔗
alicE_subscribe_relog_2991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='061baebfad9661da' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:26.731 ***🔗
alicE_subscribe_relog_2991@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-04-26 12:52:26.731 ***🔗
alicE_subscribe_relog_2991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTkxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:52:26.732 ***🔗
alicE_subscribe_relog_2991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:26.732 ***🔗
alicE_subscribe_relog_2991@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-04-26 12:52:26.732 ***🔗
alicE_subscribe_relog_2991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='750464353870b260' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2991@localhost'>

*** User 2024-04-26 12:52:26.732 ***🔗
alicE_subscribe_relog_2991@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-04-26 12:52:26.732 ***🔗
alicE_subscribe_relog_2991@localhost/res1 out
<iq type='set' id='1ddefa4db0dc701be8ec14db2390ae7d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.733 ***🔗
alicE_subscribe_relog_2991@localhost/res1 in
<iq id='1ddefa4db0dc701be8ec14db2390ae7d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2991@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.733 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<iq type='set' id='2e033554e4bec068b72d3736f4f52c6f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.733 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2991@localhost/res1' id='2e033554e4bec068b72d3736f4f52c6f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.733 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<presence/>



*** User 2024-04-26 12:52:26.735 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
<presence from='alice_subscribe_relog_2991@localhost/res1' to='alice_subscribe_relog_2991@localhost/res1'/>



*** User 2024-04-26 12:52:26.736 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.765 ***🔗
bOb_subscribe_relog_2991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc6486e282aa1981' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:26.765 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.766 ***🔗
bOb_subscribe_relog_2991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk5MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:26.767 ***🔗
bOb_subscribe_relog_2991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:26.767 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.767 ***🔗
bOb_subscribe_relog_2991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ee5fcf272bdece2' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2991@localhost'>

*** User 2024-04-26 12:52:26.767 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.767 ***🔗
bOb_subscribe_relog_2991@localhost/res1 out
<iq type='set' id='679415bda8c49b1faf64d9ba62b4a87f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.768 ***🔗
bOb_subscribe_relog_2991@localhost/res1 in
<iq id='679415bda8c49b1faf64d9ba62b4a87f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2991@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.768 ***🔗
bob_subscribe_relog_2991@localhost/res1 out
<iq type='set' id='528c4fbeeef871c799ed42d73ce9d082'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.768 ***🔗
bob_subscribe_relog_2991@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2991@localhost/res1' id='528c4fbeeef871c799ed42d73ce9d082' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.768 ***🔗
bob_subscribe_relog_2991@localhost/res1 out
<presence/>



*** User 2024-04-26 12:52:26.769 ***🔗
bob_subscribe_relog_2991@localhost/res1 in
<presence from='bob_subscribe_relog_2991@localhost/res1' to='bob_subscribe_relog_2991@localhost/res1'/>



*** User 2024-04-26 12:52:26.769 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<iq type='set' id='14bb1be50c5484470ed66485609cda11'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2991@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:26.781 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
<iq from='alice_subscribe_relog_2991@localhost' to='alice_subscribe_relog_2991@localhost/res1' id='push3a17321b0ffcece0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2991@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:26.781 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
<iq from='alice_subscribe_relog_2991@localhost' to='alice_subscribe_relog_2991@localhost/res1' id='14bb1be50c5484470ed66485609cda11' type='result'/>



*** User 2024-04-26 12:52:26.781 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<iq to='alice_subscribe_relog_2991@localhost' id='push3a17321b0ffcece0' type='result'/>



*** User 2024-04-26 12:52:26.782 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2991@localhost'/>



*** User 2024-04-26 12:52:26.786 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
<iq from='alice_subscribe_relog_2991@localhost' to='alice_subscribe_relog_2991@localhost/res1' id='pushe8b1471ee6a06526' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2991@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:26.786 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
<iq to='alice_subscribe_relog_2991@localhost' id='pushe8b1471ee6a06526' type='result'/>



*** User 2024-04-26 12:52:26.786 ***🔗
bob_subscribe_relog_2991@localhost/res1 in
<presence from='alice_subscribe_relog_2991@localhost' to='bob_subscribe_relog_2991@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:52:26.787 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.787 ***🔗
bOb_subscribe_relog_2991@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9228871a9604e50c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:26.787 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.787 ***🔗
bOb_subscribe_relog_2991@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk5MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:26.789 ***🔗
bOb_subscribe_relog_2991@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:26.789 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.789 ***🔗
bOb_subscribe_relog_2991@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f419fce48f87733' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2991@localhost'>

*** User 2024-04-26 12:52:26.789 ***🔗
bOb_subscribe_relog_2991@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-04-26 12:52:26.789 ***🔗
bOb_subscribe_relog_2991@localhost/newbob out
<iq type='set' id='240697f82258c54293f1bf0e26ada211'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.790 ***🔗
bOb_subscribe_relog_2991@localhost/newbob in
<iq id='240697f82258c54293f1bf0e26ada211' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2991@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:26.790 ***🔗
bob_subscribe_relog_2991@localhost/newbob out
<iq type='set' id='472ddb896a14f8f8be58bb7915a9b8ae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.790 ***🔗
bob_subscribe_relog_2991@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2991@localhost/newbob' id='472ddb896a14f8f8be58bb7915a9b8ae' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:26.790 ***🔗
bob_subscribe_relog_2991@localhost/newbob out
<presence/>



*** User 2024-04-26 12:52:26.791 ***🔗
bob_subscribe_relog_2991@localhost/res1 in
<presence from='bob_subscribe_relog_2991@localhost/newbob' to='bob_subscribe_relog_2991@localhost/res1'/>



*** User 2024-04-26 12:52:26.791 ***🔗
bob_subscribe_relog_2991@localhost/newbob in
<presence from='alice_subscribe_relog_2991@localhost' to='bob_subscribe_relog_2991@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-26 12:52:26.791 ***🔗
bob_subscribe_relog_2991@localhost/newbob in
<presence from='bob_subscribe_relog_2991@localhost/newbob' to='bob_subscribe_relog_2991@localhost/newbob'/>



*** User 2024-04-26 12:52:26.792 ***🔗
bob_subscribe_relog_2991@localhost/newbob in
<presence from='bob_subscribe_relog_2991@localhost/res1' to='bob_subscribe_relog_2991@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T12:52:26.769437Z' from='bob_subscribe_relog_2991@localhost/res1'/>
</presence>



*** User 2024-04-26 12:52:26.792 ***🔗
bob_subscribe_relog_2991@localhost/newbob out
</stream:stream>

*** User 2024-04-26 12:52:26.792 ***🔗
bob_subscribe_relog_2991@localhost/newbob in
</stream:stream>

*** User 2024-04-26 12:52:26.792 ***🔗
bob_subscribe_relog_2991@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2991@localhost'/>



*** User 2024-04-26 12:52:26.792 ***🔗
bob_subscribe_relog_2991@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:52:26.798 ***🔗
bob_subscribe_relog_2991@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:52:26.798 ***🔗
alice_subscribe_relog_2991@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:52:26.798 ***🔗
alice_subscribe_relog_2991@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:52:26.801 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4762.html



=== Ended at 2024-04-26 12:52:26
=== successfully completed test case
=== === Returned value: ok