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

=== Config value:

    [{watchdog,<0.10946.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.negative_priority_presence.21764.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/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@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:54:56


*** CT 2022-04-05 07:54:56.316 *** View log from node mongooseim@localhost when started mongooseim@localhost_4594.html
*** CT 2022-04-05 07:54:56.317 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

*** User 2022-04-05 07:54:56.329 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.329 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26297ea7e3eb16bb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.329 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.329 ***
alicE_negative_priority_presence_1221@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEyMjEAbWF0eWdyeXNh</auth>



*** User 2022-04-05 07:54:56.332 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.332 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.333 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f25f6c3384680b60' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.333 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.333 ***
alicE_negative_priority_presence_1221@localhost/res1 out
<iq type='set' id='cb8aad82bedeee701469793226ba4c7f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.333 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<iq id='cb8aad82bedeee701469793226ba4c7f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1221@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.334 ***
alicE_negative_priority_presence_1221@localhost/res1 out
<iq type='set' id='ae2e756d713faed4ac123a30a67a27cd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.334 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<iq type='result' id='ae2e756d713faed4ac123a30a67a27cd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.334 ***
alicE_negative_priority_presence_1221@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.339 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<presence from='alicE_negative_priority_presence_1221@localhost/res1' to='alice_negative_priority_presence_1221@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.340 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.340 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80e3371eb2cde5eb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.340 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.341 ***
alicE_negative_priority_presence_1221@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzEyMjEAbWF0eWdyeXNh</auth>



*** User 2022-04-05 07:54:56.343 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.343 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='097a1f09e444fb49' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@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-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@localhost/res2 out
<iq type='set' id='970f03a69abf5eb13835b9100c9b351c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<iq id='970f03a69abf5eb13835b9100c9b351c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_negative_priority_presence_1221@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@localhost/res2 out
<iq type='set' id='56030699805a96ad35946e4f0bc501b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.344 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<iq type='result' id='56030699805a96ad35946e4f0bc501b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.345 ***
alicE_negative_priority_presence_1221@localhost/res2 out
<presence/>



*** User 2022-04-05 07:54:56.348 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<presence from='alicE_negative_priority_presence_1221@localhost/res2' to='alice_negative_priority_presence_1221@localhost/res2' xml:lang='en'/>



*** User 2022-04-05 07:54:56.348 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<presence from='alice_negative_priority_presence_1221@localhost/res1' to='alicE_negative_priority_presence_1221@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-04-05T07:54:56Z' from='alice_negative_priority_presence_1221@localhost/res1'/>
</presence>



*** User 2022-04-05 07:54:56.348 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<presence from='alicE_negative_priority_presence_1221@localhost/res2' to='alice_negative_priority_presence_1221@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.349 ***
bOb_negative_priority_presence_1221@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-05 07:54:56.349 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='243b4c36ed0263f0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.349 ***
bOb_negative_priority_presence_1221@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-05 07:54:56.349 ***
bOb_negative_priority_presence_1221@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xMjIxAG1ha3JvbGlrYQ==</auth>



*** User 2022-04-05 07:54:56.352 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:56.352 ***
bOb_negative_priority_presence_1221@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-05 07:54:56.352 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='983efb50cd152d2c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:56.353 ***
bOb_negative_priority_presence_1221@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-05 07:54:56.353 ***
bOb_negative_priority_presence_1221@localhost/res1 out
<iq type='set' id='31ac912756ef2aed9784c1ce41769dc6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.353 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<iq id='31ac912756ef2aed9784c1ce41769dc6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_negative_priority_presence_1221@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:56.353 ***
bOb_negative_priority_presence_1221@localhost/res1 out
<iq type='set' id='ac4ebff9bdd21e53f63320fb1e7e3457'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.354 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<iq type='result' id='ac4ebff9bdd21e53f63320fb1e7e3457'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:56.354 ***
bOb_negative_priority_presence_1221@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:56.357 ***
bOb_negative_priority_presence_1221@localhost/res1 in
<presence from='bOb_negative_priority_presence_1221@localhost/res1' to='bob_negative_priority_presence_1221@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:56.357 ***
alicE_negative_priority_presence_1221@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2022-04-05 07:54:56.357 ***
alicE_negative_priority_presence_1221@localhost/res1 in
<presence from='alicE_negative_priority_presence_1221@localhost/res1' to='alice_negative_priority_presence_1221@localhost/res1' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-04-05 07:54:56.357 ***
alicE_negative_priority_presence_1221@localhost/res2 in
<presence from='alicE_negative_priority_presence_1221@localhost/res1' to='alice_negative_priority_presence_1221@localhost/res2' xml:lang='en'>
	<priority>-10</priority>
</presence>



*** User 2022-04-05 07:54:56.358 ***
bOb_negative_priority_presence_1221@localhost/res1 out
<message to='alicE_negative_priority_presence_1221@localhost' type='chat'>
	<body>Hi.</body>
</message>



*** User 2022-04-05 07:54:57.358 ***
bOb_negative_priority_presence_1221@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:57.359 ***
bOb_negative_priority_presence_1221@localhost/res1 in
</stream:stream>

*** User 2022-04-05 07:54:57.359 ***
alicE_negative_priority_presence_1221@localhost/res2 out
</stream:stream>

*** User 2022-04-05 07:54:57.359 ***
alicE_negative_priority_presence_1221@localhost/res2 in
</stream:stream>

*** User 2022-04-05 07:54:57.359 ***
alicE_negative_priority_presence_1221@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:57.360 ***
alicE_negative_priority_presence_1221@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:57.362 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:57.363 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4594.html



=== Ended at 2022-04-05 07:54:57
=== successfully completed test case
=== === Returned value: ok