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

=== Config value:

    [{watchdog,<0.73282.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/presence_suite.subscribe_relog.137091.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@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/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@81b4ed498ac1.2024-04-23_23.21.08"

=== Started at 2024-04-23 23:33:54


*** CT 2024-04-23 23:33:54.457 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5445.html

*** User 2024-04-23 23:33:54.468 ***🔗
alicE_subscribe_relog_2661@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-23 23:33:54.468 ***🔗
alicE_subscribe_relog_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a1cb0b3b3cb93bf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:54.468 ***🔗
alicE_subscribe_relog_2661@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-23 23:33:54.469 ***🔗
alicE_subscribe_relog_2661@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjYxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@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-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3bc724886923c873' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2661@localhost'>

*** User 2024-04-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@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-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@localhost/res1 out
<iq type='set' id='9cb9431470192e8184e2a6c6a7524453'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.470 ***🔗
alicE_subscribe_relog_2661@localhost/res1 in
<iq id='9cb9431470192e8184e2a6c6a7524453' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2661@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.471 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<iq type='set' id='d96f724b8003316d0b8ab3841bc36a14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.471 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2661@localhost/res1' id='d96f724b8003316d0b8ab3841bc36a14' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.471 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:54.472 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
<presence from='alice_subscribe_relog_2661@localhost/res1' to='alice_subscribe_relog_2661@localhost/res1'/>



*** User 2024-04-23 23:33:54.473 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.473 ***🔗
bOb_subscribe_relog_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='816f15025fb3a302' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:54.473 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.473 ***🔗
bOb_subscribe_relog_2661@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY2MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 23:33:54.474 ***🔗
bOb_subscribe_relog_2661@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:54.474 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.475 ***🔗
bOb_subscribe_relog_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='913764919fecbc65' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2661@localhost'>

*** User 2024-04-23 23:33:54.475 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.475 ***🔗
bOb_subscribe_relog_2661@localhost/res1 out
<iq type='set' id='8dd5d763480568ebfaf1ee61de8eff59'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.475 ***🔗
bOb_subscribe_relog_2661@localhost/res1 in
<iq id='8dd5d763480568ebfaf1ee61de8eff59' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2661@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.475 ***🔗
bob_subscribe_relog_2661@localhost/res1 out
<iq type='set' id='c150f7e90553bc8b6ff08473031c8b91'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.476 ***🔗
bob_subscribe_relog_2661@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2661@localhost/res1' id='c150f7e90553bc8b6ff08473031c8b91' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.476 ***🔗
bob_subscribe_relog_2661@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:54.477 ***🔗
bob_subscribe_relog_2661@localhost/res1 in
<presence from='bob_subscribe_relog_2661@localhost/res1' to='bob_subscribe_relog_2661@localhost/res1'/>



*** User 2024-04-23 23:33:54.477 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<iq type='set' id='9bf6933d9a821e44e501d1e02144c181'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2661@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.484 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
<iq from='alice_subscribe_relog_2661@localhost' to='alice_subscribe_relog_2661@localhost/res1' id='pushf9137367850de420' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2661@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.484 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
<iq from='alice_subscribe_relog_2661@localhost' to='alice_subscribe_relog_2661@localhost/res1' id='9bf6933d9a821e44e501d1e02144c181' type='result'/>



*** User 2024-04-23 23:33:54.484 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<iq to='alice_subscribe_relog_2661@localhost' id='pushf9137367850de420' type='result'/>



*** User 2024-04-23 23:33:54.484 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2661@localhost'/>



*** User 2024-04-23 23:33:54.488 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
<iq from='alice_subscribe_relog_2661@localhost' to='alice_subscribe_relog_2661@localhost/res1' id='push09692573b1642493' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2661@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.488 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
<iq to='alice_subscribe_relog_2661@localhost' id='push09692573b1642493' type='result'/>



*** User 2024-04-23 23:33:54.488 ***🔗
bob_subscribe_relog_2661@localhost/res1 in
<presence from='alice_subscribe_relog_2661@localhost' to='bob_subscribe_relog_2661@localhost/res1' type='subscribe'/>



*** User 2024-04-23 23:33:54.489 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.489 ***🔗
bOb_subscribe_relog_2661@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c07134124433f0fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:54.489 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.489 ***🔗
bOb_subscribe_relog_2661@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY2MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 23:33:54.491 ***🔗
bOb_subscribe_relog_2661@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:54.492 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.492 ***🔗
bOb_subscribe_relog_2661@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3c313961c15fff6' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2661@localhost'>

*** User 2024-04-23 23:33:54.492 ***🔗
bOb_subscribe_relog_2661@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-23 23:33:54.492 ***🔗
bOb_subscribe_relog_2661@localhost/newbob out
<iq type='set' id='f0512a200c942c49a624aaeeda82ac8f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.526 ***🔗
bOb_subscribe_relog_2661@localhost/newbob in
<iq id='f0512a200c942c49a624aaeeda82ac8f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2661@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.526 ***🔗
bob_subscribe_relog_2661@localhost/newbob out
<iq type='set' id='e97fce9f48f3db41eddd2157b8f1c2d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.527 ***🔗
bob_subscribe_relog_2661@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2661@localhost/newbob' id='e97fce9f48f3db41eddd2157b8f1c2d6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.527 ***🔗
bob_subscribe_relog_2661@localhost/newbob out
<presence/>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_subscribe_relog_2661@localhost/res1 in
<presence from='bob_subscribe_relog_2661@localhost/newbob' to='bob_subscribe_relog_2661@localhost/res1'/>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_subscribe_relog_2661@localhost/newbob in
<presence from='alice_subscribe_relog_2661@localhost' to='bob_subscribe_relog_2661@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_subscribe_relog_2661@localhost/newbob in
<presence from='bob_subscribe_relog_2661@localhost/newbob' to='bob_subscribe_relog_2661@localhost/newbob'/>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_subscribe_relog_2661@localhost/newbob in
<presence from='bob_subscribe_relog_2661@localhost/res1' to='bob_subscribe_relog_2661@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T23:33:54.476840Z' from='bob_subscribe_relog_2661@localhost/res1'/>
</presence>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_subscribe_relog_2661@localhost/newbob out
</stream:stream>

*** User 2024-04-23 23:33:54.529 ***🔗
bob_subscribe_relog_2661@localhost/newbob in
</stream:stream>

*** User 2024-04-23 23:33:54.529 ***🔗
bob_subscribe_relog_2661@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2661@localhost'/>



*** User 2024-04-23 23:33:54.529 ***🔗
bob_subscribe_relog_2661@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:54.534 ***🔗
bob_subscribe_relog_2661@localhost/res1 in
</stream:stream>

*** User 2024-04-23 23:33:54.534 ***🔗
alice_subscribe_relog_2661@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:54.534 ***🔗
alice_subscribe_relog_2661@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 23:33:54.537 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5445.html



=== Ended at 2024-04-23 23:33:54
=== successfully completed test case
=== === Returned value: ok