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

=== Config value:

    [{watchdog,<0.6743.2>},
     {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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/presence_suite.negative_priority_presence.225538.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.04.26/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@b3c75cb3c9a2.2024-04-23_10.51.31"

=== Started at 2024-04-23 11:04:27


*** CT 2024-04-23 11:04:27.324 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2556.html

*** User 2024-04-23 11:04:27.330 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.330 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a712350adb1199d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:04:27.330 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.330 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwNzQAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:04:27.331 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:04:27.331 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.332 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49827b1558fbf4b8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3074@domain.example.com'>

*** User 2024-04-23 11:04:27.332 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.332 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 out
<iq type='set' id='5eae951f6b388db0407a820e8a71c6a8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.332 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res1 in
<iq id='5eae951f6b388db0407a820e8a71c6a8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_3074@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.332 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 out
<iq type='set' id='be2f984db7bf61e55d1096174c861891'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.333 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3074@domain.example.com/res1' id='be2f984db7bf61e55d1096174c861891' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.333 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:04:27.334 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res1' to='alice_negative_priority_presence_3074@domain.example.com/res1'/>



*** User 2024-04-23 11:04:27.334 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.335 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04b96c171d801b53' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:04:27.335 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.335 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzMwNzQAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:04:27.336 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:04:27.336 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.336 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70608816eb3a4510' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_3074@domain.example.com'>

*** User 2024-04-23 11:04:27.336 ***🔗
alicE_negative_priority_presence_3074@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 2024-04-23 11:04:27.336 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 out
<iq type='set' id='1093b9989593f63dac16f9ef15eb9589'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.337 ***🔗
alicE_negative_priority_presence_3074@domain.example.com/res2 in
<iq id='1093b9989593f63dac16f9ef15eb9589' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_negative_priority_presence_3074@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.337 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 out
<iq type='set' id='2edfd2dd91a3b4c9479ef60688e552d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.337 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_3074@domain.example.com/res2' id='2edfd2dd91a3b4c9479ef60688e552d2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.337 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 out
<presence/>



*** User 2024-04-23 11:04:27.338 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res2' to='alice_negative_priority_presence_3074@domain.example.com/res2'/>



*** User 2024-04-23 11:04:27.338 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res1' to='alice_negative_priority_presence_3074@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:04:27.334101Z' from='alice_negative_priority_presence_3074@domain.example.com/res1'/>
</presence>



*** User 2024-04-23 11:04:27.339 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res2' to='alice_negative_priority_presence_3074@domain.example.com/res1'/>



*** User 2024-04-23 11:04:27.339 ***🔗
bOb_negative_priority_presence_3074@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 2024-04-23 11:04:27.339 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='029339b6c87a1352' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:04:27.340 ***🔗
bOb_negative_priority_presence_3074@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 2024-04-23 11:04:27.340 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8zMDc0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:04:27.340 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:04:27.341 ***🔗
bOb_negative_priority_presence_3074@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 2024-04-23 11:04:27.341 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6df9729f058677b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_3074@domain.example.com'>

*** User 2024-04-23 11:04:27.341 ***🔗
bOb_negative_priority_presence_3074@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 2024-04-23 11:04:27.341 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 out
<iq type='set' id='ea61094364534de27f7454ac35c12434'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.341 ***🔗
bOb_negative_priority_presence_3074@domain.example.com/res1 in
<iq id='ea61094364534de27f7454ac35c12434' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_negative_priority_presence_3074@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:04:27.341 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 out
<iq type='set' id='e72988657301011fd98861274bc5900b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.342 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_3074@domain.example.com/res1' id='e72988657301011fd98861274bc5900b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:04:27.342 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:04:27.343 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_3074@domain.example.com/res1' to='bob_negative_priority_presence_3074@domain.example.com/res1'/>



*** User 2024-04-23 11:04:27.343 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 out
<presence>
	<priority>-10</priority>
</presence>



*** User 2024-04-23 11:04:27.344 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res1' to='alice_negative_priority_presence_3074@domain.example.com/res1'>
	<priority>-10</priority>
</presence>



*** User 2024-04-23 11:04:27.344 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_3074@domain.example.com/res1' to='alice_negative_priority_presence_3074@domain.example.com/res2'>
	<priority>-10</priority>
</presence>



*** User 2024-04-23 11:04:27.344 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 out
<message to='alice_negative_priority_presence_3074@domain.example.com' type='chat'>
	<body>Hi.</body>
</message>



*** User 2024-04-23 11:04:28.345 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:04:28.346 ***🔗
bob_negative_priority_presence_3074@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 11:04:28.346 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 out
</stream:stream>

*** User 2024-04-23 11:04:28.346 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res2 in
</stream:stream>

*** User 2024-04-23 11:04:28.347 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:04:28.347 ***🔗
alice_negative_priority_presence_3074@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 11:04:28.359 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2556.html



=== Ended at 2024-04-23 11:04:28
=== successfully completed test case
=== === Returned value: ok