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

=== Config value:

    [{watchdog,<0.47041.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@ef69bcf5409a.2024-04-22_14.41.23/big_tests.tests.presence_SUITE.logs/run.2024-04-22_14.54.57/presence_suite.subscribe_relog.93826.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@ef69bcf5409a.2024-04-22_14.41.23/big_tests.tests.presence_SUITE.logs/run.2024-04-22_14.54.57/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@ef69bcf5409a.2024-04-22_14.41.23"

=== Started at 2024-04-22 14:54:59


*** CT 2024-04-22 14:54:59.346 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4423.html

*** User 2024-04-22 14:54:59.354 ***🔗
alicE_subscribe_relog_1528@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-22 14:54:59.355 ***🔗
alicE_subscribe_relog_1528@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec8fd422720333d6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:54:59.355 ***🔗
alicE_subscribe_relog_1528@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-22 14:54:59.355 ***🔗
alicE_subscribe_relog_1528@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTI4AG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 14:54:59.355 ***🔗
alicE_subscribe_relog_1528@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:54:59.355 ***🔗
alicE_subscribe_relog_1528@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-22 14:54:59.356 ***🔗
alicE_subscribe_relog_1528@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a503cc1eb05d23a1' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1528@localhost'>

*** User 2024-04-22 14:54:59.356 ***🔗
alicE_subscribe_relog_1528@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-22 14:54:59.356 ***🔗
alicE_subscribe_relog_1528@localhost/res1 out
<iq type='set' id='508e54f87f513b304ed6f7e488025cd2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.356 ***🔗
alicE_subscribe_relog_1528@localhost/res1 in
<iq id='508e54f87f513b304ed6f7e488025cd2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1528@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.356 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<iq type='set' id='b796e76b28b5fd0fe6d9f9fab8cff55c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.357 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1528@localhost/res1' id='b796e76b28b5fd0fe6d9f9fab8cff55c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.357 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<presence/>



*** User 2024-04-22 14:54:59.358 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
<presence from='alice_subscribe_relog_1528@localhost/res1' to='alice_subscribe_relog_1528@localhost/res1'/>



*** User 2024-04-22 14:54:59.358 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.359 ***🔗
bOb_subscribe_relog_1528@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff103d4143101c27' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:54:59.359 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.359 ***🔗
bOb_subscribe_relog_1528@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUyOABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 14:54:59.360 ***🔗
bOb_subscribe_relog_1528@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:54:59.360 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.360 ***🔗
bOb_subscribe_relog_1528@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88ea641c75092912' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1528@localhost'>

*** User 2024-04-22 14:54:59.360 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.361 ***🔗
bOb_subscribe_relog_1528@localhost/res1 out
<iq type='set' id='52a2cdd53ab488b9875f3af3b9b067cd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.361 ***🔗
bOb_subscribe_relog_1528@localhost/res1 in
<iq id='52a2cdd53ab488b9875f3af3b9b067cd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1528@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.361 ***🔗
bob_subscribe_relog_1528@localhost/res1 out
<iq type='set' id='5e2b80c88871961c557194d44e75cdc0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.361 ***🔗
bob_subscribe_relog_1528@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1528@localhost/res1' id='5e2b80c88871961c557194d44e75cdc0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.362 ***🔗
bob_subscribe_relog_1528@localhost/res1 out
<presence/>



*** User 2024-04-22 14:54:59.362 ***🔗
bob_subscribe_relog_1528@localhost/res1 in
<presence from='bob_subscribe_relog_1528@localhost/res1' to='bob_subscribe_relog_1528@localhost/res1'/>



*** User 2024-04-22 14:54:59.362 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<iq type='set' id='c069d8dcbcbbd809cb7903dcf2f0cc58'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1528@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:54:59.388 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
<iq from='alice_subscribe_relog_1528@localhost' to='alice_subscribe_relog_1528@localhost/res1' id='push1e837ce78f245d7e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_1528@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:54:59.389 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
<iq from='alice_subscribe_relog_1528@localhost' to='alice_subscribe_relog_1528@localhost/res1' id='c069d8dcbcbbd809cb7903dcf2f0cc58' type='result'/>



*** User 2024-04-22 14:54:59.389 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<iq to='alice_subscribe_relog_1528@localhost' id='push1e837ce78f245d7e' type='result'/>



*** User 2024-04-22 14:54:59.389 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1528@localhost'/>



*** User 2024-04-22 14:54:59.391 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
<iq from='alice_subscribe_relog_1528@localhost' to='alice_subscribe_relog_1528@localhost/res1' id='push5c3e860898458c22' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1528@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 14:54:59.391 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
<iq to='alice_subscribe_relog_1528@localhost' id='push5c3e860898458c22' type='result'/>



*** User 2024-04-22 14:54:59.391 ***🔗
bob_subscribe_relog_1528@localhost/res1 in
<presence from='alice_subscribe_relog_1528@localhost' to='bob_subscribe_relog_1528@localhost/res1' type='subscribe'/>



*** User 2024-04-22 14:54:59.391 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.392 ***🔗
bOb_subscribe_relog_1528@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a05191046e532a8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:54:59.392 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.392 ***🔗
bOb_subscribe_relog_1528@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUyOABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 14:54:59.392 ***🔗
bOb_subscribe_relog_1528@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:54:59.392 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.393 ***🔗
bOb_subscribe_relog_1528@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fb99acb88abde4d' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1528@localhost'>

*** User 2024-04-22 14:54:59.393 ***🔗
bOb_subscribe_relog_1528@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-22 14:54:59.393 ***🔗
bOb_subscribe_relog_1528@localhost/newbob out
<iq type='set' id='01f94908dc28d99422c77c8ef1d786ef'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.393 ***🔗
bOb_subscribe_relog_1528@localhost/newbob in
<iq id='01f94908dc28d99422c77c8ef1d786ef' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1528@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-22 14:54:59.393 ***🔗
bob_subscribe_relog_1528@localhost/newbob out
<iq type='set' id='0fd057cf451494a23e883e1aaadeac05'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.394 ***🔗
bob_subscribe_relog_1528@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1528@localhost/newbob' id='0fd057cf451494a23e883e1aaadeac05' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:54:59.394 ***🔗
bob_subscribe_relog_1528@localhost/newbob out
<presence/>



*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/res1 in
<presence from='bob_subscribe_relog_1528@localhost/newbob' to='bob_subscribe_relog_1528@localhost/res1'/>



*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/newbob in
<presence from='alice_subscribe_relog_1528@localhost' to='bob_subscribe_relog_1528@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/newbob in
<presence from='bob_subscribe_relog_1528@localhost/res1' to='bob_subscribe_relog_1528@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:54:59.362367Z' from='bob_subscribe_relog_1528@localhost/res1'/>
</presence>



*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/newbob in
<presence from='bob_subscribe_relog_1528@localhost/newbob' to='bob_subscribe_relog_1528@localhost/newbob'/>



*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/newbob out
</stream:stream>

*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/newbob in
</stream:stream>

*** User 2024-04-22 14:54:59.395 ***🔗
bob_subscribe_relog_1528@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1528@localhost'/>



*** User 2024-04-22 14:54:59.396 ***🔗
bob_subscribe_relog_1528@localhost/res1 out
</stream:stream>

*** User 2024-04-22 14:54:59.397 ***🔗
bob_subscribe_relog_1528@localhost/res1 in
</stream:stream>

*** User 2024-04-22 14:54:59.397 ***🔗
alice_subscribe_relog_1528@localhost/res1 out
</stream:stream>

*** User 2024-04-22 14:54:59.397 ***🔗
alice_subscribe_relog_1528@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 14:54:59.399 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4423.html



=== Ended at 2024-04-22 14:54:59
=== successfully completed test case
=== === Returned value: ok