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

=== Config value:

    [{watchdog,<0.14672.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@e19d78a4da91.2024-04-22_14.48.03/big_tests.tests.presence_SUITE.logs/run.2024-04-22_15.15.00/presence_suite.subscribe_relog.187394.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@e19d78a4da91.2024-04-22_14.48.03/big_tests.tests.presence_SUITE.logs/run.2024-04-22_15.15.00/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@e19d78a4da91.2024-04-22_14.48.03"

=== Started at 2024-04-22 15:15:03


*** CT 2024-04-22 15:15:03.154 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5583.html

*** User 2024-04-22 15:15:03.194 ***🔗
alicE_subscribe_relog_4958@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-22 15:15:03.198 ***🔗
alicE_subscribe_relog_4958@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19175a37ed353efc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 15:15:03.199 ***🔗
alicE_subscribe_relog_4958@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-22 15:15:03.199 ***🔗
alicE_subscribe_relog_4958@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ180OTU4AG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 15:15:03.218 ***🔗
alicE_subscribe_relog_4958@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 15:15:03.218 ***🔗
alicE_subscribe_relog_4958@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-22 15:15:03.219 ***🔗
alicE_subscribe_relog_4958@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='337fe1f165d49fed' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_4958@localhost'>

*** User 2024-04-22 15:15:03.219 ***🔗
alicE_subscribe_relog_4958@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-22 15:15:03.219 ***🔗
alicE_subscribe_relog_4958@localhost/res1 out
<iq type='set' id='2bd5ae43bbcef69d0c7e50fbbb5cf105'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.220 ***🔗
alicE_subscribe_relog_4958@localhost/res1 in
<iq id='2bd5ae43bbcef69d0c7e50fbbb5cf105' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_4958@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.221 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<iq type='set' id='0eab5db8f44b784663d60df128fadec5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.230 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_4958@localhost/res1' id='0eab5db8f44b784663d60df128fadec5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.230 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<presence/>



*** User 2024-04-22 15:15:03.250 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
<presence from='alice_subscribe_relog_4958@localhost/res1' to='alice_subscribe_relog_4958@localhost/res1'/>



*** User 2024-04-22 15:15:03.252 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.252 ***🔗
bOb_subscribe_relog_4958@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a645a821909b3039' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 15:15:03.252 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.253 ***🔗
bOb_subscribe_relog_4958@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfNDk1OABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 15:15:03.273 ***🔗
bOb_subscribe_relog_4958@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 15:15:03.274 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.278 ***🔗
bOb_subscribe_relog_4958@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5afad237cd27d37' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_4958@localhost'>

*** User 2024-04-22 15:15:03.279 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.279 ***🔗
bOb_subscribe_relog_4958@localhost/res1 out
<iq type='set' id='d37d0aa55e0b7d37c9e10a8598a74d5e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.280 ***🔗
bOb_subscribe_relog_4958@localhost/res1 in
<iq id='d37d0aa55e0b7d37c9e10a8598a74d5e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_4958@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.281 ***🔗
bob_subscribe_relog_4958@localhost/res1 out
<iq type='set' id='6c6f85f179dc3c1c69cda1a87e4df1bd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.288 ***🔗
bob_subscribe_relog_4958@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_4958@localhost/res1' id='6c6f85f179dc3c1c69cda1a87e4df1bd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.288 ***🔗
bob_subscribe_relog_4958@localhost/res1 out
<presence/>



*** User 2024-04-22 15:15:03.301 ***🔗
bob_subscribe_relog_4958@localhost/res1 in
<presence from='bob_subscribe_relog_4958@localhost/res1' to='bob_subscribe_relog_4958@localhost/res1'/>



*** User 2024-04-22 15:15:03.301 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<iq type='set' id='9a57d52879958f22e11fc1f1816b6d1d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_4958@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 15:15:03.362 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
<iq from='alice_subscribe_relog_4958@localhost' to='alice_subscribe_relog_4958@localhost/res1' id='pushb682450b647424c6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_4958@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 15:15:03.369 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
<iq from='alice_subscribe_relog_4958@localhost' to='alice_subscribe_relog_4958@localhost/res1' id='9a57d52879958f22e11fc1f1816b6d1d' type='result'/>



*** User 2024-04-22 15:15:03.370 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<iq to='alice_subscribe_relog_4958@localhost' id='pushb682450b647424c6' type='result'/>



*** User 2024-04-22 15:15:03.370 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_4958@localhost'/>



*** User 2024-04-22 15:15:03.402 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
<iq from='alice_subscribe_relog_4958@localhost' to='alice_subscribe_relog_4958@localhost/res1' id='push015b569ed337ea49' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_4958@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 15:15:03.402 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
<iq to='alice_subscribe_relog_4958@localhost' id='push015b569ed337ea49' type='result'/>



*** User 2024-04-22 15:15:03.402 ***🔗
bob_subscribe_relog_4958@localhost/res1 in
<presence from='alice_subscribe_relog_4958@localhost' to='bob_subscribe_relog_4958@localhost/res1' type='subscribe'/>



*** User 2024-04-22 15:15:03.403 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.404 ***🔗
bOb_subscribe_relog_4958@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98e9d935130ad57b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 15:15:03.404 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.404 ***🔗
bOb_subscribe_relog_4958@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfNDk1OABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 15:15:03.406 ***🔗
bOb_subscribe_relog_4958@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 15:15:03.406 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.408 ***🔗
bOb_subscribe_relog_4958@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9fa088cb505d2fa5' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_4958@localhost'>

*** User 2024-04-22 15:15:03.408 ***🔗
bOb_subscribe_relog_4958@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-22 15:15:03.408 ***🔗
bOb_subscribe_relog_4958@localhost/newbob out
<iq type='set' id='4bd26737ef1eafad9a387b2d055d068b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.410 ***🔗
bOb_subscribe_relog_4958@localhost/newbob in
<iq id='4bd26737ef1eafad9a387b2d055d068b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_4958@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-22 15:15:03.411 ***🔗
bob_subscribe_relog_4958@localhost/newbob out
<iq type='set' id='272bb325bd65138ad059f45b1e324d5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.418 ***🔗
bob_subscribe_relog_4958@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_4958@localhost/newbob' id='272bb325bd65138ad059f45b1e324d5c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 15:15:03.418 ***🔗
bob_subscribe_relog_4958@localhost/newbob out
<presence/>



*** User 2024-04-22 15:15:03.423 ***🔗
bob_subscribe_relog_4958@localhost/res1 in
<presence from='bob_subscribe_relog_4958@localhost/newbob' to='bob_subscribe_relog_4958@localhost/res1'/>



*** User 2024-04-22 15:15:03.424 ***🔗
bob_subscribe_relog_4958@localhost/newbob in
<presence from='alice_subscribe_relog_4958@localhost' to='bob_subscribe_relog_4958@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-22 15:15:03.424 ***🔗
bob_subscribe_relog_4958@localhost/newbob in
<presence from='bob_subscribe_relog_4958@localhost/newbob' to='bob_subscribe_relog_4958@localhost/newbob'/>



*** User 2024-04-22 15:15:03.424 ***🔗
bob_subscribe_relog_4958@localhost/newbob in
<presence from='bob_subscribe_relog_4958@localhost/res1' to='bob_subscribe_relog_4958@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T15:15:03.294048Z' from='bob_subscribe_relog_4958@localhost/res1'/>
</presence>



*** User 2024-04-22 15:15:03.424 ***🔗
bob_subscribe_relog_4958@localhost/newbob out
</stream:stream>

*** User 2024-04-22 15:15:03.425 ***🔗
bob_subscribe_relog_4958@localhost/newbob in
</stream:stream>

*** User 2024-04-22 15:15:03.425 ***🔗
bob_subscribe_relog_4958@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_4958@localhost'/>



*** User 2024-04-22 15:15:03.427 ***🔗
bob_subscribe_relog_4958@localhost/res1 out
</stream:stream>

*** User 2024-04-22 15:15:03.471 ***🔗
bob_subscribe_relog_4958@localhost/res1 in
</stream:stream>

*** User 2024-04-22 15:15:03.471 ***🔗
alice_subscribe_relog_4958@localhost/res1 out
</stream:stream>

*** User 2024-04-22 15:15:03.473 ***🔗
alice_subscribe_relog_4958@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 15:15:03.494 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5583.html



=== Ended at 2024-04-22 15:15:03
=== successfully completed test case
=== === Returned value: ok