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

=== Config value:

    [{watchdog,<0.12270.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@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.presence_SUITE.logs/run.2024-02-26_12.17.15/presence_suite.subscribe_relog.171395.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@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.presence_SUITE.logs/run.2024-02-26_12.17.15/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@fd91257997dc.2024-02-26_12.03.35"

=== Started at 2024-02-26 12:17:17


*** CT 2024-02-26 12:17:17.836 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4683.html

*** User 2024-02-26 12:17:17.849 ***🔗
alicE_subscribe_relog_2979@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-02-26 12:17:17.849 ***🔗
alicE_subscribe_relog_2979@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c39eefecec9483d6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 12:17:17.849 ***🔗
alicE_subscribe_relog_2979@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-02-26 12:17:17.849 ***🔗
alicE_subscribe_relog_2979@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yOTc5AG1hdHlncnlzYQ==</auth>



*** User 2024-02-26 12:17:17.850 ***🔗
alicE_subscribe_relog_2979@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 12:17:17.851 ***🔗
alicE_subscribe_relog_2979@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-02-26 12:17:17.851 ***🔗
alicE_subscribe_relog_2979@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='810cb3ab6583e23a' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2979@localhost'>

*** User 2024-02-26 12:17:17.851 ***🔗
alicE_subscribe_relog_2979@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-02-26 12:17:17.852 ***🔗
alicE_subscribe_relog_2979@localhost/res1 out
<iq type='set' id='188c0b22f9555b534127c7848de1fc8f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.852 ***🔗
alicE_subscribe_relog_2979@localhost/res1 in
<iq id='188c0b22f9555b534127c7848de1fc8f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2979@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.852 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<iq type='set' id='503e184f0933564e2521161da6593a63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.853 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2979@localhost/res1' id='503e184f0933564e2521161da6593a63' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.853 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<presence/>



*** User 2024-02-26 12:17:17.854 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
<presence from='alice_subscribe_relog_2979@localhost/res1' to='alice_subscribe_relog_2979@localhost/res1'/>



*** User 2024-02-26 12:17:17.855 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.855 ***🔗
bOb_subscribe_relog_2979@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='235f9cd6232bbe19' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 12:17:17.855 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.856 ***🔗
bOb_subscribe_relog_2979@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk3OQBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 12:17:17.856 ***🔗
bOb_subscribe_relog_2979@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 12:17:17.857 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.857 ***🔗
bOb_subscribe_relog_2979@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16e17f07e25855d0' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2979@localhost'>

*** User 2024-02-26 12:17:17.857 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.857 ***🔗
bOb_subscribe_relog_2979@localhost/res1 out
<iq type='set' id='cf660a9a41a0016c0c2123bc7ad3868b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.858 ***🔗
bOb_subscribe_relog_2979@localhost/res1 in
<iq id='cf660a9a41a0016c0c2123bc7ad3868b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2979@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.858 ***🔗
bob_subscribe_relog_2979@localhost/res1 out
<iq type='set' id='2a7dc51bc759fd99632b7580b250b221'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.858 ***🔗
bob_subscribe_relog_2979@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2979@localhost/res1' id='2a7dc51bc759fd99632b7580b250b221' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.858 ***🔗
bob_subscribe_relog_2979@localhost/res1 out
<presence/>



*** User 2024-02-26 12:17:17.859 ***🔗
bob_subscribe_relog_2979@localhost/res1 in
<presence from='bob_subscribe_relog_2979@localhost/res1' to='bob_subscribe_relog_2979@localhost/res1'/>



*** User 2024-02-26 12:17:17.859 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<iq type='set' id='eb276d6dc7ae9fb85663a40e03d61ef7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2979@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:17:17.867 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
<iq from='alice_subscribe_relog_2979@localhost' to='alice_subscribe_relog_2979@localhost/res1' id='push3a86ebd136163652' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2979@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:17:17.867 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
<iq from='alice_subscribe_relog_2979@localhost' to='alice_subscribe_relog_2979@localhost/res1' id='eb276d6dc7ae9fb85663a40e03d61ef7' type='result'/>



*** User 2024-02-26 12:17:17.867 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<iq to='alice_subscribe_relog_2979@localhost' id='push3a86ebd136163652' type='result'/>



*** User 2024-02-26 12:17:17.867 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2979@localhost'/>



*** User 2024-02-26 12:17:17.873 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
<iq from='alice_subscribe_relog_2979@localhost' to='alice_subscribe_relog_2979@localhost/res1' id='push9e00f87b3b7efe77' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2979@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:17:17.873 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
<iq to='alice_subscribe_relog_2979@localhost' id='push9e00f87b3b7efe77' type='result'/>



*** User 2024-02-26 12:17:17.873 ***🔗
bob_subscribe_relog_2979@localhost/res1 in
<presence from='alice_subscribe_relog_2979@localhost' to='bob_subscribe_relog_2979@localhost/res1' type='subscribe'/>



*** User 2024-02-26 12:17:17.874 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.874 ***🔗
bOb_subscribe_relog_2979@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e054089740f6da1e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 12:17:17.875 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.875 ***🔗
bOb_subscribe_relog_2979@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjk3OQBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 12:17:17.876 ***🔗
bOb_subscribe_relog_2979@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 12:17:17.876 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.876 ***🔗
bOb_subscribe_relog_2979@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf879c77a43024e5' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2979@localhost'>

*** User 2024-02-26 12:17:17.876 ***🔗
bOb_subscribe_relog_2979@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-02-26 12:17:17.877 ***🔗
bOb_subscribe_relog_2979@localhost/newbob out
<iq type='set' id='1fe1ef6a7fcba996a2aadc04c271f3a0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.877 ***🔗
bOb_subscribe_relog_2979@localhost/newbob in
<iq id='1fe1ef6a7fcba996a2aadc04c271f3a0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2979@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-02-26 12:17:17.877 ***🔗
bob_subscribe_relog_2979@localhost/newbob out
<iq type='set' id='2e7115738b052e57ce06b8a7ed4e953a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.878 ***🔗
bob_subscribe_relog_2979@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2979@localhost/newbob' id='2e7115738b052e57ce06b8a7ed4e953a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:17:17.878 ***🔗
bob_subscribe_relog_2979@localhost/newbob out
<presence/>



*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/res1 in
<presence from='bob_subscribe_relog_2979@localhost/newbob' to='bob_subscribe_relog_2979@localhost/res1'/>



*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/newbob in
<presence from='alice_subscribe_relog_2979@localhost' to='bob_subscribe_relog_2979@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/newbob in
<presence from='bob_subscribe_relog_2979@localhost/newbob' to='bob_subscribe_relog_2979@localhost/newbob'/>



*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/newbob in
<presence from='bob_subscribe_relog_2979@localhost/res1' to='bob_subscribe_relog_2979@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T12:17:17.859417Z' from='bob_subscribe_relog_2979@localhost/res1'/>
</presence>



*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/newbob out
</stream:stream>

*** User 2024-02-26 12:17:17.879 ***🔗
bob_subscribe_relog_2979@localhost/newbob in
</stream:stream>

*** User 2024-02-26 12:17:17.880 ***🔗
bob_subscribe_relog_2979@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2979@localhost'/>



*** User 2024-02-26 12:17:17.880 ***🔗
bob_subscribe_relog_2979@localhost/res1 out
</stream:stream>

*** User 2024-02-26 12:17:17.884 ***🔗
bob_subscribe_relog_2979@localhost/res1 in
</stream:stream>

*** User 2024-02-26 12:17:17.884 ***🔗
alice_subscribe_relog_2979@localhost/res1 out
</stream:stream>

*** User 2024-02-26 12:17:17.884 ***🔗
alice_subscribe_relog_2979@localhost/res1 in
</stream:stream>
*** CT 2024-02-26 12:17:17.886 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4683.html



=== Ended at 2024-02-26 12:17:17
=== successfully completed test case
=== === Returned value: ok