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

=== Config value:

    [{watchdog,<0.70896.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/presence_suite.subscribe_relog.93060.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/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@c558b6ad2bd8.2024-02-26_15.40.27"

=== Started at 2024-02-26 15:55:01


*** CT 2024-02-26 15:55:01.316 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2559.html

*** User 2024-02-26 15:55:01.353 ***🔗
alicE_subscribe_relog_2827@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 2024-02-26 15:55:01.353 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dad6e5b72b15be8b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:55:01.354 ***🔗
alicE_subscribe_relog_2827@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 2024-02-26 15:55:01.354 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODI3AG1hdHlncnlzYQ==</auth>



*** User 2024-02-26 15:55:01.355 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:55:01.355 ***🔗
alicE_subscribe_relog_2827@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 2024-02-26 15:55:01.355 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='848abde1cc37856a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2827@domain.example.com'>

*** User 2024-02-26 15:55:01.355 ***🔗
alicE_subscribe_relog_2827@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 2024-02-26 15:55:01.355 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 out
<iq type='set' id='f165ccbc2800fe32bb3cd5870b6a613b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.356 ***🔗
alicE_subscribe_relog_2827@domain.example.com/res1 in
<iq id='f165ccbc2800fe32bb3cd5870b6a613b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2827@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.356 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<iq type='set' id='b2ad690f94fe10b9bd014aae67152121'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.356 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2827@domain.example.com/res1' id='b2ad690f94fe10b9bd014aae67152121' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.356 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:55:01.357 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2827@domain.example.com/res1' to='alice_subscribe_relog_2827@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.358 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.358 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d5a807b3614f960' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:55:01.358 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.358 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgyNwBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 15:55:01.359 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:55:01.359 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.359 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='670db6a37f1d0b3e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2827@domain.example.com'>

*** User 2024-02-26 15:55:01.360 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.360 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 out
<iq type='set' id='8350341e0a78e9fcc028f9ddead767d4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bOb_subscribe_relog_2827@domain.example.com/res1 in
<iq id='8350341e0a78e9fcc028f9ddead767d4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2827@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 out
<iq type='set' id='4defad9ffd091613ab16e705597cc30f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2827@domain.example.com/res1' id='4defad9ffd091613ab16e705597cc30f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:55:01.362 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2827@domain.example.com/res1' to='bob_subscribe_relog_2827@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.362 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<iq type='set' id='97e54cbff2a3aa390688de12f63f4b2a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2827@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.399 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2827@domain.example.com' to='alice_subscribe_relog_2827@domain.example.com/res1' id='push0f5ace457ab3e456' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2827@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.399 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2827@domain.example.com' to='alice_subscribe_relog_2827@domain.example.com/res1' id='97e54cbff2a3aa390688de12f63f4b2a' type='result'/>



*** User 2024-02-26 15:55:01.399 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2827@domain.example.com' id='push0f5ace457ab3e456' type='result'/>



*** User 2024-02-26 15:55:01.399 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2827@domain.example.com'/>



*** User 2024-02-26 15:55:01.446 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2827@domain.example.com' to='alice_subscribe_relog_2827@domain.example.com/res1' id='push915025e1513800f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2827@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.446 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2827@domain.example.com' id='push915025e1513800f8' type='result'/>



*** User 2024-02-26 15:55:01.446 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2827@domain.example.com' to='bob_subscribe_relog_2827@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-26 15:55:01.446 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.447 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3547ee143ab29a1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:55:01.447 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.447 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgyNwBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 15:55:01.455 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:55:01.455 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.455 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5424ab9382c434cd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2827@domain.example.com'>

*** User 2024-02-26 15:55:01.455 ***🔗
bOb_subscribe_relog_2827@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 2024-02-26 15:55:01.455 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob out
<iq type='set' id='f5f93f2a6d994226f9ed7794cfb8b535'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.456 ***🔗
bOb_subscribe_relog_2827@domain.example.com/newbob in
<iq id='f5f93f2a6d994226f9ed7794cfb8b535' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2827@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.456 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob out
<iq type='set' id='a12185e0e5d27ae6c8a4aaabca29c429'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.456 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2827@domain.example.com/newbob' id='a12185e0e5d27ae6c8a4aaabca29c429' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.456 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob out
<presence/>



*** User 2024-02-26 15:55:01.481 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2827@domain.example.com/newbob' to='bob_subscribe_relog_2827@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.481 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2827@domain.example.com' to='bob_subscribe_relog_2827@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-26 15:55:01.481 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2827@domain.example.com/newbob' to='bob_subscribe_relog_2827@domain.example.com/newbob'/>



*** User 2024-02-26 15:55:01.481 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2827@domain.example.com/res1' to='bob_subscribe_relog_2827@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T15:55:01.362037Z' from='bob_subscribe_relog_2827@domain.example.com/res1'/>
</presence>



*** User 2024-02-26 15:55:01.481 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob out
</stream:stream>

*** User 2024-02-26 15:55:01.482 ***🔗
bob_subscribe_relog_2827@domain.example.com/newbob in
</stream:stream>

*** User 2024-02-26 15:55:01.482 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2827@domain.example.com'/>



*** User 2024-02-26 15:55:01.482 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:55:01.543 ***🔗
bob_subscribe_relog_2827@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-26 15:55:01.544 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:55:01.544 ***🔗
alice_subscribe_relog_2827@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-26 15:55:01.546 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2559.html



=== Ended at 2024-02-26 15:55:01
=== successfully completed test case
=== === Returned value: ok