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

=== Config value:

    [{watchdog,<0.68984.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/presence_suite.subscribe_relog.192898.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.50.22/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@eebaa68b7995.2024-01-14_19.39.51"

=== Started at 2024-01-14 19:50:24


*** CT 2024-01-14 19:50:24.064 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2342.html

*** User 2024-01-14 19:50:24.074 ***🔗
alicE_subscribe_relog_2541@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-01-14 19:50:24.074 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5afd09ddcbb3ab7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:50:24.074 ***🔗
alicE_subscribe_relog_2541@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-01-14 19:50:24.074 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNTQxAG1hdHlncnlzYQ==</auth>



*** User 2024-01-14 19:50:24.075 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:50:24.075 ***🔗
alicE_subscribe_relog_2541@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-01-14 19:50:24.075 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e019d720c483c24' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2541@domain.example.com'>

*** User 2024-01-14 19:50:24.076 ***🔗
alicE_subscribe_relog_2541@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-01-14 19:50:24.076 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 out
<iq type='set' id='2970c7ca17c119383b89c78569d9979a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.076 ***🔗
alicE_subscribe_relog_2541@domain.example.com/res1 in
<iq id='2970c7ca17c119383b89c78569d9979a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2541@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.076 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<iq type='set' id='7cc39ccb47478c2688330746757c66f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.077 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2541@domain.example.com/res1' id='7cc39ccb47478c2688330746757c66f0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.077 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:50:24.078 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2541@domain.example.com/res1' to='alice_subscribe_relog_2541@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.078 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.078 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8def8087f1bc61d2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:50:24.079 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.079 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjU0MQBtYWtyb2xpa2E=</auth>



*** User 2024-01-14 19:50:24.079 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:50:24.079 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.080 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='037454fd922aef7d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2541@domain.example.com'>

*** User 2024-01-14 19:50:24.080 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.080 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 out
<iq type='set' id='7f4da68ca39b3d70822646e87a69b728'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.080 ***🔗
bOb_subscribe_relog_2541@domain.example.com/res1 in
<iq id='7f4da68ca39b3d70822646e87a69b728' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2541@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.080 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 out
<iq type='set' id='e4c26254226f6ff109ca809b10dbe440'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2541@domain.example.com/res1' id='e4c26254226f6ff109ca809b10dbe440' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.081 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:50:24.082 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2541@domain.example.com/res1' to='bob_subscribe_relog_2541@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.082 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<iq type='set' id='4cb03aaaaedb532e99bbd58edfbe2708'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2541@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.087 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2541@domain.example.com' to='alice_subscribe_relog_2541@domain.example.com/res1' id='push757c69e896e30549' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2541@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.087 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2541@domain.example.com' to='alice_subscribe_relog_2541@domain.example.com/res1' id='4cb03aaaaedb532e99bbd58edfbe2708' type='result'/>



*** User 2024-01-14 19:50:24.087 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2541@domain.example.com' id='push757c69e896e30549' type='result'/>



*** User 2024-01-14 19:50:24.087 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2541@domain.example.com'/>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2541@domain.example.com' to='alice_subscribe_relog_2541@domain.example.com/res1' id='pushdb749aee791b340a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2541@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:50:24.091 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2541@domain.example.com' id='pushdb749aee791b340a' type='result'/>



*** User 2024-01-14 19:50:24.091 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2541@domain.example.com' to='bob_subscribe_relog_2541@domain.example.com/res1' type='subscribe'/>



*** User 2024-01-14 19:50:24.092 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.092 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76bf1622ae6004f5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:50:24.092 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.092 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjU0MQBtYWtyb2xpa2E=</auth>



*** User 2024-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e7d7ab48898eb6a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2541@domain.example.com'>

*** User 2024-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@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-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob out
<iq type='set' id='79365752aac34c478f3e5f4873dd1744'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.093 ***🔗
bOb_subscribe_relog_2541@domain.example.com/newbob in
<iq id='79365752aac34c478f3e5f4873dd1744' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2541@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-01-14 19:50:24.093 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob out
<iq type='set' id='f4aa9082f430703a9a394e54b6c9f3e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.094 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2541@domain.example.com/newbob' id='f4aa9082f430703a9a394e54b6c9f3e9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:50:24.094 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob out
<presence/>



*** User 2024-01-14 19:50:24.095 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2541@domain.example.com/newbob' to='bob_subscribe_relog_2541@domain.example.com/res1'/>



*** User 2024-01-14 19:50:24.095 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2541@domain.example.com' to='bob_subscribe_relog_2541@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-01-14 19:50:24.095 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2541@domain.example.com/newbob' to='bob_subscribe_relog_2541@domain.example.com/newbob'/>



*** User 2024-01-14 19:50:24.095 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2541@domain.example.com/res1' to='bob_subscribe_relog_2541@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:50:24.081658Z' from='bob_subscribe_relog_2541@domain.example.com/res1'/>
</presence>



*** User 2024-01-14 19:50:24.095 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob out
</stream:stream>

*** User 2024-01-14 19:50:24.096 ***🔗
bob_subscribe_relog_2541@domain.example.com/newbob in
</stream:stream>

*** User 2024-01-14 19:50:24.096 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2541@domain.example.com'/>



*** User 2024-01-14 19:50:24.096 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:24.100 ***🔗
bob_subscribe_relog_2541@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:50:24.100 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:50:24.100 ***🔗
alice_subscribe_relog_2541@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:50:24.102 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2342.html



=== Ended at 2024-01-14 19:50:24
=== successfully completed test case
=== === Returned value: ok