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

=== Config value:

    [{watchdog,<0.12372.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.10.58/presence_suite.invisible_presence.66690.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@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.10.58/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@8dd706b7fd53.2022-05-18_09.59.49"

=== Started at 2022-05-18 10:10:58


*** CT 2022-05-18 10:10:58.690 *** View log from node mongooseim@localhost when started mongooseim@localhost_4886.html
*** CT 2022-05-18 10:10:58.691 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1989.html

*** User 2022-05-18 10:10:58.701 ***
alicE_invisible_presence_1228@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-05-18 10:10:58.701 ***
alicE_invisible_presence_1228@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1257567820bbd792' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:10:58.701 ***
alicE_invisible_presence_1228@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-05-18 10:10:58.701 ***
alicE_invisible_presence_1228@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xMjI4AG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@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-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0599722d8ad89d51' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@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-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@localhost/res1 out
<iq type='set' id='d343bfed33008a20ce15afcedad9deff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:10:58.751 ***
alicE_invisible_presence_1228@localhost/res1 in
<iq id='d343bfed33008a20ce15afcedad9deff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_invisible_presence_1228@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:10:58.752 ***
alice_invisible_presence_1228@localhost/res1 out
<iq type='set' id='12fcdbfe0f22121b3d60f7895ad28ee6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:10:58.752 ***
alice_invisible_presence_1228@localhost/res1 in
<iq type='result' id='12fcdbfe0f22121b3d60f7895ad28ee6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:10:58.752 ***
alice_invisible_presence_1228@localhost/res1 out
<presence/>



*** User 2022-05-18 10:10:58.753 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='alice_invisible_presence_1228@localhost/res1' to='alice_invisible_presence_1228@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:10:58.754 ***
bOb_invisible_presence_1228@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-05-18 10:10:58.754 ***
bOb_invisible_presence_1228@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e1209751ad6ddac' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:10:58.754 ***
bOb_invisible_presence_1228@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-05-18 10:10:58.754 ***
bOb_invisible_presence_1228@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTIyOABtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:10:58.755 ***
bOb_invisible_presence_1228@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-05-18 10:10:58.756 ***
bOb_invisible_presence_1228@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-05-18 10:10:58.756 ***
bOb_invisible_presence_1228@localhost/res1 out
<iq type='set' id='c4d6c5aeabdf39bdd85b28df25a7f7f6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:10:58.756 ***
bOb_invisible_presence_1228@localhost/res1 in
<iq id='c4d6c5aeabdf39bdd85b28df25a7f7f6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_invisible_presence_1228@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:10:58.756 ***
bob_invisible_presence_1228@localhost/res1 out
<iq type='set' id='86b3f8e344b2959a8f444deb95a382ed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:10:58.756 ***
bob_invisible_presence_1228@localhost/res1 in
<iq type='result' id='86b3f8e344b2959a8f444deb95a382ed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:10:58.757 ***
bob_invisible_presence_1228@localhost/res1 out
<presence/>



*** User 2022-05-18 10:10:58.758 ***
bob_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost/res1' to='bob_invisible_presence_1228@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:10:58.758 ***
alice_invisible_presence_1228@localhost/res1 out
<iq type='set' id='d04b06de031ff948129fee1179bb7813'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_invisible_presence_1228@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.760 ***
alice_invisible_presence_1228@localhost/res1 in
<iq from='alice_invisible_presence_1228@localhost' to='alice_invisible_presence_1228@localhost/res1' id='pushe02d296cb5c58a4a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1228@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.760 ***
alice_invisible_presence_1228@localhost/res1 in
<iq from='alice_invisible_presence_1228@localhost' to='alice_invisible_presence_1228@localhost/res1' id='d04b06de031ff948129fee1179bb7813' type='result'/>



*** User 2022-05-18 10:10:58.760 ***
alice_invisible_presence_1228@localhost/res1 out
<iq to='alice_invisible_presence_1228@localhost' id='pushe02d296cb5c58a4a' type='result'/>



*** User 2022-05-18 10:10:58.760 ***
alice_invisible_presence_1228@localhost/res1 out
<presence type='subscribe' to='bob_invisible_presence_1228@localhost'/>



*** User 2022-05-18 10:10:58.765 ***
alice_invisible_presence_1228@localhost/res1 in
<iq from='alice_invisible_presence_1228@localhost' to='alice_invisible_presence_1228@localhost/res1' id='push531573d1c28e6889' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1228@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.765 ***
alice_invisible_presence_1228@localhost/res1 out
<iq to='alice_invisible_presence_1228@localhost' id='push531573d1c28e6889' type='result'/>



*** User 2022-05-18 10:10:58.765 ***
bob_invisible_presence_1228@localhost/res1 in
<presence from='alice_invisible_presence_1228@localhost' to='bob_invisible_presence_1228@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-18 10:10:58.765 ***
bob_invisible_presence_1228@localhost/res1 out
<iq type='set' id='97b4d207703d335363442d6d67b4f43a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_invisible_presence_1228@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.768 ***
bob_invisible_presence_1228@localhost/res1 in
<iq from='bob_invisible_presence_1228@localhost' to='bob_invisible_presence_1228@localhost/res1' id='push2c78f8c963bdf810' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1228@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.768 ***
bob_invisible_presence_1228@localhost/res1 out
<iq to='bob_invisible_presence_1228@localhost' id='push2c78f8c963bdf810' type='result'/>



*** User 2022-05-18 10:10:58.768 ***
bob_invisible_presence_1228@localhost/res1 in
<iq from='bob_invisible_presence_1228@localhost' to='bob_invisible_presence_1228@localhost/res1' id='97b4d207703d335363442d6d67b4f43a' type='result'/>



*** User 2022-05-18 10:10:58.768 ***
bob_invisible_presence_1228@localhost/res1 out
<presence type='subscribed' to='alice_invisible_presence_1228@localhost'/>



*** User 2022-05-18 10:10:58.773 ***
alice_invisible_presence_1228@localhost/res1 in
<iq from='alice_invisible_presence_1228@localhost' to='alice_invisible_presence_1228@localhost/res1' id='push9e59494e88726fda' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1228@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.773 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost' to='alice_invisible_presence_1228@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-18 10:10:58.773 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost/res1' to='alice_invisible_presence_1228@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:10:58.773 ***
bob_invisible_presence_1228@localhost/res1 in
<iq from='bob_invisible_presence_1228@localhost' to='bob_invisible_presence_1228@localhost/res1' id='pushcaeaa3bf1b387985' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1228@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:10:58.773 ***
bob_invisible_presence_1228@localhost/res1 out
<presence/>



*** User 2022-05-18 10:10:58.852 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost/res1' to='alice_invisible_presence_1228@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:10:58.852 ***
bob_invisible_presence_1228@localhost/res1 out
<presence type='invisible'/>



*** User 2022-05-18 10:10:58.852 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost/res1' to='alice_invisible_presence_1228@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-05-18 10:10:58.853 ***
bob_invisible_presence_1228@localhost/res1 out
<presence/>



*** User 2022-05-18 10:10:58.855 ***
alice_invisible_presence_1228@localhost/res1 in
<presence from='bob_invisible_presence_1228@localhost/res1' to='alice_invisible_presence_1228@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:10:58.855 ***
bob_invisible_presence_1228@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:10:58.855 ***
bob_invisible_presence_1228@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:10:58.855 ***
alice_invisible_presence_1228@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:10:58.855 ***
alice_invisible_presence_1228@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:10:58.857 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1989.html
*** CT 2022-05-18 10:10:58.857 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4887.html



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