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

=== Config value:

    [{watchdog,<0.3993.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/presence_suite.negative_priority_presence.50818.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:32:04


*** CT 2022-01-27 15:32:04.378 *** View log from node mongooseim@localhost when started mongooseim@localhost_4512.html
*** CT 2022-01-27 15:32:04.379 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:32:04.382 ***
alicE_negative_priority_presence_837@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:32:04.383 ***
alicE_negative_priority_presence_837@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a1a46cd020ae3f6' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 15:32:04.384 ***
alicE_negative_priority_presence_837@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:32:04.384 ***
alicE_negative_priority_presence_837@localhost/res1 out
<iq type='set' id='19fa0e30e2938aad5b4f7ab1420a6cb2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.385 ***
alicE_negative_priority_presence_837@localhost/res1 in
<iq id='19fa0e30e2938aad5b4f7ab1420a6cb2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_837@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.385 ***
alicE_negative_priority_presence_837@localhost/res1 out
<iq type='set' id='1162401d3c7a692a87a094e33558ac48'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.385 ***
alicE_negative_priority_presence_837@localhost/res1 in
<iq type='result' id='1162401d3c7a692a87a094e33558ac48'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.385 ***
alicE_negative_priority_presence_837@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:04.386 ***
alicE_negative_priority_presence_837@localhost/res1 in
<presence from='alicE_negative_priority_presence_837@localhost/res1' to='alice_negative_priority_presence_837@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:04.386 ***
alicE_negative_priority_presence_837@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-01-27 15:32:04.386 ***
alicE_negative_priority_presence_837@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1739eb29c812c21' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.386 ***
alicE_negative_priority_presence_837@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>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:32:04.387 ***
alicE_negative_priority_presence_837@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzgzNwBtYXR5Z3J5c2E=</auth>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@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-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2221ca0b1382164b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@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-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 out
<iq type='set' id='85de08ee7e7f3813ca7e82216f941645'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 in
<iq id='85de08ee7e7f3813ca7e82216f941645' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_837@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 out
<iq type='set' id='e8bc8b62ef73e22ca630f447863ae57e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 in
<iq type='result' id='e8bc8b62ef73e22ca630f447863ae57e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.388 ***
alicE_negative_priority_presence_837@localhost/res2 out
<presence/>



*** User 2022-01-27 15:32:04.389 ***
alicE_negative_priority_presence_837@localhost/res2 in
<presence from='alice_negative_priority_presence_837@localhost/res1' to='alicE_negative_priority_presence_837@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:04Z' from='alice_negative_priority_presence_837@localhost/res1'/>
</presence>



*** User 2022-01-27 15:32:04.389 ***
alicE_negative_priority_presence_837@localhost/res2 in
<presence from='alicE_negative_priority_presence_837@localhost/res2' to='alice_negative_priority_presence_837@localhost/res2' xml:lang='en'/>



*** User 2022-01-27 15:32:04.389 ***
alicE_negative_priority_presence_837@localhost/res1 in
<presence from='alicE_negative_priority_presence_837@localhost/res2' to='alice_negative_priority_presence_837@localhost/res1' xml:lang='en'/>



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

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



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



*** User 2022-01-27 15:32:04.391 ***
bOb_negative_priority_presence_837@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:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d83e58b2c0c5066' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:04.392 ***
bOb_negative_priority_presence_837@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:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 out
<iq type='set' id='01d9d002ddf433d609a000cb58171d22'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 in
<iq id='01d9d002ddf433d609a000cb58171d22' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_837@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 out
<iq type='set' id='cf82e0197b1d790f9c9be86e46bc5ce3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 in
<iq type='result' id='cf82e0197b1d790f9c9be86e46bc5ce3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:04.392 ***
bOb_negative_priority_presence_837@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:04.393 ***
bOb_negative_priority_presence_837@localhost/res1 in
<presence from='bOb_negative_priority_presence_837@localhost/res1' to='bob_negative_priority_presence_837@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:04.393 ***
alicE_negative_priority_presence_837@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:32:04.393 ***
alicE_negative_priority_presence_837@localhost/res1 in
<presence from='alicE_negative_priority_presence_837@localhost/res1' to='alice_negative_priority_presence_837@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:32:04.393 ***
alicE_negative_priority_presence_837@localhost/res2 in
<presence from='alicE_negative_priority_presence_837@localhost/res1' to='alice_negative_priority_presence_837@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:32:04.393 ***
bOb_negative_priority_presence_837@localhost/res1 out
<message to='alicE_negative_priority_presence_837@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-01-27 15:32:05.394 ***
bOb_negative_priority_presence_837@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.395 ***
bOb_negative_priority_presence_837@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:05.395 ***
alicE_negative_priority_presence_837@localhost/res2 out
</stream:stream>

*** User 2022-01-27 15:32:05.395 ***
alicE_negative_priority_presence_837@localhost/res2 in
</stream:stream>

*** User 2022-01-27 15:32:05.395 ***
alicE_negative_priority_presence_837@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.395 ***
alicE_negative_priority_presence_837@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:05.397 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:32:05.398 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4512.html



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