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

=== Config value:

    [{watchdog,<0.71875.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@f6eaa04ec15d.2024-04-10_12.44.40/big_tests.tests.presence_SUITE.logs/run.2024-04-10_12.56.11/presence_suite.subscribe_relog.154243.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@f6eaa04ec15d.2024-04-10_12.44.40/big_tests.tests.presence_SUITE.logs/run.2024-04-10_12.56.11/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@f6eaa04ec15d.2024-04-10_12.44.40"

=== Started at 2024-04-10 12:56:13


*** CT 2024-04-10 12:56:13.286 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2283.html

*** User 2024-04-10 12:56:13.299 ***🔗
alicE_subscribe_relog_2733@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-10 12:56:13.299 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='032e39d46883e4fd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:13.299 ***🔗
alicE_subscribe_relog_2733@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-10 12:56:13.299 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzMzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@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-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3afc251c100408eb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2733@domain.example.com'>

*** User 2024-04-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@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-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 out
<iq type='set' id='5ab2a4184cf2a5c9b18e25bb083bd49e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.301 ***🔗
alicE_subscribe_relog_2733@domain.example.com/res1 in
<iq id='5ab2a4184cf2a5c9b18e25bb083bd49e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2733@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.302 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<iq type='set' id='987de1c3108be5b25a855f76df2d49b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.302 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2733@domain.example.com/res1' id='987de1c3108be5b25a855f76df2d49b0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.302 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:56:13.303 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2733@domain.example.com/res1' to='alice_subscribe_relog_2733@domain.example.com/res1'/>



*** User 2024-04-10 12:56:13.304 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.304 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='210bc553c3cbc55c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:13.304 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.304 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjczMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:56:13.305 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:56:13.305 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.305 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2d493f17fab86c1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2733@domain.example.com'>

*** User 2024-04-10 12:56:13.305 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.305 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 out
<iq type='set' id='a79a742b2a486f463402dbbd18217bb5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.306 ***🔗
bOb_subscribe_relog_2733@domain.example.com/res1 in
<iq id='a79a742b2a486f463402dbbd18217bb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2733@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.306 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 out
<iq type='set' id='6f554f3b7ed5d1ffd1d6f063267d2e03'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.306 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2733@domain.example.com/res1' id='6f554f3b7ed5d1ffd1d6f063267d2e03' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.306 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:56:13.308 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2733@domain.example.com/res1' to='bob_subscribe_relog_2733@domain.example.com/res1'/>



*** User 2024-04-10 12:56:13.308 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<iq type='set' id='94cc2f5994c6c826b75a3ac616d37254'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2733@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:56:13.312 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2733@domain.example.com' to='alice_subscribe_relog_2733@domain.example.com/res1' id='push26be0e1922023a04' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2733@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:56:13.313 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2733@domain.example.com' to='alice_subscribe_relog_2733@domain.example.com/res1' id='94cc2f5994c6c826b75a3ac616d37254' type='result'/>



*** User 2024-04-10 12:56:13.313 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2733@domain.example.com' id='push26be0e1922023a04' type='result'/>



*** User 2024-04-10 12:56:13.313 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2733@domain.example.com'/>



*** User 2024-04-10 12:56:13.317 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2733@domain.example.com' to='alice_subscribe_relog_2733@domain.example.com/res1' id='push70fdcad873708953' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2733@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:56:13.317 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2733@domain.example.com' id='push70fdcad873708953' type='result'/>



*** User 2024-04-10 12:56:13.318 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2733@domain.example.com' to='bob_subscribe_relog_2733@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-10 12:56:13.318 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.318 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce3f84d43e5176dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:13.318 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.318 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjczMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b607d4b3538823f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2733@domain.example.com'>

*** User 2024-04-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@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-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob out
<iq type='set' id='107efd7a4c6f05da60b5ef3e1b3a1f1a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.320 ***🔗
bOb_subscribe_relog_2733@domain.example.com/newbob in
<iq id='107efd7a4c6f05da60b5ef3e1b3a1f1a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2733@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-04-10 12:56:13.320 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob out
<iq type='set' id='b8e5210a86ca06a47dc9b35b3fcf7b72'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.321 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2733@domain.example.com/newbob' id='b8e5210a86ca06a47dc9b35b3fcf7b72' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:13.321 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob out
<presence/>



*** User 2024-04-10 12:56:13.322 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2733@domain.example.com/newbob' to='bob_subscribe_relog_2733@domain.example.com/res1'/>



*** User 2024-04-10 12:56:13.322 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2733@domain.example.com' to='bob_subscribe_relog_2733@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-10 12:56:13.322 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2733@domain.example.com/newbob' to='bob_subscribe_relog_2733@domain.example.com/newbob'/>



*** User 2024-04-10 12:56:13.322 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2733@domain.example.com/res1' to='bob_subscribe_relog_2733@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-10T12:56:13.307969Z' from='bob_subscribe_relog_2733@domain.example.com/res1'/>
</presence>



*** User 2024-04-10 12:56:13.322 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob out
</stream:stream>

*** User 2024-04-10 12:56:13.323 ***🔗
bob_subscribe_relog_2733@domain.example.com/newbob in
</stream:stream>

*** User 2024-04-10 12:56:13.323 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2733@domain.example.com'/>



*** User 2024-04-10 12:56:13.323 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:56:13.328 ***🔗
bob_subscribe_relog_2733@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 12:56:13.328 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:56:13.328 ***🔗
alice_subscribe_relog_2733@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 12:56:13.330 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2283.html



=== Ended at 2024-04-10 12:56:13
=== successfully completed test case
=== === Returned value: ok