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

=== Config value:

    [{watchdog,<0.44295.0>},
     {preset,"ldap_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@d7809e9f2025.2024-04-10_11.46.48/big_tests.tests.presence_SUITE.logs/run.2024-04-10_11.56.57/presence_suite.negative_priority_presence.94978.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@d7809e9f2025.2024-04-10_11.46.48/big_tests.tests.presence_SUITE.logs/run.2024-04-10_11.56.57/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@d7809e9f2025.2024-04-10_11.46.48"

=== Started at 2024-04-10 11:56:58


*** CT 2024-04-10 11:56:58.215 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4165.html

*** User 2024-04-10 11:56:58.221 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.221 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af4e37f18ddbf1b9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 11:56:58.221 ***🔗
alicE_negative_priority_presence_1400@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 11:56:58.221 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE0MDAAbWF0eWdyeXNh</auth>



*** User 2024-04-10 11:56:58.222 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 11:56:58.222 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.222 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6bb0171382126c93' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_1400@localhost'>

*** User 2024-04-10 11:56:58.222 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.223 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 out
<iq type='set' id='8f66c7486a6a0b323d31dec20f54ffac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.223 ***🔗
alicE_negative_priority_presence_1400@localhost/res1 in
<iq id='8f66c7486a6a0b323d31dec20f54ffac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1400@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.223 ***🔗
alice_negative_priority_presence_1400@localhost/res1 out
<iq type='set' id='f7d9aaa81d55712d30a1fb302fc3b32a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.223 ***🔗
alice_negative_priority_presence_1400@localhost/res1 in
<iq from='localhost' to='alice_negative_priority_presence_1400@localhost/res1' id='f7d9aaa81d55712d30a1fb302fc3b32a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.223 ***🔗
alice_negative_priority_presence_1400@localhost/res1 out
<presence/>



*** User 2024-04-10 11:56:58.224 ***🔗
alice_negative_priority_presence_1400@localhost/res1 in
<presence from='alice_negative_priority_presence_1400@localhost/res1' to='alice_negative_priority_presence_1400@localhost/res1'/>



*** User 2024-04-10 11:56:58.224 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.224 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d97bf5c9bca575f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 11:56:58.224 ***🔗
alicE_negative_priority_presence_1400@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 11:56:58.225 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzE0MDAAbWF0eWdyeXNh</auth>



*** User 2024-04-10 11:56:58.225 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 11:56:58.225 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.226 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61cb7d5667f29d82' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_1400@localhost'>

*** User 2024-04-10 11:56:58.226 ***🔗
alicE_negative_priority_presence_1400@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-10 11:56:58.226 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 out
<iq type='set' id='de80aef81994b1a1133354083e8494d6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.226 ***🔗
alicE_negative_priority_presence_1400@localhost/res2 in
<iq id='de80aef81994b1a1133354083e8494d6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_1400@localhost/res2</jid>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.226 ***🔗
alice_negative_priority_presence_1400@localhost/res2 out
<iq type='set' id='13fc4ae784221e8e2bd8026dfd3881b7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.227 ***🔗
alice_negative_priority_presence_1400@localhost/res2 in
<iq from='localhost' to='alice_negative_priority_presence_1400@localhost/res2' id='13fc4ae784221e8e2bd8026dfd3881b7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.227 ***🔗
alice_negative_priority_presence_1400@localhost/res2 out
<presence/>



*** User 2024-04-10 11:56:58.227 ***🔗
alice_negative_priority_presence_1400@localhost/res2 in
<presence from='alice_negative_priority_presence_1400@localhost/res2' to='alice_negative_priority_presence_1400@localhost/res2'/>



*** User 2024-04-10 11:56:58.227 ***🔗
alice_negative_priority_presence_1400@localhost/res2 in
<presence from='alice_negative_priority_presence_1400@localhost/res1' to='alice_negative_priority_presence_1400@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-10T11:56:58.223951Z' from='alice_negative_priority_presence_1400@localhost/res1'/>
</presence>



*** User 2024-04-10 11:56:58.227 ***🔗
alice_negative_priority_presence_1400@localhost/res1 in
<presence from='alice_negative_priority_presence_1400@localhost/res2' to='alice_negative_priority_presence_1400@localhost/res1'/>



*** User 2024-04-10 11:56:58.228 ***🔗
bOb_negative_priority_presence_1400@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-10 11:56:58.228 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a7433661a019871' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 11:56:58.228 ***🔗
bOb_negative_priority_presence_1400@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 11:56:58.228 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8xNDAwAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-10 11:56:58.229 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 11:56:58.229 ***🔗
bOb_negative_priority_presence_1400@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-10 11:56:58.229 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e0434e1662a02e6' from='localhost' version='1.0' xml:lang='en' to='bob_negative_priority_presence_1400@localhost'>

*** User 2024-04-10 11:56:58.230 ***🔗
bOb_negative_priority_presence_1400@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-10 11:56:58.230 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 out
<iq type='set' id='b6ca5f39890bb4743fb33aeedcd1f598'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.230 ***🔗
bOb_negative_priority_presence_1400@localhost/res1 in
<iq id='b6ca5f39890bb4743fb33aeedcd1f598' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_1400@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 11:56:58.230 ***🔗
bob_negative_priority_presence_1400@localhost/res1 out
<iq type='set' id='f9ec7b4648d0d70553bb6c9c70ee9995'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.230 ***🔗
bob_negative_priority_presence_1400@localhost/res1 in
<iq from='localhost' to='bob_negative_priority_presence_1400@localhost/res1' id='f9ec7b4648d0d70553bb6c9c70ee9995' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 11:56:58.230 ***🔗
bob_negative_priority_presence_1400@localhost/res1 out
<presence/>



*** User 2024-04-10 11:56:58.231 ***🔗
bob_negative_priority_presence_1400@localhost/res1 in
<presence from='bob_negative_priority_presence_1400@localhost/res1' to='bob_negative_priority_presence_1400@localhost/res1'/>



*** User 2024-04-10 11:56:58.231 ***🔗
alice_negative_priority_presence_1400@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 11:56:58.231 ***🔗
alice_negative_priority_presence_1400@localhost/res1 in
<presence from='alice_negative_priority_presence_1400@localhost/res1' to='alice_negative_priority_presence_1400@localhost/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 11:56:58.231 ***🔗
alice_negative_priority_presence_1400@localhost/res2 in
<presence from='alice_negative_priority_presence_1400@localhost/res1' to='alice_negative_priority_presence_1400@localhost/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-10 11:56:58.231 ***🔗
bob_negative_priority_presence_1400@localhost/res1 out
<message type='chat' to='alice_negative_priority_presence_1400@localhost'>
	<body>Hi.</body>
</message>



*** User 2024-04-10 11:56:59.233 ***🔗
bob_negative_priority_presence_1400@localhost/res1 out
</stream:stream>

*** User 2024-04-10 11:56:59.233 ***🔗
bob_negative_priority_presence_1400@localhost/res1 in
</stream:stream>

*** User 2024-04-10 11:56:59.233 ***🔗
alice_negative_priority_presence_1400@localhost/res2 out
</stream:stream>

*** User 2024-04-10 11:56:59.234 ***🔗
alice_negative_priority_presence_1400@localhost/res2 in
</stream:stream>

*** User 2024-04-10 11:56:59.234 ***🔗
alice_negative_priority_presence_1400@localhost/res1 out
</stream:stream>

*** User 2024-04-10 11:56:59.234 ***🔗
alice_negative_priority_presence_1400@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 11:56:59.235 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4165.html



=== Ended at 2024-04-10 11:56:59
=== successfully completed test case
=== === Returned value: ok