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

=== Config value:

    [{watchdog,<0.1117.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/presence_suite.invisible_presence.111619.html"},
     {tc_group_properties,[{name,presence},{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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.07.25/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@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:07:25


*** CT 2022-03-07 16:07:25.947 *** View log from node mongooseim@localhost when started mongooseim@localhost_4562.html
*** CT 2022-03-07 16:07:25.947 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:07:25.956 ***
alicE_invisible_presence_1903@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-03-07 16:07:25.956 ***
alicE_invisible_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9db5e3d8ca6d475f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.957 ***
alicE_invisible_presence_1903@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-03-07 16:07:25.957 ***
alicE_invisible_presence_1903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xOTAzAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 16:07:25.957 ***
alicE_invisible_presence_1903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:25.957 ***
alicE_invisible_presence_1903@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-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fedc91ed80fab3cc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@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-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@localhost/res1 out
<iq type='set' id='d703cbdcabe1f6f19832b0fb037fa6ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq id='d703cbdcabe1f6f19832b0fb037fa6ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1903@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@localhost/res1 out
<iq type='set' id='6cb8952baf7b7f026e45526583bc6246'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.958 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq type='result' id='6cb8952baf7b7f026e45526583bc6246'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.959 ***
alicE_invisible_presence_1903@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.961 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='alicE_invisible_presence_1903@localhost/res1' to='alice_invisible_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.962 ***
bOb_invisible_presence_1903@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-03-07 16:07:25.963 ***
bOb_invisible_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ba73d2fd8a9f9491' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.963 ***
bOb_invisible_presence_1903@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-03-07 16:07:25.963 ***
bOb_invisible_presence_1903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTkwMwBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@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-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c63c4aa2264f1b4a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@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-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@localhost/res1 out
<iq type='set' id='dfb2760572d782ac02d4dbe174febc14'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@localhost/res1 in
<iq id='dfb2760572d782ac02d4dbe174febc14' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1903@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:07:25.964 ***
bOb_invisible_presence_1903@localhost/res1 out
<iq type='set' id='d6f987a72cca5d81b43bb5389cd9faa5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_invisible_presence_1903@localhost/res1 in
<iq type='result' id='d6f987a72cca5d81b43bb5389cd9faa5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:07:25.965 ***
bOb_invisible_presence_1903@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.967 ***
bOb_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost/res1' to='bob_invisible_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.967 ***
alicE_invisible_presence_1903@localhost/res1 out
<iq type='set' id='2bcb3682c7951960ee9d405377cf90c7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1903@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.972 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq from='alicE_invisible_presence_1903@localhost' to='alicE_invisible_presence_1903@localhost/res1' id='pushf79a2567d59a2d64' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1903@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.972 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq from='alicE_invisible_presence_1903@localhost' to='alicE_invisible_presence_1903@localhost/res1' id='2bcb3682c7951960ee9d405377cf90c7' type='result'/>



*** User 2022-03-07 16:07:25.972 ***
alicE_invisible_presence_1903@localhost/res1 out
<iq to='alicE_invisible_presence_1903@localhost' id='pushf79a2567d59a2d64' type='result'/>



*** User 2022-03-07 16:07:25.972 ***
alicE_invisible_presence_1903@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1903@localhost'/>



*** User 2022-03-07 16:07:25.977 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq from='alicE_invisible_presence_1903@localhost' to='alicE_invisible_presence_1903@localhost/res1' id='push41946252f88c5d7a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1903@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.977 ***
alicE_invisible_presence_1903@localhost/res1 out
<iq to='alicE_invisible_presence_1903@localhost' id='push41946252f88c5d7a' type='result'/>



*** User 2022-03-07 16:07:25.977 ***
bOb_invisible_presence_1903@localhost/res1 in
<presence from='alicE_invisible_presence_1903@localhost' to='bOb_invisible_presence_1903@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-07 16:07:25.977 ***
bOb_invisible_presence_1903@localhost/res1 out
<iq type='set' id='39d3beb2bc6ce9407ba3a09d8f781498'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1903@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.980 ***
bOb_invisible_presence_1903@localhost/res1 in
<iq from='bOb_invisible_presence_1903@localhost' to='bOb_invisible_presence_1903@localhost/res1' id='push192a993e7a3595dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1903@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.980 ***
bOb_invisible_presence_1903@localhost/res1 out
<iq to='bOb_invisible_presence_1903@localhost' id='push192a993e7a3595dd' type='result'/>



*** User 2022-03-07 16:07:25.980 ***
bOb_invisible_presence_1903@localhost/res1 in
<iq from='bOb_invisible_presence_1903@localhost' to='bOb_invisible_presence_1903@localhost/res1' id='39d3beb2bc6ce9407ba3a09d8f781498' type='result'/>



*** User 2022-03-07 16:07:25.980 ***
bOb_invisible_presence_1903@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1903@localhost'/>



*** User 2022-03-07 16:07:25.985 ***
alicE_invisible_presence_1903@localhost/res1 in
<iq from='alicE_invisible_presence_1903@localhost' to='alicE_invisible_presence_1903@localhost/res1' id='push55300bc2065d9396' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1903@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.985 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost' to='alicE_invisible_presence_1903@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-07 16:07:25.985 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost/res1' to='alice_invisible_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.985 ***
bOb_invisible_presence_1903@localhost/res1 in
<iq from='bOb_invisible_presence_1903@localhost' to='bOb_invisible_presence_1903@localhost/res1' id='pushc507ae3e1ce69734' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1903@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:07:25.985 ***
bOb_invisible_presence_1903@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.986 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost/res1' to='alice_invisible_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.986 ***
bOb_invisible_presence_1903@localhost/res1 out
<presence type='invisible'/>



*** User 2022-03-07 16:07:25.987 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost/res1' to='alice_invisible_presence_1903@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-03-07 16:07:25.987 ***
bOb_invisible_presence_1903@localhost/res1 out
<presence/>



*** User 2022-03-07 16:07:25.988 ***
alicE_invisible_presence_1903@localhost/res1 in
<presence from='bOb_invisible_presence_1903@localhost/res1' to='alice_invisible_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:07:25.988 ***
bOb_invisible_presence_1903@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:25.989 ***
bOb_invisible_presence_1903@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:07:25.989 ***
alicE_invisible_presence_1903@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:07:25.989 ***
alicE_invisible_presence_1903@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:07:25.991 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:07:25.992 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4563.html



=== Ended at 2022-03-07 16:07:26
=== successfully completed test case
=== === Returned value: ok