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

=== Config value:

    [{watchdog,<0.46853.0>},
     {preset,"internal_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@9d1ddff7d112.2024-04-16_10.55.26/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.08.59/presence_suite.subscribe_relog.67331.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@9d1ddff7d112.2024-04-16_10.55.26/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.08.59/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@9d1ddff7d112.2024-04-16_10.55.26"

=== Started at 2024-04-16 11:09:01


*** CT 2024-04-16 11:09:01.039 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4225.html

*** User 2024-04-16 11:09:01.045 ***🔗
alicE_subscribe_relog_1580@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-16 11:09:01.046 ***🔗
alicE_subscribe_relog_1580@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39d6d0bef82c2466' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:09:01.046 ***🔗
alicE_subscribe_relog_1580@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-16 11:09:01.046 ***🔗
alicE_subscribe_relog_1580@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTgwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 11:09:01.048 ***🔗
alicE_subscribe_relog_1580@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:09:01.048 ***🔗
alicE_subscribe_relog_1580@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-16 11:09:01.058 ***🔗
alicE_subscribe_relog_1580@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fccd4352070d01df' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1580@localhost'>

*** User 2024-04-16 11:09:01.058 ***🔗
alicE_subscribe_relog_1580@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-16 11:09:01.058 ***🔗
alicE_subscribe_relog_1580@localhost/res1 out
<iq type='set' id='14d88241bb80a0b198969ca8378e6fe2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.059 ***🔗
alicE_subscribe_relog_1580@localhost/res1 in
<iq id='14d88241bb80a0b198969ca8378e6fe2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1580@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.059 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<iq type='set' id='992505ed37c68db5de967fd4c52df5b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.060 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1580@localhost/res1' id='992505ed37c68db5de967fd4c52df5b0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.060 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<presence/>



*** User 2024-04-16 11:09:01.060 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
<presence from='alice_subscribe_relog_1580@localhost/res1' to='alice_subscribe_relog_1580@localhost/res1'/>



*** User 2024-04-16 11:09:01.061 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.061 ***🔗
bOb_subscribe_relog_1580@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8f29d15718ae333' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:09:01.062 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.062 ***🔗
bOb_subscribe_relog_1580@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU4MABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:09:01.062 ***🔗
bOb_subscribe_relog_1580@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:09:01.062 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.063 ***🔗
bOb_subscribe_relog_1580@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed7a2c0a43930253' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1580@localhost'>

*** User 2024-04-16 11:09:01.063 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.063 ***🔗
bOb_subscribe_relog_1580@localhost/res1 out
<iq type='set' id='11556fd0e0982c6aa0b92d2fd3a6915a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.063 ***🔗
bOb_subscribe_relog_1580@localhost/res1 in
<iq id='11556fd0e0982c6aa0b92d2fd3a6915a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1580@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.063 ***🔗
bob_subscribe_relog_1580@localhost/res1 out
<iq type='set' id='75edce004360a2c52950b213d1333974'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.064 ***🔗
bob_subscribe_relog_1580@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1580@localhost/res1' id='75edce004360a2c52950b213d1333974' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.064 ***🔗
bob_subscribe_relog_1580@localhost/res1 out
<presence/>



*** User 2024-04-16 11:09:01.064 ***🔗
bob_subscribe_relog_1580@localhost/res1 in
<presence from='bob_subscribe_relog_1580@localhost/res1' to='bob_subscribe_relog_1580@localhost/res1'/>



*** User 2024-04-16 11:09:01.064 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<iq type='set' id='a3df4d0651fe87481768ad7e551b29b0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1580@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:01.067 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
<iq from='alice_subscribe_relog_1580@localhost' to='alice_subscribe_relog_1580@localhost/res1' id='pushfa8b04a70d4ea5e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_1580@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:01.067 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
<iq from='alice_subscribe_relog_1580@localhost' to='alice_subscribe_relog_1580@localhost/res1' id='a3df4d0651fe87481768ad7e551b29b0' type='result'/>



*** User 2024-04-16 11:09:01.068 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<iq to='alice_subscribe_relog_1580@localhost' id='pushfa8b04a70d4ea5e7' type='result'/>



*** User 2024-04-16 11:09:01.068 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1580@localhost'/>



*** User 2024-04-16 11:09:01.070 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
<iq from='alice_subscribe_relog_1580@localhost' to='alice_subscribe_relog_1580@localhost/res1' id='pushd06776d713ad5afd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1580@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:01.070 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
<iq to='alice_subscribe_relog_1580@localhost' id='pushd06776d713ad5afd' type='result'/>



*** User 2024-04-16 11:09:01.070 ***🔗
bob_subscribe_relog_1580@localhost/res1 in
<presence from='alice_subscribe_relog_1580@localhost' to='bob_subscribe_relog_1580@localhost/res1' type='subscribe'/>



*** User 2024-04-16 11:09:01.071 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.072 ***🔗
bOb_subscribe_relog_1580@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04d5e8cb149eac6d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:09:01.072 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.072 ***🔗
bOb_subscribe_relog_1580@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTU4MABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9786ccbe85a5b69' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1580@localhost'>

*** User 2024-04-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@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-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@localhost/newbob out
<iq type='set' id='60572b89a6f89532d72b6d1813aeb186'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.073 ***🔗
bOb_subscribe_relog_1580@localhost/newbob in
<iq id='60572b89a6f89532d72b6d1813aeb186' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1580@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-16 11:09:01.073 ***🔗
bob_subscribe_relog_1580@localhost/newbob out
<iq type='set' id='6bf85797974a6f9d0ef2d725a01441e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.074 ***🔗
bob_subscribe_relog_1580@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1580@localhost/newbob' id='6bf85797974a6f9d0ef2d725a01441e4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:01.074 ***🔗
bob_subscribe_relog_1580@localhost/newbob out
<presence/>



*** User 2024-04-16 11:09:01.075 ***🔗
bob_subscribe_relog_1580@localhost/res1 in
<presence from='bob_subscribe_relog_1580@localhost/newbob' to='bob_subscribe_relog_1580@localhost/res1'/>



*** User 2024-04-16 11:09:01.075 ***🔗
bob_subscribe_relog_1580@localhost/newbob in
<presence from='alice_subscribe_relog_1580@localhost' to='bob_subscribe_relog_1580@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-16 11:09:01.075 ***🔗
bob_subscribe_relog_1580@localhost/newbob in
<presence from='bob_subscribe_relog_1580@localhost/newbob' to='bob_subscribe_relog_1580@localhost/newbob'/>



*** User 2024-04-16 11:09:01.075 ***🔗
bob_subscribe_relog_1580@localhost/newbob in
<presence from='bob_subscribe_relog_1580@localhost/res1' to='bob_subscribe_relog_1580@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T11:09:01.064583Z' from='bob_subscribe_relog_1580@localhost/res1'/>
</presence>



*** User 2024-04-16 11:09:01.075 ***🔗
bob_subscribe_relog_1580@localhost/newbob out
</stream:stream>

*** User 2024-04-16 11:09:01.076 ***🔗
bob_subscribe_relog_1580@localhost/newbob in
</stream:stream>

*** User 2024-04-16 11:09:01.076 ***🔗
bob_subscribe_relog_1580@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1580@localhost'/>



*** User 2024-04-16 11:09:01.076 ***🔗
bob_subscribe_relog_1580@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:09:01.078 ***🔗
bob_subscribe_relog_1580@localhost/res1 in
</stream:stream>

*** User 2024-04-16 11:09:01.078 ***🔗
alice_subscribe_relog_1580@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:09:01.078 ***🔗
alice_subscribe_relog_1580@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 11:09:01.082 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4225.html



=== Ended at 2024-04-16 11:09:01
=== successfully completed test case
=== === Returned value: ok