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

=== Config value:

    [{watchdog,<0.30257.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/presence_suite.negative_priority_presence.64388.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:04:17


*** CT 2022-05-11 09:04:17.482 *** View log from node mongooseim@localhost when started mongooseim@localhost_2410.html
*** CT 2022-05-11 09:04:17.483 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_524.html

*** User 2022-05-11 09:04:17.487 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.488 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f9f3704e912cdf9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.488 ***
alicE_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.488 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MzQAbWF0eWdyeXNh</auth>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe8ad29ed4c00ee3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<iq type='set' id='74e05931bee1fbf94e6f2e63fe66061f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<iq id='74e05931bee1fbf94e6f2e63fe66061f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<iq type='set' id='57fc7d480e5005f3e9253d3f9bae6c92'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<iq type='result' id='57fc7d480e5005f3e9253d3f9bae6c92'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.489 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.491 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1934@domain.example.com/res1' to='alice_negative_priority_presence_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.491 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.492 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='824a91d896f9774d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.492 ***
alicE_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.492 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE5MzQAbWF0eWdyeXNh</auth>



*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21e71832d090901a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<iq type='set' id='cfb8063415e65a5a0dea2e090af9f3b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<iq id='cfb8063415e65a5a0dea2e090af9f3b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1934@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.493 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<iq type='set' id='01a6343eec9baee8db04b941dd22eced'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.494 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<iq type='result' id='01a6343eec9baee8db04b941dd22eced'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.494 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
<presence/>



*** User 2022-05-11 09:04:17.495 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1934@domain.example.com/res2' to='alice_negative_priority_presence_1934@domain.example.com/res2' xml:lang='en'/>



*** User 2022-05-11 09:04:17.495 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_1934@domain.example.com/res1' to='alicE_negative_priority_presence_1934@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-11T09:04:17Z' from='alice_negative_priority_presence_1934@domain.example.com/res1'/>
</presence>



*** User 2022-05-11 09:04:17.495 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1934@domain.example.com/res2' to='alice_negative_priority_presence_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.495 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.496 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f02af1f3c9ba2f9c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.496 ***
bOb_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.496 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xOTM0AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82cb8e255111b71e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/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-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<iq type='set' id='f1cc577d260bea70a5e43b388d0bd15b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<iq id='f1cc577d260bea70a5e43b388d0bd15b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:17.497 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<iq type='set' id='8ab2c36b47efac788b7e6df44a2c8d21'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.498 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<iq type='result' id='8ab2c36b47efac788b7e6df44a2c8d21'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:17.498 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:17.499 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
<presence from='bOb_negative_priority_presence_1934@domain.example.com/res1' to='bob_negative_priority_presence_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:17.499 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-05-11 09:04:17.499 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
<presence from='alicE_negative_priority_presence_1934@domain.example.com/res1' to='alice_negative_priority_presence_1934@domain.example.com/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-11 09:04:17.499 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
<presence from='alicE_negative_priority_presence_1934@domain.example.com/res1' to='alice_negative_priority_presence_1934@domain.example.com/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-05-11 09:04:17.499 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
<message to='alicE_negative_priority_presence_1934@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-05-11 09:04:18.500 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:18.501 ***
bOb_negative_priority_presence_1934@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:04:18.501 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 out
</stream:stream>

*** User 2022-05-11 09:04:18.501 ***
alicE_negative_priority_presence_1934@domain.example.com/res2 in
</stream:stream>

*** User 2022-05-11 09:04:18.501 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:18.502 ***
alicE_negative_priority_presence_1934@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:04:18.504 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_524.html
*** CT 2022-05-11 09:04:18.505 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2410.html



=== Ended at 2022-05-11 09:04:18
=== successfully completed test case
=== === Returned value: ok