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

=== Config value:

    [{watchdog,<0.72543.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@55d20a7e6e08.2024-03-21_07.45.40/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.45/presence_suite.subscribe_relog.148099.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@55d20a7e6e08.2024-03-21_07.45.40/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.45/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@55d20a7e6e08.2024-03-21_07.45.40"

=== Started at 2024-03-21 07:59:47


*** CT 2024-03-21 07:59:47.501 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3275.html

*** User 2024-03-21 07:59:47.510 ***🔗
alicE_subscribe_relog_2929@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-03-21 07:59:47.511 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e9094d8a97baeb9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:47.511 ***🔗
alicE_subscribe_relog_2929@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-03-21 07:59:47.511 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTI5AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@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-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc28adc5e72b178d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2929@domain.example.com'>

*** User 2024-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@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-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 out
<iq type='set' id='ecac251ac4a179bf1e77fcfdb9a434d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.512 ***🔗
alicE_subscribe_relog_2929@domain.example.com/res1 in
<iq id='ecac251ac4a179bf1e77fcfdb9a434d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2929@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.512 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<iq type='set' id='b4f0c7927e883d1f6bab3454a66c1a4a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.513 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2929@domain.example.com/res1' id='b4f0c7927e883d1f6bab3454a66c1a4a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.513 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<presence/>



*** User 2024-03-21 07:59:47.514 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2929@domain.example.com/res1' to='alice_subscribe_relog_2929@domain.example.com/res1'/>



*** User 2024-03-21 07:59:47.515 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.515 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e312634d9a633cb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:47.515 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.515 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkyOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10f716ab7c7bffd1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2929@domain.example.com'>

*** User 2024-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 out
<iq type='set' id='ce78a7c0a6afe15790a66edccc1711bf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.516 ***🔗
bOb_subscribe_relog_2929@domain.example.com/res1 in
<iq id='ce78a7c0a6afe15790a66edccc1711bf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2929@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.517 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 out
<iq type='set' id='5301219bda4d351b4df63d4ef9b45bd8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.517 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2929@domain.example.com/res1' id='5301219bda4d351b4df63d4ef9b45bd8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.517 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 out
<presence/>



*** User 2024-03-21 07:59:47.519 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2929@domain.example.com/res1' to='bob_subscribe_relog_2929@domain.example.com/res1'/>



*** User 2024-03-21 07:59:47.519 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<iq type='set' id='25f3e8de291d14f27a35ec946a31b8a4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2929@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:47.531 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2929@domain.example.com' to='alice_subscribe_relog_2929@domain.example.com/res1' id='push28145fe4509c9698' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2929@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:47.531 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2929@domain.example.com' to='alice_subscribe_relog_2929@domain.example.com/res1' id='25f3e8de291d14f27a35ec946a31b8a4' type='result'/>



*** User 2024-03-21 07:59:47.531 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2929@domain.example.com' id='push28145fe4509c9698' type='result'/>



*** User 2024-03-21 07:59:47.531 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2929@domain.example.com'/>



*** User 2024-03-21 07:59:47.536 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2929@domain.example.com' to='alice_subscribe_relog_2929@domain.example.com/res1' id='push14f9d13d8cae5c0d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2929@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:47.536 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2929@domain.example.com' id='push14f9d13d8cae5c0d' type='result'/>



*** User 2024-03-21 07:59:47.536 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2929@domain.example.com' to='bob_subscribe_relog_2929@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-21 07:59:47.536 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.536 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='116321367c428868' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:47.537 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.537 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkyOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf98cb71a5e9fd0c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2929@domain.example.com'>

*** User 2024-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@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-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob out
<iq type='set' id='0d4ea6096b8e7e26939c3308b34a6a3b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.562 ***🔗
bOb_subscribe_relog_2929@domain.example.com/newbob in
<iq id='0d4ea6096b8e7e26939c3308b34a6a3b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2929@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:47.563 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob out
<iq type='set' id='d7e54c12a58e4ed48f125cc873ba9770'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.563 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2929@domain.example.com/newbob' id='d7e54c12a58e4ed48f125cc873ba9770' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:47.563 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob out
<presence/>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2929@domain.example.com/newbob' to='bob_subscribe_relog_2929@domain.example.com/res1'/>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2929@domain.example.com' to='bob_subscribe_relog_2929@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2929@domain.example.com/newbob' to='bob_subscribe_relog_2929@domain.example.com/newbob'/>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2929@domain.example.com/res1' to='bob_subscribe_relog_2929@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:59:47.518690Z' from='bob_subscribe_relog_2929@domain.example.com/res1'/>
</presence>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob out
</stream:stream>

*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/newbob in
</stream:stream>

*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2929@domain.example.com'/>



*** User 2024-03-21 07:59:47.565 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-21 07:59:47.572 ***🔗
bob_subscribe_relog_2929@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-21 07:59:47.572 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-21 07:59:47.572 ***🔗
alice_subscribe_relog_2929@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-21 07:59:47.574 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3275.html



=== Ended at 2024-03-21 07:59:47
=== successfully completed test case
=== === Returned value: ok