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

=== Config value:

    [{watchdog,<0.30131.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/presence_suite.invisible_presence.145666.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:04:17


*** CT 2022-05-11 09:04:17.350 *** View log from node mongooseim@localhost when started mongooseim@localhost_2409.html
*** CT 2022-05-11 09:04:17.350 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_524.html

*** User 2022-05-11 09:04:17.359 ***
alicE_invisible_presence_1933@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 2022-05-11 09:04:17.359 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c28b711da535ac85' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.359 ***
alicE_invisible_presence_1933@domain.example.com/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-05-11 09:04:17.359 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xOTMzAG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 09:04:17.361 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:17.361 ***
alicE_invisible_presence_1933@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 2022-05-11 09:04:17.362 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bda056f25f784535' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.362 ***
alicE_invisible_presence_1933@domain.example.com/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-05-11 09:04:17.362 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='39ec350cae00c4c192b1b3da3a8caf58'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.362 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq id='39ec350cae00c4c192b1b3da3a8caf58' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1933@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.362 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='60fa00c3d4e76db2fe84c2c2c7efa57b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.363 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq type='result' id='60fa00c3d4e76db2fe84c2c2c7efa57b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.363 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.365 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='alicE_invisible_presence_1933@domain.example.com/res1' to='alice_invisible_presence_1933@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.366 ***
bOb_invisible_presence_1933@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 2022-05-11 09:04:17.366 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6689df122fb385ca' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.367 ***
bOb_invisible_presence_1933@domain.example.com/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-05-11 09:04:17.367 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTkzMwBtYWtyb2xpa2E=</auth>



*** User 2022-05-11 09:04:17.367 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@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 2022-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='174c3a2a64b425ae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@domain.example.com/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-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='eb9880fe55ebafa2fe1739b14a08da4f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<iq id='eb9880fe55ebafa2fe1739b14a08da4f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1933@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.368 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='401e2da640c66888faa7ee9867f42d58'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.369 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<iq type='result' id='401e2da640c66888faa7ee9867f42d58'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.369 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.370 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com/res1' to='bob_invisible_presence_1933@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.371 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='48a78ae74a616d6a100decd17252a5a4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1933@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.375 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1933@domain.example.com' to='alicE_invisible_presence_1933@domain.example.com/res1' id='push788d670e66b74cfb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1933@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.375 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1933@domain.example.com' to='alicE_invisible_presence_1933@domain.example.com/res1' id='48a78ae74a616d6a100decd17252a5a4' type='result'/>



*** User 2022-05-11 09:04:17.376 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<iq to='alicE_invisible_presence_1933@domain.example.com' id='push788d670e66b74cfb' type='result'/>



*** User 2022-05-11 09:04:17.376 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1933@domain.example.com'/>



*** User 2022-05-11 09:04:17.380 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1933@domain.example.com' to='alicE_invisible_presence_1933@domain.example.com/res1' id='pushdb11efeca7751eec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1933@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.380 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
<iq to='alicE_invisible_presence_1933@domain.example.com' id='pushdb11efeca7751eec' type='result'/>



*** User 2022-05-11 09:04:17.380 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<presence from='alicE_invisible_presence_1933@domain.example.com' to='bOb_invisible_presence_1933@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-11 09:04:17.380 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<iq type='set' id='c86a3629a20f9ac0bca4fd3085401bc8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1933@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.383 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1933@domain.example.com' to='bOb_invisible_presence_1933@domain.example.com/res1' id='pushc9bbabed8f80f84d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1933@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.383 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<iq to='bOb_invisible_presence_1933@domain.example.com' id='pushc9bbabed8f80f84d' type='result'/>



*** User 2022-05-11 09:04:17.383 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1933@domain.example.com' to='bOb_invisible_presence_1933@domain.example.com/res1' id='c86a3629a20f9ac0bca4fd3085401bc8' type='result'/>



*** User 2022-05-11 09:04:17.383 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1933@domain.example.com'/>



*** User 2022-05-11 09:04:17.387 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1933@domain.example.com' to='alicE_invisible_presence_1933@domain.example.com/res1' id='pusha5fcc62e87634f80' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1933@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.387 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com' to='alicE_invisible_presence_1933@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-11 09:04:17.387 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com/res1' to='alice_invisible_presence_1933@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.387 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1933@domain.example.com' to='bOb_invisible_presence_1933@domain.example.com/res1' id='push3c10d6c732fc3038' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1933@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:17.387 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.388 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com/res1' to='alice_invisible_presence_1933@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.388 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<presence type='invisible'/>



*** User 2022-05-11 09:04:17.388 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com/res1' to='alice_invisible_presence_1933@domain.example.com/res1' type='unavailable' xml:lang='en'/>



*** User 2022-05-11 09:04:17.389 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.390 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1933@domain.example.com/res1' to='alice_invisible_presence_1933@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.390 ***
bOb_invisible_presence_1933@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:17.390 ***
bOb_invisible_presence_1933@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:04:17.390 ***
alicE_invisible_presence_1933@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:17.390 ***
alicE_invisible_presence_1933@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:04:17.392 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_524.html
*** CT 2022-05-11 09:04:17.393 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2410.html



=== Ended at 2022-05-11 09:04:17
=== successfully completed test case
=== === Returned value: ok