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

=== Config value:

    [{watchdog,<0.23107.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/presence_suite.invisible_presence.66052.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.presence_SUITE.logs/run.2022-02-02_15.14.43/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:14:44


*** CT 2022-02-02 15:14:44.119 *** View log from node mongooseim@localhost when started mongooseim@localhost_2315.html
*** CT 2022-02-02 15:14:44.119 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_628.html

*** User 2022-02-02 15:14:44.127 ***
alicE_invisible_presence_1553@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-02-02 15:14:44.127 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='576cf56aa61f3840' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.127 ***
alicE_invisible_presence_1553@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-02-02 15:14:44.127 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmlzaWJsZV9wcmVzZW5jZV8xNTUzAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:14:44.128 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:44.128 ***
alicE_invisible_presence_1553@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-02-02 15:14:44.128 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c94d224e90d00ba' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.128 ***
alicE_invisible_presence_1553@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-02-02 15:14:44.129 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='e62267ed2bde52c638335328bc3013eb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.129 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq id='e62267ed2bde52c638335328bc3013eb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_invisible_presence_1553@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.129 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='e075b6d77ce6cb12145d5fa5cf896db3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.129 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq type='result' id='e075b6d77ce6cb12145d5fa5cf896db3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.130 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.131 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='alicE_invisible_presence_1553@domain.example.com/res1' to='alice_invisible_presence_1553@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.131 ***
bOb_invisible_presence_1553@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-02-02 15:14:44.132 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53a854ae9807c419' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.132 ***
bOb_invisible_presence_1553@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-02-02 15:14:44.132 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbnZpc2libGVfcHJlc2VuY2VfMTU1MwBtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:14:44.133 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:44.133 ***
bOb_invisible_presence_1553@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-02-02 15:14:44.133 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='241672cfa9f18614' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:44.134 ***
bOb_invisible_presence_1553@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-02-02 15:14:44.134 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='2b933b452025ef0d59da3b8d98eb4b85'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.134 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<iq id='2b933b452025ef0d59da3b8d98eb4b85' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_invisible_presence_1553@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:44.134 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='71ac44a22b887424485cf3d267f7c268'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.135 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<iq type='result' id='71ac44a22b887424485cf3d267f7c268'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:44.135 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.136 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com/res1' to='bob_invisible_presence_1553@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.136 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='03428c67e554c71d61905c7bca920ad4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_invisible_presence_1553@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.140 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1553@domain.example.com' to='alicE_invisible_presence_1553@domain.example.com/res1' id='push241fcdffe8b43ffc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_invisible_presence_1553@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.140 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1553@domain.example.com' to='alicE_invisible_presence_1553@domain.example.com/res1' id='03428c67e554c71d61905c7bca920ad4' type='result'/>



*** User 2022-02-02 15:14:44.140 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<iq to='alicE_invisible_presence_1553@domain.example.com' id='push241fcdffe8b43ffc' type='result'/>



*** User 2022-02-02 15:14:44.140 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<presence type='subscribe' to='bOb_invisible_presence_1553@domain.example.com'/>



*** User 2022-02-02 15:14:44.143 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1553@domain.example.com' to='alicE_invisible_presence_1553@domain.example.com/res1' id='push33a277821e3e96a8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_invisible_presence_1553@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.143 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
<iq to='alicE_invisible_presence_1553@domain.example.com' id='push33a277821e3e96a8' type='result'/>



*** User 2022-02-02 15:14:44.143 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<presence from='alicE_invisible_presence_1553@domain.example.com' to='bOb_invisible_presence_1553@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-02-02 15:14:44.144 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<iq type='set' id='99bad969efcdb532f820c449ae6bfdf2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_invisible_presence_1553@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.146 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1553@domain.example.com' to='bOb_invisible_presence_1553@domain.example.com/res1' id='push0091f36766ea94d2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_invisible_presence_1553@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.146 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<iq to='bOb_invisible_presence_1553@domain.example.com' id='push0091f36766ea94d2' type='result'/>



*** User 2022-02-02 15:14:44.146 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1553@domain.example.com' to='bOb_invisible_presence_1553@domain.example.com/res1' id='99bad969efcdb532f820c449ae6bfdf2' type='result'/>



*** User 2022-02-02 15:14:44.146 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<presence type='subscribed' to='alicE_invisible_presence_1553@domain.example.com'/>



*** User 2022-02-02 15:14:44.149 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<iq from='alicE_invisible_presence_1553@domain.example.com' to='alicE_invisible_presence_1553@domain.example.com/res1' id='pushb7fa5048c806efff' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_invisible_presence_1553@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.149 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com' to='alicE_invisible_presence_1553@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-02-02 15:14:44.149 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com/res1' to='alice_invisible_presence_1553@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.149 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
<iq from='bOb_invisible_presence_1553@domain.example.com' to='bOb_invisible_presence_1553@domain.example.com/res1' id='pushe6ca56b7127e857e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_invisible_presence_1553@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:14:44.149 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.150 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com/res1' to='alice_invisible_presence_1553@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.150 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<presence type='invisible'/>



*** User 2022-02-02 15:14:44.150 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com/res1' to='alice_invisible_presence_1553@domain.example.com/res1' type='unavailable' xml:lang='en'/>



*** User 2022-02-02 15:14:44.150 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:44.152 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
<presence from='bOb_invisible_presence_1553@domain.example.com/res1' to='alice_invisible_presence_1553@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:44.152 ***
bOb_invisible_presence_1553@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:44.152 ***
bOb_invisible_presence_1553@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:14:44.152 ***
alicE_invisible_presence_1553@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:44.153 ***
alicE_invisible_presence_1553@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:14:44.154 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_628.html
*** CT 2022-02-02 15:14:44.155 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2316.html



=== Ended at 2022-02-02 15:14:44
=== successfully completed test case
=== === Returned value: ok