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

=== Config value:

    [{watchdog,<0.44621.0>},
     {preset,"ldap_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@ae818358e99c.2024-04-22_17.28.22/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.38.31/presence_suite.subscribe_relog.35972.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@ae818358e99c.2024-04-22_17.28.22/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.38.31/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@ae818358e99c.2024-04-22_17.28.22"

=== Started at 2024-04-22 17:38:33


*** CT 2024-04-22 17:38:33.342 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4292.html

*** User 2024-04-22 17:38:33.363 ***🔗
alicE_subscribe_relog_1413@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-22 17:38:33.364 ***🔗
alicE_subscribe_relog_1413@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4d10c6b20df4279' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:38:33.364 ***🔗
alicE_subscribe_relog_1413@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-22 17:38:33.364 ***🔗
alicE_subscribe_relog_1413@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNDEzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 17:38:33.367 ***🔗
alicE_subscribe_relog_1413@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:38:33.367 ***🔗
alicE_subscribe_relog_1413@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-22 17:38:33.389 ***🔗
alicE_subscribe_relog_1413@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b807418e6cf0a33b' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1413@localhost'>

*** User 2024-04-22 17:38:33.389 ***🔗
alicE_subscribe_relog_1413@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-22 17:38:33.389 ***🔗
alicE_subscribe_relog_1413@localhost/res1 out
<iq type='set' id='6a3b07845e2c55cbbc0a15edffd92aa8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.390 ***🔗
alicE_subscribe_relog_1413@localhost/res1 in
<iq id='6a3b07845e2c55cbbc0a15edffd92aa8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1413@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.390 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<iq type='set' id='83f8b59cb9197aefcbcba8aa5393fa14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.390 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1413@localhost/res1' id='83f8b59cb9197aefcbcba8aa5393fa14' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.391 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<presence/>



*** User 2024-04-22 17:38:33.392 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
<presence from='alice_subscribe_relog_1413@localhost/res1' to='alice_subscribe_relog_1413@localhost/res1'/>



*** User 2024-04-22 17:38:33.392 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.393 ***🔗
bOb_subscribe_relog_1413@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8b2b8816c5b47ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:38:33.393 ***🔗
bOb_subscribe_relog_1413@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-22 17:38:33.393 ***🔗
bOb_subscribe_relog_1413@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQxMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-22 17:38:33.397 ***🔗
bOb_subscribe_relog_1413@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:38:33.397 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.398 ***🔗
bOb_subscribe_relog_1413@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b6b4fd7fc48ca58' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1413@localhost'>

*** User 2024-04-22 17:38:33.398 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.398 ***🔗
bOb_subscribe_relog_1413@localhost/res1 out
<iq type='set' id='582e80856919e51e73e22c5df62f11f5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.399 ***🔗
bOb_subscribe_relog_1413@localhost/res1 in
<iq id='582e80856919e51e73e22c5df62f11f5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1413@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.399 ***🔗
bob_subscribe_relog_1413@localhost/res1 out
<iq type='set' id='11b63212b5cf852b51a2b527d96b666a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.401 ***🔗
bob_subscribe_relog_1413@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1413@localhost/res1' id='11b63212b5cf852b51a2b527d96b666a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.401 ***🔗
bob_subscribe_relog_1413@localhost/res1 out
<presence/>



*** User 2024-04-22 17:38:33.402 ***🔗
bob_subscribe_relog_1413@localhost/res1 in
<presence from='bob_subscribe_relog_1413@localhost/res1' to='bob_subscribe_relog_1413@localhost/res1'/>



*** User 2024-04-22 17:38:33.402 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<iq type='set' id='96dc1d47f525f138accd4070217eefdb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1413@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:33.404 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
<iq from='alice_subscribe_relog_1413@localhost' to='alice_subscribe_relog_1413@localhost/res1' id='push3b156e5180f42a80' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_1413@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:33.404 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
<iq from='alice_subscribe_relog_1413@localhost' to='alice_subscribe_relog_1413@localhost/res1' id='96dc1d47f525f138accd4070217eefdb' type='result'/>



*** User 2024-04-22 17:38:33.404 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<iq to='alice_subscribe_relog_1413@localhost' id='push3b156e5180f42a80' type='result'/>



*** User 2024-04-22 17:38:33.404 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1413@localhost'/>



*** User 2024-04-22 17:38:33.407 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
<iq from='alice_subscribe_relog_1413@localhost' to='alice_subscribe_relog_1413@localhost/res1' id='pushcd5d18f8f7ff480a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1413@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:33.407 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
<iq to='alice_subscribe_relog_1413@localhost' id='pushcd5d18f8f7ff480a' type='result'/>



*** User 2024-04-22 17:38:33.407 ***🔗
bob_subscribe_relog_1413@localhost/res1 in
<presence from='alice_subscribe_relog_1413@localhost' to='bob_subscribe_relog_1413@localhost/res1' type='subscribe'/>



*** User 2024-04-22 17:38:33.408 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.408 ***🔗
bOb_subscribe_relog_1413@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72531b934b6d1962' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:38:33.408 ***🔗
bOb_subscribe_relog_1413@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-22 17:38:33.408 ***🔗
bOb_subscribe_relog_1413@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTQxMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-22 17:38:33.411 ***🔗
bOb_subscribe_relog_1413@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:38:33.411 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.412 ***🔗
bOb_subscribe_relog_1413@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8df0ba3d9a37bb6' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1413@localhost'>

*** User 2024-04-22 17:38:33.412 ***🔗
bOb_subscribe_relog_1413@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-22 17:38:33.412 ***🔗
bOb_subscribe_relog_1413@localhost/newbob out
<iq type='set' id='94580ccecab2286fdc6d5f9631531c67'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.413 ***🔗
bOb_subscribe_relog_1413@localhost/newbob in
<iq id='94580ccecab2286fdc6d5f9631531c67' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1413@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-22 17:38:33.413 ***🔗
bob_subscribe_relog_1413@localhost/newbob out
<iq type='set' id='18804d756d287e703c3fe422d114d7e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.413 ***🔗
bob_subscribe_relog_1413@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1413@localhost/newbob' id='18804d756d287e703c3fe422d114d7e9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:33.413 ***🔗
bob_subscribe_relog_1413@localhost/newbob out
<presence/>



*** User 2024-04-22 17:38:33.414 ***🔗
bob_subscribe_relog_1413@localhost/res1 in
<presence from='bob_subscribe_relog_1413@localhost/newbob' to='bob_subscribe_relog_1413@localhost/res1'/>



*** User 2024-04-22 17:38:33.414 ***🔗
bob_subscribe_relog_1413@localhost/newbob in
<presence from='alice_subscribe_relog_1413@localhost' to='bob_subscribe_relog_1413@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-22 17:38:33.414 ***🔗
bob_subscribe_relog_1413@localhost/newbob in
<presence from='bob_subscribe_relog_1413@localhost/newbob' to='bob_subscribe_relog_1413@localhost/newbob'/>



*** User 2024-04-22 17:38:33.415 ***🔗
bob_subscribe_relog_1413@localhost/newbob in
<presence from='bob_subscribe_relog_1413@localhost/res1' to='bob_subscribe_relog_1413@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:38:33.401735Z' from='bob_subscribe_relog_1413@localhost/res1'/>
</presence>



*** User 2024-04-22 17:38:33.415 ***🔗
bob_subscribe_relog_1413@localhost/newbob out
</stream:stream>

*** User 2024-04-22 17:38:33.415 ***🔗
bob_subscribe_relog_1413@localhost/newbob in
</stream:stream>

*** User 2024-04-22 17:38:33.415 ***🔗
bob_subscribe_relog_1413@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1413@localhost'/>



*** User 2024-04-22 17:38:33.415 ***🔗
bob_subscribe_relog_1413@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:38:33.417 ***🔗
bob_subscribe_relog_1413@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:38:33.417 ***🔗
alice_subscribe_relog_1413@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:38:33.417 ***🔗
alice_subscribe_relog_1413@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:38:33.424 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4292.html



=== Ended at 2024-04-22 17:38:33
=== successfully completed test case
=== === Returned value: ok