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

=== Config value:

    [{watchdog,<0.5238.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/presence_suite.invisible_presence.57346.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/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@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:37:29


*** CT 2022-03-03 10:37:29.956 *** View log from node mongooseim@localhost when started mongooseim@localhost_4523.html
*** CT 2022-03-03 10:37:29.956 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

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

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



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



*** User 2022-03-03 10:37:30.033 ***
alicE_invisible_presence_867@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:37:30.034 ***
alicE_invisible_presence_867@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4422a202e4182ea7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.034 ***
alicE_invisible_presence_867@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:37:30.034 ***
alicE_invisible_presence_867@localhost/res1 out
<iq type='set' id='71e35e5cdf88d9d8d9199cff9b9ca2c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.034 ***
alicE_invisible_presence_867@localhost/res1 in
<iq id='71e35e5cdf88d9d8d9199cff9b9ca2c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_867@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.034 ***
alicE_invisible_presence_867@localhost/res1 out
<iq type='set' id='6cf638dc05b66e3c312979db8d9495f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.034 ***
alicE_invisible_presence_867@localhost/res1 in
<iq type='result' id='6cf638dc05b66e3c312979db8d9495f1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.035 ***
alicE_invisible_presence_867@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.035 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='alicE_invisible_presence_867@localhost/res1' to='alice_invisible_presence_867@localhost/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-03-03 10:37:30.038 ***
bOb_invisible_presence_867@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:37:30.038 ***
bOb_invisible_presence_867@localhost/res1 out
<iq type='set' id='c10a2c6b340993571ef33ff803231473'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.038 ***
bOb_invisible_presence_867@localhost/res1 in
<iq id='c10a2c6b340993571ef33ff803231473' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_867@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.038 ***
bOb_invisible_presence_867@localhost/res1 out
<iq type='set' id='a97c4ea98ae7d1b0f9f90dee687284bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.038 ***
bOb_invisible_presence_867@localhost/res1 in
<iq type='result' id='a97c4ea98ae7d1b0f9f90dee687284bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.039 ***
bOb_invisible_presence_867@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.039 ***
bOb_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost/res1' to='bob_invisible_presence_867@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.039 ***
alicE_invisible_presence_867@localhost/res1 out
<iq type='set' id='ec66c0dc78eb65d332638511c033cf95'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_867@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.040 ***
alicE_invisible_presence_867@localhost/res1 in
<iq from='alicE_invisible_presence_867@localhost' to='alicE_invisible_presence_867@localhost/res1' id='pushf10e1672550b16dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_867@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.040 ***
alicE_invisible_presence_867@localhost/res1 in
<iq from='alicE_invisible_presence_867@localhost' to='alicE_invisible_presence_867@localhost/res1' id='ec66c0dc78eb65d332638511c033cf95' type='result'/>



*** User 2022-03-03 10:37:30.040 ***
alicE_invisible_presence_867@localhost/res1 out
<iq to='alicE_invisible_presence_867@localhost' id='pushf10e1672550b16dc' type='result'/>



*** User 2022-03-03 10:37:30.041 ***
alicE_invisible_presence_867@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_867@localhost'/>



*** User 2022-03-03 10:37:30.042 ***
alicE_invisible_presence_867@localhost/res1 in
<iq from='alicE_invisible_presence_867@localhost' to='alicE_invisible_presence_867@localhost/res1' id='push8a723692bc29b1a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_867@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.042 ***
alicE_invisible_presence_867@localhost/res1 out
<iq to='alicE_invisible_presence_867@localhost' id='push8a723692bc29b1a4' type='result'/>



*** User 2022-03-03 10:37:30.042 ***
bOb_invisible_presence_867@localhost/res1 in
<presence from='alicE_invisible_presence_867@localhost' to='bOb_invisible_presence_867@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:37:30.042 ***
bOb_invisible_presence_867@localhost/res1 out
<iq type='set' id='483841b765078fd643f49f8f07e5a30f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_867@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.043 ***
bOb_invisible_presence_867@localhost/res1 in
<iq from='bOb_invisible_presence_867@localhost' to='bOb_invisible_presence_867@localhost/res1' id='push1078b4a733a239ca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_867@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.043 ***
bOb_invisible_presence_867@localhost/res1 out
<iq to='bOb_invisible_presence_867@localhost' id='push1078b4a733a239ca' type='result'/>



*** User 2022-03-03 10:37:30.043 ***
bOb_invisible_presence_867@localhost/res1 in
<iq from='bOb_invisible_presence_867@localhost' to='bOb_invisible_presence_867@localhost/res1' id='483841b765078fd643f49f8f07e5a30f' type='result'/>



*** User 2022-03-03 10:37:30.044 ***
bOb_invisible_presence_867@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_867@localhost'/>



*** User 2022-03-03 10:37:30.045 ***
alicE_invisible_presence_867@localhost/res1 in
<iq from='alicE_invisible_presence_867@localhost' to='alicE_invisible_presence_867@localhost/res1' id='push8c7eba3641c51110' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_867@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.045 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost' to='alicE_invisible_presence_867@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-03 10:37:30.045 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost/res1' to='alice_invisible_presence_867@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.045 ***
bOb_invisible_presence_867@localhost/res1 in
<iq from='bOb_invisible_presence_867@localhost' to='bOb_invisible_presence_867@localhost/res1' id='push4f3f20b5eceb254f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_867@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:37:30.045 ***
bOb_invisible_presence_867@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.046 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost/res1' to='alice_invisible_presence_867@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.046 ***
bOb_invisible_presence_867@localhost/res1 out
<presence type='invisible'/>



*** User 2022-03-03 10:37:30.046 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost/res1' to='alice_invisible_presence_867@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-03-03 10:37:30.046 ***
bOb_invisible_presence_867@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.047 ***
alicE_invisible_presence_867@localhost/res1 in
<presence from='bOb_invisible_presence_867@localhost/res1' to='alice_invisible_presence_867@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.047 ***
bOb_invisible_presence_867@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:30.047 ***
bOb_invisible_presence_867@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:30.048 ***
alicE_invisible_presence_867@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:30.048 ***
alicE_invisible_presence_867@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:30.050 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-03-03 10:37:30.051 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:37:30
=== successfully completed test case
=== === Returned value: ok