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

=== Config value:

    [{watchdog,<0.71714.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/presence_suite.subscribe_relog.208386.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/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@9442f737ceb0.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:52:12


*** CT 2024-04-26 12:52:12.125 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2289.html

*** User 2024-04-26 12:52:12.139 ***🔗
alicE_subscribe_relog_2781@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-26 12:52:12.140 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3eacfa9f3d71a52' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:12.140 ***🔗
alicE_subscribe_relog_2781@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-26 12:52:12.140 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzgxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:52:12.141 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:12.141 ***🔗
alicE_subscribe_relog_2781@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-26 12:52:12.142 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa6ac633ae8a7533' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2781@domain.example.com'>

*** User 2024-04-26 12:52:12.142 ***🔗
alicE_subscribe_relog_2781@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-26 12:52:12.142 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 out
<iq type='set' id='b439de8242d3f9b16593c18c569f3511'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.142 ***🔗
alicE_subscribe_relog_2781@domain.example.com/res1 in
<iq id='b439de8242d3f9b16593c18c569f3511' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2781@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.142 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<iq type='set' id='79af981b706fece19e929e4e1fe70225'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.143 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2781@domain.example.com/res1' id='79af981b706fece19e929e4e1fe70225' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.143 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:12.144 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2781@domain.example.com/res1' to='alice_subscribe_relog_2781@domain.example.com/res1'/>



*** User 2024-04-26 12:52:12.145 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.145 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90291d90fc91d2f8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:12.145 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.146 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc4MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:12.147 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:12.147 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.147 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51c1aed8e735352a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2781@domain.example.com'>

*** User 2024-04-26 12:52:12.147 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.147 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 out
<iq type='set' id='8a824ad7e17e484c6fe21e30b03285d6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.148 ***🔗
bOb_subscribe_relog_2781@domain.example.com/res1 in
<iq id='8a824ad7e17e484c6fe21e30b03285d6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2781@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.148 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 out
<iq type='set' id='0337a1751a2e4980378185eacf36ed33'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.148 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2781@domain.example.com/res1' id='0337a1751a2e4980378185eacf36ed33' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.148 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:12.150 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2781@domain.example.com/res1' to='bob_subscribe_relog_2781@domain.example.com/res1'/>



*** User 2024-04-26 12:52:12.150 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<iq type='set' id='69bdd6d8d6178643d25c1b8d7d6cd43c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2781@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.156 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2781@domain.example.com' to='alice_subscribe_relog_2781@domain.example.com/res1' id='pusha9df04dfda1843b2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2781@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.156 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2781@domain.example.com' to='alice_subscribe_relog_2781@domain.example.com/res1' id='69bdd6d8d6178643d25c1b8d7d6cd43c' type='result'/>



*** User 2024-04-26 12:52:12.157 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2781@domain.example.com' id='pusha9df04dfda1843b2' type='result'/>



*** User 2024-04-26 12:52:12.157 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2781@domain.example.com'/>



*** User 2024-04-26 12:52:12.166 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2781@domain.example.com' to='alice_subscribe_relog_2781@domain.example.com/res1' id='push163e60109c38af2a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2781@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.166 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2781@domain.example.com' id='push163e60109c38af2a' type='result'/>



*** User 2024-04-26 12:52:12.166 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2781@domain.example.com' to='bob_subscribe_relog_2781@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-26 12:52:12.166 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.167 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e6c90c615241d71' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:12.167 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.167 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc4MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d301f217ccc23227' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2781@domain.example.com'>

*** User 2024-04-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@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-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob out
<iq type='set' id='e430b4766abcbc37b118583b4020cde2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.168 ***🔗
bOb_subscribe_relog_2781@domain.example.com/newbob in
<iq id='e430b4766abcbc37b118583b4020cde2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2781@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.169 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob out
<iq type='set' id='c4fbc9ad8b4c947fcf1f819a7a5a6c95'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.169 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2781@domain.example.com/newbob' id='c4fbc9ad8b4c947fcf1f819a7a5a6c95' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.170 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob out
<presence/>



*** User 2024-04-26 12:52:12.172 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2781@domain.example.com/newbob' to='bob_subscribe_relog_2781@domain.example.com/res1'/>



*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2781@domain.example.com' to='bob_subscribe_relog_2781@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2781@domain.example.com/newbob' to='bob_subscribe_relog_2781@domain.example.com/newbob'/>



*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2781@domain.example.com/res1' to='bob_subscribe_relog_2781@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T12:52:12.150343Z' from='bob_subscribe_relog_2781@domain.example.com/res1'/>
</presence>



*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob out
</stream:stream>

*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/newbob in
</stream:stream>

*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2781@domain.example.com'/>



*** User 2024-04-26 12:52:12.173 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:12.180 ***🔗
bob_subscribe_relog_2781@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 12:52:12.180 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:12.181 ***🔗
alice_subscribe_relog_2781@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 12:52:12.183 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



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