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

=== Config value:

    [{watchdog,<0.72922.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@361c787015ff.2024-04-15_07.21.23/big_tests.tests.presence_SUITE.logs/run.2024-04-15_07.33.27/presence_suite.subscribe_relog.157955.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@361c787015ff.2024-04-15_07.21.23/big_tests.tests.presence_SUITE.logs/run.2024-04-15_07.33.27/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@361c787015ff.2024-04-15_07.21.23"

=== Started at 2024-04-15 07:33:29


*** CT 2024-04-15 07:33:29.302 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3375.html

*** User 2024-04-15 07:33:29.318 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.318 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='425063be001badcd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 07:33:29.318 ***🔗
alicE_subscribe_relog_2740@domain.example.com/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-15 07:33:29.319 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzQwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-15 07:33:29.320 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 07:33:29.320 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.320 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6dc9dc2c18404590' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2740@domain.example.com'>

*** User 2024-04-15 07:33:29.320 ***🔗
alicE_subscribe_relog_2740@domain.example.com/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-15 07:33:29.320 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 out
<iq type='set' id='898bcded7e2a359be9abb715aadaeb13'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.321 ***🔗
alicE_subscribe_relog_2740@domain.example.com/res1 in
<iq id='898bcded7e2a359be9abb715aadaeb13' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2740@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.321 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<iq type='set' id='7cb8426da644b77202e1000177131a81'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.322 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2740@domain.example.com/res1' id='7cb8426da644b77202e1000177131a81' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.322 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 07:33:29.324 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2740@domain.example.com/res1' to='alice_subscribe_relog_2740@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.324 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.325 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4ba427d63b08027' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 07:33:29.325 ***🔗
bOb_subscribe_relog_2740@domain.example.com/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-15 07:33:29.325 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc0MABtYWtyb2xpa2E=</auth>



*** User 2024-04-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6450b160976682d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2740@domain.example.com'>

*** User 2024-04-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/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-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 out
<iq type='set' id='8377671b83680f3920a8f1ad89d21203'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.326 ***🔗
bOb_subscribe_relog_2740@domain.example.com/res1 in
<iq id='8377671b83680f3920a8f1ad89d21203' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2740@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.327 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 out
<iq type='set' id='0a1b9b8eb5b17e73dbe0994c0728ce72'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.327 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2740@domain.example.com/res1' id='0a1b9b8eb5b17e73dbe0994c0728ce72' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.327 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 07:33:29.329 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2740@domain.example.com/res1' to='bob_subscribe_relog_2740@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.329 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<iq type='set' id='5c2bae4961433c35b9d6be1b4b167a10'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2740@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.338 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2740@domain.example.com' to='alice_subscribe_relog_2740@domain.example.com/res1' id='push22c43ae6f4f6d61c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2740@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.338 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2740@domain.example.com' to='alice_subscribe_relog_2740@domain.example.com/res1' id='5c2bae4961433c35b9d6be1b4b167a10' type='result'/>



*** User 2024-04-15 07:33:29.338 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2740@domain.example.com' id='push22c43ae6f4f6d61c' type='result'/>



*** User 2024-04-15 07:33:29.338 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2740@domain.example.com'/>



*** User 2024-04-15 07:33:29.345 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2740@domain.example.com' to='alice_subscribe_relog_2740@domain.example.com/res1' id='push5eafdfc5536fd250' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2740@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.345 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2740@domain.example.com' id='push5eafdfc5536fd250' type='result'/>



*** User 2024-04-15 07:33:29.345 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2740@domain.example.com' to='bob_subscribe_relog_2740@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-15 07:33:29.346 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.346 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2aff2fd885b05f2d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 07:33:29.346 ***🔗
bOb_subscribe_relog_2740@domain.example.com/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-15 07:33:29.346 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc0MABtYWtyb2xpa2E=</auth>



*** User 2024-04-15 07:33:29.347 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 07:33:29.347 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-15 07:33:29.348 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='391d908af88676a6' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2740@domain.example.com'>

*** User 2024-04-15 07:33:29.348 ***🔗
bOb_subscribe_relog_2740@domain.example.com/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-15 07:33:29.348 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob out
<iq type='set' id='4c5e6863bc18c85cb0c960c5882cde6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.348 ***🔗
bOb_subscribe_relog_2740@domain.example.com/newbob in
<iq id='4c5e6863bc18c85cb0c960c5882cde6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2740@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.348 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob out
<iq type='set' id='59d584ffdaacc24b01d963f545962309'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.349 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2740@domain.example.com/newbob' id='59d584ffdaacc24b01d963f545962309' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.349 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob out
<presence/>



*** User 2024-04-15 07:33:29.350 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2740@domain.example.com/newbob' to='bob_subscribe_relog_2740@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.350 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2740@domain.example.com' to='bob_subscribe_relog_2740@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2740@domain.example.com/newbob' to='bob_subscribe_relog_2740@domain.example.com/newbob'/>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2740@domain.example.com/res1' to='bob_subscribe_relog_2740@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-15T07:33:29.329297Z' from='bob_subscribe_relog_2740@domain.example.com/res1'/>
</presence>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob out
</stream:stream>

*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/newbob in
</stream:stream>

*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2740@domain.example.com'/>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 07:33:29.376 ***🔗
bob_subscribe_relog_2740@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-15 07:33:29.376 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 07:33:29.376 ***🔗
alice_subscribe_relog_2740@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-15 07:33:29.379 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3375.html



=== Ended at 2024-04-15 07:33:29
=== successfully completed test case
=== === Returned value: ok