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

=== Config value:

    [{watchdog,<0.31288.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/presence_suite.invisible_presence.108163.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:27


*** CT 2022-01-25 16:32:27.366 *** View log from node mongooseim@localhost when started mongooseim@localhost_5460.html
*** CT 2022-01-25 16:32:27.366 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:27.379 ***
alicE_invisible_presence_1902@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-01-25 16:32:27.379 ***
alicE_invisible_presence_1902@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54153929955489c2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.379 ***
alicE_invisible_presence_1902@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-01-25 16:32:27.379 ***
alicE_invisible_presence_1902@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xOTAyAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:32:27.381 ***
alicE_invisible_presence_1902@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:27.381 ***
alicE_invisible_presence_1902@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-01-25 16:32:27.381 ***
alicE_invisible_presence_1902@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='372cc35a3703768e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.381 ***
alicE_invisible_presence_1902@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-01-25 16:32:27.381 ***
alicE_invisible_presence_1902@localhost/res1 out
<iq type='set' id='b4537b31d2872b912da45f0b015ef213'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.382 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq id='b4537b31d2872b912da45f0b015ef213' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1902@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.382 ***
alicE_invisible_presence_1902@localhost/res1 out
<iq type='set' id='e89c155968bd423a16506d991c5eebdf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.383 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq type='result' id='e89c155968bd423a16506d991c5eebdf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.383 ***
alicE_invisible_presence_1902@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.384 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='alicE_invisible_presence_1902@localhost/res1' to='alice_invisible_presence_1902@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.385 ***
bOb_invisible_presence_1902@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-01-25 16:32:27.385 ***
bOb_invisible_presence_1902@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5d31cb67d90ca50' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.385 ***
bOb_invisible_presence_1902@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-01-25 16:32:27.385 ***
bOb_invisible_presence_1902@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTkwMgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:27.386 ***
bOb_invisible_presence_1902@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:27.386 ***
bOb_invisible_presence_1902@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-01-25 16:32:27.386 ***
bOb_invisible_presence_1902@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13cacd43b7f0b7f0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@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-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@localhost/res1 out
<iq type='set' id='c2e8b0ffc4af68ea162a405149b42f11'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@localhost/res1 in
<iq id='c2e8b0ffc4af68ea162a405149b42f11' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1902@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@localhost/res1 out
<iq type='set' id='a597d5da1ac310b63c43699d9401bc3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@localhost/res1 in
<iq type='result' id='a597d5da1ac310b63c43699d9401bc3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.387 ***
bOb_invisible_presence_1902@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.389 ***
bOb_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost/res1' to='bob_invisible_presence_1902@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.390 ***
alicE_invisible_presence_1902@localhost/res1 out
<iq type='set' id='4307bd649cae0a8b1ce8bef98bb20e23'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1902@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.395 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq from='alicE_invisible_presence_1902@localhost' to='alicE_invisible_presence_1902@localhost/res1' id='push59607904ca3ec963' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1902@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.396 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq from='alicE_invisible_presence_1902@localhost' to='alicE_invisible_presence_1902@localhost/res1' id='4307bd649cae0a8b1ce8bef98bb20e23' type='result'/>



*** User 2022-01-25 16:32:27.396 ***
alicE_invisible_presence_1902@localhost/res1 out
<iq to='alicE_invisible_presence_1902@localhost' id='push59607904ca3ec963' type='result'/>



*** User 2022-01-25 16:32:27.396 ***
alicE_invisible_presence_1902@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1902@localhost'/>



*** User 2022-01-25 16:32:27.403 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq from='alicE_invisible_presence_1902@localhost' to='alicE_invisible_presence_1902@localhost/res1' id='push467a929598c60f2e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1902@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.403 ***
alicE_invisible_presence_1902@localhost/res1 out
<iq to='alicE_invisible_presence_1902@localhost' id='push467a929598c60f2e' type='result'/>



*** User 2022-01-25 16:32:27.403 ***
bOb_invisible_presence_1902@localhost/res1 in
<presence from='alicE_invisible_presence_1902@localhost' to='bOb_invisible_presence_1902@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-25 16:32:27.403 ***
bOb_invisible_presence_1902@localhost/res1 out
<iq type='set' id='1156f5e868a484c9852e627782302e29'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1902@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.407 ***
bOb_invisible_presence_1902@localhost/res1 in
<iq from='bOb_invisible_presence_1902@localhost' to='bOb_invisible_presence_1902@localhost/res1' id='push6258fdaa23869fa3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1902@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.407 ***
bOb_invisible_presence_1902@localhost/res1 out
<iq to='bOb_invisible_presence_1902@localhost' id='push6258fdaa23869fa3' type='result'/>



*** User 2022-01-25 16:32:27.407 ***
bOb_invisible_presence_1902@localhost/res1 in
<iq from='bOb_invisible_presence_1902@localhost' to='bOb_invisible_presence_1902@localhost/res1' id='1156f5e868a484c9852e627782302e29' type='result'/>



*** User 2022-01-25 16:32:27.407 ***
bOb_invisible_presence_1902@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1902@localhost'/>



*** User 2022-01-25 16:32:27.429 ***
alicE_invisible_presence_1902@localhost/res1 in
<iq from='alicE_invisible_presence_1902@localhost' to='alicE_invisible_presence_1902@localhost/res1' id='pushebbcf630fe6a434b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1902@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.429 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost' to='alicE_invisible_presence_1902@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-25 16:32:27.430 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost/res1' to='alice_invisible_presence_1902@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.430 ***
bOb_invisible_presence_1902@localhost/res1 in
<iq from='bOb_invisible_presence_1902@localhost' to='bOb_invisible_presence_1902@localhost/res1' id='push9fcc5433bc811050' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1902@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:27.430 ***
bOb_invisible_presence_1902@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.430 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost/res1' to='alice_invisible_presence_1902@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.430 ***
bOb_invisible_presence_1902@localhost/res1 out
<presence type='invisible'/>



*** User 2022-01-25 16:32:27.431 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost/res1' to='alice_invisible_presence_1902@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-01-25 16:32:27.431 ***
bOb_invisible_presence_1902@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.432 ***
alicE_invisible_presence_1902@localhost/res1 in
<presence from='bOb_invisible_presence_1902@localhost/res1' to='alice_invisible_presence_1902@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.432 ***
bOb_invisible_presence_1902@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:27.433 ***
bOb_invisible_presence_1902@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:27.433 ***
alicE_invisible_presence_1902@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:27.433 ***
alicE_invisible_presence_1902@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:27.435 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:27.436 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5461.html



=== Ended at 2022-01-25 16:32:27
=== successfully completed test case
=== === Returned value: ok