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

=== Config value:

    [{watchdog,<0.77108.0>},
     {preset,"odbc_mssql_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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.presence_SUITE.logs/run.2024-02-22_11.32.16/presence_suite.subscribe_relog.116868.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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.presence_SUITE.logs/run.2024-02-22_11.32.16/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@c4570d256f6e.2024-02-22_11.16.10"

=== Started at 2024-02-22 11:32:19


*** CT 2024-02-22 11:32:19.079 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4739.html

*** User 2024-02-22 11:32:19.101 ***🔗
alicE_subscribe_relog_2909@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-02-22 11:32:19.101 ***🔗
alicE_subscribe_relog_2909@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3e7d15dbd17e43a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:32:19.102 ***🔗
alicE_subscribe_relog_2909@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-02-22 11:32:19.102 ***🔗
alicE_subscribe_relog_2909@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTA5AG1hdHlncnlzYQ==</auth>



*** User 2024-02-22 11:32:19.103 ***🔗
alicE_subscribe_relog_2909@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:32:19.103 ***🔗
alicE_subscribe_relog_2909@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-02-22 11:32:19.104 ***🔗
alicE_subscribe_relog_2909@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae83a0c29b6fcd6a' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2909@localhost'>

*** User 2024-02-22 11:32:19.104 ***🔗
alicE_subscribe_relog_2909@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-02-22 11:32:19.104 ***🔗
alicE_subscribe_relog_2909@localhost/res1 out
<iq type='set' id='928f5747e11ea0a70614c496f32fcd7f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.104 ***🔗
alicE_subscribe_relog_2909@localhost/res1 in
<iq id='928f5747e11ea0a70614c496f32fcd7f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2909@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.104 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<iq type='set' id='26e55aee79629b9d13c3ca517b935f4b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.105 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2909@localhost/res1' id='26e55aee79629b9d13c3ca517b935f4b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.105 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<presence/>



*** User 2024-02-22 11:32:19.106 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
<presence from='alice_subscribe_relog_2909@localhost/res1' to='alice_subscribe_relog_2909@localhost/res1'/>



*** User 2024-02-22 11:32:19.107 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.107 ***🔗
bOb_subscribe_relog_2909@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e03e259dd7f4dcae' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:32:19.107 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.107 ***🔗
bOb_subscribe_relog_2909@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwOQBtYWtyb2xpa2E=</auth>



*** User 2024-02-22 11:32:19.109 ***🔗
bOb_subscribe_relog_2909@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:32:19.109 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.109 ***🔗
bOb_subscribe_relog_2909@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b77659ef309c9e3f' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2909@localhost'>

*** User 2024-02-22 11:32:19.109 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.109 ***🔗
bOb_subscribe_relog_2909@localhost/res1 out
<iq type='set' id='d1d00ee50c57873cd01bfc8a42752232'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.110 ***🔗
bOb_subscribe_relog_2909@localhost/res1 in
<iq id='d1d00ee50c57873cd01bfc8a42752232' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2909@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.110 ***🔗
bob_subscribe_relog_2909@localhost/res1 out
<iq type='set' id='62e386411ed1795c5d18896c6a10eea4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.110 ***🔗
bob_subscribe_relog_2909@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2909@localhost/res1' id='62e386411ed1795c5d18896c6a10eea4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.110 ***🔗
bob_subscribe_relog_2909@localhost/res1 out
<presence/>



*** User 2024-02-22 11:32:19.111 ***🔗
bob_subscribe_relog_2909@localhost/res1 in
<presence from='bob_subscribe_relog_2909@localhost/res1' to='bob_subscribe_relog_2909@localhost/res1'/>



*** User 2024-02-22 11:32:19.111 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<iq type='set' id='bad0612fc436234cfb5b805926934d7c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2909@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-22 11:32:19.152 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
<iq from='alice_subscribe_relog_2909@localhost' to='alice_subscribe_relog_2909@localhost/res1' id='pushf81e82b3ea1b3467' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2909@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-22 11:32:19.152 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
<iq from='alice_subscribe_relog_2909@localhost' to='alice_subscribe_relog_2909@localhost/res1' id='bad0612fc436234cfb5b805926934d7c' type='result'/>



*** User 2024-02-22 11:32:19.152 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<iq to='alice_subscribe_relog_2909@localhost' id='pushf81e82b3ea1b3467' type='result'/>



*** User 2024-02-22 11:32:19.152 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2909@localhost'/>



*** User 2024-02-22 11:32:19.161 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
<iq from='alice_subscribe_relog_2909@localhost' to='alice_subscribe_relog_2909@localhost/res1' id='pushd812582cb02360cb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2909@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-22 11:32:19.161 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
<iq to='alice_subscribe_relog_2909@localhost' id='pushd812582cb02360cb' type='result'/>



*** User 2024-02-22 11:32:19.162 ***🔗
bob_subscribe_relog_2909@localhost/res1 in
<presence from='alice_subscribe_relog_2909@localhost' to='bob_subscribe_relog_2909@localhost/res1' type='subscribe'/>



*** User 2024-02-22 11:32:19.162 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.163 ***🔗
bOb_subscribe_relog_2909@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d84665fccd2b6d5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:32:19.163 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.163 ***🔗
bOb_subscribe_relog_2909@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjkwOQBtYWtyb2xpa2E=</auth>



*** User 2024-02-22 11:32:19.164 ***🔗
bOb_subscribe_relog_2909@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:32:19.164 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.165 ***🔗
bOb_subscribe_relog_2909@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5dbd26648415181' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2909@localhost'>

*** User 2024-02-22 11:32:19.165 ***🔗
bOb_subscribe_relog_2909@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-02-22 11:32:19.165 ***🔗
bOb_subscribe_relog_2909@localhost/newbob out
<iq type='set' id='7f1f5070696f54c77468cf408cff691b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.165 ***🔗
bOb_subscribe_relog_2909@localhost/newbob in
<iq id='7f1f5070696f54c77468cf408cff691b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2909@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-02-22 11:32:19.165 ***🔗
bob_subscribe_relog_2909@localhost/newbob out
<iq type='set' id='5bddccc845a3b088a91d9dc96373f61f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.166 ***🔗
bob_subscribe_relog_2909@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2909@localhost/newbob' id='5bddccc845a3b088a91d9dc96373f61f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:32:19.166 ***🔗
bob_subscribe_relog_2909@localhost/newbob out
<presence/>



*** User 2024-02-22 11:32:19.172 ***🔗
bob_subscribe_relog_2909@localhost/res1 in
<presence from='bob_subscribe_relog_2909@localhost/newbob' to='bob_subscribe_relog_2909@localhost/res1'/>



*** User 2024-02-22 11:32:19.172 ***🔗
bob_subscribe_relog_2909@localhost/newbob in
<presence from='alice_subscribe_relog_2909@localhost' to='bob_subscribe_relog_2909@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-22 11:32:19.172 ***🔗
bob_subscribe_relog_2909@localhost/newbob in
<presence from='bob_subscribe_relog_2909@localhost/newbob' to='bob_subscribe_relog_2909@localhost/newbob'/>



*** User 2024-02-22 11:32:19.172 ***🔗
bob_subscribe_relog_2909@localhost/newbob in
<presence from='bob_subscribe_relog_2909@localhost/res1' to='bob_subscribe_relog_2909@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-22T11:32:19.111306Z' from='bob_subscribe_relog_2909@localhost/res1'/>
</presence>



*** User 2024-02-22 11:32:19.173 ***🔗
bob_subscribe_relog_2909@localhost/newbob out
</stream:stream>

*** User 2024-02-22 11:32:19.173 ***🔗
bob_subscribe_relog_2909@localhost/newbob in
</stream:stream>

*** User 2024-02-22 11:32:19.173 ***🔗
bob_subscribe_relog_2909@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2909@localhost'/>



*** User 2024-02-22 11:32:19.173 ***🔗
bob_subscribe_relog_2909@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:32:19.183 ***🔗
bob_subscribe_relog_2909@localhost/res1 in
</stream:stream>

*** User 2024-02-22 11:32:19.183 ***🔗
alice_subscribe_relog_2909@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:32:19.184 ***🔗
alice_subscribe_relog_2909@localhost/res1 in
</stream:stream>
*** CT 2024-02-22 11:32:19.186 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4739.html



=== Ended at 2024-02-22 11:32:19
=== successfully completed test case
=== === Returned value: ok