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

=== Config value:

    [{watchdog,<0.31878.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.invisible_presence.129794.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:34:54


*** CT 2022-01-27 15:34:54.551 *** View log from node mongooseim@localhost when started mongooseim@localhost_5448.html
*** CT 2022-01-27 15:34:54.551 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

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

*** User 2022-01-27 15:34:54.570 ***
alicE_invisible_presence_1830@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:34:54.571 ***
alicE_invisible_presence_1830@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xODMwAG1hdHlncnlzYQ==</auth>



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



*** User 2022-01-27 15:34:54.572 ***
alicE_invisible_presence_1830@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:34:54.572 ***
alicE_invisible_presence_1830@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='337e17d85db6d0eb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.572 ***
alicE_invisible_presence_1830@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:34:54.572 ***
alicE_invisible_presence_1830@localhost/res1 out
<iq type='set' id='41daf0c7032b1cd1514ca35af967059b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.572 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq id='41daf0c7032b1cd1514ca35af967059b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1830@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_invisible_presence_1830@localhost/res1 out
<iq type='set' id='f27304a02c43ec2c6e10d4b44d0b6df5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq type='result' id='f27304a02c43ec2c6e10d4b44d0b6df5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.573 ***
alicE_invisible_presence_1830@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.575 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='alicE_invisible_presence_1830@localhost/res1' to='alice_invisible_presence_1830@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.575 ***
bOb_invisible_presence_1830@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:34:54.576 ***
bOb_invisible_presence_1830@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6603b3515f70a8f6' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:34:54.577 ***
bOb_invisible_presence_1830@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:34:54.578 ***
bOb_invisible_presence_1830@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9139a3e64a06711e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:54.578 ***
bOb_invisible_presence_1830@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:34:54.578 ***
bOb_invisible_presence_1830@localhost/res1 out
<iq type='set' id='08aa0bceb7baaf7a2c8282ffb2222b70'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.578 ***
bOb_invisible_presence_1830@localhost/res1 in
<iq id='08aa0bceb7baaf7a2c8282ffb2222b70' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1830@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_invisible_presence_1830@localhost/res1 out
<iq type='set' id='12e5333815b5d16cb3a34ce50bdda428'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_invisible_presence_1830@localhost/res1 in
<iq type='result' id='12e5333815b5d16cb3a34ce50bdda428'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:54.579 ***
bOb_invisible_presence_1830@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.580 ***
bOb_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost/res1' to='bob_invisible_presence_1830@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.580 ***
alicE_invisible_presence_1830@localhost/res1 out
<iq type='set' id='fd0ec620950ca91036e404883484bd2d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1830@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.587 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq from='alicE_invisible_presence_1830@localhost' to='alicE_invisible_presence_1830@localhost/res1' id='push83c5fbe4fe9d191f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1830@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.587 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq from='alicE_invisible_presence_1830@localhost' to='alicE_invisible_presence_1830@localhost/res1' id='fd0ec620950ca91036e404883484bd2d' type='result'/>



*** User 2022-01-27 15:34:54.587 ***
alicE_invisible_presence_1830@localhost/res1 out
<iq to='alicE_invisible_presence_1830@localhost' id='push83c5fbe4fe9d191f' type='result'/>



*** User 2022-01-27 15:34:54.588 ***
alicE_invisible_presence_1830@localhost/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1830@localhost'/>



*** User 2022-01-27 15:34:54.595 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq from='alicE_invisible_presence_1830@localhost' to='alicE_invisible_presence_1830@localhost/res1' id='push0d1e64034d52169a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1830@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.596 ***
alicE_invisible_presence_1830@localhost/res1 out
<iq to='alicE_invisible_presence_1830@localhost' id='push0d1e64034d52169a' type='result'/>



*** User 2022-01-27 15:34:54.596 ***
bOb_invisible_presence_1830@localhost/res1 in
<presence from='alicE_invisible_presence_1830@localhost' to='bOb_invisible_presence_1830@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:34:54.596 ***
bOb_invisible_presence_1830@localhost/res1 out
<iq type='set' id='20a7b372720ec92e28720bcf9379580b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1830@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.600 ***
bOb_invisible_presence_1830@localhost/res1 in
<iq from='bOb_invisible_presence_1830@localhost' to='bOb_invisible_presence_1830@localhost/res1' id='push9e38d31017e76920' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1830@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.600 ***
bOb_invisible_presence_1830@localhost/res1 out
<iq to='bOb_invisible_presence_1830@localhost' id='push9e38d31017e76920' type='result'/>



*** User 2022-01-27 15:34:54.600 ***
bOb_invisible_presence_1830@localhost/res1 in
<iq from='bOb_invisible_presence_1830@localhost' to='bOb_invisible_presence_1830@localhost/res1' id='20a7b372720ec92e28720bcf9379580b' type='result'/>



*** User 2022-01-27 15:34:54.600 ***
bOb_invisible_presence_1830@localhost/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1830@localhost'/>



*** User 2022-01-27 15:34:54.606 ***
alicE_invisible_presence_1830@localhost/res1 in
<iq from='alicE_invisible_presence_1830@localhost' to='alicE_invisible_presence_1830@localhost/res1' id='push48b19e796522ac88' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1830@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.606 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost' to='alicE_invisible_presence_1830@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:34:54.606 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost/res1' to='alice_invisible_presence_1830@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.607 ***
bOb_invisible_presence_1830@localhost/res1 in
<iq from='bOb_invisible_presence_1830@localhost' to='bOb_invisible_presence_1830@localhost/res1' id='push95ddc0b1bddaa0c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1830@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:54.607 ***
bOb_invisible_presence_1830@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.607 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost/res1' to='alice_invisible_presence_1830@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.607 ***
bOb_invisible_presence_1830@localhost/res1 out
<presence type='invisible'/>



*** User 2022-01-27 15:34:54.608 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost/res1' to='alice_invisible_presence_1830@localhost/res1' type='unavailable' xml:lang='en'/>



*** User 2022-01-27 15:34:54.608 ***
bOb_invisible_presence_1830@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:54.642 ***
alicE_invisible_presence_1830@localhost/res1 in
<presence from='bOb_invisible_presence_1830@localhost/res1' to='alice_invisible_presence_1830@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:54.642 ***
bOb_invisible_presence_1830@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:54.642 ***
bOb_invisible_presence_1830@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:54.642 ***
alicE_invisible_presence_1830@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:54.643 ***
alicE_invisible_presence_1830@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:54.645 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:34:54.646 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5449.html



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