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

=== Config value:

    [{watchdog,<0.5964.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/presence_suite.invisible_presence.50434.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:58:22


*** CT 2022-03-18 10:58:22.231 *** View log from node mongooseim@localhost when started mongooseim@localhost_4263.html
*** CT 2022-03-18 10:58:22.231 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2002.html

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

*** User 2022-03-18 10:58:22.239 ***
alicE_invisible_presence_1181@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-18 10:58:22.239 ***
alicE_invisible_presence_1181@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xMTgxAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:58:22.241 ***
alicE_invisible_presence_1181@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-03-18 10:58:22.241 ***
alicE_invisible_presence_1181@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-18 10:58:22.241 ***
alicE_invisible_presence_1181@localhost/res1 out
<iq type='set' id='f015337c158555d9a6b3227f76768c90'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.242 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq id='f015337c158555d9a6b3227f76768c90' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1181@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.242 ***
alicE_invisible_presence_1181@localhost/res1 out
<iq type='set' id='78ac7e367d4cac12a5e01e762440f848'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.242 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq type='result' id='78ac7e367d4cac12a5e01e762440f848'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.242 ***
alicE_invisible_presence_1181@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.243 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='alicE_invisible_presence_1181@localhost/res1' to='alice_invisible_presence_1181@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.243 ***
bOb_invisible_presence_1181@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-18 10:58:22.244 ***
bOb_invisible_presence_1181@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2195d5976dc5fe05' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.244 ***
bOb_invisible_presence_1181@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-18 10:58:22.244 ***
bOb_invisible_presence_1181@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTE4MQBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:58:22.245 ***
bOb_invisible_presence_1181@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-03-18 10:58:22.245 ***
bOb_invisible_presence_1181@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-18 10:58:22.245 ***
bOb_invisible_presence_1181@localhost/res1 out
<iq type='set' id='97eb2b4488ed648f75b34df7a03c3b69'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.246 ***
bOb_invisible_presence_1181@localhost/res1 in
<iq id='97eb2b4488ed648f75b34df7a03c3b69' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1181@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.246 ***
bOb_invisible_presence_1181@localhost/res1 out
<iq type='set' id='2d0147481036baa0b4b7f9e07c2e35c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.246 ***
bOb_invisible_presence_1181@localhost/res1 in
<iq type='result' id='2d0147481036baa0b4b7f9e07c2e35c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.246 ***
bOb_invisible_presence_1181@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.246 ***
bOb_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost/res1' to='bob_invisible_presence_1181@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.247 ***
alicE_invisible_presence_1181@localhost/res1 out
<iq type='set' id='5e8d71e24a525e887fa32d5603db095b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1181@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.248 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq from='alicE_invisible_presence_1181@localhost' to='alicE_invisible_presence_1181@localhost/res1' id='push1b7bc8612703a4db' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1181@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.248 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq from='alicE_invisible_presence_1181@localhost' to='alicE_invisible_presence_1181@localhost/res1' id='5e8d71e24a525e887fa32d5603db095b' type='result'/>



*** User 2022-03-18 10:58:22.248 ***
alicE_invisible_presence_1181@localhost/res1 out
<iq to='alicE_invisible_presence_1181@localhost' id='push1b7bc8612703a4db' type='result'/>



*** User 2022-03-18 10:58:22.248 ***
alicE_invisible_presence_1181@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1181@localhost'/>



*** User 2022-03-18 10:58:22.249 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq from='alicE_invisible_presence_1181@localhost' to='alicE_invisible_presence_1181@localhost/res1' id='pushebebdcade2851fc5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1181@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.249 ***
alicE_invisible_presence_1181@localhost/res1 out
<iq to='alicE_invisible_presence_1181@localhost' id='pushebebdcade2851fc5' type='result'/>



*** User 2022-03-18 10:58:22.249 ***
bOb_invisible_presence_1181@localhost/res1 in
<presence from='alicE_invisible_presence_1181@localhost' to='bOb_invisible_presence_1181@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 10:58:22.250 ***
bOb_invisible_presence_1181@localhost/res1 out
<iq type='set' id='34b86aa1e029c5661cf8bf5aa1b83665'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1181@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.250 ***
bOb_invisible_presence_1181@localhost/res1 in
<iq from='bOb_invisible_presence_1181@localhost' to='bOb_invisible_presence_1181@localhost/res1' id='pushbde45a9fb19f9796' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1181@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.250 ***
bOb_invisible_presence_1181@localhost/res1 out
<iq to='bOb_invisible_presence_1181@localhost' id='pushbde45a9fb19f9796' type='result'/>



*** User 2022-03-18 10:58:22.251 ***
bOb_invisible_presence_1181@localhost/res1 in
<iq from='bOb_invisible_presence_1181@localhost' to='bOb_invisible_presence_1181@localhost/res1' id='34b86aa1e029c5661cf8bf5aa1b83665' type='result'/>



*** User 2022-03-18 10:58:22.251 ***
bOb_invisible_presence_1181@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1181@localhost'/>



*** User 2022-03-18 10:58:22.252 ***
alicE_invisible_presence_1181@localhost/res1 in
<iq from='alicE_invisible_presence_1181@localhost' to='alicE_invisible_presence_1181@localhost/res1' id='push1d18c184603d69e2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1181@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.252 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost' to='alicE_invisible_presence_1181@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-18 10:58:22.252 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost/res1' to='alice_invisible_presence_1181@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.253 ***
bOb_invisible_presence_1181@localhost/res1 in
<iq from='bOb_invisible_presence_1181@localhost' to='bOb_invisible_presence_1181@localhost/res1' id='push716564de6e9fb745' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1181@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:58:22.253 ***
bOb_invisible_presence_1181@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.253 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost/res1' to='alice_invisible_presence_1181@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.253 ***
bOb_invisible_presence_1181@localhost/res1 out
<presence type='invisible'/>



*** User 2022-03-18 10:58:22.253 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost/res1' to='alice_invisible_presence_1181@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-03-18 10:58:22.253 ***
bOb_invisible_presence_1181@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.254 ***
alicE_invisible_presence_1181@localhost/res1 in
<presence from='bOb_invisible_presence_1181@localhost/res1' to='alice_invisible_presence_1181@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.254 ***
bOb_invisible_presence_1181@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:22.254 ***
bOb_invisible_presence_1181@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:58:22.254 ***
alicE_invisible_presence_1181@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:22.255 ***
alicE_invisible_presence_1181@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:22.256 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2002.html
*** CT 2022-03-18 10:58:22.257 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4263.html



=== Ended at 2022-03-18 10:58:22
=== successfully completed test case
=== === Returned value: ok