=== Test case: presence_SUITE:negative_priority_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.70852.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@d144898ca8cb.2024-02-29_09.17.24/big_tests.tests.presence_SUITE.logs/run.2024-02-29_09.29.13/presence_suite.negative_priority_presence.63621.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@d144898ca8cb.2024-02-29_09.17.24/big_tests.tests.presence_SUITE.logs/run.2024-02-29_09.29.13/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@d144898ca8cb.2024-02-29_09.17.24"
=== Started at 2024-02-29 09:29:14
*** User 2024-02-29 09:29:14.191 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.192 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c989b1373ecade3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-29 09:29:14.192 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.192 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2ODkAbWF0eWdyeXNh</auth>
*** User 2024-02-29 09:29:14.193 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-29 09:29:14.193 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.194 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7fa59d6c72f91f4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2689@domain.example.com'>
*** User 2024-02-29 09:29:14.194 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.194 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 out
<iq type='set' id='bdbe6c1422dc4aadd3a4787c1fd2234c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-29 09:29:14.194 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res1 in
<iq id='bdbe6c1422dc4aadd3a4787c1fd2234c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2689@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-29 09:29:14.194 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 out
<iq type='set' id='9f1287bf1afd76236608a6af5109401d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.195 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2689@domain.example.com/res1' id='9f1287bf1afd76236608a6af5109401d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.195 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 out
<presence/>
*** User 2024-02-29 09:29:14.196 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res1' to='alice_negative_priority_presence_2689@domain.example.com/res1'/>
*** User 2024-02-29 09:29:14.197 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.197 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76034c69096a145d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-29 09:29:14.197 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.197 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25lZ2F0aXZlX3ByaW9yaXR5X3ByZXNlbmNlXzI2ODkAbWF0eWdyeXNh</auth>
*** User 2024-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3cfc68d17418cc5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_negative_priority_presence_2689@domain.example.com'>
*** User 2024-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@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-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 out
<iq type='set' id='43590eced3285d8bea11b0f9b9d2ca28'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2024-02-29 09:29:14.199 ***🔗
alicE_negative_priority_presence_2689@domain.example.com/res2 in
<iq id='43590eced3285d8bea11b0f9b9d2ca28' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_negative_priority_presence_2689@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2024-02-29 09:29:14.199 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 out
<iq type='set' id='b8f95a32a7d7fc49d3b6bf80f3972d9e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.200 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_negative_priority_presence_2689@domain.example.com/res2' id='b8f95a32a7d7fc49d3b6bf80f3972d9e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.200 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 out
<presence/>
*** User 2024-02-29 09:29:14.202 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res2' to='alice_negative_priority_presence_2689@domain.example.com/res2'/>
*** User 2024-02-29 09:29:14.202 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res1' to='alice_negative_priority_presence_2689@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2024-02-29T09:29:14.196368Z' from='alice_negative_priority_presence_2689@domain.example.com/res1'/>
</presence>
*** User 2024-02-29 09:29:14.202 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res2' to='alice_negative_priority_presence_2689@domain.example.com/res1'/>
*** User 2024-02-29 09:29:14.202 ***🔗
bOb_negative_priority_presence_2689@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-02-29 09:29:14.203 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35c667fefef0562a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-29 09:29:14.203 ***🔗
bOb_negative_priority_presence_2689@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-02-29 09:29:14.203 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9uZWdhdGl2ZV9wcmlvcml0eV9wcmVzZW5jZV8yNjg5AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-29 09:29:14.204 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-29 09:29:14.204 ***🔗
bOb_negative_priority_presence_2689@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-02-29 09:29:14.204 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62e1fb068f8cfd15' from='domain.example.com' version='1.0' xml:lang='en' to='bob_negative_priority_presence_2689@domain.example.com'>
*** User 2024-02-29 09:29:14.205 ***🔗
bOb_negative_priority_presence_2689@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-02-29 09:29:14.205 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 out
<iq type='set' id='18b738d805aa1468eb9faaa89a99527d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-29 09:29:14.205 ***🔗
bOb_negative_priority_presence_2689@domain.example.com/res1 in
<iq id='18b738d805aa1468eb9faaa89a99527d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_negative_priority_presence_2689@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-29 09:29:14.205 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 out
<iq type='set' id='e624fd622fb6a22d2ff4c78bd339de00'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.206 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_negative_priority_presence_2689@domain.example.com/res1' id='e624fd622fb6a22d2ff4c78bd339de00' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-29 09:29:14.206 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 out
<presence/>
*** User 2024-02-29 09:29:14.207 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 in
<presence from='bob_negative_priority_presence_2689@domain.example.com/res1' to='bob_negative_priority_presence_2689@domain.example.com/res1'/>
*** User 2024-02-29 09:29:14.207 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 out
<presence>
<priority>-10</priority>
</presence>
*** User 2024-02-29 09:29:14.208 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res1' to='alice_negative_priority_presence_2689@domain.example.com/res1'>
<priority>-10</priority>
</presence>
*** User 2024-02-29 09:29:14.208 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 in
<presence from='alice_negative_priority_presence_2689@domain.example.com/res1' to='alice_negative_priority_presence_2689@domain.example.com/res2'>
<priority>-10</priority>
</presence>
*** User 2024-02-29 09:29:14.209 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 out
<message type='chat' to='alice_negative_priority_presence_2689@domain.example.com'>
<body>Hi.</body>
</message>
*** User 2024-02-29 09:29:15.210 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-29 09:29:15.210 ***🔗
bob_negative_priority_presence_2689@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-29 09:29:15.210 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 out
</stream:stream>
*** User 2024-02-29 09:29:15.211 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res2 in
</stream:stream>
*** User 2024-02-29 09:29:15.211 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-29 09:29:15.211 ***🔗
alice_negative_priority_presence_2689@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-29 09:29:15
=== successfully completed test case
=== === Returned value: ok