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

=== Config value:

    [{watchdog,<0.71959.0>},
     {preset,"odbc_mssql_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@16750ec82d36.2024-04-23_08.57.12/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.52/presence_suite.subscribe_relog.167555.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@16750ec82d36.2024-04-23_08.57.12/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.52/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@16750ec82d36.2024-04-23_08.57.12"

=== Started at 2024-04-23 09:10:54


*** CT 2024-04-23 09:10:54.818 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2577.html

*** User 2024-04-23 09:10:54.832 ***🔗
alicE_subscribe_relog_2870@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-04-23 09:10:54.832 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa0660cdba3389a2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:10:54.832 ***🔗
alicE_subscribe_relog_2870@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-04-23 09:10:54.832 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODcwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 09:10:54.833 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:10:54.833 ***🔗
alicE_subscribe_relog_2870@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-04-23 09:10:54.834 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='972249334b2ed052' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2870@domain.example.com'>

*** User 2024-04-23 09:10:54.834 ***🔗
alicE_subscribe_relog_2870@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-04-23 09:10:54.834 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 out
<iq type='set' id='6294055a9f3940369751a8d56da5ea73'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.834 ***🔗
alicE_subscribe_relog_2870@domain.example.com/res1 in
<iq id='6294055a9f3940369751a8d56da5ea73' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2870@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.834 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<iq type='set' id='2491ab512bbbe68d94008b98786a5060'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.835 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2870@domain.example.com/res1' id='2491ab512bbbe68d94008b98786a5060' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.835 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 09:10:54.836 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2870@domain.example.com/res1' to='alice_subscribe_relog_2870@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.836 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.837 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbca7317c5f4dd0c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:10:54.837 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.837 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3MABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 09:10:54.838 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:10:54.838 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.839 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6fa2a758eae23475' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2870@domain.example.com'>

*** User 2024-04-23 09:10:54.839 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.839 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 out
<iq type='set' id='8ec713f84c1ffb712254f812816d4d4b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bOb_subscribe_relog_2870@domain.example.com/res1 in
<iq id='8ec713f84c1ffb712254f812816d4d4b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2870@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 out
<iq type='set' id='7c8bc348818297f43177527127875177'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2870@domain.example.com/res1' id='7c8bc348818297f43177527127875177' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 09:10:54.840 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2870@domain.example.com/res1' to='bob_subscribe_relog_2870@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.841 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<iq type='set' id='6889d233fe7e6258cc3be306c58391b8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2870@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.868 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2870@domain.example.com' to='alice_subscribe_relog_2870@domain.example.com/res1' id='pushcd18d70d8347f2d8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2870@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.868 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2870@domain.example.com' to='alice_subscribe_relog_2870@domain.example.com/res1' id='6889d233fe7e6258cc3be306c58391b8' type='result'/>



*** User 2024-04-23 09:10:54.868 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2870@domain.example.com' id='pushcd18d70d8347f2d8' type='result'/>



*** User 2024-04-23 09:10:54.868 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2870@domain.example.com'/>



*** User 2024-04-23 09:10:54.880 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2870@domain.example.com' to='alice_subscribe_relog_2870@domain.example.com/res1' id='push895c9a68a5e21acb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2870@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.880 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2870@domain.example.com' id='push895c9a68a5e21acb' type='result'/>



*** User 2024-04-23 09:10:54.880 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2870@domain.example.com' to='bob_subscribe_relog_2870@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 09:10:54.880 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.881 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3638d46b8231c1e7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:10:54.881 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.881 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg3MABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 09:10:54.884 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:10:54.885 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.885 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a6a59143525dd9e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2870@domain.example.com'>

*** User 2024-04-23 09:10:54.885 ***🔗
bOb_subscribe_relog_2870@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-04-23 09:10:54.885 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob out
<iq type='set' id='15da4f84e4aea3aa90add24434bb91f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.885 ***🔗
bOb_subscribe_relog_2870@domain.example.com/newbob in
<iq id='15da4f84e4aea3aa90add24434bb91f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2870@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.885 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob out
<iq type='set' id='9fe07419b0b19737b1babd9c66e602be'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.886 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2870@domain.example.com/newbob' id='9fe07419b0b19737b1babd9c66e602be' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.886 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob out
<presence/>



*** User 2024-04-23 09:10:54.888 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2870@domain.example.com/newbob' to='bob_subscribe_relog_2870@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.888 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2870@domain.example.com' to='bob_subscribe_relog_2870@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2870@domain.example.com/newbob' to='bob_subscribe_relog_2870@domain.example.com/newbob'/>



*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2870@domain.example.com/res1' to='bob_subscribe_relog_2870@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T09:10:54.840657Z' from='bob_subscribe_relog_2870@domain.example.com/res1'/>
</presence>



*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob out
</stream:stream>

*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/newbob in
</stream:stream>

*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2870@domain.example.com'/>



*** User 2024-04-23 09:10:54.889 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 09:10:54.896 ***🔗
bob_subscribe_relog_2870@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 09:10:54.896 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 09:10:54.896 ***🔗
alice_subscribe_relog_2870@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 09:10:54.899 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2577.html



=== Ended at 2024-04-23 09:10:54
=== successfully completed test case
=== === Returned value: ok