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

=== Config value:

    [{watchdog,<0.71812.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.presence_SUITE.logs/run.2024-04-10_08.05.29/presence_suite.subscribe_relog.177154.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@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.presence_SUITE.logs/run.2024-04-10_08.05.29/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@e5991d55cb5f.2024-04-10_07.52.47"

=== Started at 2024-04-10 08:05:31


*** CT 2024-04-10 08:05:31.308 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4426.html

*** User 2024-04-10 08:05:31.322 ***🔗
alicE_subscribe_relog_2621@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-10 08:05:31.323 ***🔗
alicE_subscribe_relog_2621@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9526a349e47badbf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 08:05:31.323 ***🔗
alicE_subscribe_relog_2621@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-10 08:05:31.323 ***🔗
alicE_subscribe_relog_2621@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjIxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 08:05:31.339 ***🔗
alicE_subscribe_relog_2621@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 08:05:31.340 ***🔗
alicE_subscribe_relog_2621@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-10 08:05:31.340 ***🔗
alicE_subscribe_relog_2621@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6f7d5905e33e154' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2621@localhost'>

*** User 2024-04-10 08:05:31.340 ***🔗
alicE_subscribe_relog_2621@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-10 08:05:31.340 ***🔗
alicE_subscribe_relog_2621@localhost/res1 out
<iq type='set' id='d22c9557403b87e0add909ffaae062bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.341 ***🔗
alicE_subscribe_relog_2621@localhost/res1 in
<iq id='d22c9557403b87e0add909ffaae062bc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2621@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.341 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<iq type='set' id='61561d9fda9e67d9908a39fa0f8fdd22'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.341 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2621@localhost/res1' id='61561d9fda9e67d9908a39fa0f8fdd22' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.341 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<presence/>



*** User 2024-04-10 08:05:31.343 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
<presence from='alice_subscribe_relog_2621@localhost/res1' to='alice_subscribe_relog_2621@localhost/res1'/>



*** User 2024-04-10 08:05:31.343 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.344 ***🔗
bOb_subscribe_relog_2621@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='907eb1b6aa506c69' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 08:05:31.344 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.344 ***🔗
bOb_subscribe_relog_2621@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYyMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 08:05:31.345 ***🔗
bOb_subscribe_relog_2621@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 08:05:31.345 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.345 ***🔗
bOb_subscribe_relog_2621@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6b6d8a0f13d1082' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2621@localhost'>

*** User 2024-04-10 08:05:31.345 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.345 ***🔗
bOb_subscribe_relog_2621@localhost/res1 out
<iq type='set' id='28ec9bade00faca6f96122fbe86d3baa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.346 ***🔗
bOb_subscribe_relog_2621@localhost/res1 in
<iq id='28ec9bade00faca6f96122fbe86d3baa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2621@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.346 ***🔗
bob_subscribe_relog_2621@localhost/res1 out
<iq type='set' id='6b52c1045ee4e08d528bda0cc6199594'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.346 ***🔗
bob_subscribe_relog_2621@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2621@localhost/res1' id='6b52c1045ee4e08d528bda0cc6199594' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.347 ***🔗
bob_subscribe_relog_2621@localhost/res1 out
<presence/>



*** User 2024-04-10 08:05:31.348 ***🔗
bob_subscribe_relog_2621@localhost/res1 in
<presence from='bob_subscribe_relog_2621@localhost/res1' to='bob_subscribe_relog_2621@localhost/res1'/>



*** User 2024-04-10 08:05:31.348 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<iq type='set' id='48c2531aa556e3110071c137a756a22b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2621@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 08:05:31.350 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
<iq from='alice_subscribe_relog_2621@localhost' to='alice_subscribe_relog_2621@localhost/res1' id='push2bbef9357ba37dab' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2621@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 08:05:31.350 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
<iq from='alice_subscribe_relog_2621@localhost' to='alice_subscribe_relog_2621@localhost/res1' id='48c2531aa556e3110071c137a756a22b' type='result'/>



*** User 2024-04-10 08:05:31.350 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<iq to='alice_subscribe_relog_2621@localhost' id='push2bbef9357ba37dab' type='result'/>



*** User 2024-04-10 08:05:31.351 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2621@localhost'/>



*** User 2024-04-10 08:05:31.354 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
<iq from='alice_subscribe_relog_2621@localhost' to='alice_subscribe_relog_2621@localhost/res1' id='push816eb55044bc0348' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2621@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 08:05:31.354 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
<iq to='alice_subscribe_relog_2621@localhost' id='push816eb55044bc0348' type='result'/>



*** User 2024-04-10 08:05:31.354 ***🔗
bob_subscribe_relog_2621@localhost/res1 in
<presence from='alice_subscribe_relog_2621@localhost' to='bob_subscribe_relog_2621@localhost/res1' type='subscribe'/>



*** User 2024-04-10 08:05:31.355 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.355 ***🔗
bOb_subscribe_relog_2621@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1920e562f4f27005' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 08:05:31.356 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.356 ***🔗
bOb_subscribe_relog_2621@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjYyMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7141c09c5333cfa6' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2621@localhost'>

*** User 2024-04-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@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-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@localhost/newbob out
<iq type='set' id='46f9bcf1c78ca17df2f37a438f0dd732'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.357 ***🔗
bOb_subscribe_relog_2621@localhost/newbob in
<iq id='46f9bcf1c78ca17df2f37a438f0dd732' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2621@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-10 08:05:31.358 ***🔗
bob_subscribe_relog_2621@localhost/newbob out
<iq type='set' id='b505e57a9aea946aa577502a679938b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.358 ***🔗
bob_subscribe_relog_2621@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2621@localhost/newbob' id='b505e57a9aea946aa577502a679938b6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 08:05:31.358 ***🔗
bob_subscribe_relog_2621@localhost/newbob out
<presence/>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/res1 in
<presence from='bob_subscribe_relog_2621@localhost/newbob' to='bob_subscribe_relog_2621@localhost/res1'/>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/newbob in
<presence from='alice_subscribe_relog_2621@localhost' to='bob_subscribe_relog_2621@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/newbob in
<presence from='bob_subscribe_relog_2621@localhost/newbob' to='bob_subscribe_relog_2621@localhost/newbob'/>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/newbob in
<presence from='bob_subscribe_relog_2621@localhost/res1' to='bob_subscribe_relog_2621@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-10T08:05:31.347887Z' from='bob_subscribe_relog_2621@localhost/res1'/>
</presence>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/newbob out
</stream:stream>

*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/newbob in
</stream:stream>

*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2621@localhost'/>



*** User 2024-04-10 08:05:31.360 ***🔗
bob_subscribe_relog_2621@localhost/res1 out
</stream:stream>

*** User 2024-04-10 08:05:31.365 ***🔗
bob_subscribe_relog_2621@localhost/res1 in
</stream:stream>

*** User 2024-04-10 08:05:31.365 ***🔗
alice_subscribe_relog_2621@localhost/res1 out
</stream:stream>

*** User 2024-04-10 08:05:31.366 ***🔗
alice_subscribe_relog_2621@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 08:05:31.368 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4426.html



=== Ended at 2024-04-10 08:05:31
=== successfully completed test case
=== === Returned value: ok