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

=== Config value:

    [{watchdog,<0.79723.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@0bedb54988af.2024-04-17_15.41.47/big_tests.tests.presence_SUITE.logs/run.2024-04-17_15.56.02/presence_suite.subscribe_relog.144643.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@0bedb54988af.2024-04-17_15.41.47/big_tests.tests.presence_SUITE.logs/run.2024-04-17_15.56.02/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@0bedb54988af.2024-04-17_15.41.47"

=== Started at 2024-04-17 15:56:04


*** CT 2024-04-17 15:56:04.845 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5564.html

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

*** User 2024-04-17 15:56:04.872 ***🔗
alicE_subscribe_relog_3001@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-17 15:56:04.872 ***🔗
alicE_subscribe_relog_3001@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDAxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-17 15:56:04.873 ***🔗
alicE_subscribe_relog_3001@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 15:56:04.873 ***🔗
alicE_subscribe_relog_3001@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-17 15:56:04.874 ***🔗
alicE_subscribe_relog_3001@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a7a7f4163d11c4be' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3001@localhost'>

*** User 2024-04-17 15:56:04.874 ***🔗
alicE_subscribe_relog_3001@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-17 15:56:04.874 ***🔗
alicE_subscribe_relog_3001@localhost/res1 out
<iq type='set' id='4fe891102cc79ce82ce2bd75816b1fef'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.875 ***🔗
alicE_subscribe_relog_3001@localhost/res1 in
<iq id='4fe891102cc79ce82ce2bd75816b1fef' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_3001@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.875 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<iq type='set' id='0a0464421950581a825c3d42a6938f8b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.876 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3001@localhost/res1' id='0a0464421950581a825c3d42a6938f8b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.876 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<presence/>



*** User 2024-04-17 15:56:04.877 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
<presence from='alice_subscribe_relog_3001@localhost/res1' to='alice_subscribe_relog_3001@localhost/res1'/>



*** User 2024-04-17 15:56:04.878 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.879 ***🔗
bOb_subscribe_relog_3001@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04537e930a9b825c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 15:56:04.879 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.879 ***🔗
bOb_subscribe_relog_3001@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAwMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-17 15:56:04.880 ***🔗
bOb_subscribe_relog_3001@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 15:56:04.880 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.880 ***🔗
bOb_subscribe_relog_3001@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad102830742dee8c' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3001@localhost'>

*** User 2024-04-17 15:56:04.880 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.881 ***🔗
bOb_subscribe_relog_3001@localhost/res1 out
<iq type='set' id='9812afe3fc3c1cb4ef43272173db94c3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.881 ***🔗
bOb_subscribe_relog_3001@localhost/res1 in
<iq id='9812afe3fc3c1cb4ef43272173db94c3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3001@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.881 ***🔗
bob_subscribe_relog_3001@localhost/res1 out
<iq type='set' id='80c26308946d6e8edd091032d3fe5ff9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.881 ***🔗
bob_subscribe_relog_3001@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3001@localhost/res1' id='80c26308946d6e8edd091032d3fe5ff9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.881 ***🔗
bob_subscribe_relog_3001@localhost/res1 out
<presence/>



*** User 2024-04-17 15:56:04.882 ***🔗
bob_subscribe_relog_3001@localhost/res1 in
<presence from='bob_subscribe_relog_3001@localhost/res1' to='bob_subscribe_relog_3001@localhost/res1'/>



*** User 2024-04-17 15:56:04.883 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<iq type='set' id='881d08ad26b24555006675457ba16d3a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_3001@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-17 15:56:04.888 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
<iq from='alice_subscribe_relog_3001@localhost' to='alice_subscribe_relog_3001@localhost/res1' id='pushcb28b5c0d2515a87' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_3001@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-17 15:56:04.888 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
<iq from='alice_subscribe_relog_3001@localhost' to='alice_subscribe_relog_3001@localhost/res1' id='881d08ad26b24555006675457ba16d3a' type='result'/>



*** User 2024-04-17 15:56:04.888 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<iq to='alice_subscribe_relog_3001@localhost' id='pushcb28b5c0d2515a87' type='result'/>



*** User 2024-04-17 15:56:04.889 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3001@localhost'/>



*** User 2024-04-17 15:56:04.892 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
<iq from='alice_subscribe_relog_3001@localhost' to='alice_subscribe_relog_3001@localhost/res1' id='pushf3d3b566f60bf897' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3001@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-17 15:56:04.892 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
<iq to='alice_subscribe_relog_3001@localhost' id='pushf3d3b566f60bf897' type='result'/>



*** User 2024-04-17 15:56:04.892 ***🔗
bob_subscribe_relog_3001@localhost/res1 in
<presence from='alice_subscribe_relog_3001@localhost' to='bob_subscribe_relog_3001@localhost/res1' type='subscribe'/>



*** User 2024-04-17 15:56:04.893 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.893 ***🔗
bOb_subscribe_relog_3001@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='632199c7e4b6b952' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-17 15:56:04.893 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.893 ***🔗
bOb_subscribe_relog_3001@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAwMQBtYWtyb2xpa2E=</auth>



*** User 2024-04-17 15:56:04.895 ***🔗
bOb_subscribe_relog_3001@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-17 15:56:04.895 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.896 ***🔗
bOb_subscribe_relog_3001@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a06137cad2aec32d' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3001@localhost'>

*** User 2024-04-17 15:56:04.896 ***🔗
bOb_subscribe_relog_3001@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-17 15:56:04.896 ***🔗
bOb_subscribe_relog_3001@localhost/newbob out
<iq type='set' id='68936d923ca78400bf2bd70a07ef9558'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.896 ***🔗
bOb_subscribe_relog_3001@localhost/newbob in
<iq id='68936d923ca78400bf2bd70a07ef9558' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3001@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-04-17 15:56:04.897 ***🔗
bob_subscribe_relog_3001@localhost/newbob out
<iq type='set' id='4167eee9249662e771a8a4437934d716'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.897 ***🔗
bob_subscribe_relog_3001@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3001@localhost/newbob' id='4167eee9249662e771a8a4437934d716' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-17 15:56:04.897 ***🔗
bob_subscribe_relog_3001@localhost/newbob out
<presence/>



*** User 2024-04-17 15:56:04.898 ***🔗
bob_subscribe_relog_3001@localhost/res1 in
<presence from='bob_subscribe_relog_3001@localhost/newbob' to='bob_subscribe_relog_3001@localhost/res1'/>



*** User 2024-04-17 15:56:04.898 ***🔗
bob_subscribe_relog_3001@localhost/newbob in
<presence from='alice_subscribe_relog_3001@localhost' to='bob_subscribe_relog_3001@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-17 15:56:04.898 ***🔗
bob_subscribe_relog_3001@localhost/newbob in
<presence from='bob_subscribe_relog_3001@localhost/newbob' to='bob_subscribe_relog_3001@localhost/newbob'/>



*** User 2024-04-17 15:56:04.898 ***🔗
bob_subscribe_relog_3001@localhost/newbob in
<presence from='bob_subscribe_relog_3001@localhost/res1' to='bob_subscribe_relog_3001@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-17T15:56:04.882608Z' from='bob_subscribe_relog_3001@localhost/res1'/>
</presence>



*** User 2024-04-17 15:56:04.898 ***🔗
bob_subscribe_relog_3001@localhost/newbob out
</stream:stream>

*** User 2024-04-17 15:56:04.899 ***🔗
bob_subscribe_relog_3001@localhost/newbob in
</stream:stream>

*** User 2024-04-17 15:56:04.899 ***🔗
bob_subscribe_relog_3001@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3001@localhost'/>



*** User 2024-04-17 15:56:04.899 ***🔗
bob_subscribe_relog_3001@localhost/res1 out
</stream:stream>

*** User 2024-04-17 15:56:04.902 ***🔗
bob_subscribe_relog_3001@localhost/res1 in
</stream:stream>

*** User 2024-04-17 15:56:04.902 ***🔗
alice_subscribe_relog_3001@localhost/res1 out
</stream:stream>

*** User 2024-04-17 15:56:04.902 ***🔗
alice_subscribe_relog_3001@localhost/res1 in
</stream:stream>
*** CT 2024-04-17 15:56:04.906 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5564.html



=== Ended at 2024-04-17 15:56:04
=== successfully completed test case
=== === Returned value: ok