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

=== Config value:

    [{watchdog,<0.16418.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/presence_suite.negative_priority_presence.76034.html"},
     {tc_group_properties,[{name,presence_priority},
                           {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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:27:19


*** CT 2022-06-22 09:27:19.276 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4510.html
*** CT 2022-06-22 09:27:19.277 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:27:19.280 ***🔗
alicE_negative_priority_presence_1363@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-06-22 09:27:19.280 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94ec439a4ac34678' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.280 ***🔗
alicE_negative_priority_presence_1363@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-06-22 09:27:19.280 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEzNjMAbWF0eWdyeXNh</auth>



*** User 2022-06-22 09:27:19.281 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:19.281 ***🔗
alicE_negative_priority_presence_1363@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-06-22 09:27:19.281 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='050e230a24a2f2cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.281 ***🔗
alicE_negative_priority_presence_1363@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-06-22 09:27:19.282 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 out
<iq type='set' id='97fc97f3524569d46944da7656b2399a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.282 ***🔗
alicE_negative_priority_presence_1363@localhost/res1 in
<iq id='97fc97f3524569d46944da7656b2399a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1363@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.282 ***🔗
alice_negative_priority_presence_1363@localhost/res1 out
<iq type='set' id='98e7f4203112cf4949aa44d23206408b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.282 ***🔗
alice_negative_priority_presence_1363@localhost/res1 in
<iq type='result' id='98e7f4203112cf4949aa44d23206408b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.282 ***🔗
alice_negative_priority_presence_1363@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:19.283 ***🔗
alice_negative_priority_presence_1363@localhost/res1 in
<presence from='alice_negative_priority_presence_1363@localhost/res1' to='alice_negative_priority_presence_1363@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:19.284 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:19.284 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='809afae60cb051f8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.284 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 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-06-22 09:27:19.284 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEzNjMAbWF0eWdyeXNh</auth>



*** User 2022-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdc0fb2f503c3997' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 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-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 out
<iq type='set' id='7d0120b6e53fa7ce23eae9fd794a0394'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.285 ***🔗
alicE_negative_priority_presence_1363@localhost/res2 in
<iq id='7d0120b6e53fa7ce23eae9fd794a0394' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1363@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.285 ***🔗
alice_negative_priority_presence_1363@localhost/res2 out
<iq type='set' id='9a9d1cde05595c050e68aff2471f0f0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.286 ***🔗
alice_negative_priority_presence_1363@localhost/res2 in
<iq type='result' id='9a9d1cde05595c050e68aff2471f0f0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.286 ***🔗
alice_negative_priority_presence_1363@localhost/res2 out
<presence/>



*** User 2022-06-22 09:27:19.286 ***🔗
alice_negative_priority_presence_1363@localhost/res2 in
<presence from='alice_negative_priority_presence_1363@localhost/res1' to='alice_negative_priority_presence_1363@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T09:27:19Z' from='alice_negative_priority_presence_1363@localhost/res1'/>
</presence>



*** User 2022-06-22 09:27:19.286 ***🔗
alice_negative_priority_presence_1363@localhost/res2 in
<presence from='alice_negative_priority_presence_1363@localhost/res2' to='alice_negative_priority_presence_1363@localhost/res2' xml:lang='en'/>



*** User 2022-06-22 09:27:19.286 ***🔗
alice_negative_priority_presence_1363@localhost/res1 in
<presence from='alice_negative_priority_presence_1363@localhost/res2' to='alice_negative_priority_presence_1363@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:19.287 ***🔗
bOb_negative_priority_presence_1363@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-06-22 09:27:19.287 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bedff1a3930a2e67' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.287 ***🔗
bOb_negative_priority_presence_1363@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-06-22 09:27:19.287 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xMzYzAG1ha3JvbGlrYQ==</auth>



*** User 2022-06-22 09:27:19.288 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:19.288 ***🔗
bOb_negative_priority_presence_1363@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-06-22 09:27:19.288 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75bf0e940513ed78' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:19.288 ***🔗
bOb_negative_priority_presence_1363@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-06-22 09:27:19.288 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 out
<iq type='set' id='b326e358c4b29c013efd2b7bc247b968'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.289 ***🔗
bOb_negative_priority_presence_1363@localhost/res1 in
<iq id='b326e358c4b29c013efd2b7bc247b968' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_1363@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:19.289 ***🔗
bob_negative_priority_presence_1363@localhost/res1 out
<iq type='set' id='ae9eca069498c77fde885686c93b54aa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.289 ***🔗
bob_negative_priority_presence_1363@localhost/res1 in
<iq type='result' id='ae9eca069498c77fde885686c93b54aa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:19.289 ***🔗
bob_negative_priority_presence_1363@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:19.290 ***🔗
bob_negative_priority_presence_1363@localhost/res1 in
<presence from='bob_negative_priority_presence_1363@localhost/res1' to='bob_negative_priority_presence_1363@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:19.290 ***🔗
alice_negative_priority_presence_1363@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-06-22 09:27:19.290 ***🔗
alice_negative_priority_presence_1363@localhost/res1 in
<presence from='alice_negative_priority_presence_1363@localhost/res1' to='alice_negative_priority_presence_1363@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-06-22 09:27:19.290 ***🔗
alice_negative_priority_presence_1363@localhost/res2 in
<presence from='alice_negative_priority_presence_1363@localhost/res1' to='alice_negative_priority_presence_1363@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-06-22 09:27:19.291 ***🔗
bob_negative_priority_presence_1363@localhost/res1 out
<message to='alice_negative_priority_presence_1363@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-06-22 09:27:20.291 ***🔗
bob_negative_priority_presence_1363@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.292 ***🔗
bob_negative_priority_presence_1363@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:27:20.292 ***🔗
alice_negative_priority_presence_1363@localhost/res2 out
</stream:stream>

*** User 2022-06-22 09:27:20.292 ***🔗
alice_negative_priority_presence_1363@localhost/res2 in
</stream:stream>

*** User 2022-06-22 09:27:20.292 ***🔗
alice_negative_priority_presence_1363@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.293 ***🔗
alice_negative_priority_presence_1363@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:27:20.296 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:27:20.297 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4510.html



=== Ended at 2022-06-22 09:27:20
=== successfully completed test case
=== === Returned value: ok