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

=== Config value:

    [{watchdog,<0.74935.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/presence_suite.subscribe_relog.109700.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:47:30


*** CT 2023-11-16 09:47:30.918 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4733.html

*** User 2023-11-16 09:47:30.928 ***🔗
alicE_subscribe_relog_2752@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.929 ***🔗
alicE_subscribe_relog_2752@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='518aadbeed713fc7' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:30.929 ***🔗
alicE_subscribe_relog_2752@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 2023-11-16 09:47:30.929 ***🔗
alicE_subscribe_relog_2752@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzUyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-16 09:47:30.930 ***🔗
alicE_subscribe_relog_2752@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:30.930 ***🔗
alicE_subscribe_relog_2752@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.930 ***🔗
alicE_subscribe_relog_2752@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61dbbcb0be29904d' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_2752@localhost'>

*** User 2023-11-16 09:47:30.930 ***🔗
alicE_subscribe_relog_2752@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 2023-11-16 09:47:30.930 ***🔗
alicE_subscribe_relog_2752@localhost/res1 out
<iq type='set' id='dd252ae282f2ab66e8dd55b7b46e78ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.931 ***🔗
alicE_subscribe_relog_2752@localhost/res1 in
<iq id='dd252ae282f2ab66e8dd55b7b46e78ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2752@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.931 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<iq type='set' id='1663b092788b5e801836c2cc631f5d49'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.931 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_2752@localhost/res1' id='1663b092788b5e801836c2cc631f5d49' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.931 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:30.932 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
<presence from='alice_subscribe_relog_2752@localhost/res1' to='alice_subscribe_relog_2752@localhost/res1'/>



*** User 2023-11-16 09:47:30.933 ***🔗
bOb_subscribe_relog_2752@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.933 ***🔗
bOb_subscribe_relog_2752@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='177f9760d496788e' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:30.933 ***🔗
bOb_subscribe_relog_2752@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 2023-11-16 09:47:30.933 ***🔗
bOb_subscribe_relog_2752@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc1MgBtYWtyb2xpa2E=</auth>



*** User 2023-11-16 09:47:30.934 ***🔗
bOb_subscribe_relog_2752@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:30.934 ***🔗
bOb_subscribe_relog_2752@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.934 ***🔗
bOb_subscribe_relog_2752@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70574b77098dc214' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2752@localhost'>

*** User 2023-11-16 09:47:30.934 ***🔗
bOb_subscribe_relog_2752@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 2023-11-16 09:47:30.934 ***🔗
bOb_subscribe_relog_2752@localhost/res1 out
<iq type='set' id='349f9d242df2b575a8c23aadc46c4be2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.935 ***🔗
bOb_subscribe_relog_2752@localhost/res1 in
<iq id='349f9d242df2b575a8c23aadc46c4be2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2752@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.935 ***🔗
bob_subscribe_relog_2752@localhost/res1 out
<iq type='set' id='73cd6d898a554e1130fc57591fb3d2f9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.935 ***🔗
bob_subscribe_relog_2752@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_2752@localhost/res1' id='73cd6d898a554e1130fc57591fb3d2f9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.935 ***🔗
bob_subscribe_relog_2752@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:30.936 ***🔗
bob_subscribe_relog_2752@localhost/res1 in
<presence from='bob_subscribe_relog_2752@localhost/res1' to='bob_subscribe_relog_2752@localhost/res1'/>



*** User 2023-11-16 09:47:30.936 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<iq type='set' id='f5d6e580810a950b09ce5d8f410780a0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2752@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.938 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
<iq from='alice_subscribe_relog_2752@localhost' to='alice_subscribe_relog_2752@localhost/res1' id='push5523834aba7101df' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2752@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.938 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
<iq from='alice_subscribe_relog_2752@localhost' to='alice_subscribe_relog_2752@localhost/res1' id='f5d6e580810a950b09ce5d8f410780a0' type='result'/>



*** User 2023-11-16 09:47:30.938 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<iq to='alice_subscribe_relog_2752@localhost' id='push5523834aba7101df' type='result'/>



*** User 2023-11-16 09:47:30.938 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2752@localhost'/>



*** User 2023-11-16 09:47:30.942 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
<iq from='alice_subscribe_relog_2752@localhost' to='alice_subscribe_relog_2752@localhost/res1' id='pushb2cd4993a4d3ace4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2752@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.942 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
<iq to='alice_subscribe_relog_2752@localhost' id='pushb2cd4993a4d3ace4' type='result'/>



*** User 2023-11-16 09:47:30.942 ***🔗
bob_subscribe_relog_2752@localhost/res1 in
<presence from='alice_subscribe_relog_2752@localhost' to='bob_subscribe_relog_2752@localhost/res1' type='subscribe'/>



*** User 2023-11-16 09:47:30.942 ***🔗
bOb_subscribe_relog_2752@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.943 ***🔗
bOb_subscribe_relog_2752@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73a746c1a5272c16' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:30.943 ***🔗
bOb_subscribe_relog_2752@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 2023-11-16 09:47:30.943 ***🔗
bOb_subscribe_relog_2752@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc1MgBtYWtyb2xpa2E=</auth>



*** User 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83da3dcd0cc24e0b' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_2752@localhost'>

*** User 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@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 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@localhost/newbob out
<iq type='set' id='9fa3214be23ad9436fe0fe583ad161ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.946 ***🔗
bOb_subscribe_relog_2752@localhost/newbob in
<iq id='9fa3214be23ad9436fe0fe583ad161ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2752@localhost/newbob</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.947 ***🔗
bob_subscribe_relog_2752@localhost/newbob out
<iq type='set' id='7b42200bc132d9e9463079e01fe062db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.947 ***🔗
bob_subscribe_relog_2752@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_2752@localhost/newbob' id='7b42200bc132d9e9463079e01fe062db' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.947 ***🔗
bob_subscribe_relog_2752@localhost/newbob out
<presence/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/res1 in
<presence from='bob_subscribe_relog_2752@localhost/newbob' to='bob_subscribe_relog_2752@localhost/res1'/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/newbob in
<presence from='alice_subscribe_relog_2752@localhost' to='bob_subscribe_relog_2752@localhost/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/newbob in
<presence from='bob_subscribe_relog_2752@localhost/newbob' to='bob_subscribe_relog_2752@localhost/newbob'/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/newbob in
<presence from='bob_subscribe_relog_2752@localhost/res1' to='bob_subscribe_relog_2752@localhost/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-16T09:47:30.936021Z' from='bob_subscribe_relog_2752@localhost/res1'/>
</presence>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/newbob out
</stream:stream>

*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/newbob in
</stream:stream>

*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2752@localhost'/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_subscribe_relog_2752@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:47:30.952 ***🔗
bob_subscribe_relog_2752@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:47:30.952 ***🔗
alice_subscribe_relog_2752@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:47:30.952 ***🔗
alice_subscribe_relog_2752@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:47:30.954 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4733.html



=== Ended at 2023-11-16 09:47:31
=== successfully completed test case
=== === Returned value: ok