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

=== Config value:

    [{watchdog,<0.3086.2>},
     {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.negative_priority_presence.35589.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:13:08


*** CT 2022-04-04 15:13:08.960 *** View log from node mongooseim@localhost when started mongooseim@localhost_4741.html
*** CT 2022-04-04 15:13:08.960 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:13:08.967 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.967 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81f4b97bbffb2710' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.967 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.968 ***
alicE_negative_priority_presence_2015@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIwMTUAbWF0eWdyeXNh</auth>



*** User 2022-04-04 15:13:08.969 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:08.969 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.969 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2dce6f752e88e636' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.969 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.969 ***
alicE_negative_priority_presence_2015@localhost/res1 out
<iq type='set' id='8cd12ce938c538118d9827a7f73ee824'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.970 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<iq id='8cd12ce938c538118d9827a7f73ee824' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_2015@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.970 ***
alicE_negative_priority_presence_2015@localhost/res1 out
<iq type='set' id='da80d037f3a5eae3c3d54a6cb0e50203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.970 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<iq type='result' id='da80d037f3a5eae3c3d54a6cb0e50203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.970 ***
alicE_negative_priority_presence_2015@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.972 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<presence from='alicE_negative_priority_presence_2015@localhost/res1' to='alice_negative_priority_presence_2015@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.972 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.973 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2a12620eec81f9b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.973 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.973 ***
alicE_negative_priority_presence_2015@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzIwMTUAbWF0eWdyeXNh</auth>



*** User 2022-04-04 15:13:08.974 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:08.974 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.974 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='431aab2264b3db6f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.974 ***
alicE_negative_priority_presence_2015@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-04-04 15:13:08.974 ***
alicE_negative_priority_presence_2015@localhost/res2 out
<iq type='set' id='27975298a26a4f3f82c69bd8c3d3d24c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.975 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<iq id='27975298a26a4f3f82c69bd8c3d3d24c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_2015@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.975 ***
alicE_negative_priority_presence_2015@localhost/res2 out
<iq type='set' id='51116e3a6fc54b28b2c0fbd8b99ac121'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.975 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<iq type='result' id='51116e3a6fc54b28b2c0fbd8b99ac121'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.975 ***
alicE_negative_priority_presence_2015@localhost/res2 out
<presence/>



*** User 2022-04-04 15:13:08.976 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<presence from='alicE_negative_priority_presence_2015@localhost/res2' to='alice_negative_priority_presence_2015@localhost/res2' xml:lang='en'/>



*** User 2022-04-04 15:13:08.977 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<presence from='alice_negative_priority_presence_2015@localhost/res1' to='alicE_negative_priority_presence_2015@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:13:08Z' from='alice_negative_priority_presence_2015@localhost/res1'/>
</presence>



*** User 2022-04-04 15:13:08.977 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<presence from='alicE_negative_priority_presence_2015@localhost/res2' to='alice_negative_priority_presence_2015@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.977 ***
bOb_negative_priority_presence_2015@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-04-04 15:13:08.978 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f160a718011eaf2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.978 ***
bOb_negative_priority_presence_2015@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-04-04 15:13:08.978 ***
bOb_negative_priority_presence_2015@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yMDE1AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@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-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3ba9face77bf49d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@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-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@localhost/res1 out
<iq type='set' id='d197004d1b7077e29c1ead1b7f41f585'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<iq id='d197004d1b7077e29c1ead1b7f41f585' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_2015@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:08.979 ***
bOb_negative_priority_presence_2015@localhost/res1 out
<iq type='set' id='41fe2779d8ee0336c6a6da747cc2ea5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.980 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<iq type='result' id='41fe2779d8ee0336c6a6da747cc2ea5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:08.980 ***
bOb_negative_priority_presence_2015@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:08.981 ***
bOb_negative_priority_presence_2015@localhost/res1 in
<presence from='bOb_negative_priority_presence_2015@localhost/res1' to='bob_negative_priority_presence_2015@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:08.981 ***
alicE_negative_priority_presence_2015@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-04-04 15:13:08.982 ***
alicE_negative_priority_presence_2015@localhost/res1 in
<presence from='alicE_negative_priority_presence_2015@localhost/res1' to='alice_negative_priority_presence_2015@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-04-04 15:13:08.982 ***
alicE_negative_priority_presence_2015@localhost/res2 in
<presence from='alicE_negative_priority_presence_2015@localhost/res1' to='alice_negative_priority_presence_2015@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-04-04 15:13:08.982 ***
bOb_negative_priority_presence_2015@localhost/res1 out
<message to='alicE_negative_priority_presence_2015@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-04-04 15:13:09.983 ***
bOb_negative_priority_presence_2015@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:09.983 ***
bOb_negative_priority_presence_2015@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:13:09.983 ***
alicE_negative_priority_presence_2015@localhost/res2 out
</stream:stream>

*** User 2022-04-04 15:13:09.984 ***
alicE_negative_priority_presence_2015@localhost/res2 in
</stream:stream>

*** User 2022-04-04 15:13:09.984 ***
alicE_negative_priority_presence_2015@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:09.984 ***
alicE_negative_priority_presence_2015@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:13:09.986 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:13:09.986 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4741.html



=== Ended at 2022-04-04 15:13:10
=== successfully completed test case
=== === Returned value: ok