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

=== Config value:

    [{watchdog,<0.79770.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.01.09/presence_suite.subscribe_relog.170755.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.presence_SUITE.logs/run.2024-04-23_07.01.09/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@7856d109ddbc.2024-04-23_06.47.05"

=== Started at 2024-04-23 07:01:11


*** CT 2024-04-23 07:01:11.604 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5520.html

*** User 2024-04-23 07:01:11.615 ***🔗
alicE_subscribe_relog_3047@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 07:01:11.616 ***🔗
alicE_subscribe_relog_3047@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='710dbceece28be59' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:01:11.616 ***🔗
alicE_subscribe_relog_3047@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 07:01:11.616 ***🔗
alicE_subscribe_relog_3047@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDQ3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 07:01:11.617 ***🔗
alicE_subscribe_relog_3047@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:01:11.617 ***🔗
alicE_subscribe_relog_3047@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 07:01:11.617 ***🔗
alicE_subscribe_relog_3047@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc222613cd5daca3' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3047@localhost'>

*** User 2024-04-23 07:01:11.617 ***🔗
alicE_subscribe_relog_3047@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 07:01:11.617 ***🔗
alicE_subscribe_relog_3047@localhost/res1 out
<iq type='set' id='e856c73e0222ad915d12d3f5c2203afe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.618 ***🔗
alicE_subscribe_relog_3047@localhost/res1 in
<iq id='e856c73e0222ad915d12d3f5c2203afe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_3047@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.618 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<iq type='set' id='8249c6d7724d31dce1117bfbdd6a7f84'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.618 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3047@localhost/res1' id='8249c6d7724d31dce1117bfbdd6a7f84' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.618 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<presence/>



*** User 2024-04-23 07:01:11.619 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
<presence from='alice_subscribe_relog_3047@localhost/res1' to='alice_subscribe_relog_3047@localhost/res1'/>



*** User 2024-04-23 07:01:11.620 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.620 ***🔗
bOb_subscribe_relog_3047@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec01ef48d714d415' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:01:11.620 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.620 ***🔗
bOb_subscribe_relog_3047@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA0NwBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 07:01:11.621 ***🔗
bOb_subscribe_relog_3047@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:01:11.621 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.622 ***🔗
bOb_subscribe_relog_3047@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d67dd5fbd92b8c7' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3047@localhost'>

*** User 2024-04-23 07:01:11.622 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.622 ***🔗
bOb_subscribe_relog_3047@localhost/res1 out
<iq type='set' id='e498252c2cda95c41312dc32ab9fd522'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.622 ***🔗
bOb_subscribe_relog_3047@localhost/res1 in
<iq id='e498252c2cda95c41312dc32ab9fd522' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3047@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.622 ***🔗
bob_subscribe_relog_3047@localhost/res1 out
<iq type='set' id='a8934e83f06676f5f4fa86a1f3ae4eda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.623 ***🔗
bob_subscribe_relog_3047@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3047@localhost/res1' id='a8934e83f06676f5f4fa86a1f3ae4eda' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.623 ***🔗
bob_subscribe_relog_3047@localhost/res1 out
<presence/>



*** User 2024-04-23 07:01:11.624 ***🔗
bob_subscribe_relog_3047@localhost/res1 in
<presence from='bob_subscribe_relog_3047@localhost/res1' to='bob_subscribe_relog_3047@localhost/res1'/>



*** User 2024-04-23 07:01:11.624 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<iq type='set' id='79774de6dfe63831a0d30de77735ff5c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_3047@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 07:01:11.628 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
<iq from='alice_subscribe_relog_3047@localhost' to='alice_subscribe_relog_3047@localhost/res1' id='pushae4e7703c5c4e6d6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_3047@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 07:01:11.628 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
<iq from='alice_subscribe_relog_3047@localhost' to='alice_subscribe_relog_3047@localhost/res1' id='79774de6dfe63831a0d30de77735ff5c' type='result'/>



*** User 2024-04-23 07:01:11.628 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<iq to='alice_subscribe_relog_3047@localhost' id='pushae4e7703c5c4e6d6' type='result'/>



*** User 2024-04-23 07:01:11.628 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3047@localhost'/>



*** User 2024-04-23 07:01:11.632 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
<iq from='alice_subscribe_relog_3047@localhost' to='alice_subscribe_relog_3047@localhost/res1' id='push331f8f678df532cb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3047@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 07:01:11.633 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
<iq to='alice_subscribe_relog_3047@localhost' id='push331f8f678df532cb' type='result'/>



*** User 2024-04-23 07:01:11.633 ***🔗
bob_subscribe_relog_3047@localhost/res1 in
<presence from='alice_subscribe_relog_3047@localhost' to='bob_subscribe_relog_3047@localhost/res1' type='subscribe'/>



*** User 2024-04-23 07:01:11.633 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.633 ***🔗
bOb_subscribe_relog_3047@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a5f5ba4102166db' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:01:11.634 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.634 ***🔗
bOb_subscribe_relog_3047@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA0NwBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 07:01:11.635 ***🔗
bOb_subscribe_relog_3047@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:01:11.635 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.636 ***🔗
bOb_subscribe_relog_3047@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97605f5a1b414a3d' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3047@localhost'>

*** User 2024-04-23 07:01:11.636 ***🔗
bOb_subscribe_relog_3047@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 07:01:11.636 ***🔗
bOb_subscribe_relog_3047@localhost/newbob out
<iq type='set' id='86e449abb6d003be94110ced66171b39'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.636 ***🔗
bOb_subscribe_relog_3047@localhost/newbob in
<iq id='86e449abb6d003be94110ced66171b39' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3047@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-23 07:01:11.636 ***🔗
bob_subscribe_relog_3047@localhost/newbob out
<iq type='set' id='f8cde49f17fa08d93729321e051fc799'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.637 ***🔗
bob_subscribe_relog_3047@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3047@localhost/newbob' id='f8cde49f17fa08d93729321e051fc799' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:01:11.637 ***🔗
bob_subscribe_relog_3047@localhost/newbob out
<presence/>



*** User 2024-04-23 07:01:11.667 ***🔗
bob_subscribe_relog_3047@localhost/res1 in
<presence from='bob_subscribe_relog_3047@localhost/newbob' to='bob_subscribe_relog_3047@localhost/res1'/>



*** User 2024-04-23 07:01:11.667 ***🔗
bob_subscribe_relog_3047@localhost/newbob in
<presence from='alice_subscribe_relog_3047@localhost' to='bob_subscribe_relog_3047@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-23 07:01:11.667 ***🔗
bob_subscribe_relog_3047@localhost/newbob in
<presence from='bob_subscribe_relog_3047@localhost/newbob' to='bob_subscribe_relog_3047@localhost/newbob'/>



*** User 2024-04-23 07:01:11.668 ***🔗
bob_subscribe_relog_3047@localhost/newbob in
<presence from='bob_subscribe_relog_3047@localhost/res1' to='bob_subscribe_relog_3047@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T07:01:11.624190Z' from='bob_subscribe_relog_3047@localhost/res1'/>
</presence>



*** User 2024-04-23 07:01:11.668 ***🔗
bob_subscribe_relog_3047@localhost/newbob out
</stream:stream>

*** User 2024-04-23 07:01:11.668 ***🔗
bob_subscribe_relog_3047@localhost/newbob in
</stream:stream>

*** User 2024-04-23 07:01:11.668 ***🔗
bob_subscribe_relog_3047@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3047@localhost'/>



*** User 2024-04-23 07:01:11.668 ***🔗
bob_subscribe_relog_3047@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:01:11.672 ***🔗
bob_subscribe_relog_3047@localhost/res1 in
</stream:stream>

*** User 2024-04-23 07:01:11.673 ***🔗
alice_subscribe_relog_3047@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:01:11.673 ***🔗
alice_subscribe_relog_3047@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 07:01:11.675 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5520.html



=== Ended at 2024-04-23 07:01:11
=== successfully completed test case
=== === Returned value: ok