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

=== Config value:

    [{watchdog,<0.74626.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.51/presence_suite.negative_priority_presence.104324.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:22:52


*** CT 2023-11-17 15:22:52.020 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4553.html

*** User 2023-11-17 15:22:52.024 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.025 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c81c2adb4b557782' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:52.025 ***🔗
alicE_negative_priority_presence_2604@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 2023-11-17 15:22:52.025 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2MDQAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:22:52.026 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:52.026 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.026 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='caa893df094802ae' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2604@localhost'>

*** User 2023-11-17 15:22:52.026 ***🔗
alicE_negative_priority_presence_2604@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 2023-11-17 15:22:52.026 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 out
<iq type='set' id='05bcaaf03675df488dd6f861ee522777'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.027 ***🔗
alicE_negative_priority_presence_2604@localhost/res1 in
<iq id='05bcaaf03675df488dd6f861ee522777' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2604@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.027 ***🔗
alice_negative_priority_presence_2604@localhost/res1 out
<iq type='set' id='7c4b56f05748a39a4071f58405fe3202'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.027 ***🔗
alice_negative_priority_presence_2604@localhost/res1 in
<iq from='localhost' to='alice_negative_priority_presence_2604@localhost/res1' id='7c4b56f05748a39a4071f58405fe3202' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.027 ***🔗
alice_negative_priority_presence_2604@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:52.028 ***🔗
alice_negative_priority_presence_2604@localhost/res1 in
<presence from='alice_negative_priority_presence_2604@localhost/res1' to='alice_negative_priority_presence_2604@localhost/res1'/>



*** User 2023-11-17 15:22:52.029 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.029 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d9bc050cdf5602a' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:52.029 ***🔗
alicE_negative_priority_presence_2604@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 2023-11-17 15:22:52.029 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2MDQAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21d16ced6ad21dd1' from='localhost' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2604@localhost'>

*** User 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@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 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 out
<iq type='set' id='f889cbef6620bd1377716192038daf1d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.030 ***🔗
alicE_negative_priority_presence_2604@localhost/res2 in
<iq id='f889cbef6620bd1377716192038daf1d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2604@localhost/res2</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.030 ***🔗
alice_negative_priority_presence_2604@localhost/res2 out
<iq type='set' id='df5f0b2dd82143fcba6d56c9149c3d02'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.031 ***🔗
alice_negative_priority_presence_2604@localhost/res2 in
<iq from='localhost' to='alice_negative_priority_presence_2604@localhost/res2' id='df5f0b2dd82143fcba6d56c9149c3d02' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.031 ***🔗
alice_negative_priority_presence_2604@localhost/res2 out
<presence/>



*** User 2023-11-17 15:22:52.032 ***🔗
alice_negative_priority_presence_2604@localhost/res2 in
<presence from='alice_negative_priority_presence_2604@localhost/res2' to='alice_negative_priority_presence_2604@localhost/res2'/>



*** User 2023-11-17 15:22:52.032 ***🔗
alice_negative_priority_presence_2604@localhost/res2 in
<presence from='alice_negative_priority_presence_2604@localhost/res1' to='alice_negative_priority_presence_2604@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:22:52.028330Z' from='alice_negative_priority_presence_2604@localhost/res1'/>
</presence>



*** User 2023-11-17 15:22:52.032 ***🔗
alice_negative_priority_presence_2604@localhost/res1 in
<presence from='alice_negative_priority_presence_2604@localhost/res2' to='alice_negative_priority_presence_2604@localhost/res1'/>



*** User 2023-11-17 15:22:52.032 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.033 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a00934dd4e74d45' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:52.033 ***🔗
bOb_negative_priority_presence_2604@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 2023-11-17 15:22:52.033 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNjA0AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:22:52.033 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:52.033 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:22:52.034 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2441304c04993ff1' from='localhost' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2604@localhost'>

*** User 2023-11-17 15:22:52.034 ***🔗
bOb_negative_priority_presence_2604@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 2023-11-17 15:22:52.034 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 out
<iq type='set' id='8969202b2daa11c618ca2ab23837b670'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.034 ***🔗
bOb_negative_priority_presence_2604@localhost/res1 in
<iq id='8969202b2daa11c618ca2ab23837b670' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2604@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:52.034 ***🔗
bob_negative_priority_presence_2604@localhost/res1 out
<iq type='set' id='f339bae9d23c58f3a15ccd6bf5ff9fed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.035 ***🔗
bob_negative_priority_presence_2604@localhost/res1 in
<iq from='localhost' to='bob_negative_priority_presence_2604@localhost/res1' id='f339bae9d23c58f3a15ccd6bf5ff9fed' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:52.035 ***🔗
bob_negative_priority_presence_2604@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:52.036 ***🔗
bob_negative_priority_presence_2604@localhost/res1 in
<presence from='bob_negative_priority_presence_2604@localhost/res1' to='bob_negative_priority_presence_2604@localhost/res1'/>



*** User 2023-11-17 15:22:52.036 ***🔗
alice_negative_priority_presence_2604@localhost/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2023-11-17 15:22:52.036 ***🔗
alice_negative_priority_presence_2604@localhost/res1 in
<presence from='alice_negative_priority_presence_2604@localhost/res1' to='alice_negative_priority_presence_2604@localhost/res1'>
	<priority>-10</priority>
</presence>



*** User 2023-11-17 15:22:52.036 ***🔗
alice_negative_priority_presence_2604@localhost/res2 in
<presence from='alice_negative_priority_presence_2604@localhost/res1' to='alice_negative_priority_presence_2604@localhost/res2'>
	<priority>-10</priority>
</presence>



*** User 2023-11-17 15:22:52.036 ***🔗
bob_negative_priority_presence_2604@localhost/res1 out
<message type='chat' to='alice_negative_priority_presence_2604@localhost'>
	<body>Hi.</body>
</message>



*** User 2023-11-17 15:22:53.037 ***🔗
bob_negative_priority_presence_2604@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.038 ***🔗
bob_negative_priority_presence_2604@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:22:53.038 ***🔗
alice_negative_priority_presence_2604@localhost/res2 out
</stream:stream>

*** User 2023-11-17 15:22:53.038 ***🔗
alice_negative_priority_presence_2604@localhost/res2 in
</stream:stream>

*** User 2023-11-17 15:22:53.038 ***🔗
alice_negative_priority_presence_2604@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.039 ***🔗
alice_negative_priority_presence_2604@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:53.041 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4553.html



=== Ended at 2023-11-17 15:22:53
=== successfully completed test case
=== === Returned value: ok