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

=== Config value:

    [{watchdog,<0.13375.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/presence_suite.negative_priority_presence.65922.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:49:17


*** CT 2022-05-25 10:49:17.047 *** View log from node mongooseim@localhost when started mongooseim@localhost_4888.html
*** CT 2022-05-25 10:49:17.047 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:49:17.054 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.054 ***
alicE_negative_priority_presence_1241@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b687dab9257f75c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.055 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.055 ***
alicE_negative_priority_presence_1241@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEyNDEAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:49:17.056 ***
alicE_negative_priority_presence_1241@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:17.056 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.056 ***
alicE_negative_priority_presence_1241@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee8b512947e5c30e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.057 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.057 ***
alicE_negative_priority_presence_1241@localhost/res1 out
<iq type='set' id='891195dcdd9e6af21a181d8599ad7914'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.057 ***
alicE_negative_priority_presence_1241@localhost/res1 in
<iq id='891195dcdd9e6af21a181d8599ad7914' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1241@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.057 ***
alice_negative_priority_presence_1241@localhost/res1 out
<iq type='set' id='79b08e7b103b173bf142ed2e1806b954'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.057 ***
alice_negative_priority_presence_1241@localhost/res1 in
<iq type='result' id='79b08e7b103b173bf142ed2e1806b954'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.057 ***
alice_negative_priority_presence_1241@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:17.059 ***
alice_negative_priority_presence_1241@localhost/res1 in
<presence from='alice_negative_priority_presence_1241@localhost/res1' to='alice_negative_priority_presence_1241@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:17.060 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.060 ***
alicE_negative_priority_presence_1241@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2c05a478687367f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.060 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.060 ***
alicE_negative_priority_presence_1241@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEyNDEAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6feb88b0aa112247' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@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-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@localhost/res2 out
<iq type='set' id='4f5f68ac3dcadb57c77eb6f31fed9061'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.062 ***
alicE_negative_priority_presence_1241@localhost/res2 in
<iq id='4f5f68ac3dcadb57c77eb6f31fed9061' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1241@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.062 ***
alice_negative_priority_presence_1241@localhost/res2 out
<iq type='set' id='241cd25216f31b9d2c05110961b75a45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.063 ***
alice_negative_priority_presence_1241@localhost/res2 in
<iq type='result' id='241cd25216f31b9d2c05110961b75a45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.063 ***
alice_negative_priority_presence_1241@localhost/res2 out
<presence/>



*** User 2022-05-25 10:49:17.064 ***
alice_negative_priority_presence_1241@localhost/res2 in
<presence from='alice_negative_priority_presence_1241@localhost/res2' to='alice_negative_priority_presence_1241@localhost/res2' xml:lang='en'/>



*** User 2022-05-25 10:49:17.064 ***
alice_negative_priority_presence_1241@localhost/res2 in
<presence from='alice_negative_priority_presence_1241@localhost/res1' to='alice_negative_priority_presence_1241@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:49:17Z' from='alice_negative_priority_presence_1241@localhost/res1'/>
</presence>



*** User 2022-05-25 10:49:17.064 ***
alice_negative_priority_presence_1241@localhost/res1 in
<presence from='alice_negative_priority_presence_1241@localhost/res2' to='alice_negative_priority_presence_1241@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:17.065 ***
bOb_negative_priority_presence_1241@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-05-25 10:49:17.065 ***
bOb_negative_priority_presence_1241@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92c0fce301f14a25' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.065 ***
bOb_negative_priority_presence_1241@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-05-25 10:49:17.065 ***
bOb_negative_priority_presence_1241@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xMjQxAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 10:49:17.066 ***
bOb_negative_priority_presence_1241@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:17.066 ***
bOb_negative_priority_presence_1241@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-05-25 10:49:17.072 ***
bOb_negative_priority_presence_1241@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8aaa857bc001b5c6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:17.072 ***
bOb_negative_priority_presence_1241@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-05-25 10:49:17.072 ***
bOb_negative_priority_presence_1241@localhost/res1 out
<iq type='set' id='0b09571f0f4af33fd12bbf7db0752320'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.072 ***
bOb_negative_priority_presence_1241@localhost/res1 in
<iq id='0b09571f0f4af33fd12bbf7db0752320' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_1241@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:17.072 ***
bob_negative_priority_presence_1241@localhost/res1 out
<iq type='set' id='d4cf4d90aed26e12caec2b0b3701ba8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.073 ***
bob_negative_priority_presence_1241@localhost/res1 in
<iq type='result' id='d4cf4d90aed26e12caec2b0b3701ba8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:17.073 ***
bob_negative_priority_presence_1241@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:17.074 ***
bob_negative_priority_presence_1241@localhost/res1 in
<presence from='bob_negative_priority_presence_1241@localhost/res1' to='bob_negative_priority_presence_1241@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:17.074 ***
alice_negative_priority_presence_1241@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 10:49:17.075 ***
alice_negative_priority_presence_1241@localhost/res1 in
<presence from='alice_negative_priority_presence_1241@localhost/res1' to='alice_negative_priority_presence_1241@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 10:49:17.075 ***
alice_negative_priority_presence_1241@localhost/res2 in
<presence from='alice_negative_priority_presence_1241@localhost/res1' to='alice_negative_priority_presence_1241@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-25 10:49:17.075 ***
bob_negative_priority_presence_1241@localhost/res1 out
<message to='alice_negative_priority_presence_1241@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-05-25 10:49:18.076 ***
bob_negative_priority_presence_1241@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:18.077 ***
bob_negative_priority_presence_1241@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:49:18.077 ***
alice_negative_priority_presence_1241@localhost/res2 out
</stream:stream>

*** User 2022-05-25 10:49:18.077 ***
alice_negative_priority_presence_1241@localhost/res2 in
</stream:stream>

*** User 2022-05-25 10:49:18.077 ***
alice_negative_priority_presence_1241@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:18.077 ***
alice_negative_priority_presence_1241@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:49:18.081 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:49:18.081 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4888.html



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