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

=== Config value:

    [{watchdog,<0.31418.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/presence_suite.negative_priority_presence.65284.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:27


*** CT 2022-01-25 16:32:27.529 *** View log from node mongooseim@localhost when started mongooseim@localhost_5461.html
*** CT 2022-01-25 16:32:27.529 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:27.535 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.535 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='542f9705fddfeeea' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.536 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.536 ***
alicE_negative_priority_presence_1903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MDMAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:32:27.537 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:27.537 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.537 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e805626a1ea62c76' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.537 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.537 ***
alicE_negative_priority_presence_1903@localhost/res1 out
<iq type='set' id='3214d48dc5a4363c13eb023deed276de'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.538 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<iq id='3214d48dc5a4363c13eb023deed276de' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1903@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.538 ***
alicE_negative_priority_presence_1903@localhost/res1 out
<iq type='set' id='ab60757b8bdfd8cc353d6c42e92add87'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.538 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<iq type='result' id='ab60757b8bdfd8cc353d6c42e92add87'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.538 ***
alicE_negative_priority_presence_1903@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.539 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<presence from='alicE_negative_priority_presence_1903@localhost/res1' to='alice_negative_priority_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.540 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.540 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ba00c5e733b3afe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.540 ***
alicE_negative_priority_presence_1903@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-01-25 16:32:27.541 ***
alicE_negative_priority_presence_1903@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MDMAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:32:27.541 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:27.541 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e1bdc94bc1fdf79' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@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-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@localhost/res2 out
<iq type='set' id='a03d4a380c756d21016ff29f1ba202da'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<iq id='a03d4a380c756d21016ff29f1ba202da' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1903@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@localhost/res2 out
<iq type='set' id='c7e41aaa0b4de77cddeefb304f791a2e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.542 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<iq type='result' id='c7e41aaa0b4de77cddeefb304f791a2e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.543 ***
alicE_negative_priority_presence_1903@localhost/res2 out
<presence/>



*** User 2022-01-25 16:32:27.544 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<presence from='alicE_negative_priority_presence_1903@localhost/res2' to='alice_negative_priority_presence_1903@localhost/res2' xml:lang='en'/>



*** User 2022-01-25 16:32:27.544 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<presence from='alice_negative_priority_presence_1903@localhost/res1' to='alicE_negative_priority_presence_1903@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:32:27Z' from='alice_negative_priority_presence_1903@localhost/res1'/>
</presence>



*** User 2022-01-25 16:32:27.544 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<presence from='alicE_negative_priority_presence_1903@localhost/res2' to='alice_negative_priority_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.545 ***
bOb_negative_priority_presence_1903@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-25 16:32:27.545 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0fd887bf218fa244' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.545 ***
bOb_negative_priority_presence_1903@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-25 16:32:27.545 ***
bOb_negative_priority_presence_1903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xOTAzAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-25 16:32:27.546 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:27.546 ***
bOb_negative_priority_presence_1903@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-25 16:32:27.546 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e5b8b6eb7bef80a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:27.546 ***
bOb_negative_priority_presence_1903@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-25 16:32:27.546 ***
bOb_negative_priority_presence_1903@localhost/res1 out
<iq type='set' id='bb3ad345d8884413cdd06d0292ab380f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.547 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<iq id='bb3ad345d8884413cdd06d0292ab380f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1903@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:27.547 ***
bOb_negative_priority_presence_1903@localhost/res1 out
<iq type='set' id='4166d6c84ceffa6e3bcf7ad22bc409bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.547 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<iq type='result' id='4166d6c84ceffa6e3bcf7ad22bc409bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:27.547 ***
bOb_negative_priority_presence_1903@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:27.548 ***
bOb_negative_priority_presence_1903@localhost/res1 in
<presence from='bOb_negative_priority_presence_1903@localhost/res1' to='bob_negative_priority_presence_1903@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:27.548 ***
alicE_negative_priority_presence_1903@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-01-25 16:32:27.549 ***
alicE_negative_priority_presence_1903@localhost/res1 in
<presence from='alicE_negative_priority_presence_1903@localhost/res1' to='alice_negative_priority_presence_1903@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-25 16:32:27.549 ***
alicE_negative_priority_presence_1903@localhost/res2 in
<presence from='alicE_negative_priority_presence_1903@localhost/res1' to='alice_negative_priority_presence_1903@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-25 16:32:27.549 ***
bOb_negative_priority_presence_1903@localhost/res1 out
<message to='alicE_negative_priority_presence_1903@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-01-25 16:32:28.549 ***
bOb_negative_priority_presence_1903@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:28.550 ***
bOb_negative_priority_presence_1903@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:28.550 ***
alicE_negative_priority_presence_1903@localhost/res2 out
</stream:stream>

*** User 2022-01-25 16:32:28.550 ***
alicE_negative_priority_presence_1903@localhost/res2 in
</stream:stream>

*** User 2022-01-25 16:32:28.550 ***
alicE_negative_priority_presence_1903@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:28.550 ***
alicE_negative_priority_presence_1903@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:28.553 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:28.554 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5461.html



=== Ended at 2022-01-25 16:32:28
=== successfully completed test case
=== === Returned value: ok