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

=== Config value:

    [{watchdog,<0.78468.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/presence_suite.negative_priority_presence.97540.html"},
     {tc_group_properties,[{name,presence_priority},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@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.presence_SUITE.logs/run.2024-04-25_12.16.51/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@26557528e1a5.2024-04-25_12.01.25"

=== Started at 2024-04-25 12:16:51


*** CT 2024-04-25 12:16:51.440 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4801.html

*** User 2024-04-25 12:16:51.448 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.448 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6359722a9620da1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:16:51.448 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.449 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwODYAbWF0eWdyeXNh</auth>



*** User 2024-04-25 12:16:51.450 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:16:51.450 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.450 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8cccd748e86349b3' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3086@localhost'>

*** User 2024-04-25 12:16:51.450 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.450 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 out
<iq type='set' id='abba613512cf5690a0c11c8e06eab689'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.451 ***🔗
alicE_negative_priority_presence_3086@localhost/res1 in
<iq id='abba613512cf5690a0c11c8e06eab689' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_3086@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.451 ***🔗
alice_negative_priority_presence_3086@localhost/res1 out
<iq type='set' id='87f70d41f2814a8ee4084f9fd4a7585c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.452 ***🔗
alice_negative_priority_presence_3086@localhost/res1 in
<iq from='localhost' to='alice_negative_priority_presence_3086@localhost/res1' id='87f70d41f2814a8ee4084f9fd4a7585c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.452 ***🔗
alice_negative_priority_presence_3086@localhost/res1 out
<presence/>



*** User 2024-04-25 12:16:51.453 ***🔗
alice_negative_priority_presence_3086@localhost/res1 in
<presence from='alice_negative_priority_presence_3086@localhost/res1' to='alice_negative_priority_presence_3086@localhost/res1'/>



*** User 2024-04-25 12:16:51.453 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.455 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='946b4013df9443e8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:16:51.455 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.455 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwODYAbWF0eWdyeXNh</auth>



*** User 2024-04-25 12:16:51.457 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:16:51.457 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.457 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='efbeaccbb22a0877' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3086@localhost'>

*** User 2024-04-25 12:16:51.457 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.457 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 out
<iq type='set' id='0bd864f711e052bf45d8ba20b7307c2f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.458 ***🔗
alicE_negative_priority_presence_3086@localhost/res2 in
<iq id='0bd864f711e052bf45d8ba20b7307c2f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_3086@localhost/res2</jid>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.458 ***🔗
alice_negative_priority_presence_3086@localhost/res2 out
<iq type='set' id='395e4c3edc0436c6d00ca4a78d53d017'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.458 ***🔗
alice_negative_priority_presence_3086@localhost/res2 in
<iq from='localhost' to='alice_negative_priority_presence_3086@localhost/res2' id='395e4c3edc0436c6d00ca4a78d53d017' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.459 ***🔗
alice_negative_priority_presence_3086@localhost/res2 out
<presence/>



*** User 2024-04-25 12:16:51.460 ***🔗
alice_negative_priority_presence_3086@localhost/res2 in
<presence from='alice_negative_priority_presence_3086@localhost/res2' to='alice_negative_priority_presence_3086@localhost/res2'/>



*** User 2024-04-25 12:16:51.460 ***🔗
alice_negative_priority_presence_3086@localhost/res2 in
<presence from='alice_negative_priority_presence_3086@localhost/res1' to='alice_negative_priority_presence_3086@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:16:51.452960Z' from='alice_negative_priority_presence_3086@localhost/res1'/>
</presence>



*** User 2024-04-25 12:16:51.460 ***🔗
alice_negative_priority_presence_3086@localhost/res1 in
<presence from='alice_negative_priority_presence_3086@localhost/res2' to='alice_negative_priority_presence_3086@localhost/res1'/>



*** User 2024-04-25 12:16:51.461 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.461 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b25712db2d360a8c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:16:51.461 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.462 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8zMDg2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-25 12:16:51.462 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:16:51.462 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 12:16:51.463 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3e6e825ccee8675' from='localhost' version='1.0' xml:lang='en' to='bob_negative_priority_presence_3086@localhost'>

*** User 2024-04-25 12:16:51.463 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 12:16:51.463 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 out
<iq type='set' id='585b3fed1e3b9173202abae4415731b4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.463 ***🔗
bOb_negative_priority_presence_3086@localhost/res1 in
<iq id='585b3fed1e3b9173202abae4415731b4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_3086@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:16:51.463 ***🔗
bob_negative_priority_presence_3086@localhost/res1 out
<iq type='set' id='1180777a60329a8ff17bd29cbdcc7d3d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.464 ***🔗
bob_negative_priority_presence_3086@localhost/res1 in
<iq from='localhost' to='bob_negative_priority_presence_3086@localhost/res1' id='1180777a60329a8ff17bd29cbdcc7d3d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:16:51.464 ***🔗
bob_negative_priority_presence_3086@localhost/res1 out
<presence/>



*** User 2024-04-25 12:16:51.465 ***🔗
bob_negative_priority_presence_3086@localhost/res1 in
<presence from='bob_negative_priority_presence_3086@localhost/res1' to='bob_negative_priority_presence_3086@localhost/res1'/>



*** User 2024-04-25 12:16:51.465 ***🔗
alice_negative_priority_presence_3086@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-25 12:16:51.465 ***🔗
alice_negative_priority_presence_3086@localhost/res1 in
<presence from='alice_negative_priority_presence_3086@localhost/res1' to='alice_negative_priority_presence_3086@localhost/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-25 12:16:51.466 ***🔗
alice_negative_priority_presence_3086@localhost/res2 in
<presence from='alice_negative_priority_presence_3086@localhost/res1' to='alice_negative_priority_presence_3086@localhost/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-25 12:16:51.466 ***🔗
bob_negative_priority_presence_3086@localhost/res1 out
<message type='chat' to='alice_negative_priority_presence_3086@localhost'>
	<body>Hi.</body>
</message>



*** User 2024-04-25 12:16:52.466 ***🔗
bob_negative_priority_presence_3086@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:16:52.467 ***🔗
bob_negative_priority_presence_3086@localhost/res1 in
</stream:stream>

*** User 2024-04-25 12:16:52.467 ***🔗
alice_negative_priority_presence_3086@localhost/res2 out
</stream:stream>

*** User 2024-04-25 12:16:52.467 ***🔗
alice_negative_priority_presence_3086@localhost/res2 in
</stream:stream>

*** User 2024-04-25 12:16:52.467 ***🔗
alice_negative_priority_presence_3086@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:16:52.467 ***🔗
alice_negative_priority_presence_3086@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 12:16:52.470 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4801.html



=== Ended at 2024-04-25 12:16:52
=== successfully completed test case
=== === Returned value: ok