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

=== Config value:

    [{watchdog,<0.77923.0>},
     {preset,"odbc_mssql_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@04325015025b.2024-04-25_14.32.38/big_tests.tests.presence_SUITE.logs/run.2024-04-25_14.48.31/presence_suite.subscribe_relog.160131.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@04325015025b.2024-04-25_14.32.38/big_tests.tests.presence_SUITE.logs/run.2024-04-25_14.48.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@04325015025b.2024-04-25_14.32.38"

=== Started at 2024-04-25 14:48:33


*** CT 2024-04-25 14:48:33.388 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4729.html

*** User 2024-04-25 14:48:33.400 ***🔗
alicE_subscribe_relog_3028@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-25 14:48:33.400 ***🔗
alicE_subscribe_relog_3028@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5249c47a44093ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:33.401 ***🔗
alicE_subscribe_relog_3028@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-25 14:48:33.401 ***🔗
alicE_subscribe_relog_3028@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDI4AG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@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-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='389e57e108480c08' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3028@localhost'>

*** User 2024-04-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@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-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@localhost/res1 out
<iq type='set' id='fbe95f9541a8c96df73cb8cf488dde17'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.402 ***🔗
alicE_subscribe_relog_3028@localhost/res1 in
<iq id='fbe95f9541a8c96df73cb8cf488dde17' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_3028@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.402 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<iq type='set' id='110253aa76d40b48608473f998581fd6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.403 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3028@localhost/res1' id='110253aa76d40b48608473f998581fd6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.403 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<presence/>



*** User 2024-04-25 14:48:33.404 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
<presence from='alice_subscribe_relog_3028@localhost/res1' to='alice_subscribe_relog_3028@localhost/res1'/>



*** User 2024-04-25 14:48:33.404 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.404 ***🔗
bOb_subscribe_relog_3028@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a6cd32755fd0c9c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:33.405 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.405 ***🔗
bOb_subscribe_relog_3028@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAyOABtYWtyb2xpa2E=</auth>



*** User 2024-04-25 14:48:33.405 ***🔗
bOb_subscribe_relog_3028@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:33.405 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.406 ***🔗
bOb_subscribe_relog_3028@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9afe71d8e6c28f07' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3028@localhost'>

*** User 2024-04-25 14:48:33.406 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.406 ***🔗
bOb_subscribe_relog_3028@localhost/res1 out
<iq type='set' id='c15b3ce987958db49ac544e0d04b53f5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.406 ***🔗
bOb_subscribe_relog_3028@localhost/res1 in
<iq id='c15b3ce987958db49ac544e0d04b53f5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3028@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.406 ***🔗
bob_subscribe_relog_3028@localhost/res1 out
<iq type='set' id='d100756466dcb940998ffc1e4e02df30'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.406 ***🔗
bob_subscribe_relog_3028@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3028@localhost/res1' id='d100756466dcb940998ffc1e4e02df30' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.406 ***🔗
bob_subscribe_relog_3028@localhost/res1 out
<presence/>



*** User 2024-04-25 14:48:33.407 ***🔗
bob_subscribe_relog_3028@localhost/res1 in
<presence from='bob_subscribe_relog_3028@localhost/res1' to='bob_subscribe_relog_3028@localhost/res1'/>



*** User 2024-04-25 14:48:33.407 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<iq type='set' id='2a1194524c9d4a7c8ef02e5e1c108d8c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_3028@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:48:33.412 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
<iq from='alice_subscribe_relog_3028@localhost' to='alice_subscribe_relog_3028@localhost/res1' id='pushf42fb9c2ae30c651' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_3028@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:48:33.412 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
<iq from='alice_subscribe_relog_3028@localhost' to='alice_subscribe_relog_3028@localhost/res1' id='2a1194524c9d4a7c8ef02e5e1c108d8c' type='result'/>



*** User 2024-04-25 14:48:33.412 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<iq to='alice_subscribe_relog_3028@localhost' id='pushf42fb9c2ae30c651' type='result'/>



*** User 2024-04-25 14:48:33.412 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3028@localhost'/>



*** User 2024-04-25 14:48:33.419 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
<iq from='alice_subscribe_relog_3028@localhost' to='alice_subscribe_relog_3028@localhost/res1' id='pushf20dc39e77bbae9c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3028@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:48:33.419 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
<iq to='alice_subscribe_relog_3028@localhost' id='pushf20dc39e77bbae9c' type='result'/>



*** User 2024-04-25 14:48:33.419 ***🔗
bob_subscribe_relog_3028@localhost/res1 in
<presence from='alice_subscribe_relog_3028@localhost' to='bob_subscribe_relog_3028@localhost/res1' type='subscribe'/>



*** User 2024-04-25 14:48:33.419 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.420 ***🔗
bOb_subscribe_relog_3028@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4242e7871ec4d48' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:33.420 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.420 ***🔗
bOb_subscribe_relog_3028@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAyOABtYWtyb2xpa2E=</auth>



*** User 2024-04-25 14:48:33.421 ***🔗
bOb_subscribe_relog_3028@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:33.421 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.421 ***🔗
bOb_subscribe_relog_3028@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11c426de25a0c6ca' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3028@localhost'>

*** User 2024-04-25 14:48:33.421 ***🔗
bOb_subscribe_relog_3028@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-25 14:48:33.421 ***🔗
bOb_subscribe_relog_3028@localhost/newbob out
<iq type='set' id='7ff9f68f782336ec88f5f964f522f12b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.422 ***🔗
bOb_subscribe_relog_3028@localhost/newbob in
<iq id='7ff9f68f782336ec88f5f964f522f12b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3028@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:33.422 ***🔗
bob_subscribe_relog_3028@localhost/newbob out
<iq type='set' id='13e311de900b39847f3f4836d3389731'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.422 ***🔗
bob_subscribe_relog_3028@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3028@localhost/newbob' id='13e311de900b39847f3f4836d3389731' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:33.422 ***🔗
bob_subscribe_relog_3028@localhost/newbob out
<presence/>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/res1 in
<presence from='bob_subscribe_relog_3028@localhost/newbob' to='bob_subscribe_relog_3028@localhost/res1'/>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/newbob in
<presence from='alice_subscribe_relog_3028@localhost' to='bob_subscribe_relog_3028@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/newbob in
<presence from='bob_subscribe_relog_3028@localhost/newbob' to='bob_subscribe_relog_3028@localhost/newbob'/>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/newbob in
<presence from='bob_subscribe_relog_3028@localhost/res1' to='bob_subscribe_relog_3028@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T14:48:33.407543Z' from='bob_subscribe_relog_3028@localhost/res1'/>
</presence>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/newbob out
</stream:stream>

*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/newbob in
</stream:stream>

*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3028@localhost'/>



*** User 2024-04-25 14:48:33.426 ***🔗
bob_subscribe_relog_3028@localhost/res1 out
</stream:stream>

*** User 2024-04-25 14:48:33.456 ***🔗
bob_subscribe_relog_3028@localhost/res1 in
</stream:stream>

*** User 2024-04-25 14:48:33.456 ***🔗
alice_subscribe_relog_3028@localhost/res1 out
</stream:stream>

*** User 2024-04-25 14:48:33.457 ***🔗
alice_subscribe_relog_3028@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 14:48:33.459 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4729.html



=== Ended at 2024-04-25 14:48:33
=== successfully completed test case
=== === Returned value: ok