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

=== Config value:

    [{watchdog,<0.63950.0>},
     {preset,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/presence_suite.subscribe_relog.84740.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.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@6b87bb397ec6.2024-04-16_10.12.53"

=== Started at 2024-04-16 10:27:59


*** CT 2024-04-16 10:27:59.317 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4235.html

*** User 2024-04-16 10:27:59.327 ***🔗
alicE_subscribe_relog_2176@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-16 10:27:59.327 ***🔗
alicE_subscribe_relog_2176@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef4eb7e9de09d4eb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:59.327 ***🔗
alicE_subscribe_relog_2176@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-16 10:27:59.328 ***🔗
alicE_subscribe_relog_2176@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yMTc2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:27:59.328 ***🔗
alicE_subscribe_relog_2176@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:59.328 ***🔗
alicE_subscribe_relog_2176@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-16 10:27:59.328 ***🔗
alicE_subscribe_relog_2176@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3dcdf67fd813c02' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2176@localhost'>

*** User 2024-04-16 10:27:59.329 ***🔗
alicE_subscribe_relog_2176@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-16 10:27:59.329 ***🔗
alicE_subscribe_relog_2176@localhost/res1 out
<iq type='set' id='70fed52993eef3b3040afab95a50088a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.329 ***🔗
alicE_subscribe_relog_2176@localhost/res1 in
<iq id='70fed52993eef3b3040afab95a50088a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2176@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.329 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<iq type='set' id='8fe8eada195ede50796e5bc8e00ebb18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.330 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2176@localhost/res1' id='8fe8eada195ede50796e5bc8e00ebb18' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.330 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:59.332 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
<presence from='alice_subscribe_relog_2176@localhost/res1' to='alice_subscribe_relog_2176@localhost/res1'/>



*** User 2024-04-16 10:27:59.332 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.352 ***🔗
bOb_subscribe_relog_2176@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9450157015123d85' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:59.353 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.353 ***🔗
bOb_subscribe_relog_2176@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjE3NgBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:27:59.353 ***🔗
bOb_subscribe_relog_2176@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:59.354 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.354 ***🔗
bOb_subscribe_relog_2176@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a923bf9ca074c128' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2176@localhost'>

*** User 2024-04-16 10:27:59.354 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.354 ***🔗
bOb_subscribe_relog_2176@localhost/res1 out
<iq type='set' id='7edf4af63ae9b5f541a3440d7549f2b4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.355 ***🔗
bOb_subscribe_relog_2176@localhost/res1 in
<iq id='7edf4af63ae9b5f541a3440d7549f2b4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2176@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.355 ***🔗
bob_subscribe_relog_2176@localhost/res1 out
<iq type='set' id='33e8a98bf3d43c598eb4e608e583b9ad'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.356 ***🔗
bob_subscribe_relog_2176@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2176@localhost/res1' id='33e8a98bf3d43c598eb4e608e583b9ad' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.356 ***🔗
bob_subscribe_relog_2176@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:59.357 ***🔗
bob_subscribe_relog_2176@localhost/res1 in
<presence from='bob_subscribe_relog_2176@localhost/res1' to='bob_subscribe_relog_2176@localhost/res1'/>



*** User 2024-04-16 10:27:59.357 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<iq type='set' id='d32c022e03ba60d097795f0368f676e5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2176@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.359 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
<iq from='alice_subscribe_relog_2176@localhost' to='alice_subscribe_relog_2176@localhost/res1' id='pushe807bb1f2cd2ce34' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2176@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.359 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
<iq from='alice_subscribe_relog_2176@localhost' to='alice_subscribe_relog_2176@localhost/res1' id='d32c022e03ba60d097795f0368f676e5' type='result'/>



*** User 2024-04-16 10:27:59.359 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<iq to='alice_subscribe_relog_2176@localhost' id='pushe807bb1f2cd2ce34' type='result'/>



*** User 2024-04-16 10:27:59.359 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2176@localhost'/>



*** User 2024-04-16 10:27:59.361 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
<iq from='alice_subscribe_relog_2176@localhost' to='alice_subscribe_relog_2176@localhost/res1' id='push8e6dfe45934e1377' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2176@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.361 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
<iq to='alice_subscribe_relog_2176@localhost' id='push8e6dfe45934e1377' type='result'/>



*** User 2024-04-16 10:27:59.361 ***🔗
bob_subscribe_relog_2176@localhost/res1 in
<presence from='alice_subscribe_relog_2176@localhost' to='bob_subscribe_relog_2176@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:27:59.362 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.363 ***🔗
bOb_subscribe_relog_2176@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f649086ceaa86472' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:59.364 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.364 ***🔗
bOb_subscribe_relog_2176@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjE3NgBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:27:59.365 ***🔗
bOb_subscribe_relog_2176@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:59.365 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.366 ***🔗
bOb_subscribe_relog_2176@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf74b27256bd94f9' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2176@localhost'>

*** User 2024-04-16 10:27:59.366 ***🔗
bOb_subscribe_relog_2176@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-16 10:27:59.366 ***🔗
bOb_subscribe_relog_2176@localhost/newbob out
<iq type='set' id='a976a0c1992d529dad19262e6dcbee74'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.366 ***🔗
bOb_subscribe_relog_2176@localhost/newbob in
<iq id='a976a0c1992d529dad19262e6dcbee74' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2176@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.367 ***🔗
bob_subscribe_relog_2176@localhost/newbob out
<iq type='set' id='16340a4b6f607c6942fca03029681fa7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.367 ***🔗
bob_subscribe_relog_2176@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2176@localhost/newbob' id='16340a4b6f607c6942fca03029681fa7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.367 ***🔗
bob_subscribe_relog_2176@localhost/newbob out
<presence/>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_subscribe_relog_2176@localhost/res1 in
<presence from='bob_subscribe_relog_2176@localhost/newbob' to='bob_subscribe_relog_2176@localhost/res1'/>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_subscribe_relog_2176@localhost/newbob in
<presence from='alice_subscribe_relog_2176@localhost' to='bob_subscribe_relog_2176@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_subscribe_relog_2176@localhost/newbob in
<presence from='bob_subscribe_relog_2176@localhost/newbob' to='bob_subscribe_relog_2176@localhost/newbob'/>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_subscribe_relog_2176@localhost/newbob in
<presence from='bob_subscribe_relog_2176@localhost/res1' to='bob_subscribe_relog_2176@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T10:27:59.356609Z' from='bob_subscribe_relog_2176@localhost/res1'/>
</presence>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_subscribe_relog_2176@localhost/newbob out
</stream:stream>

*** User 2024-04-16 10:27:59.370 ***🔗
bob_subscribe_relog_2176@localhost/newbob in
</stream:stream>

*** User 2024-04-16 10:27:59.370 ***🔗
bob_subscribe_relog_2176@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2176@localhost'/>



*** User 2024-04-16 10:27:59.370 ***🔗
bob_subscribe_relog_2176@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:59.372 ***🔗
bob_subscribe_relog_2176@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:27:59.372 ***🔗
alice_subscribe_relog_2176@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:59.373 ***🔗
alice_subscribe_relog_2176@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:27:59.381 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4235.html



=== Ended at 2024-04-16 10:27:59
=== successfully completed test case
=== === Returned value: ok