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

=== Config value:

    [{watchdog,<0.14759.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/presence_suite.subscribe_relog.75522.html"},
     {tc_group_properties,[{name,subscribe_group},
                           {repeat_until_all_ok,3},
                           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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:55:26


*** CT 2022-06-22 08:55:26.634 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4303.html
*** CT 2022-06-22 08:55:26.634 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1988.html

*** User 2022-06-22 08:55:26.660 ***🔗
alicE_subscribe_relog_1379@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.660 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87ebb4d3752c0556' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.660 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.660 ***🔗
alicE_subscribe_relog_1379@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18xMzc5AG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:55:26.663 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.663 ***🔗
alicE_subscribe_relog_1379@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.663 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f8eb3cd93c208fe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.664 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.664 ***🔗
alicE_subscribe_relog_1379@localhost/res1 out
<iq type='set' id='73af5e850934890d0a0a800f680a3458'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alicE_subscribe_relog_1379@localhost/res1 in
<iq id='73af5e850934890d0a0a800f680a3458' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_relog_1379@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<iq type='set' id='ab084cb6f2db6bc962fe429a428a555a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
<iq type='result' id='ab084cb6f2db6bc962fe429a428a555a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.665 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.666 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
<presence from='alice_subscribe_relog_1379@localhost/res1' to='alice_subscribe_relog_1379@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.667 ***🔗
bOb_subscribe_relog_1379@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.667 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='01095c318f4a3a94' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.667 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.667 ***🔗
bOb_subscribe_relog_1379@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM3OQBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_subscribe_relog_1379@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.669 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='060e7762a9e805a2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.669 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_subscribe_relog_1379@localhost/res1 out
<iq type='set' id='a5e34e0d10e784f914dfd3d16b993051'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bOb_subscribe_relog_1379@localhost/res1 in
<iq id='a5e34e0d10e784f914dfd3d16b993051' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1379@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_subscribe_relog_1379@localhost/res1 out
<iq type='set' id='3ee148bde5a40c993c96d05aab6eaf1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_subscribe_relog_1379@localhost/res1 in
<iq type='result' id='3ee148bde5a40c993c96d05aab6eaf1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_subscribe_relog_1379@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.757 ***🔗
bob_subscribe_relog_1379@localhost/res1 in
<presence from='bob_subscribe_relog_1379@localhost/res1' to='bob_subscribe_relog_1379@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.758 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<iq type='set' id='a0fd40f78542cc26427d64e709f93f22'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_relog_1379@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.764 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
<iq from='alice_subscribe_relog_1379@localhost' to='alice_subscribe_relog_1379@localhost/res1' id='push8f1b7c2a45c0221a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_relog_1379@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.765 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
<iq from='alice_subscribe_relog_1379@localhost' to='alice_subscribe_relog_1379@localhost/res1' id='a0fd40f78542cc26427d64e709f93f22' type='result'/>



*** User 2022-06-22 08:55:26.765 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<iq to='alice_subscribe_relog_1379@localhost' id='push8f1b7c2a45c0221a' type='result'/>



*** User 2022-06-22 08:55:26.765 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_1379@localhost'/>



*** User 2022-06-22 08:55:26.774 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
<iq from='alice_subscribe_relog_1379@localhost' to='alice_subscribe_relog_1379@localhost/res1' id='pushe8711015af281aa2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_1379@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.774 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
<iq to='alice_subscribe_relog_1379@localhost' id='pushe8711015af281aa2' type='result'/>



*** User 2022-06-22 08:55:26.774 ***🔗
bob_subscribe_relog_1379@localhost/res1 in
<presence from='alice_subscribe_relog_1379@localhost' to='bob_subscribe_relog_1379@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 08:55:26.856 ***🔗
bOb_subscribe_relog_1379@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.857 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f9404c7a1134ac2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.857 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.858 ***🔗
bOb_subscribe_relog_1379@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMTM3OQBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 08:55:26.860 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.860 ***🔗
bOb_subscribe_relog_1379@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:55:26.860 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0f16441ff31df45' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.860 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 08:55:26.860 ***🔗
bOb_subscribe_relog_1379@localhost/newbob out
<iq type='set' id='9a1ab1105e9b17d8ff51567876a2c57e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>newbob</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.861 ***🔗
bOb_subscribe_relog_1379@localhost/newbob in
<iq id='9a1ab1105e9b17d8ff51567876a2c57e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_relog_1379@localhost/newbob</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.861 ***🔗
bob_subscribe_relog_1379@localhost/newbob out
<iq type='set' id='c6945cc9ccf7d483551823c539ccc91f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.861 ***🔗
bob_subscribe_relog_1379@localhost/newbob in
<iq type='result' id='c6945cc9ccf7d483551823c539ccc91f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.861 ***🔗
bob_subscribe_relog_1379@localhost/newbob out
<presence/>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_subscribe_relog_1379@localhost/res1 in
<presence from='bob_subscribe_relog_1379@localhost/newbob' to='bob_subscribe_relog_1379@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_subscribe_relog_1379@localhost/newbob in
<presence from='alice_subscribe_relog_1379@localhost' to='bob_subscribe_relog_1379@localhost' type='subscribe'>
	<status/>
</presence>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_subscribe_relog_1379@localhost/newbob in
<presence from='bob_subscribe_relog_1379@localhost/newbob' to='bob_subscribe_relog_1379@localhost/newbob' xml:lang='en'/>



*** User 2022-06-22 08:55:26.866 ***🔗
bob_subscribe_relog_1379@localhost/newbob in
<presence from='bob_subscribe_relog_1379@localhost/res1' to='bob_subscribe_relog_1379@localhost/newbob' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T08:55:26Z' from='bob_subscribe_relog_1379@localhost/res1'/>
</presence>



*** User 2022-06-22 08:55:26.866 ***🔗
bob_subscribe_relog_1379@localhost/newbob out
</stream:stream>

*** User 2022-06-22 08:55:26.866 ***🔗
bob_subscribe_relog_1379@localhost/newbob in
</stream:stream>

*** User 2022-06-22 08:55:26.866 ***🔗
bob_subscribe_relog_1379@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_1379@localhost'/>



*** User 2022-06-22 08:55:26.866 ***🔗
bob_subscribe_relog_1379@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.956 ***🔗
bob_subscribe_relog_1379@localhost/res1 in
</stream:stream>

*** User 2022-06-22 08:55:26.956 ***🔗
alice_subscribe_relog_1379@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.957 ***🔗
alice_subscribe_relog_1379@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 08:55:26.959 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1988.html
*** CT 2022-06-22 08:55:26.960 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4303.html



=== Ended at 2022-06-22 08:55:26
=== successfully completed test case
=== === Returned value: ok