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

=== Config value:

    [{watchdog,<0.6089.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/presence_suite.negative_priority_presence.50690.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.presence_SUITE.logs/run.2022-03-18_10.58.22/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:58:22


*** CT 2022-03-18 10:58:22.353 *** View log from node mongooseim@localhost when started mongooseim@localhost_4264.html
*** CT 2022-03-18 10:58:22.353 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2002.html

*** User 2022-03-18 10:58:22.357 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.358 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9ca8e88fc925f9b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.358 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.358 ***
alicE_negative_priority_presence_1183@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzExODMAbWF0eWdyeXNh</auth>



*** User 2022-03-18 10:58:22.359 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:22.359 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.359 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='afd8b6d6b0d39ffd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.359 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.359 ***
alicE_negative_priority_presence_1183@localhost/res1 out
<iq type='set' id='5d6eb709fc08dc3567495685c66134f2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.360 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<iq id='5d6eb709fc08dc3567495685c66134f2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1183@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.360 ***
alicE_negative_priority_presence_1183@localhost/res1 out
<iq type='set' id='cae9066e00d4cc96f5cd205817ef4d07'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.360 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<iq type='result' id='cae9066e00d4cc96f5cd205817ef4d07'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.360 ***
alicE_negative_priority_presence_1183@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.361 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<presence from='alicE_negative_priority_presence_1183@localhost/res1' to='alice_negative_priority_presence_1183@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.361 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.361 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf52763d063468ed' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.361 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.362 ***
alicE_negative_priority_presence_1183@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzExODMAbWF0eWdyeXNh</auth>



*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86056cab4af4aa21' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@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-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 out
<iq type='set' id='91bdba5bf7426dd0f64cd194db637cf9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<iq id='91bdba5bf7426dd0f64cd194db637cf9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1183@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 out
<iq type='set' id='ad0763e4732eb23745a8d3adbeb22fd7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.363 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<iq type='result' id='ad0763e4732eb23745a8d3adbeb22fd7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.364 ***
alicE_negative_priority_presence_1183@localhost/res2 out
<presence/>



*** User 2022-03-18 10:58:22.364 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<presence from='alicE_negative_priority_presence_1183@localhost/res2' to='alice_negative_priority_presence_1183@localhost/res2' xml:lang='en'/>



*** User 2022-03-18 10:58:22.364 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<presence from='alice_negative_priority_presence_1183@localhost/res1' to='alicE_negative_priority_presence_1183@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:58:22Z' from='alice_negative_priority_presence_1183@localhost/res1'/>
</presence>



*** User 2022-03-18 10:58:22.364 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<presence from='alicE_negative_priority_presence_1183@localhost/res2' to='alice_negative_priority_presence_1183@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.365 ***
bOb_negative_priority_presence_1183@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-03-18 10:58:22.365 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a8de2088dcff8a5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.365 ***
bOb_negative_priority_presence_1183@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-03-18 10:58:22.365 ***
bOb_negative_priority_presence_1183@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xMTgzAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-18 10:58:22.366 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:22.366 ***
bOb_negative_priority_presence_1183@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-03-18 10:58:22.366 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7af3675a35be1362' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:22.366 ***
bOb_negative_priority_presence_1183@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-03-18 10:58:22.366 ***
bOb_negative_priority_presence_1183@localhost/res1 out
<iq type='set' id='37739a7d1e1fa86e6829b87f13cfcb01'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.367 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<iq id='37739a7d1e1fa86e6829b87f13cfcb01' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1183@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:22.367 ***
bOb_negative_priority_presence_1183@localhost/res1 out
<iq type='set' id='3de86daff8166535bcfae349d61047fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.367 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<iq type='result' id='3de86daff8166535bcfae349d61047fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:22.367 ***
bOb_negative_priority_presence_1183@localhost/res1 out
<presence/>



*** User 2022-03-18 10:58:22.367 ***
bOb_negative_priority_presence_1183@localhost/res1 in
<presence from='bOb_negative_priority_presence_1183@localhost/res1' to='bob_negative_priority_presence_1183@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:22.367 ***
alicE_negative_priority_presence_1183@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-03-18 10:58:22.368 ***
alicE_negative_priority_presence_1183@localhost/res1 in
<presence from='alicE_negative_priority_presence_1183@localhost/res1' to='alice_negative_priority_presence_1183@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-18 10:58:22.368 ***
alicE_negative_priority_presence_1183@localhost/res2 in
<presence from='alicE_negative_priority_presence_1183@localhost/res1' to='alice_negative_priority_presence_1183@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-18 10:58:22.368 ***
bOb_negative_priority_presence_1183@localhost/res1 out
<message to='alicE_negative_priority_presence_1183@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-03-18 10:58:23.369 ***
bOb_negative_priority_presence_1183@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.369 ***
bOb_negative_priority_presence_1183@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:58:23.369 ***
alicE_negative_priority_presence_1183@localhost/res2 out
</stream:stream>

*** User 2022-03-18 10:58:23.370 ***
alicE_negative_priority_presence_1183@localhost/res2 in
</stream:stream>

*** User 2022-03-18 10:58:23.370 ***
alicE_negative_priority_presence_1183@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:58:23.370 ***
alicE_negative_priority_presence_1183@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:23.371 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2002.html
*** CT 2022-03-18 10:58:23.372 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4264.html



=== Ended at 2022-03-18 10:58:23
=== successfully completed test case
=== === Returned value: ok