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

=== Config value:

    [{watchdog,<0.71765.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/presence_suite.subscribe_relog.114308.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.presence_SUITE.logs/run.2024-04-12_13.37.29/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@8a480c91a890.2024-04-12_13.25.32"

=== Started at 2024-04-12 13:37:31


*** CT 2024-04-12 13:37:31.468 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2287.html

*** User 2024-04-12 13:37:31.491 ***🔗
alicE_subscribe_relog_2722@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-04-12 13:37:31.491 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59194f94ee38331d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:31.491 ***🔗
alicE_subscribe_relog_2722@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-04-12 13:37:31.491 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzIyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-12 13:37:31.492 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:31.493 ***🔗
alicE_subscribe_relog_2722@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-04-12 13:37:31.493 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dbb157d76ee8094c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2722@domain.example.com'>

*** User 2024-04-12 13:37:31.493 ***🔗
alicE_subscribe_relog_2722@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-04-12 13:37:31.493 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 out
<iq type='set' id='590d7f97f2a78fcc6bc27eccb617eb10'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.493 ***🔗
alicE_subscribe_relog_2722@domain.example.com/res1 in
<iq id='590d7f97f2a78fcc6bc27eccb617eb10' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2722@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.493 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<iq type='set' id='091b9ead319bb2f0eab01572816917d5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.494 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2722@domain.example.com/res1' id='091b9ead319bb2f0eab01572816917d5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.494 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:31.496 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2722@domain.example.com/res1' to='alice_subscribe_relog_2722@domain.example.com/res1'/>



*** User 2024-04-12 13:37:31.497 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.497 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e9cac346113eb4e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:31.497 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.497 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjcyMgBtYWtyb2xpa2E=</auth>



*** User 2024-04-12 13:37:31.498 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:31.498 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.499 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c0be2a0c244b43c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2722@domain.example.com'>

*** User 2024-04-12 13:37:31.499 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.499 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 out
<iq type='set' id='f5f1907ecf71f86e3730e518e98e8295'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.499 ***🔗
bOb_subscribe_relog_2722@domain.example.com/res1 in
<iq id='f5f1907ecf71f86e3730e518e98e8295' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2722@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.499 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 out
<iq type='set' id='daf6d55502dcd0de371f8318d8d0b8dd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.500 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2722@domain.example.com/res1' id='daf6d55502dcd0de371f8318d8d0b8dd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.500 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:37:31.502 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2722@domain.example.com/res1' to='bob_subscribe_relog_2722@domain.example.com/res1'/>



*** User 2024-04-12 13:37:31.502 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<iq type='set' id='6168878bfe120454035c72dd2e02a28d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2722@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:37:31.508 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2722@domain.example.com' to='alice_subscribe_relog_2722@domain.example.com/res1' id='pushab83d40d0f88ee45' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2722@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:37:31.508 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2722@domain.example.com' to='alice_subscribe_relog_2722@domain.example.com/res1' id='6168878bfe120454035c72dd2e02a28d' type='result'/>



*** User 2024-04-12 13:37:31.508 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2722@domain.example.com' id='pushab83d40d0f88ee45' type='result'/>



*** User 2024-04-12 13:37:31.508 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2722@domain.example.com'/>



*** User 2024-04-12 13:37:31.515 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2722@domain.example.com' to='alice_subscribe_relog_2722@domain.example.com/res1' id='push960126431aa07cdf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2722@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:37:31.516 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2722@domain.example.com' id='push960126431aa07cdf' type='result'/>



*** User 2024-04-12 13:37:31.516 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2722@domain.example.com' to='bob_subscribe_relog_2722@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-12 13:37:31.516 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.516 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b60d6937e85282f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:37:31.517 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.517 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjcyMgBtYWtyb2xpa2E=</auth>



*** User 2024-04-12 13:37:31.518 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:37:31.518 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.518 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea44295abfeb308a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2722@domain.example.com'>

*** User 2024-04-12 13:37:31.518 ***🔗
bOb_subscribe_relog_2722@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-04-12 13:37:31.518 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob out
<iq type='set' id='415fcc0dc077439f0203d3ad541c8c1b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.519 ***🔗
bOb_subscribe_relog_2722@domain.example.com/newbob in
<iq id='415fcc0dc077439f0203d3ad541c8c1b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2722@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-04-12 13:37:31.519 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob out
<iq type='set' id='b721e37a56eb9649f05c75eb0c607e9f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.519 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2722@domain.example.com/newbob' id='b721e37a56eb9649f05c75eb0c607e9f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:37:31.519 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob out
<presence/>



*** User 2024-04-12 13:37:31.521 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2722@domain.example.com/newbob' to='bob_subscribe_relog_2722@domain.example.com/res1'/>



*** User 2024-04-12 13:37:31.521 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2722@domain.example.com' to='bob_subscribe_relog_2722@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-12 13:37:31.521 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2722@domain.example.com/newbob' to='bob_subscribe_relog_2722@domain.example.com/newbob'/>



*** User 2024-04-12 13:37:31.521 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2722@domain.example.com/res1' to='bob_subscribe_relog_2722@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-12T13:37:31.501949Z' from='bob_subscribe_relog_2722@domain.example.com/res1'/>
</presence>



*** User 2024-04-12 13:37:31.522 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob out
</stream:stream>

*** User 2024-04-12 13:37:31.522 ***🔗
bob_subscribe_relog_2722@domain.example.com/newbob in
</stream:stream>

*** User 2024-04-12 13:37:31.522 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2722@domain.example.com'/>



*** User 2024-04-12 13:37:31.522 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:37:31.565 ***🔗
bob_subscribe_relog_2722@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-12 13:37:31.565 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:37:31.566 ***🔗
alice_subscribe_relog_2722@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-12 13:37:31.568 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2287.html



=== Ended at 2024-04-12 13:37:31
=== successfully completed test case
=== === Returned value: ok