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

=== Config value:

    [{watchdog,<0.5333.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/presence_suite.negative_priority_presence.36739.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:33:56


*** CT 2022-01-27 15:33:56.991 *** View log from node mongooseim@localhost when started mongooseim@localhost_4762.html
*** CT 2022-01-27 15:33:56.992 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-01-27 15:33:56.994 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d77cd55de98abb0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEwNDYAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='038a80fbae99598e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.995 ***
alicE_negative_priority_presence_1046@localhost/res1 out
<iq type='set' id='cd4b00b39c0231843ff4e8855c0899d4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.996 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<iq id='cd4b00b39c0231843ff4e8855c0899d4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1046@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.996 ***
alicE_negative_priority_presence_1046@localhost/res1 out
<iq type='set' id='99d8dc59541f6c075e6367a5fee277b4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.996 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<iq type='result' id='99d8dc59541f6c075e6367a5fee277b4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.996 ***
alicE_negative_priority_presence_1046@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:56.997 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<presence from='alicE_negative_priority_presence_1046@localhost/res1' to='alice_negative_priority_presence_1046@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:56.997 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.997 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cb6ed39edd4e458' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.997 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.997 ***
alicE_negative_priority_presence_1046@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEwNDYAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c6745cd8a4431b3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@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-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@localhost/res2 out
<iq type='set' id='853eeecd10d05fe67d7080165ec08975'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<iq id='853eeecd10d05fe67d7080165ec08975' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1046@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:56.998 ***
alicE_negative_priority_presence_1046@localhost/res2 out
<iq type='set' id='5ea118f29f4e3eeec5fe1004357a527d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.999 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<iq type='result' id='5ea118f29f4e3eeec5fe1004357a527d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:56.999 ***
alicE_negative_priority_presence_1046@localhost/res2 out
<presence/>



*** User 2022-01-27 15:33:56.999 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<presence from='alicE_negative_priority_presence_1046@localhost/res2' to='alice_negative_priority_presence_1046@localhost/res2' xml:lang='en'/>



*** User 2022-01-27 15:33:56.999 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<presence from='alice_negative_priority_presence_1046@localhost/res1' to='alicE_negative_priority_presence_1046@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:33:56Z' from='alice_negative_priority_presence_1046@localhost/res1'/>
</presence>



*** User 2022-01-27 15:33:56.999 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<presence from='alicE_negative_priority_presence_1046@localhost/res2' to='alice_negative_priority_presence_1046@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.000 ***
bOb_negative_priority_presence_1046@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-01-27 15:33:57.000 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51f869099db0fa16' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.000 ***
bOb_negative_priority_presence_1046@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-01-27 15:33:57.000 ***
bOb_negative_priority_presence_1046@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xMDQ2AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:33:57.000 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@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-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d80059a323bf1ba8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@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-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 out
<iq type='set' id='56f19967271914e09cdc64f33a037639'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<iq id='56f19967271914e09cdc64f33a037639' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1046@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 out
<iq type='set' id='31906ad3a8f3b726ce9ee59ed7b21b88'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<iq type='result' id='31906ad3a8f3b726ce9ee59ed7b21b88'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.001 ***
bOb_negative_priority_presence_1046@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:57.002 ***
bOb_negative_priority_presence_1046@localhost/res1 in
<presence from='bOb_negative_priority_presence_1046@localhost/res1' to='bob_negative_priority_presence_1046@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.002 ***
alicE_negative_priority_presence_1046@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:33:57.002 ***
alicE_negative_priority_presence_1046@localhost/res1 in
<presence from='alicE_negative_priority_presence_1046@localhost/res1' to='alice_negative_priority_presence_1046@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:33:57.002 ***
alicE_negative_priority_presence_1046@localhost/res2 in
<presence from='alicE_negative_priority_presence_1046@localhost/res1' to='alice_negative_priority_presence_1046@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-01-27 15:33:57.002 ***
bOb_negative_priority_presence_1046@localhost/res1 out
<message to='alicE_negative_priority_presence_1046@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-01-27 15:33:58.003 ***
bOb_negative_priority_presence_1046@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:58.003 ***
bOb_negative_priority_presence_1046@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:58.003 ***
alicE_negative_priority_presence_1046@localhost/res2 out
</stream:stream>

*** User 2022-01-27 15:33:58.004 ***
alicE_negative_priority_presence_1046@localhost/res2 in
</stream:stream>

*** User 2022-01-27 15:33:58.004 ***
alicE_negative_priority_presence_1046@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:58.004 ***
alicE_negative_priority_presence_1046@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:58.005 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:33:58.006 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4762.html



=== Ended at 2022-01-27 15:33:58
=== successfully completed test case
=== === Returned value: ok