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

=== Config value:

    [{watchdog,<0.70967.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.presence_SUITE.logs/run.2024-02-23_17.45.13/presence_suite.subscribe_relog.146691.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.presence_SUITE.logs/run.2024-02-23_17.45.13/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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:45:15


*** CT 2024-02-23 17:45:15.825 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2589.html

*** User 2024-02-23 17:45:15.844 ***🔗
alicE_subscribe_relog_2796@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-23 17:45:15.844 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32c88f65e24665fc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:15.844 ***🔗
alicE_subscribe_relog_2796@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-23 17:45:15.844 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNzk2AG1hdHlncnlzYQ==</auth>



*** User 2024-02-23 17:45:15.845 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:15.845 ***🔗
alicE_subscribe_relog_2796@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-23 17:45:15.846 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='391ee12557dee813' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2796@domain.example.com'>

*** User 2024-02-23 17:45:15.846 ***🔗
alicE_subscribe_relog_2796@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-23 17:45:15.846 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 out
<iq type='set' id='8fcbb5756cf853e43dcd3eed3e2595d5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.846 ***🔗
alicE_subscribe_relog_2796@domain.example.com/res1 in
<iq id='8fcbb5756cf853e43dcd3eed3e2595d5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2796@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.846 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<iq type='set' id='7f32d89066816e29ab9f3c6dbdc35e0a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.847 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2796@domain.example.com/res1' id='7f32d89066816e29ab9f3c6dbdc35e0a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.847 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:15.848 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2796@domain.example.com/res1' to='alice_subscribe_relog_2796@domain.example.com/res1'/>



*** User 2024-02-23 17:45:15.849 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.849 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d50a7b0bee06935' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:15.849 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.849 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc5NgBtYWtyb2xpa2E=</auth>



*** User 2024-02-23 17:45:15.850 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:15.851 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.851 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='688264645da59be3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2796@domain.example.com'>

*** User 2024-02-23 17:45:15.851 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.851 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 out
<iq type='set' id='b65eb4792b8794375545dc0f782f4a15'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.851 ***🔗
bOb_subscribe_relog_2796@domain.example.com/res1 in
<iq id='b65eb4792b8794375545dc0f782f4a15' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2796@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.851 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 out
<iq type='set' id='2184dff5797af3b08cfc48dd53d509ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.852 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2796@domain.example.com/res1' id='2184dff5797af3b08cfc48dd53d509ab' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.852 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:15.853 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2796@domain.example.com/res1' to='bob_subscribe_relog_2796@domain.example.com/res1'/>



*** User 2024-02-23 17:45:15.853 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<iq type='set' id='cf6617f1f22e72c58d72d10ef40d4ec9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2796@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:45:15.863 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2796@domain.example.com' to='alice_subscribe_relog_2796@domain.example.com/res1' id='push99d16f9f0efffedb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2796@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:45:15.863 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2796@domain.example.com' to='alice_subscribe_relog_2796@domain.example.com/res1' id='cf6617f1f22e72c58d72d10ef40d4ec9' type='result'/>



*** User 2024-02-23 17:45:15.863 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2796@domain.example.com' id='push99d16f9f0efffedb' type='result'/>



*** User 2024-02-23 17:45:15.863 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2796@domain.example.com'/>



*** User 2024-02-23 17:45:15.887 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2796@domain.example.com' to='alice_subscribe_relog_2796@domain.example.com/res1' id='push63d7742996ba3b7f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2796@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:45:15.887 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2796@domain.example.com' id='push63d7742996ba3b7f' type='result'/>



*** User 2024-02-23 17:45:15.887 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2796@domain.example.com' to='bob_subscribe_relog_2796@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-23 17:45:15.887 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.888 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f2a011e8068972a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:15.888 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.888 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjc5NgBtYWtyb2xpa2E=</auth>



*** User 2024-02-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35b677c4eb299d51' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2796@domain.example.com'>

*** User 2024-02-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@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-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob out
<iq type='set' id='293766754d66f9abc30c98ba386545c2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.902 ***🔗
bOb_subscribe_relog_2796@domain.example.com/newbob in
<iq id='293766754d66f9abc30c98ba386545c2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2796@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:15.902 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob out
<iq type='set' id='bd2dd53cf90b3b18a4b50b18ca3284c7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.903 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2796@domain.example.com/newbob' id='bd2dd53cf90b3b18a4b50b18ca3284c7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:15.903 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob out
<presence/>



*** User 2024-02-23 17:45:15.904 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2796@domain.example.com/newbob' to='bob_subscribe_relog_2796@domain.example.com/res1'/>



*** User 2024-02-23 17:45:15.904 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2796@domain.example.com' to='bob_subscribe_relog_2796@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-23 17:45:15.904 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2796@domain.example.com/newbob' to='bob_subscribe_relog_2796@domain.example.com/newbob'/>



*** User 2024-02-23 17:45:15.904 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2796@domain.example.com/res1' to='bob_subscribe_relog_2796@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-23T17:45:15.853373Z' from='bob_subscribe_relog_2796@domain.example.com/res1'/>
</presence>



*** User 2024-02-23 17:45:15.905 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob out
</stream:stream>

*** User 2024-02-23 17:45:15.905 ***🔗
bob_subscribe_relog_2796@domain.example.com/newbob in
</stream:stream>

*** User 2024-02-23 17:45:15.905 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2796@domain.example.com'/>



*** User 2024-02-23 17:45:15.905 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:15.917 ***🔗
bob_subscribe_relog_2796@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:15.917 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:15.917 ***🔗
alice_subscribe_relog_2796@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:45:15.920 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2589.html



=== Ended at 2024-02-23 17:45:15
=== successfully completed test case
=== === Returned value: ok