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

=== Config value:

    [{watchdog,<0.78007.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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.55.12/presence_suite.subscribe_relog.230146.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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.55.12/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@08e20f3a1f6a.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:55:14


*** CT 2024-04-26 12:55:14.463 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4736.html

*** User 2024-04-26 12:55:14.479 ***🔗
alicE_subscribe_relog_2992@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:55:14.479 ***🔗
alicE_subscribe_relog_2992@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='882ef04b1d02eec8' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-26 12:55:14.481 ***🔗
alicE_subscribe_relog_2992@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:55:14.481 ***🔗
alicE_subscribe_relog_2992@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2ef7cf89e11d9e6' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2992@localhost'>

*** User 2024-04-26 12:55:14.481 ***🔗
alicE_subscribe_relog_2992@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:55:14.482 ***🔗
alicE_subscribe_relog_2992@localhost/res1 out
<iq type='set' id='ad0256e45828d848f1a86927ed600019'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.482 ***🔗
alicE_subscribe_relog_2992@localhost/res1 in
<iq id='ad0256e45828d848f1a86927ed600019' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2992@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.482 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<iq type='set' id='663acc93b1ae72831f49bbf0e0e0201c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.483 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2992@localhost/res1' id='663acc93b1ae72831f49bbf0e0e0201c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.483 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<presence/>



*** User 2024-04-26 12:55:14.484 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
<presence from='alice_subscribe_relog_2992@localhost/res1' to='alice_subscribe_relog_2992@localhost/res1'/>



*** User 2024-04-26 12:55:14.485 ***🔗
bOb_subscribe_relog_2992@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:55:14.485 ***🔗
bOb_subscribe_relog_2992@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8414449e21f0530b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:55:14.485 ***🔗
bOb_subscribe_relog_2992@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:55:14.486 ***🔗
bOb_subscribe_relog_2992@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk5MgBtYWtyb2xpa2E=</auth>



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



*** User 2024-04-26 12:55:14.487 ***🔗
bOb_subscribe_relog_2992@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:55:14.487 ***🔗
bOb_subscribe_relog_2992@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='310d951bd50aef26' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2992@localhost'>

*** User 2024-04-26 12:55:14.487 ***🔗
bOb_subscribe_relog_2992@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:55:14.487 ***🔗
bOb_subscribe_relog_2992@localhost/res1 out
<iq type='set' id='77fcd266300bf5dc3c5f82e866a1c19c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.488 ***🔗
bOb_subscribe_relog_2992@localhost/res1 in
<iq id='77fcd266300bf5dc3c5f82e866a1c19c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2992@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.488 ***🔗
bob_subscribe_relog_2992@localhost/res1 out
<iq type='set' id='e4991bb5fcbb90794e26a869304ebec9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.488 ***🔗
bob_subscribe_relog_2992@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2992@localhost/res1' id='e4991bb5fcbb90794e26a869304ebec9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.488 ***🔗
bob_subscribe_relog_2992@localhost/res1 out
<presence/>



*** User 2024-04-26 12:55:14.490 ***🔗
bob_subscribe_relog_2992@localhost/res1 in
<presence from='bob_subscribe_relog_2992@localhost/res1' to='bob_subscribe_relog_2992@localhost/res1'/>



*** User 2024-04-26 12:55:14.490 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<iq type='set' id='52dc1c3d40eef2eb87ad37b9797bf2c2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2992@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:55:14.497 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
<iq from='alice_subscribe_relog_2992@localhost' to='alice_subscribe_relog_2992@localhost/res1' id='pushbafd2748761bafec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2992@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:55:14.497 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
<iq from='alice_subscribe_relog_2992@localhost' to='alice_subscribe_relog_2992@localhost/res1' id='52dc1c3d40eef2eb87ad37b9797bf2c2' type='result'/>



*** User 2024-04-26 12:55:14.497 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<iq to='alice_subscribe_relog_2992@localhost' id='pushbafd2748761bafec' type='result'/>



*** User 2024-04-26 12:55:14.497 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2992@localhost'/>



*** User 2024-04-26 12:55:14.514 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
<iq from='alice_subscribe_relog_2992@localhost' to='alice_subscribe_relog_2992@localhost/res1' id='push57c4dd119a3051eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2992@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:55:14.514 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
<iq to='alice_subscribe_relog_2992@localhost' id='push57c4dd119a3051eb' type='result'/>



*** User 2024-04-26 12:55:14.514 ***🔗
bob_subscribe_relog_2992@localhost/res1 in
<presence from='alice_subscribe_relog_2992@localhost' to='bob_subscribe_relog_2992@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:55:14.515 ***🔗
bOb_subscribe_relog_2992@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:55:14.515 ***🔗
bOb_subscribe_relog_2992@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='789d0444e1a937f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:55:14.515 ***🔗
bOb_subscribe_relog_2992@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:55:14.516 ***🔗
bOb_subscribe_relog_2992@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk5MgBtYWtyb2xpa2E=</auth>



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



*** User 2024-04-26 12:55:14.518 ***🔗
bOb_subscribe_relog_2992@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:55:14.519 ***🔗
bOb_subscribe_relog_2992@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94f545f049125eec' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2992@localhost'>

*** User 2024-04-26 12:55:14.519 ***🔗
bOb_subscribe_relog_2992@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:55:14.519 ***🔗
bOb_subscribe_relog_2992@localhost/newbob out
<iq type='set' id='4938d17fcf8f41854c4137a88ee6c2e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.519 ***🔗
bOb_subscribe_relog_2992@localhost/newbob in
<iq id='4938d17fcf8f41854c4137a88ee6c2e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2992@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-26 12:55:14.519 ***🔗
bob_subscribe_relog_2992@localhost/newbob out
<iq type='set' id='fb2cd3531c71023008509dc4a07e2aee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.520 ***🔗
bob_subscribe_relog_2992@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2992@localhost/newbob' id='fb2cd3531c71023008509dc4a07e2aee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:55:14.520 ***🔗
bob_subscribe_relog_2992@localhost/newbob out
<presence/>



*** User 2024-04-26 12:55:14.522 ***🔗
bob_subscribe_relog_2992@localhost/res1 in
<presence from='bob_subscribe_relog_2992@localhost/newbob' to='bob_subscribe_relog_2992@localhost/res1'/>



*** User 2024-04-26 12:55:14.522 ***🔗
bob_subscribe_relog_2992@localhost/newbob in
<presence from='alice_subscribe_relog_2992@localhost' to='bob_subscribe_relog_2992@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-26 12:55:14.522 ***🔗
bob_subscribe_relog_2992@localhost/newbob in
<presence from='bob_subscribe_relog_2992@localhost/newbob' to='bob_subscribe_relog_2992@localhost/newbob'/>



*** User 2024-04-26 12:55:14.522 ***🔗
bob_subscribe_relog_2992@localhost/newbob in
<presence from='bob_subscribe_relog_2992@localhost/res1' to='bob_subscribe_relog_2992@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T12:55:14.489745Z' from='bob_subscribe_relog_2992@localhost/res1'/>
</presence>



*** User 2024-04-26 12:55:14.522 ***🔗
bob_subscribe_relog_2992@localhost/newbob out
</stream:stream>

*** User 2024-04-26 12:55:14.523 ***🔗
bob_subscribe_relog_2992@localhost/newbob in
</stream:stream>

*** User 2024-04-26 12:55:14.523 ***🔗
bob_subscribe_relog_2992@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2992@localhost'/>



*** User 2024-04-26 12:55:14.523 ***🔗
bob_subscribe_relog_2992@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:55:14.530 ***🔗
bob_subscribe_relog_2992@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:55:14.530 ***🔗
alice_subscribe_relog_2992@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:55:14.530 ***🔗
alice_subscribe_relog_2992@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:55:14.533 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4736.html



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