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

=== Config value:

    [{watchdog,<0.71316.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@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.presence_SUITE.logs/run.2024-02-19_17.34.35/presence_suite.subscribe_relog.192514.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@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.presence_SUITE.logs/run.2024-02-19_17.34.35/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@b324fd85012a.2024-02-19_17.21.03"

=== Started at 2024-02-19 17:34:37


*** CT 2024-02-19 17:34:37.044 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2550.html

*** User 2024-02-19 17:34:37.056 ***🔗
alicE_subscribe_relog_2811@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-02-19 17:34:37.057 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a20d2aa884718d9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-19 17:34:37.057 ***🔗
alicE_subscribe_relog_2811@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-02-19 17:34:37.057 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODExAG1hdHlncnlzYQ==</auth>



*** User 2024-02-19 17:34:37.057 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-19 17:34:37.057 ***🔗
alicE_subscribe_relog_2811@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-02-19 17:34:37.058 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb398655aa8fed8a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2811@domain.example.com'>

*** User 2024-02-19 17:34:37.058 ***🔗
alicE_subscribe_relog_2811@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-02-19 17:34:37.058 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 out
<iq type='set' id='214ffed54c1a812f8bc4196b27d0d189'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.058 ***🔗
alicE_subscribe_relog_2811@domain.example.com/res1 in
<iq id='214ffed54c1a812f8bc4196b27d0d189' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2811@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.058 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<iq type='set' id='dc08d13dd23c50f3ac7ab0e4b63d48a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.059 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2811@domain.example.com/res1' id='dc08d13dd23c50f3ac7ab0e4b63d48a2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.059 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<presence/>



*** User 2024-02-19 17:34:37.059 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2811@domain.example.com/res1' to='alice_subscribe_relog_2811@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.060 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.060 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48fb5732308506ee' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-19 17:34:37.060 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.060 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgxMQBtYWtyb2xpa2E=</auth>



*** User 2024-02-19 17:34:37.061 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-19 17:34:37.061 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.062 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3887f2378c03dd92' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2811@domain.example.com'>

*** User 2024-02-19 17:34:37.062 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.062 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 out
<iq type='set' id='10626738b0fcda2ffa1b8907c7435029'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.062 ***🔗
bOb_subscribe_relog_2811@domain.example.com/res1 in
<iq id='10626738b0fcda2ffa1b8907c7435029' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2811@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.062 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 out
<iq type='set' id='127e151d700917803aa6419d9c0e0692'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.062 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2811@domain.example.com/res1' id='127e151d700917803aa6419d9c0e0692' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.063 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 out
<presence/>



*** User 2024-02-19 17:34:37.063 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2811@domain.example.com/res1' to='bob_subscribe_relog_2811@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.063 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<iq type='set' id='c555817c5cac118f94c294755a48a1cc'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2811@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.069 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2811@domain.example.com' to='alice_subscribe_relog_2811@domain.example.com/res1' id='pushb9dd201f43486853' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2811@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.069 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2811@domain.example.com' to='alice_subscribe_relog_2811@domain.example.com/res1' id='c555817c5cac118f94c294755a48a1cc' type='result'/>



*** User 2024-02-19 17:34:37.069 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2811@domain.example.com' id='pushb9dd201f43486853' type='result'/>



*** User 2024-02-19 17:34:37.069 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2811@domain.example.com'/>



*** User 2024-02-19 17:34:37.073 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2811@domain.example.com' to='alice_subscribe_relog_2811@domain.example.com/res1' id='push7afabbcba871c68b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2811@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-19 17:34:37.073 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2811@domain.example.com' id='push7afabbcba871c68b' type='result'/>



*** User 2024-02-19 17:34:37.073 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2811@domain.example.com' to='bob_subscribe_relog_2811@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-19 17:34:37.073 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.074 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='770f228a15727a62' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-19 17:34:37.074 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.074 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjgxMQBtYWtyb2xpa2E=</auth>



*** User 2024-02-19 17:34:37.076 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-19 17:34:37.076 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.076 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b476ec23cd80eab' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2811@domain.example.com'>

*** User 2024-02-19 17:34:37.076 ***🔗
bOb_subscribe_relog_2811@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-02-19 17:34:37.076 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob out
<iq type='set' id='3aa8502fde051caa9020ec5e29d0323a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.077 ***🔗
bOb_subscribe_relog_2811@domain.example.com/newbob in
<iq id='3aa8502fde051caa9020ec5e29d0323a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2811@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-02-19 17:34:37.077 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob out
<iq type='set' id='7408b7f7abfbe4a54a8e51bdc3604e23'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.077 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2811@domain.example.com/newbob' id='7408b7f7abfbe4a54a8e51bdc3604e23' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-19 17:34:37.077 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob out
<presence/>



*** User 2024-02-19 17:34:37.079 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2811@domain.example.com/newbob' to='bob_subscribe_relog_2811@domain.example.com/res1'/>



*** User 2024-02-19 17:34:37.079 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2811@domain.example.com' to='bob_subscribe_relog_2811@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2811@domain.example.com/newbob' to='bob_subscribe_relog_2811@domain.example.com/newbob'/>



*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2811@domain.example.com/res1' to='bob_subscribe_relog_2811@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-19T17:34:37.063541Z' from='bob_subscribe_relog_2811@domain.example.com/res1'/>
</presence>



*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob out
</stream:stream>

*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/newbob in
</stream:stream>

*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2811@domain.example.com'/>



*** User 2024-02-19 17:34:37.080 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-19 17:34:37.085 ***🔗
bob_subscribe_relog_2811@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-19 17:34:37.085 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-19 17:34:37.085 ***🔗
alice_subscribe_relog_2811@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-19 17:34:37.089 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2550.html



=== Ended at 2024-02-19 17:34:37
=== successfully completed test case
=== === Returned value: ok