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

=== Config value:

    [{watchdog,<0.7559.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@e0d583f2e839.2024-03-21_07.34.22/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.46.34/presence_suite.subscribe_relog.163715.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@e0d583f2e839.2024-03-21_07.34.22/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.46.34/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@e0d583f2e839.2024-03-21_07.34.22"

=== Started at 2024-03-21 07:46:36


*** CT 2024-03-21 07:46:36.064 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3557.html

*** User 2024-03-21 07:46:36.083 ***🔗
alicE_subscribe_relog_2839@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-21 07:46:36.083 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9a0baf2eaff8432' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:36.083 ***🔗
alicE_subscribe_relog_2839@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-21 07:46:36.083 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODM5AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:46:36.084 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:36.084 ***🔗
alicE_subscribe_relog_2839@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-21 07:46:36.085 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed88732394988f3e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2839@domain.example.com'>

*** User 2024-03-21 07:46:36.085 ***🔗
alicE_subscribe_relog_2839@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-21 07:46:36.085 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 out
<iq type='set' id='8ec0cfec7abb5e0627543ac001581dd2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.085 ***🔗
alicE_subscribe_relog_2839@domain.example.com/res1 in
<iq id='8ec0cfec7abb5e0627543ac001581dd2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2839@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.085 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<iq type='set' id='2c22aef21addd457078eee19146095eb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.086 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2839@domain.example.com/res1' id='2c22aef21addd457078eee19146095eb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.086 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<presence/>



*** User 2024-03-21 07:46:36.087 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2839@domain.example.com/res1' to='alice_subscribe_relog_2839@domain.example.com/res1'/>



*** User 2024-03-21 07:46:36.087 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.087 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ec1c8c59e06ecfa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:36.088 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.088 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgzOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a61347cb368af25' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2839@domain.example.com'>

*** User 2024-03-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 out
<iq type='set' id='bacbf4cda2c13e20f9f376d6b8862078'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.089 ***🔗
bOb_subscribe_relog_2839@domain.example.com/res1 in
<iq id='bacbf4cda2c13e20f9f376d6b8862078' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2839@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.089 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 out
<iq type='set' id='5b5d0275628399e81e610a88c3bd96f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.090 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2839@domain.example.com/res1' id='5b5d0275628399e81e610a88c3bd96f8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.090 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 out
<presence/>



*** User 2024-03-21 07:46:36.090 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2839@domain.example.com/res1' to='bob_subscribe_relog_2839@domain.example.com/res1'/>



*** User 2024-03-21 07:46:36.091 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<iq type='set' id='c232b2d89384e38473dccdaa02b12121'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2839@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:36.099 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2839@domain.example.com' to='alice_subscribe_relog_2839@domain.example.com/res1' id='pushd28676e635f1f2e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2839@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:36.099 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2839@domain.example.com' to='alice_subscribe_relog_2839@domain.example.com/res1' id='c232b2d89384e38473dccdaa02b12121' type='result'/>



*** User 2024-03-21 07:46:36.099 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2839@domain.example.com' id='pushd28676e635f1f2e6' type='result'/>



*** User 2024-03-21 07:46:36.099 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2839@domain.example.com'/>



*** User 2024-03-21 07:46:36.105 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2839@domain.example.com' to='alice_subscribe_relog_2839@domain.example.com/res1' id='pusha366e7235e7690e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2839@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:36.106 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2839@domain.example.com' id='pusha366e7235e7690e3' type='result'/>



*** User 2024-03-21 07:46:36.106 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2839@domain.example.com' to='bob_subscribe_relog_2839@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-21 07:46:36.106 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.106 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='494193710df761ec' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:36.106 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.107 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgzOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='372f464b772a2a8c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2839@domain.example.com'>

*** User 2024-03-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@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-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob out
<iq type='set' id='93da4ec1f6644d8a542aa6591dcb5c5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.108 ***🔗
bOb_subscribe_relog_2839@domain.example.com/newbob in
<iq id='93da4ec1f6644d8a542aa6591dcb5c5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2839@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:36.109 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob out
<iq type='set' id='0bd67f21e4f5cf2a053618998076e73d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.109 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2839@domain.example.com/newbob' id='0bd67f21e4f5cf2a053618998076e73d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:36.109 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob out
<presence/>



*** User 2024-03-21 07:46:36.110 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2839@domain.example.com/newbob' to='bob_subscribe_relog_2839@domain.example.com/res1'/>



*** User 2024-03-21 07:46:36.110 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2839@domain.example.com' to='bob_subscribe_relog_2839@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-03-21 07:46:36.110 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2839@domain.example.com/newbob' to='bob_subscribe_relog_2839@domain.example.com/newbob'/>



*** User 2024-03-21 07:46:36.110 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2839@domain.example.com/res1' to='bob_subscribe_relog_2839@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-21T07:46:36.090713Z' from='bob_subscribe_relog_2839@domain.example.com/res1'/>
</presence>



*** User 2024-03-21 07:46:36.110 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob out
</stream:stream>

*** User 2024-03-21 07:46:36.111 ***🔗
bob_subscribe_relog_2839@domain.example.com/newbob in
</stream:stream>

*** User 2024-03-21 07:46:36.111 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2839@domain.example.com'/>



*** User 2024-03-21 07:46:36.111 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-21 07:46:36.117 ***🔗
bob_subscribe_relog_2839@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-21 07:46:36.117 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-21 07:46:36.117 ***🔗
alice_subscribe_relog_2839@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-21 07:46:36.129 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3557.html



=== Ended at 2024-03-21 07:46:36
=== successfully completed test case
=== === Returned value: ok