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

=== Config value:

    [{watchdog,<0.10820.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.invisible_presence.42627.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/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@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:54:55


*** CT 2022-04-05 07:54:55.988 *** View log from node mongooseim@localhost when started mongooseim@localhost_4593.html
*** CT 2022-04-05 07:54:55.988 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

*** User 2022-04-05 07:54:56.008 ***
alicE_invisible_presence_1220@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-05 07:54:56.009 ***
alicE_invisible_presence_1220@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b61de75240deaf3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.010 ***
alicE_invisible_presence_1220@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-05 07:54:56.010 ***
alicE_invisible_presence_1220@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xMjIwAG1hdHlncnlzYQ==</auth>



*** User 2022-04-05 07:54:56.015 ***
alicE_invisible_presence_1220@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.016 ***
alicE_invisible_presence_1220@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-05 07:54:56.066 ***
alicE_invisible_presence_1220@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1ef8cc1111ffccd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.066 ***
alicE_invisible_presence_1220@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-05 07:54:56.067 ***
alicE_invisible_presence_1220@localhost/res1 out
<iq type='set' id='76d931ad070e66c65a5775974d7badf7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.068 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq id='76d931ad070e66c65a5775974d7badf7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1220@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.068 ***
alicE_invisible_presence_1220@localhost/res1 out
<iq type='set' id='d17b6dd6a9b34b1003ff85082fd8900d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.069 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq type='result' id='d17b6dd6a9b34b1003ff85082fd8900d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.069 ***
alicE_invisible_presence_1220@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.072 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='alicE_invisible_presence_1220@localhost/res1' to='alice_invisible_presence_1220@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.072 ***
bOb_invisible_presence_1220@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-05 07:54:56.073 ***
bOb_invisible_presence_1220@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6561ed691e33bd81' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.073 ***
bOb_invisible_presence_1220@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-05 07:54:56.073 ***
bOb_invisible_presence_1220@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTIyMABtYWtyb2xpa2E=</auth>



*** User 2022-04-05 07:54:56.076 ***
bOb_invisible_presence_1220@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.076 ***
bOb_invisible_presence_1220@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-05 07:54:56.077 ***
bOb_invisible_presence_1220@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a3ca026dec52177' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.077 ***
bOb_invisible_presence_1220@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-05 07:54:56.077 ***
bOb_invisible_presence_1220@localhost/res1 out
<iq type='set' id='99255df2f7edf948fabb50fdb75741f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.078 ***
bOb_invisible_presence_1220@localhost/res1 in
<iq id='99255df2f7edf948fabb50fdb75741f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1220@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.078 ***
bOb_invisible_presence_1220@localhost/res1 out
<iq type='set' id='f7539aa1d973057160da45a0cb86a5d7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.079 ***
bOb_invisible_presence_1220@localhost/res1 in
<iq type='result' id='f7539aa1d973057160da45a0cb86a5d7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.079 ***
bOb_invisible_presence_1220@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.082 ***
bOb_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost/res1' to='bob_invisible_presence_1220@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.082 ***
alicE_invisible_presence_1220@localhost/res1 out
<iq type='set' id='1e29e7febde3bddee09cf870cf4bae80'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1220@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.086 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq from='alicE_invisible_presence_1220@localhost' to='alicE_invisible_presence_1220@localhost/res1' id='push281a06d6d68b73ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1220@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.086 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq from='alicE_invisible_presence_1220@localhost' to='alicE_invisible_presence_1220@localhost/res1' id='1e29e7febde3bddee09cf870cf4bae80' type='result'/>



*** User 2022-04-05 07:54:56.086 ***
alicE_invisible_presence_1220@localhost/res1 out
<iq to='alicE_invisible_presence_1220@localhost' id='push281a06d6d68b73ad' type='result'/>



*** User 2022-04-05 07:54:56.086 ***
alicE_invisible_presence_1220@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1220@localhost'/>



*** User 2022-04-05 07:54:56.168 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq from='alicE_invisible_presence_1220@localhost' to='alicE_invisible_presence_1220@localhost/res1' id='pusha5f1bb4131c24aa8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1220@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.168 ***
alicE_invisible_presence_1220@localhost/res1 out
<iq to='alicE_invisible_presence_1220@localhost' id='pusha5f1bb4131c24aa8' type='result'/>



*** User 2022-04-05 07:54:56.168 ***
bOb_invisible_presence_1220@localhost/res1 in
<presence from='alicE_invisible_presence_1220@localhost' to='bOb_invisible_presence_1220@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-05 07:54:56.168 ***
bOb_invisible_presence_1220@localhost/res1 out
<iq type='set' id='22942e57179589d02eb6fb581db5dcc7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1220@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.177 ***
bOb_invisible_presence_1220@localhost/res1 in
<iq from='bOb_invisible_presence_1220@localhost' to='bOb_invisible_presence_1220@localhost/res1' id='push0a36a83c840cbd26' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1220@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.177 ***
bOb_invisible_presence_1220@localhost/res1 out
<iq to='bOb_invisible_presence_1220@localhost' id='push0a36a83c840cbd26' type='result'/>



*** User 2022-04-05 07:54:56.177 ***
bOb_invisible_presence_1220@localhost/res1 in
<iq from='bOb_invisible_presence_1220@localhost' to='bOb_invisible_presence_1220@localhost/res1' id='22942e57179589d02eb6fb581db5dcc7' type='result'/>



*** User 2022-04-05 07:54:56.177 ***
bOb_invisible_presence_1220@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1220@localhost'/>



*** User 2022-04-05 07:54:56.189 ***
alicE_invisible_presence_1220@localhost/res1 in
<iq from='alicE_invisible_presence_1220@localhost' to='alicE_invisible_presence_1220@localhost/res1' id='pushcb1dcbacca22ba1d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1220@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.189 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost' to='alicE_invisible_presence_1220@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-05 07:54:56.189 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost/res1' to='alice_invisible_presence_1220@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.189 ***
bOb_invisible_presence_1220@localhost/res1 in
<iq from='bOb_invisible_presence_1220@localhost' to='bOb_invisible_presence_1220@localhost/res1' id='push46368af0f63a6d84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1220@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:56.190 ***
bOb_invisible_presence_1220@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.191 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost/res1' to='alice_invisible_presence_1220@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.191 ***
bOb_invisible_presence_1220@localhost/res1 out
<presence type='invisible'/>



*** User 2022-04-05 07:54:56.191 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost/res1' to='alice_invisible_presence_1220@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-04-05 07:54:56.192 ***
bOb_invisible_presence_1220@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.195 ***
alicE_invisible_presence_1220@localhost/res1 in
<presence from='bOb_invisible_presence_1220@localhost/res1' to='alice_invisible_presence_1220@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.195 ***
bOb_invisible_presence_1220@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:56.195 ***
bOb_invisible_presence_1220@localhost/res1 in
</stream:stream>

*** User 2022-04-05 07:54:56.195 ***
alicE_invisible_presence_1220@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:56.196 ***
alicE_invisible_presence_1220@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:56.198 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:56.199 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4594.html



=== Ended at 2022-04-05 07:54:56
=== successfully completed test case
=== === Returned value: ok