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

=== Config value:

    [{watchdog,<0.70850.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@6cc866ab7272.2024-02-26_21.58.45/big_tests.tests.presence_SUITE.logs/run.2024-02-26_22.13.15/presence_suite.subscribe_relog.91140.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@6cc866ab7272.2024-02-26_21.58.45/big_tests.tests.presence_SUITE.logs/run.2024-02-26_22.13.15/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@6cc866ab7272.2024-02-26_21.58.45"

=== Started at 2024-02-26 22:13:17


*** CT 2024-02-26 22:13:17.692 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2590.html

*** User 2024-02-26 22:13:17.704 ***🔗
alicE_subscribe_relog_2887@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-26 22:13:17.706 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a8efce3f87d7c05' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 22:13:17.706 ***🔗
alicE_subscribe_relog_2887@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-26 22:13:17.706 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yODg3AG1hdHlncnlzYQ==</auth>



*** User 2024-02-26 22:13:17.708 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 22:13:17.708 ***🔗
alicE_subscribe_relog_2887@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-26 22:13:17.708 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0066bf4dfca3b9e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2887@domain.example.com'>

*** User 2024-02-26 22:13:17.708 ***🔗
alicE_subscribe_relog_2887@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-26 22:13:17.708 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 out
<iq type='set' id='04e5618be9f99bbefc81aa6db2b934d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.709 ***🔗
alicE_subscribe_relog_2887@domain.example.com/res1 in
<iq id='04e5618be9f99bbefc81aa6db2b934d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_2887@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.709 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<iq type='set' id='e7713c06539f8527b576627798b085ff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.709 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2887@domain.example.com/res1' id='e7713c06539f8527b576627798b085ff' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.709 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 22:13:17.711 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2887@domain.example.com/res1' to='alice_subscribe_relog_2887@domain.example.com/res1'/>



*** User 2024-02-26 22:13:17.711 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.712 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e453308efe5f3538' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 22:13:17.712 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.712 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NwBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 22:13:17.713 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 22:13:17.713 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.713 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f06fde5365fd5222' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2887@domain.example.com'>

*** User 2024-02-26 22:13:17.713 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.714 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 out
<iq type='set' id='f647a36a2b80aaad387ac7b584745355'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.714 ***🔗
bOb_subscribe_relog_2887@domain.example.com/res1 in
<iq id='f647a36a2b80aaad387ac7b584745355' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2887@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.714 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 out
<iq type='set' id='97cdb4a59290057dee7e1befd05903ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.714 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2887@domain.example.com/res1' id='97cdb4a59290057dee7e1befd05903ef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.714 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 22:13:17.716 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2887@domain.example.com/res1' to='bob_subscribe_relog_2887@domain.example.com/res1'/>



*** User 2024-02-26 22:13:17.716 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<iq type='set' id='569cc50c339dcad21e2d4036227c6e5e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_2887@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 22:13:17.736 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2887@domain.example.com' to='alice_subscribe_relog_2887@domain.example.com/res1' id='push87a6e7831e46a2bc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_subscribe_relog_2887@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 22:13:17.736 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2887@domain.example.com' to='alice_subscribe_relog_2887@domain.example.com/res1' id='569cc50c339dcad21e2d4036227c6e5e' type='result'/>



*** User 2024-02-26 22:13:17.737 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2887@domain.example.com' id='push87a6e7831e46a2bc' type='result'/>



*** User 2024-02-26 22:13:17.737 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2887@domain.example.com'/>



*** User 2024-02-26 22:13:17.808 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2887@domain.example.com' to='alice_subscribe_relog_2887@domain.example.com/res1' id='push53243e7ba654e97c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_2887@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 22:13:17.808 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2887@domain.example.com' id='push53243e7ba654e97c' type='result'/>



*** User 2024-02-26 22:13:17.808 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2887@domain.example.com' to='bob_subscribe_relog_2887@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-26 22:13:17.810 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.811 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='834153fe78264045' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 22:13:17.811 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.811 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjg4NwBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 22:13:17.818 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 22:13:17.818 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.818 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6baeca90eb5124ac' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2887@domain.example.com'>

*** User 2024-02-26 22:13:17.819 ***🔗
bOb_subscribe_relog_2887@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-26 22:13:17.819 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob out
<iq type='set' id='f1a92777a32783232785e10944fbe9ed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.819 ***🔗
bOb_subscribe_relog_2887@domain.example.com/newbob in
<iq id='f1a92777a32783232785e10944fbe9ed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_2887@domain.example.com/newbob</jid>
	</bind>
</iq>



*** User 2024-02-26 22:13:17.819 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob out
<iq type='set' id='6445e6738f518314af36ed051ea5d82d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.819 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2887@domain.example.com/newbob' id='6445e6738f518314af36ed051ea5d82d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 22:13:17.819 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob out
<presence/>



*** User 2024-02-26 22:13:17.825 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2887@domain.example.com/newbob' to='bob_subscribe_relog_2887@domain.example.com/res1'/>



*** User 2024-02-26 22:13:17.825 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2887@domain.example.com' to='bob_subscribe_relog_2887@domain.example.com/newbob' type='subscribe'>
	<status/>
</presence>



*** User 2024-02-26 22:13:17.825 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2887@domain.example.com/newbob' to='bob_subscribe_relog_2887@domain.example.com/newbob'/>



*** User 2024-02-26 22:13:17.825 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2887@domain.example.com/res1' to='bob_subscribe_relog_2887@domain.example.com/newbob'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T22:13:17.715734Z' from='bob_subscribe_relog_2887@domain.example.com/res1'/>
</presence>



*** User 2024-02-26 22:13:17.826 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob out
</stream:stream>

*** User 2024-02-26 22:13:17.826 ***🔗
bob_subscribe_relog_2887@domain.example.com/newbob in
</stream:stream>

*** User 2024-02-26 22:13:17.826 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2887@domain.example.com'/>



*** User 2024-02-26 22:13:17.826 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 22:13:17.852 ***🔗
bob_subscribe_relog_2887@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-26 22:13:17.852 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 22:13:17.852 ***🔗
alice_subscribe_relog_2887@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-26 22:13:17.855 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2590.html



=== Ended at 2024-02-26 22:13:17
=== successfully completed test case
=== === Returned value: ok