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

=== Config value:

    [{watchdog,<0.79076.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@2296c5c99be9.2024-03-21_07.45.39/big_tests.tests.presence_SUITE.logs/run.2024-03-21_08.00.43/presence_suite.subscribe_relog.200066.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@2296c5c99be9.2024-03-21_07.45.39/big_tests.tests.presence_SUITE.logs/run.2024-03-21_08.00.43/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@2296c5c99be9.2024-03-21_07.45.39"

=== Started at 2024-03-21 08:00:45


*** CT 2024-03-21 08:00:45.119 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5762.html

*** User 2024-03-21 08:00:45.130 ***🔗
alicE_subscribe_relog_3013@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-03-21 08:00:45.131 ***🔗
alicE_subscribe_relog_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e53d154a4ce6b78a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 08:00:45.131 ***🔗
alicE_subscribe_relog_3013@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-03-21 08:00:45.131 ***🔗
alicE_subscribe_relog_3013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDEzAG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 08:00:45.132 ***🔗
alicE_subscribe_relog_3013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 08:00:45.132 ***🔗
alicE_subscribe_relog_3013@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-03-21 08:00:45.132 ***🔗
alicE_subscribe_relog_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdfa073cbb2a8566' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3013@localhost'>

*** User 2024-03-21 08:00:45.132 ***🔗
alicE_subscribe_relog_3013@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-03-21 08:00:45.132 ***🔗
alicE_subscribe_relog_3013@localhost/res1 out
<iq type='set' id='28d262a583cab8d81be858a19c4c7831'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.133 ***🔗
alicE_subscribe_relog_3013@localhost/res1 in
<iq id='28d262a583cab8d81be858a19c4c7831' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_3013@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.133 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<iq type='set' id='51d7d5f0c5e64d614e034472406064c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.133 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3013@localhost/res1' id='51d7d5f0c5e64d614e034472406064c9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.133 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<presence/>



*** User 2024-03-21 08:00:45.134 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
<presence from='alice_subscribe_relog_3013@localhost/res1' to='alice_subscribe_relog_3013@localhost/res1'/>



*** User 2024-03-21 08:00:45.135 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.136 ***🔗
bOb_subscribe_relog_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f08b0954ac5ab36c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 08:00:45.136 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.136 ***🔗
bOb_subscribe_relog_3013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAxMwBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e5da972174426b9' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3013@localhost'>

*** User 2024-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@localhost/res1 out
<iq type='set' id='49b751f627705ae72f67a159fd68e8b3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.137 ***🔗
bOb_subscribe_relog_3013@localhost/res1 in
<iq id='49b751f627705ae72f67a159fd68e8b3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3013@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.138 ***🔗
bob_subscribe_relog_3013@localhost/res1 out
<iq type='set' id='e0e9f1337947b17fbe5d71516a49cb3f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.138 ***🔗
bob_subscribe_relog_3013@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3013@localhost/res1' id='e0e9f1337947b17fbe5d71516a49cb3f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.138 ***🔗
bob_subscribe_relog_3013@localhost/res1 out
<presence/>



*** User 2024-03-21 08:00:45.139 ***🔗
bob_subscribe_relog_3013@localhost/res1 in
<presence from='bob_subscribe_relog_3013@localhost/res1' to='bob_subscribe_relog_3013@localhost/res1'/>



*** User 2024-03-21 08:00:45.139 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<iq type='set' id='ec3b63d94e0c98dbf9333d7423fdb1dd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_3013@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 08:00:45.141 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
<iq from='alice_subscribe_relog_3013@localhost' to='alice_subscribe_relog_3013@localhost/res1' id='push1e95fa18a6dfb461' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_3013@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 08:00:45.141 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
<iq from='alice_subscribe_relog_3013@localhost' to='alice_subscribe_relog_3013@localhost/res1' id='ec3b63d94e0c98dbf9333d7423fdb1dd' type='result'/>



*** User 2024-03-21 08:00:45.142 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<iq to='alice_subscribe_relog_3013@localhost' id='push1e95fa18a6dfb461' type='result'/>



*** User 2024-03-21 08:00:45.142 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3013@localhost'/>



*** User 2024-03-21 08:00:45.147 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
<iq from='alice_subscribe_relog_3013@localhost' to='alice_subscribe_relog_3013@localhost/res1' id='push6e12437210146ff0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3013@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 08:00:45.147 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
<iq to='alice_subscribe_relog_3013@localhost' id='push6e12437210146ff0' type='result'/>



*** User 2024-03-21 08:00:45.147 ***🔗
bob_subscribe_relog_3013@localhost/res1 in
<presence from='alice_subscribe_relog_3013@localhost' to='bob_subscribe_relog_3013@localhost/res1' type='subscribe'/>



*** User 2024-03-21 08:00:45.147 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.148 ***🔗
bOb_subscribe_relog_3013@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abc0d20eb5ba5b28' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 08:00:45.148 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.148 ***🔗
bOb_subscribe_relog_3013@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzAxMwBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 08:00:45.149 ***🔗
bOb_subscribe_relog_3013@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 08:00:45.149 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.150 ***🔗
bOb_subscribe_relog_3013@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='287115f59acc7462' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3013@localhost'>

*** User 2024-03-21 08:00:45.150 ***🔗
bOb_subscribe_relog_3013@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-03-21 08:00:45.150 ***🔗
bOb_subscribe_relog_3013@localhost/newbob out
<iq type='set' id='2e8412e0df0b1f89700edafe976f1e86'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.150 ***🔗
bOb_subscribe_relog_3013@localhost/newbob in
<iq id='2e8412e0df0b1f89700edafe976f1e86' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_3013@localhost/newbob</jid>
	</bind>
</iq>



*** User 2024-03-21 08:00:45.150 ***🔗
bob_subscribe_relog_3013@localhost/newbob out
<iq type='set' id='c6ff67f60730b6a733d92fcdec72a644'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.151 ***🔗
bob_subscribe_relog_3013@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3013@localhost/newbob' id='c6ff67f60730b6a733d92fcdec72a644' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 08:00:45.151 ***🔗
bob_subscribe_relog_3013@localhost/newbob out
<presence/>



*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/res1 in
<presence from='bob_subscribe_relog_3013@localhost/newbob' to='bob_subscribe_relog_3013@localhost/res1'/>



*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/newbob in
<presence from='alice_subscribe_relog_3013@localhost' to='bob_subscribe_relog_3013@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/newbob in
<presence from='bob_subscribe_relog_3013@localhost/newbob' to='bob_subscribe_relog_3013@localhost/newbob'/>



*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/newbob in
<presence from='bob_subscribe_relog_3013@localhost/res1' to='bob_subscribe_relog_3013@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T08:00:45.139191Z' from='bob_subscribe_relog_3013@localhost/res1'/>
</presence>



*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/newbob out
</stream:stream>

*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/newbob in
</stream:stream>

*** User 2024-03-21 08:00:45.152 ***🔗
bob_subscribe_relog_3013@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3013@localhost'/>



*** User 2024-03-21 08:00:45.153 ***🔗
bob_subscribe_relog_3013@localhost/res1 out
</stream:stream>

*** User 2024-03-21 08:00:45.158 ***🔗
bob_subscribe_relog_3013@localhost/res1 in
</stream:stream>

*** User 2024-03-21 08:00:45.158 ***🔗
alice_subscribe_relog_3013@localhost/res1 out
</stream:stream>

*** User 2024-03-21 08:00:45.158 ***🔗
alice_subscribe_relog_3013@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 08:00:45.160 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5762.html



=== Ended at 2024-03-21 08:00:45
=== successfully completed test case
=== === Returned value: ok