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

=== Config value:

    [{watchdog,<0.5203.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/presence_suite.invisible_presence.36483.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:33:56


*** CT 2022-01-27 15:33:56.808 *** View log from node mongooseim@localhost when started mongooseim@localhost_4761.html
*** CT 2022-01-27 15:33:56.818 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-01-27 15:33:56.858 ***
alicE_invisible_presence_1041@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-01-27 15:33:56.859 ***
alicE_invisible_presence_1041@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05111988975b958b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.859 ***
alicE_invisible_presence_1041@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-01-27 15:33:56.859 ***
alicE_invisible_presence_1041@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xMDQxAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:33:56.859 ***
alicE_invisible_presence_1041@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:56.859 ***
alicE_invisible_presence_1041@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-01-27 15:33:56.860 ***
alicE_invisible_presence_1041@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1fdcd21dc934d34' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.860 ***
alicE_invisible_presence_1041@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-01-27 15:33:56.860 ***
alicE_invisible_presence_1041@localhost/res1 out
<iq type='set' id='1e4e392edc97c522ffef009ef6805c6f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.860 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq id='1e4e392edc97c522ffef009ef6805c6f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1041@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.860 ***
alicE_invisible_presence_1041@localhost/res1 out
<iq type='set' id='a4309039ca0975f9b589a2b6a28d6510'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.861 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq type='result' id='a4309039ca0975f9b589a2b6a28d6510'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.861 ***
alicE_invisible_presence_1041@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:56.861 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='alicE_invisible_presence_1041@localhost/res1' to='alice_invisible_presence_1041@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.862 ***
bOb_invisible_presence_1041@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-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='496a24dab1a200bd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@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-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTA0MQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@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-01-27 15:33:56.863 ***
bOb_invisible_presence_1041@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e84c93710daf1e4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@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-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@localhost/res1 out
<iq type='set' id='7173f77bc3336e3c0186cfa42fe1ca5b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@localhost/res1 in
<iq id='7173f77bc3336e3c0186cfa42fe1ca5b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1041@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@localhost/res1 out
<iq type='set' id='594e91af350b874aa9e2518d0bf0e9ba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@localhost/res1 in
<iq type='result' id='594e91af350b874aa9e2518d0bf0e9ba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.864 ***
bOb_invisible_presence_1041@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:56.865 ***
bOb_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost/res1' to='bob_invisible_presence_1041@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.865 ***
alicE_invisible_presence_1041@localhost/res1 out
<iq type='set' id='d6a040db4bf6143ca31475e00dcf2f54'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1041@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.866 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq from='alicE_invisible_presence_1041@localhost' to='alicE_invisible_presence_1041@localhost/res1' id='push8caea6772e2eb96e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1041@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.867 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq from='alicE_invisible_presence_1041@localhost' to='alicE_invisible_presence_1041@localhost/res1' id='d6a040db4bf6143ca31475e00dcf2f54' type='result'/>



*** User 2022-01-27 15:33:56.867 ***
alicE_invisible_presence_1041@localhost/res1 out
<iq to='alicE_invisible_presence_1041@localhost' id='push8caea6772e2eb96e' type='result'/>



*** User 2022-01-27 15:33:56.867 ***
alicE_invisible_presence_1041@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1041@localhost'/>



*** User 2022-01-27 15:33:56.868 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq from='alicE_invisible_presence_1041@localhost' to='alicE_invisible_presence_1041@localhost/res1' id='pushfc64ae4d91693e6c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1041@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.868 ***
alicE_invisible_presence_1041@localhost/res1 out
<iq to='alicE_invisible_presence_1041@localhost' id='pushfc64ae4d91693e6c' type='result'/>



*** User 2022-01-27 15:33:56.868 ***
bOb_invisible_presence_1041@localhost/res1 in
<presence from='alicE_invisible_presence_1041@localhost' to='bOb_invisible_presence_1041@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:33:56.868 ***
bOb_invisible_presence_1041@localhost/res1 out
<iq type='set' id='398cb3fb23d8537375c0859e95f656f7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1041@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.869 ***
bOb_invisible_presence_1041@localhost/res1 in
<iq from='bOb_invisible_presence_1041@localhost' to='bOb_invisible_presence_1041@localhost/res1' id='pusha72662fff4a6ebbe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1041@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.869 ***
bOb_invisible_presence_1041@localhost/res1 out
<iq to='bOb_invisible_presence_1041@localhost' id='pusha72662fff4a6ebbe' type='result'/>



*** User 2022-01-27 15:33:56.869 ***
bOb_invisible_presence_1041@localhost/res1 in
<iq from='bOb_invisible_presence_1041@localhost' to='bOb_invisible_presence_1041@localhost/res1' id='398cb3fb23d8537375c0859e95f656f7' type='result'/>



*** User 2022-01-27 15:33:56.869 ***
bOb_invisible_presence_1041@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1041@localhost'/>



*** User 2022-01-27 15:33:56.872 ***
alicE_invisible_presence_1041@localhost/res1 in
<iq from='alicE_invisible_presence_1041@localhost' to='alicE_invisible_presence_1041@localhost/res1' id='push73dafdc9d98f1900' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1041@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.872 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost' to='alicE_invisible_presence_1041@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:33:56.872 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost/res1' to='alice_invisible_presence_1041@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.872 ***
bOb_invisible_presence_1041@localhost/res1 in
<iq from='bOb_invisible_presence_1041@localhost' to='bOb_invisible_presence_1041@localhost/res1' id='push735d177bb22fb4dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1041@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:56.872 ***
bOb_invisible_presence_1041@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:56.873 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost/res1' to='alice_invisible_presence_1041@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.873 ***
bOb_invisible_presence_1041@localhost/res1 out
<presence type='invisible'/>



*** User 2022-01-27 15:33:56.873 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost/res1' to='alice_invisible_presence_1041@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-01-27 15:33:56.873 ***
bOb_invisible_presence_1041@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:56.874 ***
alicE_invisible_presence_1041@localhost/res1 in
<presence from='bOb_invisible_presence_1041@localhost/res1' to='alice_invisible_presence_1041@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.874 ***
bOb_invisible_presence_1041@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:56.874 ***
bOb_invisible_presence_1041@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:56.874 ***
alicE_invisible_presence_1041@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:56.874 ***
alicE_invisible_presence_1041@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:56.911 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:33:56.912 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4762.html



=== Ended at 2022-01-27 15:33:56
=== successfully completed test case
=== === Returned value: ok