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

=== Config value:

    [{watchdog,<0.78455.0>},
     {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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/presence_suite.subscribe_relog.119556.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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/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@c2059f896f71.2024-04-26_12.39.19"

=== Started at 2024-04-26 12:54:06


*** CT 2024-04-26 12:54:06.036 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4714.html

*** User 2024-04-26 12:54:06.051 ***🔗
alicE_subscribe_relog_3188@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-26 12:54:06.052 ***🔗
alicE_subscribe_relog_3188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4a781804c27ae57' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:06.052 ***🔗
alicE_subscribe_relog_3188@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-26 12:54:06.052 ***🔗
alicE_subscribe_relog_3188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMTg4AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:54:06.053 ***🔗
alicE_subscribe_relog_3188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:06.053 ***🔗
alicE_subscribe_relog_3188@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-26 12:54:06.053 ***🔗
alicE_subscribe_relog_3188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='771da3dfe3d57fdc' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3188@localhost'>

*** User 2024-04-26 12:54:06.053 ***🔗
alicE_subscribe_relog_3188@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-26 12:54:06.054 ***🔗
alicE_subscribe_relog_3188@localhost/res1 out
<iq type='set' id='5c194c1b06d27297ac9416757f417a22'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.054 ***🔗
alicE_subscribe_relog_3188@localhost/res1 in
<iq id='5c194c1b06d27297ac9416757f417a22' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_3188@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.054 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<iq type='set' id='036c662047e8c5c526f259812d41cc98'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.055 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3188@localhost/res1' id='036c662047e8c5c526f259812d41cc98' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.055 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:06.056 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
<presence from='alice_subscribe_relog_3188@localhost/res1' to='alice_subscribe_relog_3188@localhost/res1'/>



*** User 2024-04-26 12:54:06.057 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.057 ***🔗
bOb_subscribe_relog_3188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2d20813782ef202' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:06.057 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.058 ***🔗
bOb_subscribe_relog_3188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzE4OABtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:54:06.059 ***🔗
bOb_subscribe_relog_3188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:06.059 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.059 ***🔗
bOb_subscribe_relog_3188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdc0d858434337da' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3188@localhost'>

*** User 2024-04-26 12:54:06.059 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.059 ***🔗
bOb_subscribe_relog_3188@localhost/res1 out
<iq type='set' id='e7b0a1c9afeb03ef51ce5356f0bdc17a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.060 ***🔗
bOb_subscribe_relog_3188@localhost/res1 in
<iq id='e7b0a1c9afeb03ef51ce5356f0bdc17a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3188@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.060 ***🔗
bob_subscribe_relog_3188@localhost/res1 out
<iq type='set' id='977305a911052d824d8b2229b88646d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.061 ***🔗
bob_subscribe_relog_3188@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3188@localhost/res1' id='977305a911052d824d8b2229b88646d9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.062 ***🔗
bob_subscribe_relog_3188@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:06.063 ***🔗
bob_subscribe_relog_3188@localhost/res1 in
<presence from='bob_subscribe_relog_3188@localhost/res1' to='bob_subscribe_relog_3188@localhost/res1'/>



*** User 2024-04-26 12:54:06.063 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<iq type='set' id='ae73d7ef5981eb4423df1c731d04b326'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_3188@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.066 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
<iq from='alice_subscribe_relog_3188@localhost' to='alice_subscribe_relog_3188@localhost/res1' id='push6ce3160b0f271487' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_3188@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.067 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
<iq from='alice_subscribe_relog_3188@localhost' to='alice_subscribe_relog_3188@localhost/res1' id='ae73d7ef5981eb4423df1c731d04b326' type='result'/>



*** User 2024-04-26 12:54:06.067 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<iq to='alice_subscribe_relog_3188@localhost' id='push6ce3160b0f271487' type='result'/>



*** User 2024-04-26 12:54:06.067 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3188@localhost'/>



*** User 2024-04-26 12:54:06.072 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
<iq from='alice_subscribe_relog_3188@localhost' to='alice_subscribe_relog_3188@localhost/res1' id='push2c5acc709846c28d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3188@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.072 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
<iq to='alice_subscribe_relog_3188@localhost' id='push2c5acc709846c28d' type='result'/>



*** User 2024-04-26 12:54:06.072 ***🔗
bob_subscribe_relog_3188@localhost/res1 in
<presence from='alice_subscribe_relog_3188@localhost' to='bob_subscribe_relog_3188@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:54:06.073 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.073 ***🔗
bOb_subscribe_relog_3188@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14a8e7c3732ab04c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:06.073 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.074 ***🔗
bOb_subscribe_relog_3188@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzE4OABtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:54:06.082 ***🔗
bOb_subscribe_relog_3188@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:06.082 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.082 ***🔗
bOb_subscribe_relog_3188@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='283227a1f7afdd99' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3188@localhost'>

*** User 2024-04-26 12:54:06.082 ***🔗
bOb_subscribe_relog_3188@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-26 12:54:06.083 ***🔗
bOb_subscribe_relog_3188@localhost/newbob out
<iq type='set' id='e144d3d1992950cc6506d53824480c84'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.083 ***🔗
bOb_subscribe_relog_3188@localhost/newbob in
<iq id='e144d3d1992950cc6506d53824480c84' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3188@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.083 ***🔗
bob_subscribe_relog_3188@localhost/newbob out
<iq type='set' id='67184e745ba3a54e4763764ff396f66f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.084 ***🔗
bob_subscribe_relog_3188@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3188@localhost/newbob' id='67184e745ba3a54e4763764ff396f66f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.084 ***🔗
bob_subscribe_relog_3188@localhost/newbob out
<presence/>



*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/res1 in
<presence from='bob_subscribe_relog_3188@localhost/newbob' to='bob_subscribe_relog_3188@localhost/res1'/>



*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/newbob in
<presence from='alice_subscribe_relog_3188@localhost' to='bob_subscribe_relog_3188@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/newbob in
<presence from='bob_subscribe_relog_3188@localhost/newbob' to='bob_subscribe_relog_3188@localhost/newbob'/>



*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/newbob in
<presence from='bob_subscribe_relog_3188@localhost/res1' to='bob_subscribe_relog_3188@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-26T12:54:06.062935Z' from='bob_subscribe_relog_3188@localhost/res1'/>
</presence>



*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/newbob out
</stream:stream>

*** User 2024-04-26 12:54:06.085 ***🔗
bob_subscribe_relog_3188@localhost/newbob in
</stream:stream>

*** User 2024-04-26 12:54:06.086 ***🔗
bob_subscribe_relog_3188@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3188@localhost'/>



*** User 2024-04-26 12:54:06.086 ***🔗
bob_subscribe_relog_3188@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:06.092 ***🔗
bob_subscribe_relog_3188@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:06.093 ***🔗
alice_subscribe_relog_3188@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:06.093 ***🔗
alice_subscribe_relog_3188@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:54:06.098 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4714.html



=== Ended at 2024-04-26 12:54:06
=== successfully completed test case
=== === Returned value: ok