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

=== Config value:

    [{watchdog,<0.68181.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c9d2fb3f0bb8.2023-12-04_15.41.18/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.52.23/presence_suite.negative_priority_presence.212098.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@c9d2fb3f0bb8.2023-12-04_15.41.18/big_tests.tests.presence_SUITE.logs/run.2023-12-04_15.52.23/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c9d2fb3f0bb8.2023-12-04_15.41.18"

=== Started at 2023-12-04 15:52:23


*** CT 2023-12-04 15:52:23.396 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2327.html

*** User 2023-12-04 15:52:23.403 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.403 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='868f5bbd027697f4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:52:23.403 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.403 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI0NzkAbWF0eWdyeXNh</auth>



*** User 2023-12-04 15:52:23.404 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:52:23.404 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.405 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79d41365d02ed9dd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2479@domain.example.com'>

*** User 2023-12-04 15:52:23.405 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.405 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 out
<iq type='set' id='ac9639a21b17a4dbe9aa203372440187'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.405 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res1 in
<iq id='ac9639a21b17a4dbe9aa203372440187' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2479@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.405 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 out
<iq type='set' id='c6befc78fe52805068069e924009a286'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.406 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2479@domain.example.com/res1' id='c6befc78fe52805068069e924009a286' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.406 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 out
<presence/>



*** User 2023-12-04 15:52:23.407 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res1' to='alice_negative_priority_presence_2479@domain.example.com/res1'/>



*** User 2023-12-04 15:52:23.408 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.408 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23dd2c19651da261' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:52:23.408 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.408 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI0NzkAbWF0eWdyeXNh</auth>



*** User 2023-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4dc68e83f75c8277' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2479@domain.example.com'>

*** User 2023-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 out
<iq type='set' id='0418401c5e9df7fc0ead6917a19e8f4f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.409 ***🔗
alicE_negative_priority_presence_2479@domain.example.com/res2 in
<iq id='0418401c5e9df7fc0ead6917a19e8f4f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_2479@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.410 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 out
<iq type='set' id='057f1c37a02f5324eaf29a55ccd0e310'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.410 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2479@domain.example.com/res2' id='057f1c37a02f5324eaf29a55ccd0e310' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.410 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 out
<presence/>



*** User 2023-12-04 15:52:23.412 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res2' to='alice_negative_priority_presence_2479@domain.example.com/res2'/>



*** User 2023-12-04 15:52:23.412 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res1' to='alice_negative_priority_presence_2479@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-12-04T15:52:23.407077Z' from='alice_negative_priority_presence_2479@domain.example.com/res1'/>
</presence>



*** User 2023-12-04 15:52:23.412 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res2' to='alice_negative_priority_presence_2479@domain.example.com/res1'/>



*** User 2023-12-04 15:52:23.412 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.412 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78414a2afebd553a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:52:23.413 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.413 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNDc5AG1ha3JvbGlrYQ==</auth>



*** User 2023-12-04 15:52:23.413 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:52:23.413 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:52:23.414 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='283b8768fff7bb39' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2479@domain.example.com'>

*** User 2023-12-04 15:52:23.414 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/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-12-04 15:52:23.414 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 out
<iq type='set' id='03b5287bedf04b4970718e8d21dbafc1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.414 ***🔗
bOb_negative_priority_presence_2479@domain.example.com/res1 in
<iq id='03b5287bedf04b4970718e8d21dbafc1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_2479@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:52:23.414 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 out
<iq type='set' id='7217cf28d4e4e7c4d0c731ed065612bc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.415 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2479@domain.example.com/res1' id='7217cf28d4e4e7c4d0c731ed065612bc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:52:23.415 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 out
<presence/>



*** User 2023-12-04 15:52:23.416 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2479@domain.example.com/res1' to='bob_negative_priority_presence_2479@domain.example.com/res1'/>



*** User 2023-12-04 15:52:23.416 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2023-12-04 15:52:23.417 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res1' to='alice_negative_priority_presence_2479@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2023-12-04 15:52:23.417 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2479@domain.example.com/res1' to='alice_negative_priority_presence_2479@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2023-12-04 15:52:23.418 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2479@domain.example.com'>
	<body>Hi.</body>
</message>



*** User 2023-12-04 15:52:24.418 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-04 15:52:24.419 ***🔗
bob_negative_priority_presence_2479@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-04 15:52:24.419 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 out
</stream:stream>

*** User 2023-12-04 15:52:24.419 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res2 in
</stream:stream>

*** User 2023-12-04 15:52:24.419 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-04 15:52:24.419 ***🔗
alice_negative_priority_presence_2479@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-04 15:52:24.422 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2327.html



=== Ended at 2023-12-04 15:52:24
=== successfully completed test case
=== === Returned value: ok