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

=== Config value:

    [{watchdog,<0.6265.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/presence_suite.subscribe_relog.220802.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a458c4eb991a.2024-03-07_11.00.02"

=== Started at 2024-03-07 11:12:55


*** CT 2024-03-07 11:12:55.712 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2544.html

*** User 2024-03-07 11:12:55.723 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.723 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7143782dc78c3a25' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:55.723 ***🔗
alicE_subscribe_relog_2850@domain.example.com/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-07 11:12:55.723 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODUwAG1hdHlncnlzYQ==</auth>



*** User 2024-03-07 11:12:55.724 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:55.724 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.725 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb3b28c988e0d4f6' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2850@domain.example.com'>

*** User 2024-03-07 11:12:55.725 ***🔗
alicE_subscribe_relog_2850@domain.example.com/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-07 11:12:55.725 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 out
<iq type='set' id='a5c7cf884b1ecfed8e8b2291e53fa978'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.725 ***🔗
alicE_subscribe_relog_2850@domain.example.com/res1 in
<iq id='a5c7cf884b1ecfed8e8b2291e53fa978' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2850@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.725 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<iq type='set' id='1620957ff62c3d83bda677edefe65837'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.726 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2850@domain.example.com/res1' id='1620957ff62c3d83bda677edefe65837' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.726 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:55.727 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2850@domain.example.com/res1' to='alice_subscribe_relog_2850@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.727 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.728 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d09c5c731df4eed' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:55.728 ***🔗
bOb_subscribe_relog_2850@domain.example.com/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-07 11:12:55.728 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg1MABtYWtyb2xpa2E=</auth>



*** User 2024-03-07 11:12:55.729 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:55.729 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.729 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a6a6eba5302bb6c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2850@domain.example.com'>

*** User 2024-03-07 11:12:55.730 ***🔗
bOb_subscribe_relog_2850@domain.example.com/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-07 11:12:55.730 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 out
<iq type='set' id='48af9529d58ae753929a58ff5f4dae41'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.730 ***🔗
bOb_subscribe_relog_2850@domain.example.com/res1 in
<iq id='48af9529d58ae753929a58ff5f4dae41' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2850@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.730 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 out
<iq type='set' id='8c7aa483de962936ba0f2d94fde863c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.731 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2850@domain.example.com/res1' id='8c7aa483de962936ba0f2d94fde863c4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.731 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:55.732 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2850@domain.example.com/res1' to='bob_subscribe_relog_2850@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.732 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<iq type='set' id='9328619249814bd725e1f91592c2744a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2850@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.737 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2850@domain.example.com' to='alice_subscribe_relog_2850@domain.example.com/res1' id='push15a33eeffadac3bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2850@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.738 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2850@domain.example.com' to='alice_subscribe_relog_2850@domain.example.com/res1' id='9328619249814bd725e1f91592c2744a' type='result'/>



*** User 2024-03-07 11:12:55.738 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2850@domain.example.com' id='push15a33eeffadac3bb' type='result'/>



*** User 2024-03-07 11:12:55.738 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2850@domain.example.com'/>



*** User 2024-03-07 11:12:55.766 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2850@domain.example.com' to='alice_subscribe_relog_2850@domain.example.com/res1' id='push54a90c0f01d7d6a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2850@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.766 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2850@domain.example.com' id='push54a90c0f01d7d6a5' type='result'/>



*** User 2024-03-07 11:12:55.766 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2850@domain.example.com' to='bob_subscribe_relog_2850@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-07 11:12:55.767 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.767 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d0961645a45d105' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:55.767 ***🔗
bOb_subscribe_relog_2850@domain.example.com/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-07 11:12:55.768 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg1MABtYWtyb2xpa2E=</auth>



*** User 2024-03-07 11:12:55.769 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:55.769 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-07 11:12:55.769 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8182b10a30009b9c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2850@domain.example.com'>

*** User 2024-03-07 11:12:55.769 ***🔗
bOb_subscribe_relog_2850@domain.example.com/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-07 11:12:55.769 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob out
<iq type='set' id='12116f622990a656f4f22cbb54799101'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.770 ***🔗
bOb_subscribe_relog_2850@domain.example.com/newbob in
<iq id='12116f622990a656f4f22cbb54799101' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2850@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.770 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob out
<iq type='set' id='775dcc380e1e0cb72696b036261e17bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.770 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2850@domain.example.com/newbob' id='775dcc380e1e0cb72696b036261e17bf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.771 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob out
<presence/>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2850@domain.example.com/newbob' to='bob_subscribe_relog_2850@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2850@domain.example.com' to='bob_subscribe_relog_2850@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2850@domain.example.com/newbob' to='bob_subscribe_relog_2850@domain.example.com/newbob'/>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2850@domain.example.com/res1' to='bob_subscribe_relog_2850@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-07T11:12:55.731748Z' from='bob_subscribe_relog_2850@domain.example.com/res1'/>
</presence>



*** User 2024-03-07 11:12:55.773 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob out
</stream:stream>

*** User 2024-03-07 11:12:55.773 ***🔗
bob_subscribe_relog_2850@domain.example.com/newbob in
</stream:stream>

*** User 2024-03-07 11:12:55.773 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2850@domain.example.com'/>



*** User 2024-03-07 11:12:55.773 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:55.777 ***🔗
bob_subscribe_relog_2850@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-07 11:12:55.777 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:55.778 ***🔗
alice_subscribe_relog_2850@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-07 11:12:55.780 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2544.html



=== Ended at 2024-03-07 11:12:55
=== successfully completed test case
=== === Returned value: ok