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

=== Config value:

    [{watchdog,<0.30358.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/presence_suite.invisible_presence.114947.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:07:55


*** CT 2022-05-18 10:07:55.460 *** View log from node mongooseim@localhost when started mongooseim@localhost_2316.html
*** CT 2022-05-18 10:07:55.461 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_526.html

*** User 2022-05-18 10:07:55.491 ***
alicE_invisible_presence_1819@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:07:55.491 ***
alicE_invisible_presence_1819@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a5718e02bf77f35' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:55.491 ***
alicE_invisible_presence_1819@domain.example.com/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:07:55.491 ***
alicE_invisible_presence_1819@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xODE5AG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:07:55.492 ***
alicE_invisible_presence_1819@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:55.492 ***
alicE_invisible_presence_1819@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:07:55.493 ***
alicE_invisible_presence_1819@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89712d487468aa89' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:55.493 ***
alicE_invisible_presence_1819@domain.example.com/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:07:55.493 ***
alicE_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='b0b3edabdcc7333fe2e18885dd949c6c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:55.493 ***
alicE_invisible_presence_1819@domain.example.com/res1 in
<iq id='b0b3edabdcc7333fe2e18885dd949c6c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_invisible_presence_1819@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:55.494 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='974949cc5bbec78b8b1179549a3c27fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:55.494 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<iq type='result' id='974949cc5bbec78b8b1179549a3c27fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:55.494 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:55.497 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='alice_invisible_presence_1819@domain.example.com/res1' to='alice_invisible_presence_1819@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:55.497 ***
bOb_invisible_presence_1819@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:07:55.498 ***
bOb_invisible_presence_1819@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c9723bb72dd3804' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:55.498 ***
bOb_invisible_presence_1819@domain.example.com/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:07:55.498 ***
bOb_invisible_presence_1819@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTgxOQBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:07:55.500 ***
bOb_invisible_presence_1819@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:55.500 ***
bOb_invisible_presence_1819@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:07:55.500 ***
bOb_invisible_presence_1819@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='264c40095aa34751' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:55.500 ***
bOb_invisible_presence_1819@domain.example.com/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:07:55.500 ***
bOb_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='50b2f17da93c032e21c72e0f5cdd21b9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:55.501 ***
bOb_invisible_presence_1819@domain.example.com/res1 in
<iq id='50b2f17da93c032e21c72e0f5cdd21b9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_invisible_presence_1819@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:55.501 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='7e29b0d0864e7db7ddab3d72e7f2703c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:55.501 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<iq type='result' id='7e29b0d0864e7db7ddab3d72e7f2703c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:55.501 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:55.503 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com/res1' to='bob_invisible_presence_1819@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:55.504 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='d31a4857117820dfa7d852964a9abfa0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_invisible_presence_1819@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.513 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<iq from='alice_invisible_presence_1819@domain.example.com' to='alice_invisible_presence_1819@domain.example.com/res1' id='push28d7fd5130b83ab4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1819@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.513 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<iq from='alice_invisible_presence_1819@domain.example.com' to='alice_invisible_presence_1819@domain.example.com/res1' id='d31a4857117820dfa7d852964a9abfa0' type='result'/>



*** User 2022-05-18 10:07:55.514 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<iq to='alice_invisible_presence_1819@domain.example.com' id='push28d7fd5130b83ab4' type='result'/>



*** User 2022-05-18 10:07:55.514 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<presence type='subscribe' to='bob_invisible_presence_1819@domain.example.com'/>



*** User 2022-05-18 10:07:55.520 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<iq from='alice_invisible_presence_1819@domain.example.com' to='alice_invisible_presence_1819@domain.example.com/res1' id='push9c0ea2605792e9ce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1819@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.520 ***
alice_invisible_presence_1819@domain.example.com/res1 out
<iq to='alice_invisible_presence_1819@domain.example.com' id='push9c0ea2605792e9ce' type='result'/>



*** User 2022-05-18 10:07:55.520 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<presence from='alice_invisible_presence_1819@domain.example.com' to='bob_invisible_presence_1819@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-18 10:07:55.521 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<iq type='set' id='78078145f54a3e6cdf9c73e0e85feaeb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_invisible_presence_1819@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.551 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<iq from='bob_invisible_presence_1819@domain.example.com' to='bob_invisible_presence_1819@domain.example.com/res1' id='push81f37bd042656426' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1819@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.551 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<iq to='bob_invisible_presence_1819@domain.example.com' id='push81f37bd042656426' type='result'/>



*** User 2022-05-18 10:07:55.551 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<iq from='bob_invisible_presence_1819@domain.example.com' to='bob_invisible_presence_1819@domain.example.com/res1' id='78078145f54a3e6cdf9c73e0e85feaeb' type='result'/>



*** User 2022-05-18 10:07:55.551 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<presence type='subscribed' to='alice_invisible_presence_1819@domain.example.com'/>



*** User 2022-05-18 10:07:55.565 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<iq from='alice_invisible_presence_1819@domain.example.com' to='alice_invisible_presence_1819@domain.example.com/res1' id='push141f37919a38ac1f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1819@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.565 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com' to='alice_invisible_presence_1819@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-18 10:07:55.565 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com/res1' to='alice_invisible_presence_1819@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:55.565 ***
bob_invisible_presence_1819@domain.example.com/res1 in
<iq from='bob_invisible_presence_1819@domain.example.com' to='bob_invisible_presence_1819@domain.example.com/res1' id='push1e9b358ad60d6789' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1819@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:55.566 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:55.567 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com/res1' to='alice_invisible_presence_1819@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:55.567 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<presence type='invisible'/>



*** User 2022-05-18 10:07:55.568 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com/res1' to='alice_invisible_presence_1819@domain.example.com/res1' type='unavailable' xml:lang='en'/>



*** User 2022-05-18 10:07:55.568 ***
bob_invisible_presence_1819@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:55.569 ***
alice_invisible_presence_1819@domain.example.com/res1 in
<presence from='bob_invisible_presence_1819@domain.example.com/res1' to='alice_invisible_presence_1819@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:55.569 ***
bob_invisible_presence_1819@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:07:55.570 ***
bob_invisible_presence_1819@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:07:55.570 ***
alice_invisible_presence_1819@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:07:55.570 ***
alice_invisible_presence_1819@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:07:55.573 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_526.html
*** CT 2022-05-18 10:07:55.575 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2317.html



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