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

=== Config value:

    [{watchdog,<0.5368.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/presence_suite.negative_priority_presence.12549.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.37.29/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@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:37:30


*** CT 2022-03-03 10:37:30.156 *** View log from node mongooseim@localhost when started mongooseim@localhost_4524.html
*** CT 2022-03-03 10:37:30.157 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-03-03 10:37:30.171 ***
alicE_negative_priority_presence_870@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-03 10:37:30.172 ***
alicE_negative_priority_presence_870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b67fe6e0b964452' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.172 ***
alicE_negative_priority_presence_870@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-03 10:37:30.172 ***
alicE_negative_priority_presence_870@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzg3MABtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:37:30.173 ***
alicE_negative_priority_presence_870@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:30.173 ***
alicE_negative_priority_presence_870@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-03 10:37:30.174 ***
alicE_negative_priority_presence_870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9448ea76a6896c4a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.174 ***
alicE_negative_priority_presence_870@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-03 10:37:30.174 ***
alicE_negative_priority_presence_870@localhost/res1 out
<iq type='set' id='5d76e5fb1ad8a9bd55176e88846a06c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.174 ***
alicE_negative_priority_presence_870@localhost/res1 in
<iq id='5d76e5fb1ad8a9bd55176e88846a06c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_870@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.175 ***
alicE_negative_priority_presence_870@localhost/res1 out
<iq type='set' id='2fa59ccdee09f82e6deadff73dfb9ae2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.175 ***
alicE_negative_priority_presence_870@localhost/res1 in
<iq type='result' id='2fa59ccdee09f82e6deadff73dfb9ae2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.175 ***
alicE_negative_priority_presence_870@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.176 ***
alicE_negative_priority_presence_870@localhost/res1 in
<presence from='alicE_negative_priority_presence_870@localhost/res1' to='alice_negative_priority_presence_870@localhost/res1' xml:lang='en'/>



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

*** User 2022-03-03 10:37:30.178 ***
alicE_negative_priority_presence_870@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-03 10:37:30.178 ***
alicE_negative_priority_presence_870@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzg3MABtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:37:30.179 ***
alicE_negative_priority_presence_870@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:30.179 ***
alicE_negative_priority_presence_870@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-03 10:37:30.179 ***
alicE_negative_priority_presence_870@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bd183c2b0646c34' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.179 ***
alicE_negative_priority_presence_870@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-03 10:37:30.180 ***
alicE_negative_priority_presence_870@localhost/res2 out
<iq type='set' id='75815542a3b287d9a288b09214abe78d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.180 ***
alicE_negative_priority_presence_870@localhost/res2 in
<iq id='75815542a3b287d9a288b09214abe78d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_870@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.180 ***
alicE_negative_priority_presence_870@localhost/res2 out
<iq type='set' id='3d28582164b839fd13f831c0b27d3caf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.180 ***
alicE_negative_priority_presence_870@localhost/res2 in
<iq type='result' id='3d28582164b839fd13f831c0b27d3caf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.180 ***
alicE_negative_priority_presence_870@localhost/res2 out
<presence/>



*** User 2022-03-03 10:37:30.181 ***
alicE_negative_priority_presence_870@localhost/res2 in
<presence from='alicE_negative_priority_presence_870@localhost/res2' to='alice_negative_priority_presence_870@localhost/res2' xml:lang='en'/>



*** User 2022-03-03 10:37:30.181 ***
alicE_negative_priority_presence_870@localhost/res2 in
<presence from='alice_negative_priority_presence_870@localhost/res1' to='alicE_negative_priority_presence_870@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:37:30Z' from='alice_negative_priority_presence_870@localhost/res1'/>
</presence>



*** User 2022-03-03 10:37:30.181 ***
alicE_negative_priority_presence_870@localhost/res1 in
<presence from='alicE_negative_priority_presence_870@localhost/res2' to='alice_negative_priority_presence_870@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.182 ***
bOb_negative_priority_presence_870@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-03 10:37:30.182 ***
bOb_negative_priority_presence_870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a92d973a1cc1a50' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.182 ***
bOb_negative_priority_presence_870@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-03 10:37:30.182 ***
bOb_negative_priority_presence_870@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV84NzAAbWFrcm9saWth</auth>



*** User 2022-03-03 10:37:30.184 ***
bOb_negative_priority_presence_870@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:30.184 ***
bOb_negative_priority_presence_870@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-03 10:37:30.184 ***
bOb_negative_priority_presence_870@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='976cef8740afc65e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:30.184 ***
bOb_negative_priority_presence_870@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-03 10:37:30.184 ***
bOb_negative_priority_presence_870@localhost/res1 out
<iq type='set' id='79544693d719b50b681191a52b5dc73d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.185 ***
bOb_negative_priority_presence_870@localhost/res1 in
<iq id='79544693d719b50b681191a52b5dc73d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_870@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:30.185 ***
bOb_negative_priority_presence_870@localhost/res1 out
<iq type='set' id='d6075e7a40a0ab8185e36bf1f784fca2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.185 ***
bOb_negative_priority_presence_870@localhost/res1 in
<iq type='result' id='d6075e7a40a0ab8185e36bf1f784fca2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:30.185 ***
bOb_negative_priority_presence_870@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:30.186 ***
bOb_negative_priority_presence_870@localhost/res1 in
<presence from='bOb_negative_priority_presence_870@localhost/res1' to='bob_negative_priority_presence_870@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:30.186 ***
alicE_negative_priority_presence_870@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-03-03 10:37:30.186 ***
alicE_negative_priority_presence_870@localhost/res1 in
<presence from='alicE_negative_priority_presence_870@localhost/res1' to='alice_negative_priority_presence_870@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-03 10:37:30.186 ***
alicE_negative_priority_presence_870@localhost/res2 in
<presence from='alicE_negative_priority_presence_870@localhost/res1' to='alice_negative_priority_presence_870@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-03-03 10:37:30.186 ***
bOb_negative_priority_presence_870@localhost/res1 out
<message to='alicE_negative_priority_presence_870@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-03-03 10:37:31.187 ***
bOb_negative_priority_presence_870@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:31.188 ***
bOb_negative_priority_presence_870@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:31.188 ***
alicE_negative_priority_presence_870@localhost/res2 out
</stream:stream>

*** User 2022-03-03 10:37:31.188 ***
alicE_negative_priority_presence_870@localhost/res2 in
</stream:stream>

*** User 2022-03-03 10:37:31.188 ***
alicE_negative_priority_presence_870@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:31.189 ***
alicE_negative_priority_presence_870@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:31.190 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-03-03 10:37:31.192 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4524.html



=== Ended at 2022-03-03 10:37:31
=== successfully completed test case
=== === Returned value: ok