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

=== Config value:

    [{watchdog,<0.5342.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/presence_suite.invisible_presence.47874.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:28


*** CT 2022-03-03 10:36:28.593 *** View log from node mongooseim@localhost when started mongooseim@localhost_4521.html
*** CT 2022-03-03 10:36:28.593 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:36:28.600 ***
alicE_invisible_presence_991@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-03 10:36:28.601 ***
alicE_invisible_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53e6ac26a84cc17c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:28.601 ***
alicE_invisible_presence_991@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>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-03 10:36:28.601 ***
alicE_invisible_presence_991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV85OTEAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:36:28.602 ***
alicE_invisible_presence_991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:28.602 ***
alicE_invisible_presence_991@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-03 10:36:28.602 ***
alicE_invisible_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b701c22dbe4bfd9e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:28.602 ***
alicE_invisible_presence_991@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-03 10:36:28.602 ***
alicE_invisible_presence_991@localhost/res1 out
<iq type='set' id='276f774889e2870966fe63e1000bfb89'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:28.603 ***
alicE_invisible_presence_991@localhost/res1 in
<iq id='276f774889e2870966fe63e1000bfb89' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_991@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:28.603 ***
alicE_invisible_presence_991@localhost/res1 out
<iq type='set' id='e32bf3d2a8c297dcd320f7211d6c6df8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:28.603 ***
alicE_invisible_presence_991@localhost/res1 in
<iq type='result' id='e32bf3d2a8c297dcd320f7211d6c6df8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:28.603 ***
alicE_invisible_presence_991@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:28.604 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='alicE_invisible_presence_991@localhost/res1' to='alice_invisible_presence_991@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:28.604 ***
bOb_invisible_presence_991@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-03 10:36:28.605 ***
bOb_invisible_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f0957f78caaabd68' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:28.605 ***
bOb_invisible_presence_991@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>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-03 10:36:28.605 ***
bOb_invisible_presence_991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfOTkxAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:28.606 ***
bOb_invisible_presence_991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:28.606 ***
bOb_invisible_presence_991@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-03 10:36:28.606 ***
bOb_invisible_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='063b7f16bef94fb6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:28.606 ***
bOb_invisible_presence_991@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-03 10:36:28.606 ***
bOb_invisible_presence_991@localhost/res1 out
<iq type='set' id='821c9943d6863012006f5dcc553807df'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:28.607 ***
bOb_invisible_presence_991@localhost/res1 in
<iq id='821c9943d6863012006f5dcc553807df' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_991@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:28.607 ***
bOb_invisible_presence_991@localhost/res1 out
<iq type='set' id='678821cc9e4b40b3aa80248ccce6ea40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:28.607 ***
bOb_invisible_presence_991@localhost/res1 in
<iq type='result' id='678821cc9e4b40b3aa80248ccce6ea40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:28.607 ***
bOb_invisible_presence_991@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:28.607 ***
bOb_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost/res1' to='bob_invisible_presence_991@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:28.608 ***
alicE_invisible_presence_991@localhost/res1 out
<iq type='set' id='0673f3e8a3afeb2476c52d36dcd449bf'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_991@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.608 ***
alicE_invisible_presence_991@localhost/res1 in
<iq from='alicE_invisible_presence_991@localhost' to='alicE_invisible_presence_991@localhost/res1' id='pushcb254d10066218bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_991@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.608 ***
alicE_invisible_presence_991@localhost/res1 in
<iq from='alicE_invisible_presence_991@localhost' to='alicE_invisible_presence_991@localhost/res1' id='0673f3e8a3afeb2476c52d36dcd449bf' type='result'/>



*** User 2022-03-03 10:36:28.609 ***
alicE_invisible_presence_991@localhost/res1 out
<iq to='alicE_invisible_presence_991@localhost' id='pushcb254d10066218bd' type='result'/>



*** User 2022-03-03 10:36:28.609 ***
alicE_invisible_presence_991@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_991@localhost'/>



*** User 2022-03-03 10:36:28.610 ***
alicE_invisible_presence_991@localhost/res1 in
<iq from='alicE_invisible_presence_991@localhost' to='alicE_invisible_presence_991@localhost/res1' id='push14f23f84005b5907' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_991@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.610 ***
alicE_invisible_presence_991@localhost/res1 out
<iq to='alicE_invisible_presence_991@localhost' id='push14f23f84005b5907' type='result'/>



*** User 2022-03-03 10:36:28.610 ***
bOb_invisible_presence_991@localhost/res1 in
<presence from='alicE_invisible_presence_991@localhost' to='bOb_invisible_presence_991@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:36:28.610 ***
bOb_invisible_presence_991@localhost/res1 out
<iq type='set' id='014e1253b92ecb21efeeda6730dc8851'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_991@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.611 ***
bOb_invisible_presence_991@localhost/res1 in
<iq from='bOb_invisible_presence_991@localhost' to='bOb_invisible_presence_991@localhost/res1' id='pusha8c00450b4a213e4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_991@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.611 ***
bOb_invisible_presence_991@localhost/res1 out
<iq to='bOb_invisible_presence_991@localhost' id='pusha8c00450b4a213e4' type='result'/>



*** User 2022-03-03 10:36:28.611 ***
bOb_invisible_presence_991@localhost/res1 in
<iq from='bOb_invisible_presence_991@localhost' to='bOb_invisible_presence_991@localhost/res1' id='014e1253b92ecb21efeeda6730dc8851' type='result'/>



*** User 2022-03-03 10:36:28.611 ***
bOb_invisible_presence_991@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_991@localhost'/>



*** User 2022-03-03 10:36:28.613 ***
alicE_invisible_presence_991@localhost/res1 in
<iq from='alicE_invisible_presence_991@localhost' to='alicE_invisible_presence_991@localhost/res1' id='push586bae9792988c02' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_991@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.613 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost' to='alicE_invisible_presence_991@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-03 10:36:28.613 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost/res1' to='alice_invisible_presence_991@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:28.613 ***
bOb_invisible_presence_991@localhost/res1 in
<iq from='bOb_invisible_presence_991@localhost' to='bOb_invisible_presence_991@localhost/res1' id='push8f34ed28be56b6f5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_991@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:36:28.613 ***
bOb_invisible_presence_991@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:28.613 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost/res1' to='alice_invisible_presence_991@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:28.613 ***
bOb_invisible_presence_991@localhost/res1 out
<presence type='invisible'/>



*** User 2022-03-03 10:36:28.614 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost/res1' to='alice_invisible_presence_991@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-03-03 10:36:28.614 ***
bOb_invisible_presence_991@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:28.614 ***
alicE_invisible_presence_991@localhost/res1 in
<presence from='bOb_invisible_presence_991@localhost/res1' to='alice_invisible_presence_991@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:28.614 ***
bOb_invisible_presence_991@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:28.614 ***
bOb_invisible_presence_991@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:28.614 ***
alicE_invisible_presence_991@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:28.615 ***
alicE_invisible_presence_991@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:28.617 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:28.617 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4521.html



=== Ended at 2022-03-03 10:36:28
=== successfully completed test case
=== === Returned value: ok