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

=== Config value:

    [{watchdog,<0.2959.2>},
     {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.invisible_presence.103939.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:13:08


*** CT 2022-04-04 15:13:08.812 *** View log from node mongooseim@localhost when started mongooseim@localhost_4740.html
*** CT 2022-04-04 15:13:08.812 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:13:08.831 ***
alicE_invisible_presence_2010@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-04-04 15:13:08.832 ***
alicE_invisible_presence_2010@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b49c9ff55c0a70f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.832 ***
alicE_invisible_presence_2010@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-04-04 15:13:08.832 ***
alicE_invisible_presence_2010@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8yMDEwAG1hdHlncnlzYQ==</auth>



*** User 2022-04-04 15:13:08.833 ***
alicE_invisible_presence_2010@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:08.833 ***
alicE_invisible_presence_2010@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-04-04 15:13:08.833 ***
alicE_invisible_presence_2010@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d806d22d975536b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.834 ***
alicE_invisible_presence_2010@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-04-04 15:13:08.834 ***
alicE_invisible_presence_2010@localhost/res1 out
<iq type='set' id='9e88fcc445a914f8068589ed8f0da950'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.834 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq id='9e88fcc445a914f8068589ed8f0da950' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_2010@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.834 ***
alicE_invisible_presence_2010@localhost/res1 out
<iq type='set' id='dfc8c53e5f663aa08df327a03b3277f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.835 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq type='result' id='dfc8c53e5f663aa08df327a03b3277f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.835 ***
alicE_invisible_presence_2010@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.836 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='alicE_invisible_presence_2010@localhost/res1' to='alice_invisible_presence_2010@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.837 ***
bOb_invisible_presence_2010@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-04-04 15:13:08.837 ***
bOb_invisible_presence_2010@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d68def6747c7e041' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.838 ***
bOb_invisible_presence_2010@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-04-04 15:13:08.838 ***
bOb_invisible_presence_2010@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMjAxMABtYWtyb2xpa2E=</auth>



*** User 2022-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@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-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc4d806312b4eefb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@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-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@localhost/res1 out
<iq type='set' id='8c8e35f1734841f77728076fddaeb1e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.839 ***
bOb_invisible_presence_2010@localhost/res1 in
<iq id='8c8e35f1734841f77728076fddaeb1e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_2010@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.840 ***
bOb_invisible_presence_2010@localhost/res1 out
<iq type='set' id='08bfa393bb47a34fc611b31f77c1a165'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.840 ***
bOb_invisible_presence_2010@localhost/res1 in
<iq type='result' id='08bfa393bb47a34fc611b31f77c1a165'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.840 ***
bOb_invisible_presence_2010@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.842 ***
bOb_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost/res1' to='bob_invisible_presence_2010@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.842 ***
alicE_invisible_presence_2010@localhost/res1 out
<iq type='set' id='840ea21fd2a8e2d2b4c2b3823bfdbeb3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_2010@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.847 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq from='alicE_invisible_presence_2010@localhost' to='alicE_invisible_presence_2010@localhost/res1' id='push776afabd4567f13d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_2010@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.847 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq from='alicE_invisible_presence_2010@localhost' to='alicE_invisible_presence_2010@localhost/res1' id='840ea21fd2a8e2d2b4c2b3823bfdbeb3' type='result'/>



*** User 2022-04-04 15:13:08.847 ***
alicE_invisible_presence_2010@localhost/res1 out
<iq to='alicE_invisible_presence_2010@localhost' id='push776afabd4567f13d' type='result'/>



*** User 2022-04-04 15:13:08.847 ***
alicE_invisible_presence_2010@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_2010@localhost'/>



*** User 2022-04-04 15:13:08.852 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq from='alicE_invisible_presence_2010@localhost' to='alicE_invisible_presence_2010@localhost/res1' id='push83231fcc15f63816' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_2010@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.852 ***
alicE_invisible_presence_2010@localhost/res1 out
<iq to='alicE_invisible_presence_2010@localhost' id='push83231fcc15f63816' type='result'/>



*** User 2022-04-04 15:13:08.852 ***
bOb_invisible_presence_2010@localhost/res1 in
<presence from='alicE_invisible_presence_2010@localhost' to='bOb_invisible_presence_2010@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:13:08.852 ***
bOb_invisible_presence_2010@localhost/res1 out
<iq type='set' id='39d7fe1d3cc34d103af426b34418849a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_2010@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.855 ***
bOb_invisible_presence_2010@localhost/res1 in
<iq from='bOb_invisible_presence_2010@localhost' to='bOb_invisible_presence_2010@localhost/res1' id='push3cb30d70906594bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_2010@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.855 ***
bOb_invisible_presence_2010@localhost/res1 out
<iq to='bOb_invisible_presence_2010@localhost' id='push3cb30d70906594bb' type='result'/>



*** User 2022-04-04 15:13:08.855 ***
bOb_invisible_presence_2010@localhost/res1 in
<iq from='bOb_invisible_presence_2010@localhost' to='bOb_invisible_presence_2010@localhost/res1' id='39d7fe1d3cc34d103af426b34418849a' type='result'/>



*** User 2022-04-04 15:13:08.855 ***
bOb_invisible_presence_2010@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_2010@localhost'/>



*** User 2022-04-04 15:13:08.861 ***
alicE_invisible_presence_2010@localhost/res1 in
<iq from='alicE_invisible_presence_2010@localhost' to='alicE_invisible_presence_2010@localhost/res1' id='pusha36739d5bd6d03e8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_2010@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.861 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost' to='alicE_invisible_presence_2010@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:13:08.861 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost/res1' to='alice_invisible_presence_2010@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.862 ***
bOb_invisible_presence_2010@localhost/res1 in
<iq from='bOb_invisible_presence_2010@localhost' to='bOb_invisible_presence_2010@localhost/res1' id='pushc46fd10de2cb9fd1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_2010@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:08.862 ***
bOb_invisible_presence_2010@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.862 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost/res1' to='alice_invisible_presence_2010@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.862 ***
bOb_invisible_presence_2010@localhost/res1 out
<presence type='invisible'/>



*** User 2022-04-04 15:13:08.862 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost/res1' to='alice_invisible_presence_2010@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-04-04 15:13:08.862 ***
bOb_invisible_presence_2010@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.863 ***
alicE_invisible_presence_2010@localhost/res1 in
<presence from='bOb_invisible_presence_2010@localhost/res1' to='alice_invisible_presence_2010@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.864 ***
bOb_invisible_presence_2010@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:08.864 ***
bOb_invisible_presence_2010@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:13:08.864 ***
alicE_invisible_presence_2010@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:08.864 ***
alicE_invisible_presence_2010@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:13:08.866 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:13:08.867 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4741.html



=== Ended at 2022-04-04 15:13:08
=== successfully completed test case
=== === Returned value: ok