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

=== Config value:

    [{watchdog,<0.46692.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@ab4da8ac41c7.2024-04-15_15.52.42/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.25/presence_suite.subscribe_relog.92290.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@ab4da8ac41c7.2024-04-15_15.52.42/big_tests.tests.presence_SUITE.logs/run.2024-04-15_16.05.25/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@ab4da8ac41c7.2024-04-15_15.52.42"

=== Started at 2024-04-15 16:05:27


*** CT 2024-04-15 16:05:27.236 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4227.html

*** User 2024-04-15 16:05:27.243 ***🔗
alicE_subscribe_relog_1501@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-15 16:05:27.244 ***🔗
alicE_subscribe_relog_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e4ed86a96a77f3c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:05:27.245 ***🔗
alicE_subscribe_relog_1501@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-15 16:05:27.245 ***🔗
alicE_subscribe_relog_1501@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xNTAxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-15 16:05:27.246 ***🔗
alicE_subscribe_relog_1501@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:05:27.246 ***🔗
alicE_subscribe_relog_1501@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-15 16:05:27.246 ***🔗
alicE_subscribe_relog_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68dacda62bbbc217' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_1501@localhost'>

*** User 2024-04-15 16:05:27.246 ***🔗
alicE_subscribe_relog_1501@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-15 16:05:27.246 ***🔗
alicE_subscribe_relog_1501@localhost/res1 out
<iq type='set' id='f50f34b9547fa9ea59f837b0be75d579'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.247 ***🔗
alicE_subscribe_relog_1501@localhost/res1 in
<iq id='f50f34b9547fa9ea59f837b0be75d579' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1501@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.247 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<iq type='set' id='7d771a01677f9a85f677c8ea6676b2f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.248 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_1501@localhost/res1' id='7d771a01677f9a85f677c8ea6676b2f0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.248 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<presence/>



*** User 2024-04-15 16:05:27.265 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
<presence from='alice_subscribe_relog_1501@localhost/res1' to='alice_subscribe_relog_1501@localhost/res1'/>



*** User 2024-04-15 16:05:27.265 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.267 ***🔗
bOb_subscribe_relog_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c45fc42b3706cca' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:05:27.267 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.267 ***🔗
bOb_subscribe_relog_1501@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUwMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-15 16:05:27.268 ***🔗
bOb_subscribe_relog_1501@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:05:27.268 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.269 ***🔗
bOb_subscribe_relog_1501@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82bcba48871a9bd2' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1501@localhost'>

*** User 2024-04-15 16:05:27.269 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.269 ***🔗
bOb_subscribe_relog_1501@localhost/res1 out
<iq type='set' id='b0a255d5f2db574fe2b72bd25e7280d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.269 ***🔗
bOb_subscribe_relog_1501@localhost/res1 in
<iq id='b0a255d5f2db574fe2b72bd25e7280d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1501@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.270 ***🔗
bob_subscribe_relog_1501@localhost/res1 out
<iq type='set' id='93f81a13ffe1143f1d9987e5c538add9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.270 ***🔗
bob_subscribe_relog_1501@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_1501@localhost/res1' id='93f81a13ffe1143f1d9987e5c538add9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.270 ***🔗
bob_subscribe_relog_1501@localhost/res1 out
<presence/>



*** User 2024-04-15 16:05:27.271 ***🔗
bob_subscribe_relog_1501@localhost/res1 in
<presence from='bob_subscribe_relog_1501@localhost/res1' to='bob_subscribe_relog_1501@localhost/res1'/>



*** User 2024-04-15 16:05:27.271 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<iq type='set' id='6216229922106592bea1c7bf29be4c1d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1501@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:27.274 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
<iq from='alice_subscribe_relog_1501@localhost' to='alice_subscribe_relog_1501@localhost/res1' id='pushf41fe0262b82ea28' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_1501@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:27.275 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
<iq from='alice_subscribe_relog_1501@localhost' to='alice_subscribe_relog_1501@localhost/res1' id='6216229922106592bea1c7bf29be4c1d' type='result'/>



*** User 2024-04-15 16:05:27.275 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<iq to='alice_subscribe_relog_1501@localhost' id='pushf41fe0262b82ea28' type='result'/>



*** User 2024-04-15 16:05:27.275 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1501@localhost'/>



*** User 2024-04-15 16:05:27.277 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
<iq from='alice_subscribe_relog_1501@localhost' to='alice_subscribe_relog_1501@localhost/res1' id='pushb60b01a6ae558661' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_1501@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:05:27.277 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
<iq to='alice_subscribe_relog_1501@localhost' id='pushb60b01a6ae558661' type='result'/>



*** User 2024-04-15 16:05:27.277 ***🔗
bob_subscribe_relog_1501@localhost/res1 in
<presence from='alice_subscribe_relog_1501@localhost' to='bob_subscribe_relog_1501@localhost/res1' type='subscribe'/>



*** User 2024-04-15 16:05:27.278 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.279 ***🔗
bOb_subscribe_relog_1501@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4e22fc189a70921' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:05:27.280 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.280 ***🔗
bOb_subscribe_relog_1501@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTUwMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-15 16:05:27.280 ***🔗
bOb_subscribe_relog_1501@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:05:27.280 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.281 ***🔗
bOb_subscribe_relog_1501@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e95eb1a4f12415a' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_1501@localhost'>

*** User 2024-04-15 16:05:27.281 ***🔗
bOb_subscribe_relog_1501@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-15 16:05:27.281 ***🔗
bOb_subscribe_relog_1501@localhost/newbob out
<iq type='set' id='6a61aa974c488e686db57b661e63be64'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.281 ***🔗
bOb_subscribe_relog_1501@localhost/newbob in
<iq id='6a61aa974c488e686db57b661e63be64' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1501@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-15 16:05:27.281 ***🔗
bob_subscribe_relog_1501@localhost/newbob out
<iq type='set' id='57fb2028e1a0789407bb6edfddcce203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.282 ***🔗
bob_subscribe_relog_1501@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_1501@localhost/newbob' id='57fb2028e1a0789407bb6edfddcce203' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:05:27.282 ***🔗
bob_subscribe_relog_1501@localhost/newbob out
<presence/>



*** User 2024-04-15 16:05:27.283 ***🔗
bob_subscribe_relog_1501@localhost/res1 in
<presence from='bob_subscribe_relog_1501@localhost/newbob' to='bob_subscribe_relog_1501@localhost/res1'/>



*** User 2024-04-15 16:05:27.283 ***🔗
bob_subscribe_relog_1501@localhost/newbob in
<presence from='alice_subscribe_relog_1501@localhost' to='bob_subscribe_relog_1501@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-15 16:05:27.283 ***🔗
bob_subscribe_relog_1501@localhost/newbob in
<presence from='bob_subscribe_relog_1501@localhost/newbob' to='bob_subscribe_relog_1501@localhost/newbob'/>



*** User 2024-04-15 16:05:27.283 ***🔗
bob_subscribe_relog_1501@localhost/newbob in
<presence from='bob_subscribe_relog_1501@localhost/res1' to='bob_subscribe_relog_1501@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-15T16:05:27.271021Z' from='bob_subscribe_relog_1501@localhost/res1'/>
</presence>



*** User 2024-04-15 16:05:27.283 ***🔗
bob_subscribe_relog_1501@localhost/newbob out
</stream:stream>

*** User 2024-04-15 16:05:27.284 ***🔗
bob_subscribe_relog_1501@localhost/newbob in
</stream:stream>

*** User 2024-04-15 16:05:27.284 ***🔗
bob_subscribe_relog_1501@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1501@localhost'/>



*** User 2024-04-15 16:05:27.284 ***🔗
bob_subscribe_relog_1501@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:05:27.286 ***🔗
bob_subscribe_relog_1501@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:05:27.286 ***🔗
alice_subscribe_relog_1501@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:05:27.286 ***🔗
alice_subscribe_relog_1501@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:05:27.292 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4227.html



=== Ended at 2024-04-15 16:05:27
=== successfully completed test case
=== === Returned value: ok