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

=== Config value:

    [{watchdog,<0.3376.2>},
     {preset,"pgsql_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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/presence_suite.subscribe_relog.205570.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a557e8d70b1c.2023-11-17_15.09.37"

=== Started at 2023-11-17 15:21:37


*** CT 2023-11-17 15:21:37.242 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2620.html

*** User 2023-11-17 15:21:37.267 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.267 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6ef991a99bba1eb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:21:37.267 ***🔗
alicE_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.267 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjYyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:21:37.268 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:21:37.268 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.268 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28bec759aafef95a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2662@domain.example.com'>

*** User 2023-11-17 15:21:37.268 ***🔗
alicE_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.269 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 out
<iq type='set' id='315cbf28e92373dbdea5f62554bc9828'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.269 ***🔗
alicE_subscribe_relog_2662@domain.example.com/res1 in
<iq id='315cbf28e92373dbdea5f62554bc9828' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2662@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.269 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<iq type='set' id='23bbb3864ae0c8bbedfff0ab29642f2a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.269 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2662@domain.example.com/res1' id='23bbb3864ae0c8bbedfff0ab29642f2a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.269 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:21:37.270 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2662@domain.example.com/res1' to='alice_subscribe_relog_2662@domain.example.com/res1'/>



*** User 2023-11-17 15:21:37.270 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.271 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65a3a7c36df5708c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:21:37.271 ***🔗
bOb_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.271 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY2MgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:21:37.271 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:21:37.272 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.272 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d132a000f6a6ed61' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2662@domain.example.com'>

*** User 2023-11-17 15:21:37.272 ***🔗
bOb_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.272 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 out
<iq type='set' id='16bf11a43be6ff6cbccd31fd3cc0af9c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.272 ***🔗
bOb_subscribe_relog_2662@domain.example.com/res1 in
<iq id='16bf11a43be6ff6cbccd31fd3cc0af9c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2662@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.272 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 out
<iq type='set' id='2eed2a40a1ebf34b7bee9c5dc63e0065'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.273 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2662@domain.example.com/res1' id='2eed2a40a1ebf34b7bee9c5dc63e0065' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.273 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:21:37.273 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2662@domain.example.com/res1' to='bob_subscribe_relog_2662@domain.example.com/res1'/>



*** User 2023-11-17 15:21:37.273 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<iq type='set' id='01ab9aca4d543e93d491532822cacde4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2662@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.279 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2662@domain.example.com' to='alice_subscribe_relog_2662@domain.example.com/res1' id='push0cd629e897f7ed21' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2662@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.280 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2662@domain.example.com' to='alice_subscribe_relog_2662@domain.example.com/res1' id='01ab9aca4d543e93d491532822cacde4' type='result'/>



*** User 2023-11-17 15:21:37.280 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2662@domain.example.com' id='push0cd629e897f7ed21' type='result'/>



*** User 2023-11-17 15:21:37.280 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2662@domain.example.com'/>



*** User 2023-11-17 15:21:37.297 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2662@domain.example.com' to='alice_subscribe_relog_2662@domain.example.com/res1' id='pusha0ff966326089310' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2662@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.297 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2662@domain.example.com' id='pusha0ff966326089310' type='result'/>



*** User 2023-11-17 15:21:37.298 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2662@domain.example.com' to='bob_subscribe_relog_2662@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:21:37.298 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.298 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9141ac10267e3a4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:21:37.298 ***🔗
bOb_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.298 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY2MgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5002e82887f15de3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2662@domain.example.com'>

*** User 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/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 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob out
<iq type='set' id='89f3b7f64cf99c1bbfaa8245a6f0619c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.308 ***🔗
bOb_subscribe_relog_2662@domain.example.com/newbob in
<iq id='89f3b7f64cf99c1bbfaa8245a6f0619c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2662@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.308 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob out
<iq type='set' id='f1f21a3f7e7a8237456e402aad00a441'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.309 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2662@domain.example.com/newbob' id='f1f21a3f7e7a8237456e402aad00a441' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.309 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob out
<presence/>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2662@domain.example.com/newbob' to='bob_subscribe_relog_2662@domain.example.com/res1'/>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2662@domain.example.com' to='bob_subscribe_relog_2662@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2662@domain.example.com/newbob' to='bob_subscribe_relog_2662@domain.example.com/newbob'/>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2662@domain.example.com/res1' to='bob_subscribe_relog_2662@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:21:37.273464Z' from='bob_subscribe_relog_2662@domain.example.com/res1'/>
</presence>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob out
</stream:stream>

*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/newbob in
</stream:stream>

*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2662@domain.example.com'/>



*** User 2023-11-17 15:21:37.310 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:21:37.322 ***🔗
bob_subscribe_relog_2662@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:21:37.322 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:21:37.322 ***🔗
alice_subscribe_relog_2662@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:21:37.324 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2620.html



=== Ended at 2023-11-17 15:21:37
=== successfully completed test case
=== === Returned value: ok